<!--
//splan created
ReserveSyou='';barBuilt=0;spItems=new Array();
IE = (document.all)
NS6 = (document.getElementById&&!document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")
YOffset=100;//スタート座標Y軸 
XOffset= 0; //スタート座標X軸
staticYOffset=30; 
slideSpeed=20 
waitTime=100; 
menuBGColor="#000000"; //罫線の色
menuIsStatic="yes"; //メニューをスクロールするかどうか
menuWidth=90; //スライド幅
menuCols=2;
hdrFontFamily="Comic Sans MS";
hdrFontSize="1";
hdrFontColor="#FFFFFF";
hdrBGColor="#666666"; //見出しの背景色
hdrAlign="left";
hdrVAlign="center";
hdrHeight="15";
linkFontFamily="MS UI Gothic";
linkFontSize="2";
linkBGColor="#FFFFFF"; //リンク文字の色
linkOverBGColor="#c9c9c9";//リンクに触れたときの背景色
linkTarget="_self";
linkAlign="Left";
barBGColor="#000000"; //メニュータブの背景色
barFontFamily="Comic Sans MS";
barFontSize="2";
barFontColor="#FFFFFF"; //メニュータブの文字色
barVAlign="center";
barWidth=20; 
barText="+ MENU +"; 

spItems[0]=[":: Contents ::"] //リンク無し
spItems[1]=["◆ トップ", "index.html", "_self"]
spItems[2]=["◇ 店舗案内", "ここにURLを書きます。", "_self"]
spItems[3]=["◇ 料金案内", "ここにURLを書きます。", "_new"]
spItems[4]=["◇ 車検", "inspection.html", "_self"]
spItems[5]=["◇ 掲示板", "./message/message.cgi", "_self"]
spItems[6]=["◇ メ−ル", "mailto:monkey_wrench@hotmail.co.jp", ""]
spItems[7]=["◇ ホ−ム", "../index.shtml", "_self"]


/*spItems[?]を連番で増やしたり減らしたりできます。リンクを同じウィンドウで開きたい場合は_newを消します。*/

SlideMenu();
//splan created
moving=setTimeout('null',1)
function moveOut() {
if ((NS6||NS)&&parseInt(sp.left)<0 || IE && sp.pixelLeft<0)
{
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed);slideMenu(10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}};
function returns() {clearTimeout(moving);moving = setTimeout('returnsB()', waitTime)}
function returnsB()
{
if ((NS6||NS) && parseInt(sp.left)>(-menuWidth) || IE && sp.pixelLeft>(-menuWidth))
{
clearTimeout(moving);moving = setTimeout('returnsB()', slideSpeed);slideMenu(-10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}}
function slideMenu(num)
{
if (IE) {sp.pixelLeft += num;}
if (NS||NS6) {sp.left = parseInt(sp.left)+num;}
if (NS) {bsp.clip.right+=num;bsp2.clip.right+=num;}}
function SayuStops()
{
if (NS||NS6) {winY = window.pageYOffset;}
if (IE) {winY = document.body.scrollTop;}
if (NS6||IE||NS) {
if (winY!=lastY&&winY>YOffset-staticYOffset)
{
smooth = .2 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset)
{
smooth = .2 * (winY - lastY - (YOffset-(YOffset-winY)));}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (IE) bsp.pixelTop+=smooth;
if (NS6||NS) bsp.top=parseInt(bsp.top)+smooth
lastY = lastY+smooth;
setTimeout('SayuStops()', 1)}}
function buildBar()
{
if(barText.indexOf('<IMG')>-1) {ReserveSyou=barText}
else{for (b=0;b<barText.length;b++) {ReserveSyou+=barText.charAt(b)+"<BR>"}}
document.write('<td align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColor+'" valign="'+barVAlign+'"><p align="center"><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+ReserveSyou+'</B></font></p></TD>')}
function SplanSlide()
{
if(NS6){sp=document.getElementById("thesp").style;bsp=document.getElementById("basesp").style;
bsp.clip="rect(0 "+document.getElementById("thesp").offsetWidth+" "+document.getElementById("thesp").offsetHeight+" 0)";sp.visibility="visible";}
else if (IE) {sp=document.all("thesp").style;bsp=document.all("basesp").style
bsp.clip="rect(0 "+thesp.offsetWidth+" "+thesp.offsetHeight+" 0)";bsp.visibility = "visible";}
else if (NS) {bsp=document.layers["basesp1"];
bsp2=bsp.document.layers["basesp2"];sp=bsp2.document.layers["thesp"];
bsp2.clip.left=0;sp.visibility = "show";}
if (menuIsStatic=="yes") SayuStops();}
function SlideMenu()
{
if (IE||NS6) {document.write('<DIV ID="basesp" style="visibility:hidden;Position : Absolute ;Left : '+XOffset+' ;Top : '+YOffset+' ;Z-Index : 20;width:'+(menuWidth+barWidth+10)+'"><DIV ID="thesp" style="Position : Absolute ;Left : '+(-menuWidth)+' ;Top : 0 ;Z-Index : 20;" onmouseover="moveOut()" onmouseout="returns()">')}
if (NS) {document.write('<LAYER name="basesp1" top="'+YOffset+'" LEFT='+XOffset+' visibility="show"><ILAYER name="basesp2"><LAYER visibility="hide" name="thesp" bgcolor="'+menuBGColor+'" left="'+(-menuWidth)+'" onmouseover="moveOut()" onmouseout="returns()">')}
if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'"><TR><TD>')}
document.write('<table border="0" cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'">');
for(i=0;i<spItems.length;i++) {
if(!spItems[i][3]){spItems[i][3]=menuCols;spItems[i][5]=menuWidth-1}
else if(spItems[i][3]!=menuCols)spItems[i][5]=Math.round(menuWidth*(spItems[i][3]/menuCols)-1);
if(spItems[i-1]&&spItems[i-1][4]!="no"){document.write('<TR>')}
if(!spItems[i][1]){
document.write('<td bgcolor="'+hdrBGColor+'" HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'" WIDTH="'+spItems[i][5]+'" COLSPAN="'+spItems[i][3]+'">&nbsp;<font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+spItems[i][0]+'</b></font></td>')}
else {if(!spItems[i][2])spItems[i][2]=linkTarget;
document.write('<TD BGCOLOR="'+linkBGColor+'" onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="'+spItems[i][5]+'" COLSPAN="'+spItems[i][3]+'"><ILAYER><LAYER onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><DIV ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'">&nbsp;<A HREF="'+spItems[i][1]+'" target="'+spItems[i][2]+'" CLASS="spItems">'+spItems[i][0]+'</DIV></LAYER></ILAYER></TD>')}
if(spItems[i][4]!="no"&&barBuilt==0){buildBar();barBuilt=1}
if(spItems[i][4]!="no"){document.write('</TR>')}}
document.write('</table>')
if (NS6){document.write('</TD></TR></TABLE>')}
if (IE||NS6) {document.write('</DIV></DIV>')}
if (NS) {document.write('</LAYER></ILAYER></LAYER>')}
theleft=-menuWidth;lastY=0;setTimeout('SplanSlide();', 1)}
//-->
