<!--//
function loadImage() { 
	var rollover = new Array();
	for (var i=0; i < 15 ; i++) {
		rollover[i] = new Image();
	}
}

function changeImg(iName,img){
	document.images[iName].src=img;
}

function _JumpURLnewWin(url,sizeX,sizeY) 
{
  if (url != ''){
    win=window.open(url,"a","scrollbars=1,resizable=yes,width=" + sizeX + ",height=" + sizeY);
  }
}
function _TargetWinOpen(url,sizeX,sizeY,target) 
{
  if (url != ''){
    win=window.open(url,target,"scrollbars=1,resizable=yes,width=" + sizeX + ",height=" + sizeY);
  }
}
function SelectJumpURL(obj) 
{
  url = obj.options[obj.selectedIndex].value;
  if (url != '')
  {
    window.location = url;
  }
}
function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)){
		src.style.cursor = 'hand'; 
		src.bgColor = clrOver; 
	} 
} 
function mOut(src,clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.style.cursor = 'default'; 
		src.bgColor = clrIn; 
	} 
}


function wopen1(){
	wo1=window.open("info.php","new", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=400,height=650");
}

function PrintPage(){
	if(document.getElementById || document.layers){
		window.print();		//印刷をします
	}
}
/*-----------------------------------------------------------------
    トップスクロール
-----------------------------------------------------------------*/
// <a href="#top" onClick="if(TopScroll()){return false;}">
var SW_SCROLL_SPD=0.36;	//scroll speed
var SW_SCROLL_INTERVAL=33;	//timer interval (msec)
var cnt;			//counter for speed test
/*-----------------------------------------------------------------*/
function TopScroll() {
	// if scrolling is possible, return true.
	cnt=0;
	if(document.body && document.body.scrollTop){
		window.scroll(0,Math.floor(document.body.scrollTop*0.94));
		timScroll=setTimeout("TopScrollIE()",SW_SCROLL_INTERVAL);
		return true;
	}else if(window.pageYOffset){
		// NN3 is not supported.
		window.scroll(0,Math.floor(window.pageYOffset*0.94));
		timScroll=setTimeout("TopScrollNN()",SW_SCROLL_INTERVAL);
		return true;
	}else{
		return false;
	}
}
/*-----------------------------------------------------------------*/
function TopScrollIE(){
	clearTimeout(timScroll);
	var y=Math.floor(document.body.scrollTop*SW_SCROLL_SPD);
	if(y>0){
		window.scroll(0,y);
		timScroll=setTimeout("TopScrollIE()",SW_SCROLL_INTERVAL);
		cnt++;
	}else{
		window.scroll(0,0);
	}
}
function TopScrollNN(){
	clearTimeout(timScroll);
	var y=Math.floor(window.pageYOffset*SW_SCROLL_SPD);
	if(y>0){
		window.scroll(0,y);
		timScroll=setTimeout("TopScrollNN()",SW_SCROLL_INTERVAL);
	}else{
		window.scroll(0,0);
	}
}
/*-----------------------------------------------------------------*/

//-->