function prechange2()
{
//SET TIME DELAY FOR RETRACTION OF POPOUT MENU ON LOAD. 
//functions for bikes
achangetymer=4000;
//document.t.one.value="prechange";
setTimeout("achange2()",achangetymer)
}




function trakur()
{document.x.one.value="trakur";
//layer3.style.visibility="visible";
document.x.two.value=1;
document.x.eight.value=" ";
document.x.four.value="go";
traknum=1;
trakur2();
}


function trakur2()
{
traknum=traknum+1
document.x.two.value=traknum;
stopper=document.x.four.value;
{if(stopper=="stop")  { endor();  return;      } }
setTimeout("trakur2()",100)
}


function btrakurexit(layur)
{
document.x.one.value="trakurexit";
document.x.four.value="stop";
limmit=document.x.three.value;
document.x.six.value=limmit;
limmit=limmit-0;
xtnum=document.x.two.value;
xtnum=xtnum-0;
document.x.seven.value=xtnum;
{if (xtnum<=limmit)  {document.x.eight.value="aborted"}    }
{if (xtnum<=limmit)  { kilur(layur)}    }
}


function kilur(klayer)
{
{if (klayer=='one') 
 { layer3.style.visibility="hidden";document.x.eight.value=document.x.eight.value+" killone ";  }   }
{if (klayer=='two')  
{ layer4.style.visibility="hidden"; document.x.eight.value=document.x.eight.value+" killtwo ";}   }
{if (klayer=='three')
  { layer5.style.visibility="hidden"; document.x.eight.value=document.x.eight.value+"killthree";  }   }
{if (klayer=='four') 
 { layer6.style.visibility="hidden"; document.x.eight.value=document.x.eight.value+"killfour";  }   }
{if (klayer=='five')
  { layer7.style.visibility="hidden"; document.x.eight.value=document.x.eight.value+"killfive";  }   }
{if (klayer=='six') 
 { layer8.style.visibility="hidden"; document.x.eight.value=document.x.eight.value+"killsix";  }   }
{if (klayer=='seven')
  { layer9.style.visibility="hidden"; document.x.eight.value=document.x.eight.value+"killseven";  }   }
{if (klayer=='eight')
  { layer10.style.visibility="hidden"; document.x.eight.value=document.x.eight.value+"killeight";  }   }
}



function endor()
{
endud=document.x.two.value;
document.x.five.value="the end "+endud;
}







 function ontymur()
{
document.t.three.value="on";
}

 function offtymur()
{
document.t.three.value="off";
}







function achange(derf)
{
//yap="blah"
//blah=yap;
//blah="one";
blah=derf;
//blah=blah-0;
document.t.two.value=derf;
//blah.style.visibility="visible";
//derf.style.visibility="visible";
//
{if (blah=='one'){layer3.style.visibility="visible";}  }
{if (blah=='two'){layer4.style.visibility="visible";}  }
{if (blah=='three'){layer5.style.visibility="visible";}  }
{if (blah=='four'){layer6.style.visibility="visible";}  }
{if (blah=='five'){layer7.style.visibility="visible";}  }
{if (blah=='six'){layer8.style.visibility="visible";}  }
{if (blah=='seven'){layer9.style.visibility="visible";}  }
{if (blah=='eight'){layer10.style.visibility="visible";}  }
document.t.one.value="hello--achange " + blah;
  containallt.style.backgroundColor="rgb(000,255,255)";
containallc.style.backgroundColor="rgb(000,000,255)"
titleboxbord.style.backgroundColor="rgb(000,255,128)"
containtitlec.style.backgroundColor="rgb(255,000,255)"
titlebord.style.backgroundColor="rgb(000,255,255)"
titlec.style.backgroundColor="rgb(000,128,255)"
mnboxbord.style.backgroundColor="rgb(255,255,128)";
containmenuc.style.backgroundColor="rgb(255,000,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(255,128,000)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";
}














function achange2()
{
document.t.two.value="from achange2() for start and mouseoff" ;

 checkur=document.t.three.value;
{if (checkur=="off") {
layer3.style.visibility="hidden";
layer4.style.visibility="hidden";
layer5.style.visibility="hidden";
layer6.style.visibility="hidden";

layer7.style.visibility="hidden";


layer8.style.visibility="hidden";

layer9.style.visibility="hidden";

layer10.style.visibility="hidden";
 
}}



document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";

containallc.style.backgroundColor="rgb(255,255,000)"

titleboxbord.style.backgroundColor="rgb(255,000,000)"

containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";

}






function wchange2()
{document.t.two.value="from achange2() for start and mouseoff" ;
checkur=document.t.three.value;
{if (checkur=="off") {layer3.style.visibility="hidden";}}
document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";
containallc.style.backgroundColor="rgb(255,255,000)"
titleboxbord.style.backgroundColor="rgb(255,000,000)"
containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";}



function pchange2()
{document.t.two.value="from achange2() for start and mouseoff" ;
checkur=document.t.three.value;
{if (checkur=="off") {layer4.style.visibility="hidden";}}
document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";
containallc.style.backgroundColor="rgb(255,255,000)"
titleboxbord.style.backgroundColor="rgb(255,000,000)"
containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";}





function tchange2()
{document.t.two.value="from achange2() for start and mouseoff" ;
checkur=document.t.three.value;
{if (checkur=="off") {layer5.style.visibility="hidden";}}
document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";
containallc.style.backgroundColor="rgb(255,255,000)"
titleboxbord.style.backgroundColor="rgb(255,000,000)"
containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";}




function pochange2()
{document.t.two.value="from achange2() for start and mouseoff" ;
checkur=document.t.three.value;
{if (checkur=="off") {layer6.style.visibility="hidden";}}
document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";
containallc.style.backgroundColor="rgb(255,255,000)"
titleboxbord.style.backgroundColor="rgb(255,000,000)"
containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";}





function spchange2()
{document.t.two.value="from achange2() for start and mouseoff" ;
checkur=document.t.three.value;
{if (checkur=="off") {layer7.style.visibility="hidden";}}
document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";
containallc.style.backgroundColor="rgb(255,255,000)"
titleboxbord.style.backgroundColor="rgb(255,000,000)"
containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";}





function shchange2()
{document.t.two.value="from achange2() for start and mouseoff" ;
checkur=document.t.three.value;
{if (checkur=="off") {layer8.style.visibility="hidden";}}
document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";
containallc.style.backgroundColor="rgb(255,255,000)"
titleboxbord.style.backgroundColor="rgb(255,000,000)"
containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";}





function wtchange2()
{document.t.two.value="from achange2() for start and mouseoff" ;
checkur=document.t.three.value;
{if (checkur=="off") {layer9.style.visibility="hidden";}}
document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";
containallc.style.backgroundColor="rgb(255,255,000)"
titleboxbord.style.backgroundColor="rgb(255,000,000)"
containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";}




function ochange2()
{document.t.two.value="from achange2() for start and mouseoff" ;
checkur=document.t.three.value;
{if (checkur=="off") {layer10.style.visibility="hidden";}}
document.t.one.value="hello--achange2";
  containallt.style.backgroundColor="rgb(000,000,255)";
containallc.style.backgroundColor="rgb(255,255,000)"
titleboxbord.style.backgroundColor="rgb(255,000,000)"
containtitlec.style.backgroundColor="rgb(000,255,000)"
titlebord.style.backgroundColor="rgb(255,000,255)"
titlec.style.backgroundColor="rgb(000,255,255)"
mnboxbord.style.backgroundColor="rgb(000,000,255)";
containmenuc.style.backgroundColor="rgb(255,128,000)";
menut.style.backgroundColor="rgb(000,255,000)"
menuc1.style.backgroundColor="rgb(000,000,255)"
smenuc2.style.backgroundColor="rgb(255,000,000)";
menuc3.style.backgroundColor="rgb(128,000,255)";
menuc4.style.backgroundColor="rgb(255,000,128)";
menuc5.style.backgroundColor="rgb(255,000,255)";
menuc6.style.backgroundColor="rgb(255,128,000)";
menuc7.style.backgroundColor="rgb(128,000,000)";
menuc8.style.backgroundColor="rgb(000,128,000)";}


















