window.addEvent('domready', function() { var myVerticalSlide0 = new Fx.Slide('menu0'); var indx = document.getElementById('id'+122).value; if(indx!='0') myVerticalSlide0.hide(); $('click0').addEvent('click', function(e){ e.stop(); if(myVerticalSlide0.open) { myVerticalSlide0.slideOut(); document.getElementById('p0').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide0.slideIn(); document.getElementById('p0').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide1 = new Fx.Slide('menu1'); var indx = document.getElementById('id'+122).value; if(indx!='1') myVerticalSlide1.hide(); $('click1').addEvent('click', function(e){ e.stop(); if(myVerticalSlide1.open) { myVerticalSlide1.slideOut(); document.getElementById('p1').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide1.slideIn(); document.getElementById('p1').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide2 = new Fx.Slide('menu2'); var indx = document.getElementById('id'+122).value; if(indx!='2') myVerticalSlide2.hide(); $('click2').addEvent('click', function(e){ e.stop(); if(myVerticalSlide2.open) { myVerticalSlide2.slideOut(); document.getElementById('p2').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide2.slideIn(); document.getElementById('p2').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide3 = new Fx.Slide('menu3'); var indx = document.getElementById('id'+122).value; if(indx!='3') myVerticalSlide3.hide(); $('click3').addEvent('click', function(e){ e.stop(); if(myVerticalSlide3.open) { myVerticalSlide3.slideOut(); document.getElementById('p3').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide3.slideIn(); document.getElementById('p3').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide4 = new Fx.Slide('menu4'); var indx = document.getElementById('id'+122).value; if(indx!='4') myVerticalSlide4.hide(); $('click4').addEvent('click', function(e){ e.stop(); if(myVerticalSlide4.open) { myVerticalSlide4.slideOut(); document.getElementById('p4').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide4.slideIn(); document.getElementById('p4').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide5 = new Fx.Slide('menu5'); var indx = document.getElementById('id'+122).value; if(indx!='5') myVerticalSlide5.hide(); $('click5').addEvent('click', function(e){ e.stop(); if(myVerticalSlide5.open) { myVerticalSlide5.slideOut(); document.getElementById('p5').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide5.slideIn(); document.getElementById('p5').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide6 = new Fx.Slide('menu6'); var indx = document.getElementById('id'+122).value; if(indx!='6') myVerticalSlide6.hide(); $('click6').addEvent('click', function(e){ e.stop(); if(myVerticalSlide6.open) { myVerticalSlide6.slideOut(); document.getElementById('p6').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide6.slideIn(); document.getElementById('p6').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide7 = new Fx.Slide('menu7'); var indx = document.getElementById('id'+122).value; if(indx!='7') myVerticalSlide7.hide(); $('click7').addEvent('click', function(e){ e.stop(); if(myVerticalSlide7.open) { myVerticalSlide7.slideOut(); document.getElementById('p7').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide7.slideIn(); document.getElementById('p7').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide8 = new Fx.Slide('menu8'); var indx = document.getElementById('id'+122).value; if(indx!='8') myVerticalSlide8.hide(); $('click8').addEvent('click', function(e){ e.stop(); if(myVerticalSlide8.open) { myVerticalSlide8.slideOut(); document.getElementById('p8').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide8.slideIn(); document.getElementById('p8').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide9 = new Fx.Slide('menu9'); var indx = document.getElementById('id'+122).value; if(indx!='9') myVerticalSlide9.hide(); $('click9').addEvent('click', function(e){ e.stop(); if(myVerticalSlide9.open) { myVerticalSlide9.slideOut(); document.getElementById('p9').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide9.slideIn(); document.getElementById('p9').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide10 = new Fx.Slide('menu10'); var indx = document.getElementById('id'+122).value; if(indx!='10') myVerticalSlide10.hide(); $('click10').addEvent('click', function(e){ e.stop(); if(myVerticalSlide10.open) { myVerticalSlide10.slideOut(); document.getElementById('p10').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide10.slideIn(); document.getElementById('p10').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide11 = new Fx.Slide('menu11'); var indx = document.getElementById('id'+122).value; if(indx!='11') myVerticalSlide11.hide(); $('click11').addEvent('click', function(e){ e.stop(); if(myVerticalSlide11.open) { myVerticalSlide11.slideOut(); document.getElementById('p11').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide11.slideIn(); document.getElementById('p11').src = '/design/1/img/wv2-pointer.png'; } }); var myVerticalSlide12 = new Fx.Slide('menu12'); var indx = document.getElementById('id'+122).value; if(indx!='12') myVerticalSlide12.hide(); $('click12').addEvent('click', function(e){ e.stop(); if(myVerticalSlide12.open) { myVerticalSlide12.slideOut(); document.getElementById('p12').src = '/design/1/img/wh2-pointer.png'; } else { myVerticalSlide12.slideIn(); document.getElementById('p12').src = '/design/1/img/wv2-pointer.png'; } }); document.getElementById('rubric_left').style.visibility = 'visible'; });