if(navigator.appName.indexOf('Microsoft',0)==0) {
document.write(''
	+	'<form name="UsaLogo" style="position:absolute;top:0;left:0;z-index:997;width:0%">'
	+	'<table width="100%" cellspacing="0" cellpadding="0" style="position:relative;z-index:998;">'
	+	'<td width="0%">'
	+	'<a href="javascript:MenuOut('+"'Usa'"+')" name="UsaMenuButton"><img src="u-sa/file/cat.png" style="position:relative;width:100px;height:100px;z-index:1000;" border="0"></a>'
	+	'</td><td width="100%" align="left" valign="top" style="position:relative;z-index:998;">'
	+	'<nobr id="UsaMenu" style="color:white;position:absolute;top:0;left:0;z-index:999;overflow:hidden;width:0%;">'
	+	'｜｜<a href="u-sa"><font color="white"><b>ぽんぽんパフェ</b></font></a>｜<a href="u-sa/top.html"><font color="white">top</font></a>｜<a href="u-sa/about.html"><font color="white">about</font></a>｜<a href="u-sa/illust"><font color="white">llust</font></a>｜<a href="u-sa/other.html"><font color="white">other</font></a>｜<a href="cgi-bin/bbs/bbs.cgi?no=1"><font color="white">bbs</font></a>｜<a href="u-sa/dialy"><font color="white">dialy</font></a>｜<a href="u-sa/link.html"><font color="white">link</font></a>｜'
	+	'</nobr></td></table>'
	+	'<span id="UsaBackAlpha" style="background:black;width:0%;height:10;position:absolute;top:0;right:0;filter:alpha(style=1,opacity=100,finishopacity=0);z-index:995;"></span>'
	+	'</form>'
	+	'<form name="SHOOLogo" style="position:absolute;bottom:0;right:0;z-index:997;width:0%">'
	+	'<table width="100%" cellspacing="0" cellpadding="0" style="position:relative;z-index:998;">'
	+	'<td width="100%" align="right" valign="bottom" style="position:relative;z-index:999;">'
	+	'<nobr id="SHOOMenu" style="color:black;position:absolute;bottom:0;right:0;z-index:999;overflow:hidden;width:0%;">'
	+	'｜<a href="shoo"><font color="black">TOP</font></a>｜<a href="shoo/abuot.html"><font color="black">About</font></a>｜<a href="shoo/illust.html"><font color="black">Illust</font></a>｜<a href="shoo/programing"><font color="black">Programing</font></a>｜<a href="shoo/link.html"><font color="black">Link</font></a>｜<a href="shoo"><font color="black"><b>ひとモノ</b></font></a>｜｜'
	+	'</nobr></td><td width="0%">'
	+	'<a href="javascript:MenuOut('+"'SHOO'"+')" name="SHOOMenuButton"><img src="shoo/files/img/logo.gif" style="position:relative;z-index:1000;" border="0"></a>'
	+	'</td></table>'
	+	'<span id="SHOOBackAlpha" style="background:white;width:0%;height:10;position:absolute;bottom:0;left:0;filter:alpha(style=1,opacity=0,finishopacity=100);z-index:995"></span>'
	+	'</form>'
	+	'');
setTimeout("Scroll()",0);
document.onmousemove=RunSCR;
document.onmousewheel=RunSCR;
document.onmouseup=RunSCR;
document.onkeyup=RunSCR;
document.onscroll=RunSCR;
}

function RunSCR(){setTimeout("Scroll()",0);}
function Scroll(){
UsaLogo.style.top	=	document.body.scrollTop;
UsaLogo.style.left	=	document.body.scrollLeft;
SHOOLogo.style.bottom = 1;
SHOOLogo.style.right = 1;
SHOOLogo.style.bottom = 0;
SHOOLogo.style.right=0;
}

function MenuOut(n){
$n=n;
eval($n+"Logo").style.width="100%";
$X=eval(eval($n+"Menu").style.width.replace(/\D/,""));
if($X < 100){	//>100より小さい
	eval($n+"Menu").style.width = Math.floor($X+(100-$X)/15+1) + '%';
	eval($n+"BackAlpha").style.width = Math.floor($X+(100-$X)/15+1) + '%';	
	MenuOutTimer=setTimeout("MenuOut($n)",50)
}else if($X > 100){
	eval($n+"Menu").style.width = '100%'
	eval($n+"BackAlpha").style.width = '100%';	
	MenuOutTimer=setTimeout("MenuOut($n)",50)
}else{
	eval($n+"MenuButton").href="javascript:MenuIn('"+$n+"')";
}
}
function MenuIn(n){
$n=n;
$X=eval(eval($n+"Menu").style.width.replace(/\D/,""));
if($X > 0){	//>0より大きい
	$Out=Math.floor($X/1.05-1);
	if($Out < 0){$Out = 0;}	//>負の数になるとき
	eval($n+"Menu").style.width = $Out + '%';
	eval($n+"BackAlpha").style.width = $Out + '%';	
	MenuInTimer=setTimeout("MenuIn($n)",50)
}else{
	eval($n+"MenuButton").href="javascript:MenuOut('"+$n+"')";
	eval($n+"Logo").style.width="0%";
}
}
