//******** ロールオーバー********function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}//******** 新規ウィンドウ********function OPEN_WINDOW(url,name,x,y,mode) {	if (mode == 'img') {		// image window		var flag_toolbar = 'no';		var flag_directories = 'no';		var flag_location = 'no';		var flag_status = 'no';		var flag_menubar = 'no';		var flag_scrollbars = 'no';		var flag_resizable = 'no';	} else if (mode == 'html') {		// html window		var flag_toolbar = 'no';		var flag_directories = 'no';		var flag_location = 'no';		var flag_status = 'no';		var flag_menubar = 'no';		var flag_scrollbars = 'yes';		var flag_resizable = 'no';	}	var window_x = x+1;	var window_y = y+1;	floating = open(url,'floating_'+name,'width='+window_x+',height='+window_y+',toolbar='+flag_toolbar+',directories='+flag_directories+',location='+flag_location+',status='+flag_status+',menubar='+flag_menubar+',scrollbars='+flag_scrollbars+',resizable='+flag_resizable);	//	floating.location.href = url;	//	if (floating.opener == null) {	//		floating.opener = window;	//	}	floating.focus();	return(true);}function ifSupported() {    if (window.opera && (!document.all)) {        return(0);        }    if (document.all || document.getElementById) { return(1) };    return(0);    }//******** 非対応環境かどうかを判断する。********function ifSupported() {    if (window.opera && (!document.all)) {        return(0);        }    if (document.all || document.getElementById) { return(1) };    return(0);    }//******** 対応環境ではサブメニューを予め非表示にする。********if (ifSupported()) {    document.write(        '<style type="text/css">'+        '.subMenu {'+        '    display: none;'+        '    }'+        '</style>'        );    }//******** サブメニューの表示/非表示を切替える。********function subMenu(id) {    if (ifSupported()==0) { return; }    if (document.all) {        if (document.all[id].style.display!='block') {            document.all[id].style.display='block';            }        else {            document.all[id].style.display='none';            }        return;        }    if (document.getElementById(id).style.display!='c') {        document.getElementById(id).style.display='block';        }    else {        document.getElementById(id).style.display='none';        }    return;    }    //******** 左メニュー：カテゴリー毎にサブを開く ********function chengeDisp1(){    if (document.all) {		document.all['ListSub1'].style.display='block';		document.all['ListSub2'].style.display='none';		document.all['ListSub3'].style.display='none';		document.all['ListSub4'].style.display='none';		return;	}	document.getElementById('ListSub1').style.display='block';	document.getElementById('ListSub2').style.display='none';	document.getElementById('ListSub3').style.display='none';	document.getElementById('ListSub4').style.display='none';}function chengeDisp2(){    if (document.all) {		document.all['ListSub1'].style.display='none';		document.all['ListSub2'].style.display='block';		document.all['ListSub3'].style.display='none';		document.all['ListSub4'].style.display='none';		return;	}	document.getElementById('ListSub1').style.display='none';	document.getElementById('ListSub2').style.display='block';	document.getElementById('ListSub3').style.display='none';	document.getElementById('ListSub4').style.display='none';}function chengeDisp3(){    if (document.all) {		document.all['ListSub1'].style.display='none';		document.all['ListSub2'].style.display='none';		document.all['ListSub3'].style.display='block';		document.all['ListSub4'].style.display='none';		return;	}	document.getElementById('ListSub1').style.display='none';	document.getElementById('ListSub2').style.display='none';	document.getElementById('ListSub3').style.display='block';	document.getElementById('ListSub4').style.display='none';}function chengeDisp4(){    if (document.all) {		document.all['ListSub1'].style.display='none';		document.all['ListSub2'].style.display='none';		document.all['ListSub3'].style.display='none';		document.all['ListSub4'].style.display='block';		return;	}	document.getElementById('ListSub1').style.display='none';	document.getElementById('ListSub2').style.display='none';	document.getElementById('ListSub3').style.display='none';	document.getElementById('ListSub4').style.display='block';}    //******** ページトップへスクロール ********	function scroller(pos)	{		if(pos==screen.availHeight) //scroll down		{				var y = 0;		}		else //scrool up		{			var y = 250;		}		y = y + (pos - y)*.1;		while(y != pos)		{			window.scroll(0,y);			y = y + (pos - y)*.1;						if (((pos - y) <= .5)&&((pos - y) >= -.5))			{									y = pos;			}				}	}