function onMenu(MenuCount) { Imageon = new Image(); if(MenuCount==1) { Imageon.src= "./Gifs/chiruon.gif" document.item1.src = Imageon.src } if(MenuCount==2) { Imageon.src= "./Gifs/nagon.gif" document.item2.src = Imageon.src } if(MenuCount==3) { Imageon.src= "./Gifs/venkion.gif" document.item3.src = Imageon.src } if(MenuCount==4) { Imageon.src= "./Gifs/baluon.gif" document.item4.src = Imageon.src } if(MenuCount==5) { Imageon.src= "./Gifs/arron.gif" document.item5.src = Imageon.src } if(MenuCount==6) { Imageon.src= "./Gifs/hindion.gif" document.item6.src = Imageon.src } if(MenuCount==7) { Imageon.src= "./Gifs/ilayaon.gif" document.item7.src = Imageon.src } if(MenuCount==8) { Imageon.src= "./Gifs/favouriteson.gif" document.item8.src = Imageon.src } if(MenuCount==9) { Imageon.src= "./Gifs/newon.gif" document.item9.src = Imageon.src } if(MenuCount==10) { Imageon.src= "./Gifs/toptenon.gif" document.item10.src = Imageon.src } if(MenuCount==11) { Imageon.src= "./Gifs/linkson.gif" document.item11.src = Imageon.src } if(MenuCount==12) { Imageon.src= "./Gifs/myon.gif" document.item12.src = Imageon.src } } function offMenu(MenuCount) { Imageoff = new Image(); if(MenuCount==1) { Imageoff.src= "./Gifs/chiruoff.gif" document.item1.src = Imageoff.src } if(MenuCount==2) { Imageoff.src= "./Gifs/nagoff.gif" document.item2.src = Imageoff.src } if(MenuCount==3) { Imageoff.src="./Gifs/venkioff.gif" document.item3.src = Imageoff.src } if(MenuCount==4) { Imageoff.src= "./Gifs/baluoff.gif" document.item4.src = Imageoff.src } if(MenuCount==5) { Imageoff.src= "./Gifs/arroff.gif" document.item5.src = Imageoff.src } if(MenuCount==6) { Imageoff.src= "./Gifs/hindioff.gif" document.item6.src = Imageoff.src } if(MenuCount==7) { Imageoff.src= "./Gifs/ilayaoff.gif" document.item7.src = Imageoff.src } if(MenuCount==8) { Imageoff.src= "./Gifs/favouritesoff.gif" document.item8.src = Imageoff.src } if(MenuCount==9) { Imageoff.src= "./Gifs/newoff.gif" document.item9.src = Imageoff.src } if(MenuCount==10) { Imageoff.src= "./Gifs/toptenoff.gif" document.item10.src = Imageoff.src } if(MenuCount==11) { Imageoff.src= "./Gifs/linksoff.gif" document.item11.src = Imageoff.src } if(MenuCount==12) { Imageoff.src= "./Gifs/myoff.gif" document.item12.src = Imageoff.src } }
Make your own free website on Tripod.com