
// jquery config
$(function () {
	if (! $.browser.safari) {
		$('div.linklink a').click(function () {
			$(this).blur();
			var targetOffset = $($(this).attr('href')).offset().top;
			$('html,body').animate({scrollTop: targetOffset}, 'easeout');
			return false;
		});
		$('div.uplink').click(function () {
			$(this).blur();
			$('html,body').animate({ scrollTop: 0 }, 'easeout');
			return false;
		});
	}
});

//$(document).ready(function() {
//		$("a.inerview").fancybox({
//			'frameWidth': 650,
//			'frameHeight': 500
//		});
//});

// jquery config
//$(function() {
//	$('#container-1 > ul').tabs();
//});



function openwin(href,w,h){
	if(href != './schoolinfo.cgi?oshirase='){
		var win;
		win = window.open(href,'win','toolbar=0 , location=0 , directories=0 , status=0 , menubar=0 , scrollbars=1 , resizable=1 , width='+w+' , height='+h);
		//win.focus();
	}
}

function loging() {
	document.write('<img width="1" height="1" src="http://shigeo-maruyama.com/log/?');
	document.write('referrer='+document.referrer+'&');
	document.write('width='+screen.width+'&');
	document.write('height='+screen.height+'&');
	document.write('color='+screen.colorDepth+'">');
}

function showPage(index){
if(index !=0){
newWin = window.open("","new","width=300,height=405");
if(index==1)
newWin.location="./j_timechange_01.html";
}
}

