if (document.images)
   {
   	 nav1on= new Image(52,48);
     nav1on.src="http://www.sanfernandovalleylawyers.com/images/nav-home-over.gif";  
     nav1off= new Image(52,48);
     nav1off.src="http://www.sanfernandovalleylawyers.com/images/nav-home.gif";
	 
	 nav2on= new Image(114,48);
     nav2on.src="http://www.sanfernandovalleylawyers.com/images/nav-firm-over.gif";  
     nav2off= new Image(114,48);
     nav2off.src="http://www.sanfernandovalleylawyers.com/images/nav-firm.gif";
	 
	 nav3on= new Image(125,48);
     nav3on.src="http://www.sanfernandovalleylawyers.com/images/nav-attorney-over.gif";  
     nav3off= new Image(125,48);
     nav3off.src="http://www.sanfernandovalleylawyers.com/images/nav-attorney.gif";
	 
	 nav4on= new Image(47,48);
     nav4on.src="http://www.sanfernandovalleylawyers.com/images/nav-faq-over.gif";  
     nav4off= new Image(47,48);
     nav4off.src="http://www.sanfernandovalleylawyers.com/images/nav-faq.gif";
	 
	 nav5on= new Image(115,48);
     nav5on.src="http://www.sanfernandovalleylawyers.com/images/nav-court-over.gif";  
     nav5off= new Image(115,48);
     nav5off.src="http://www.sanfernandovalleylawyers.com/images/nav-court.gif";
	 
	 nav6on= new Image(56,48);
     nav6on.src="http://www.sanfernandovalleylawyers.com/images/nav-news-over.gif";  
     nav6off= new Image(56,48);
     nav6off.src="http://www.sanfernandovalleylawyers.com/images/nav-news.gif";
	 
	 nav7on= new Image(83,48);
     nav7on.src="http://www.sanfernandovalleylawyers.com/images/nav-contact-over.gif";  
     nav7off= new Image(83,48);
     nav7off.src="http://www.sanfernandovalleylawyers.com/images/nav-contact.gif";
	 
	 rnbc01on= new Image(241,25);
     rnbc01on.src="http://www.sanfernandovalleylawyers.com/images/rn-before-court-over.jpg";  
     rnbc01off= new Image(241,25);
     rnbc01off.src="http://www.sanfernandovalleylawyers.com/images/rn-before-court.jpg";
	 
	 rnbc02on= new Image(241,25);
     rnbc02on.src="http://www.sanfernandovalleylawyers.com/images/rn-local-attorneys-over.jpg";  
     rnbc02off= new Image(241,25);
     rnbc02off.src="http://www.sanfernandovalleylawyers.com/images/rn-local-attorneys.jpg";
	 
	 rnbc03on= new Image(241,25);
     rnbc03on.src="http://www.sanfernandovalleylawyers.com/images/rn-criminal-practice-over.jpg";  
     rnbc03off= new Image(241,25);
     rnbc03off.src="http://www.sanfernandovalleylawyers.com/images/rn-criminal-practice.jpg";
	 
	 rnbc04on= new Image(241,22);
     rnbc04on.src="http://www.sanfernandovalleylawyers.com/images/rn-pre-court-defense-2-over.jpg";  
     rnbc04off= new Image(241,22);
     rnbc04off.src="http://www.sanfernandovalleylawyers.com/images/rn-pre-court-defense-2.jpg";
	 
	 rnbc05on= new Image(241,22);
     rnbc05on.src="http://www.sanfernandovalleylawyers.com/images/rn-DUI-defense-2-over.jpg";  
     rnbc05off= new Image(241,22);
     rnbc05off.src="http://www.sanfernandovalleylawyers.com/images/rn-DUI-defense-2.jpg";
	 
	 rnbc06on= new Image(241,22);
     rnbc06on.src="http://www.sanfernandovalleylawyers.com/images/rn-violent-crimes-2-over.jpg";  
     rnbc06off= new Image(241,22);
     rnbc06off.src="http://www.sanfernandovalleylawyers.com/images/rn-violent-crimes-2.jpg";
	 
	 rnbc07on= new Image(241,22);
     rnbc07on.src="http://www.sanfernandovalleylawyers.com/images/rn-juvenile-court-2-over.jpg";  
     rnbc07off= new Image(241,22);
     rnbc07off.src="http://www.sanfernandovalleylawyers.com/images/rn-juvenile-court-2.jpg";
	 
	 rnbc08on= new Image(241,22);
     rnbc08on.src="http://www.sanfernandovalleylawyers.com/images/rn-theft-fraud-2-over.jpg";  
     rnbc08off= new Image(241,22);
     rnbc08off.src="http://www.sanfernandovalleylawyers.com/images/rn-theft-fraud-2.jpg";
	 
	 rnbc09on= new Image(241,22);
     rnbc09on.src="http://www.sanfernandovalleylawyers.com/images/rn-drugs-2-over.jpg";  
     rnbc09off= new Image(241,22);
     rnbc09off.src="http://www.sanfernandovalleylawyers.com/images/rn-drugs-2.jpg";
	 
	 rnbc10on= new Image(241,22);
     rnbc10on.src="http://www.sanfernandovalleylawyers.com/images/rn-sex-crime-2-over.jpg";  
     rnbc10off= new Image(241,22);
     rnbc10off.src="http://www.sanfernandovalleylawyers.com/images/rn-sex-crime-2.jpg";
	 
	 rnbc11on= new Image(241,22);
     rnbc11on.src="http://www.sanfernandovalleylawyers.com/images/rn-other-2-over.jpg";  
     rnbc11off= new Image(241,22);
     rnbc11off.src="http://www.sanfernandovalleylawyers.com/images/rn-other-2.jpg";
	 
	 rnbc12on= new Image(241,25);
     rnbc12on.src="http://www.sanfernandovalleylawyers.com/images/rn-video-over.jpg";  
     rnbc12off= new Image(241,25);
     rnbc12off.src="http://www.sanfernandovalleylawyers.com/images/rn-video.jpg";
	 
	 rnbc13on= new Image(144,42);
     rnbc13on.src="http://www.sanfernandovalleylawyers.com/images/link-van-nuys-over-3.gif";  
     rnbc13off= new Image(144,42);
     rnbc13off.src="http://www.sanfernandovalleylawyers.com/images/link-van-nuys-3.gif";
	 
	 rnbc14on= new Image(144,42);
     rnbc14on.src="http://www.sanfernandovalleylawyers.com/images/link-san-fernando-over-3.gif";  
     rnbc14off= new Image(144,42);
     rnbc14off.src="http://www.sanfernandovalleylawyers.com/images/link-san-fernando-3.gif";
	 
	 rnbc15on= new Image(144,42);
     rnbc15on.src="http://www.sanfernandovalleylawyers.com/images/links-santa-clarita-over-3.gif";  
     rnbc15off= new Image(144,42);
     rnbc15off.src="http://www.sanfernandovalleylawyers.com/images/links-santa-clarita-3.gif";
	 
	 rnbc16on= new Image(144,42);
     rnbc16on.src="http://www.sanfernandovalleylawyers.com/images/link-sylmar-over-3.gif";  
     rnbc16off= new Image(144,42);
     rnbc16off.src="http://www.sanfernandovalleylawyers.com/images/link-sylmar-3.gif";
	 
	 rnbc17on= new Image(144,42);
     rnbc17on.src="http://www.sanfernandovalleylawyers.com/images/link-pasadena-over-3.gif";  
     rnbc17off= new Image(144,42);
     rnbc17off.src="http://www.sanfernandovalleylawyers.com/images/link-pasadena-3.gif";
	 
	 rnbc18on= new Image(144,42);
     rnbc18on.src="http://www.sanfernandovalleylawyers.com/images/link-burbank-over-3.gif";  
     rnbc18off= new Image(144,42);
     rnbc18off.src="http://www.sanfernandovalleylawyers.com/images/link-burbank-3.gif";
	 
	 rnbc19on= new Image(144,42);
     rnbc19on.src="http://www.sanfernandovalleylawyers.com/images/link-glendale-over-3.gif";  
     rnbc19off= new Image(144,42);
     rnbc19off.src="http://www.sanfernandovalleylawyers.com/images/link-glendale-3.gif";
	 
	 rnbc20on= new Image(144,25);
     rnbc20on.src="http://www.sanfernandovalleylawyers.com/images/link-los-angeles-over-3.gif";  
     rnbc20off= new Image(144,25);
     rnbc20off.src="http://www.sanfernandovalleylawyers.com/images/link-los-angeles-3.gif";
	 
	 rnbc21on= new Image(144,42);
     rnbc21on.src="http://www.sanfernandovalleylawyers.com/images/link-antelope-valley-over-3.gif";  
     rnbc21off= new Image(144,42);
     rnbc21off.src="http://www.sanfernandovalleylawyers.com/images/link-antelope-valley-3.gif";
	 
	 rnbc22on= new Image(241,25);
     rnbc22on.src="http://www.sanfernandovalleylawyers.com/images/rn-bail-over.jpg";  
     rnbc22off= new Image(241,25);
     rnbc22off.src="http://www.sanfernandovalleylawyers.com/images/rn-bail.jpg";
	 
	 rnbc23on= new Image(241,42);
     rnbc23on.src="http://www.sanfernandovalleylawyers.com/images/rn-suppression-over.jpg";  
     rnbc23off= new Image(241,42);
     rnbc23off.src="http://www.sanfernandovalleylawyers.com/images/rn-suppression.jpg";
	 
	 rs1on= new Image(12,11);
     rs1on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs1off= new Image(12,11);
     rs1off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs2on= new Image(12,11);
     rs2on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs2off= new Image(12,11);
     rs2off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs3on= new Image(12,11);
     rs3on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs3off= new Image(12,11);
     rs3off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs4on= new Image(12,11);
     rs4on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs4off= new Image(12,11);
     rs4off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs5on= new Image(12,11);
     rs5on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs5off= new Image(12,11);
     rs5off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs6on= new Image(12,11);
     rs6on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs6off= new Image(12,11);
     rs6off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs7on= new Image(12,11);
     rs7on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs7off= new Image(12,11);
     rs7off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs8on= new Image(12,11);
     rs8on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs8off= new Image(12,11);
     rs8off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs9on= new Image(12,11);
     rs9on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs9off= new Image(12,11);
     rs9off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs10on= new Image(12,11);
     rs10on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs10off= new Image(12,11);
     rs10off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs11on= new Image(12,11);
     rs11on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs11off= new Image(12,11);
     rs11off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs12on= new Image(12,11);
     rs12on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs12off= new Image(12,11);
     rs12off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs13on= new Image(12,11);
     rs13on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs13off= new Image(12,11);
     rs13off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs14on= new Image(12,11);
     rs14on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs14off= new Image(12,11);
     rs14off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs15on= new Image(12,11);
     rs15on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs15off= new Image(12,11);
     rs15off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs16on= new Image(12,11);
     rs16on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs16off= new Image(12,11);
     rs16off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs17on= new Image(12,11);
     rs17on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs17off= new Image(12,11);
     rs17off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs18on= new Image(12,11);
     rs18on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs18off= new Image(12,11);
     rs18off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs19on= new Image(12,11);
     rs19on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs19off= new Image(12,11);
     rs19off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs20on= new Image(12,11);
     rs20on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs20off= new Image(12,11);
     rs20off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs21on= new Image(12,11);
     rs21on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs21off= new Image(12,11);
     rs21off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs22on= new Image(12,11);
     rs22on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs22off= new Image(12,11);
     rs22off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs23on= new Image(12,11);
     rs23on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs23off= new Image(12,11);
     rs23off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs24on= new Image(12,11);
     rs24on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs24off= new Image(12,11);
     rs24off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs25on= new Image(12,11);
     rs25on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs25off= new Image(12,11);
     rs25off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs26on= new Image(12,11);
     rs26on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs26off= new Image(12,11);
     rs26off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs27on= new Image(12,11);
     rs27on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs27off= new Image(12,11);
     rs27off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs28on= new Image(12,11);
     rs28on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs28off= new Image(12,11);
     rs28off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs29on= new Image(12,11);
     rs29on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs29off= new Image(12,11);
     rs29off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs30on= new Image(12,11);
     rs30on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs30off= new Image(12,11);
     rs30off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs31on= new Image(12,11);
     rs31on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs31off= new Image(12,11);
     rs31off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs32on= new Image(12,11);
     rs32on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs32off= new Image(12,11);
     rs32off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs33on= new Image(12,11);
     rs33on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs33off= new Image(12,11);
     rs33off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs34on= new Image(12,11);
     rs34on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs34off= new Image(12,11);
     rs34off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs35on= new Image(12,11);
     rs35on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs35off= new Image(12,11);
     rs35off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs36on= new Image(12,11);
     rs36on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs36off= new Image(12,11);
     rs36off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs37on= new Image(12,11);
     rs37on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs37off= new Image(12,11);
     rs37off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs38on= new Image(12,11);
     rs38on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs38off= new Image(12,11);
     rs38off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs39on= new Image(12,11);
     rs39on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs39off= new Image(12,11);
     rs39off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs40on= new Image(12,11);
     rs40on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs40off= new Image(12,11);
     rs40off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs41on= new Image(12,11);
     rs41on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs41off= new Image(12,11);
     rs41off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs42on= new Image(12,11);
     rs42on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs42off= new Image(12,11);
     rs42off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs43on= new Image(12,11);
     rs43on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs43off= new Image(12,11);
     rs43off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs44on= new Image(12,11);
     rs44on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs44off= new Image(12,11);
     rs44off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs45on= new Image(12,11);
     rs45on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs45off= new Image(12,11);
     rs45off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs46on= new Image(12,11);
     rs46on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs46off= new Image(12,11);
     rs46off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs47on= new Image(12,11);
     rs47on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs47off= new Image(12,11);
     rs47off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs48on= new Image(12,11);
     rs48on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs48off= new Image(12,11);
     rs48off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs49on= new Image(12,11);
     rs49on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs49off= new Image(12,11);
     rs49off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs50on= new Image(12,11);
     rs50on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs50off= new Image(12,11);
     rs50off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs51on= new Image(12,11);
     rs51on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs51off= new Image(12,11);
     rs51off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs52on= new Image(12,11);
     rs52on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs52off= new Image(12,11);
     rs52off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs53on= new Image(12,11);
     rs53on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs53off= new Image(12,11);
     rs53off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs54on= new Image(12,11);
     rs54on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs54off= new Image(12,11);
     rs54off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs55on= new Image(12,11);
     rs55on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs55off= new Image(12,11);
     rs55off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs56on= new Image(12,11);
     rs56on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs56off= new Image(12,11);
     rs56off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs57on= new Image(12,11);
     rs57on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs57off= new Image(12,11);
     rs57off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs58on= new Image(12,11);
     rs58on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs58off= new Image(12,11);
     rs58off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs59on= new Image(12,11);
     rs59on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs59off= new Image(12,11);
     rs59off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs60on= new Image(12,11);
     rs60on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs60off= new Image(12,11);
     rs60off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs61on= new Image(12,11);
     rs61on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs61off= new Image(12,11);
     rs61off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs62on= new Image(12,11);
     rs62on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs62off= new Image(12,11);
     rs62off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs63on= new Image(12,11);
     rs63on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs63off= new Image(12,11);
     rs63off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs64on= new Image(12,11);
     rs64on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs64off= new Image(12,11);
     rs64off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs65on= new Image(12,11);
     rs65on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs65off= new Image(12,11);
     rs65off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs66on= new Image(12,11);
     rs66on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs66off= new Image(12,11);
     rs66off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs67on= new Image(12,11);
     rs67on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs67off= new Image(12,11);
     rs67off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs68on= new Image(12,11);
     rs68on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs68off= new Image(12,11);
     rs68off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs69on= new Image(12,11);
     rs69on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs69off= new Image(12,11);
     rs69off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs70on= new Image(12,11);
     rs70on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs70off= new Image(12,11);
     rs70off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs71on= new Image(12,11);
     rs71on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs71off= new Image(12,11);
     rs71off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs72on= new Image(12,11);
     rs72on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs72off= new Image(12,11);
     rs72off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs73on= new Image(12,11);
     rs73on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs73off= new Image(12,11);
     rs73off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs74on= new Image(12,11);
     rs74on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs74off= new Image(12,11);
     rs74off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs75on= new Image(12,11);
     rs75on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs75off= new Image(12,11);
     rs75off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs76on= new Image(12,11);
     rs76on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs76off= new Image(12,11);
     rs76off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs77on= new Image(12,11);
     rs77on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs77off= new Image(12,11);
     rs77off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs78on= new Image(12,11);
     rs78on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs78off= new Image(12,11);
     rs78off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs79on= new Image(12,11);
     rs79on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs79off= new Image(12,11);
     rs79off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs80on= new Image(12,11);
     rs80on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs80off= new Image(12,11);
     rs80off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs81on= new Image(12,11);
     rs81on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs81off= new Image(12,11);
     rs81off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs82on= new Image(12,11);
     rs82on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs82off= new Image(12,11);
     rs82off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs83on= new Image(12,11);
     rs83on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs83off= new Image(12,11);
     rs83off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs84on= new Image(12,11);
     rs84on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs84off= new Image(12,11);
     rs84off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	
	 rs85on= new Image(12,11);
     rs85on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs85off= new Image(12,11);
     rs85off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs86on= new Image(12,11);
     rs86on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs86off= new Image(12,11);
     rs86off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	
	 rs87on= new Image(12,11);
     rs87on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs87off= new Image(12,11);
     rs87off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs88on= new Image(12,11);
     rs88on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs88off= new Image(12,11);
     rs88off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	
	 rs89on= new Image(12,11);
     rs89on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs89off= new Image(12,11);
     rs89off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs90on= new Image(12,11);
     rs90on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs90off= new Image(12,11);
     rs90off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	
	 rs91on= new Image(12,11);
     rs91on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs91off= new Image(12,11);
     rs91off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs92on= new Image(12,11);
     rs92on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs92off= new Image(12,11);
     rs92off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	
	 rs93on= new Image(12,11);
     rs93on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs93off= new Image(12,11);
     rs93off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs94on= new Image(12,11);
     rs94on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs94off= new Image(12,11);
     rs94off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs95on= new Image(12,11);
     rs95on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs95off= new Image(12,11);
     rs95off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs96on= new Image(12,11);
     rs96on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs96off= new Image(12,11);
     rs96off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs97on= new Image(12,11);
     rs97on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs97off= new Image(12,11);
     rs97off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs98on= new Image(12,11);
     rs98on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs98off= new Image(12,11);
     rs98off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs99on= new Image(12,11);
     rs99on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs99off= new Image(12,11);
     rs99off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs100on= new Image(12,11);
     rs100on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs100off= new Image(12,11);
     rs100off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs101on= new Image(12,11);
     rs101on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs101off= new Image(12,11);
     rs101off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs102on= new Image(12,11);
     rs102on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs102off= new Image(12,11);
     rs102off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs103on= new Image(12,11);
     rs103on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs103off= new Image(12,11);
     rs103off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs104on= new Image(12,11);
     rs104on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs104off= new Image(12,11);
     rs104off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs105on= new Image(12,11);
     rs105on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs105off= new Image(12,11);
     rs105off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs106on= new Image(12,11);
     rs106on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs106off= new Image(12,11);
     rs106off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs107on= new Image(12,11);
     rs107on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs107off= new Image(12,11);
     rs107off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs108on= new Image(12,11);
     rs108on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs108off= new Image(12,11);
     rs108off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs109on= new Image(12,11);
     rs109on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs109off= new Image(12,11);
     rs109off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs110on= new Image(12,11);
     rs110on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs110off= new Image(12,11);
     rs110off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs111on= new Image(12,11);
     rs111on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs111off= new Image(12,11);
     rs111off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs112on= new Image(12,11);
     rs112on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs112off= new Image(12,11);
     rs112off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs113on= new Image(12,11);
     rs113on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs113off= new Image(12,11);
     rs113off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs114on= new Image(12,11);
     rs114on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs114off= new Image(12,11);
     rs114off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs115on= new Image(12,11);
     rs115on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs115off= new Image(12,11);
     rs115off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs116on= new Image(12,11);
     rs116on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs116off= new Image(12,11);
     rs116off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs117on= new Image(12,11);
     rs117on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs117off= new Image(12,11);
     rs117off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs118on= new Image(12,11);
     rs118on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs118off= new Image(12,11);
     rs118off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs119on= new Image(12,11);
     rs119on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs119off= new Image(12,11);
     rs119off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs120on= new Image(12,11);
     rs120on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs120off= new Image(12,11);
     rs120off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs121on= new Image(12,11);
     rs121on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs121off= new Image(12,11);
     rs121off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs122on= new Image(12,11);
     rs122on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs122off= new Image(12,11);
     rs122off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs123on= new Image(12,11);
     rs123on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs123off= new Image(12,11);
     rs123off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs124on= new Image(12,11);
     rs124on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs124off= new Image(12,11);
     rs124off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs125on= new Image(12,11);
     rs125on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs125off= new Image(12,11);
     rs125off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs126on= new Image(12,11);
     rs126on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs126off= new Image(12,11);
     rs126off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs127on= new Image(12,11);
     rs127on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs127off= new Image(12,11);
     rs127off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs128on= new Image(12,11);
     rs128on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs128off= new Image(12,11);
     rs128off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs129on= new Image(12,11);
     rs129on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs129off= new Image(12,11);
     rs129off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs130on= new Image(12,11);
     rs130on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs130off= new Image(12,11);
     rs130off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs131on= new Image(12,11);
     rs131on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs131off= new Image(12,11);
     rs131off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs132on= new Image(12,11);
     rs132on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs132off= new Image(12,11);
     rs132off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs133on= new Image(12,11);
     rs133on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs133off= new Image(12,11);
     rs133off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs134on= new Image(12,11);
     rs134on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs134off= new Image(12,11);
     rs134off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs135on= new Image(12,11);
     rs135on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs135off= new Image(12,11);
     rs135off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs136on= new Image(12,11);
     rs136on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs136off= new Image(12,11);
     rs136off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs137on= new Image(12,11);
     rs137on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs137off= new Image(12,11);
     rs137off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs138on= new Image(12,11);
     rs138on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs138off= new Image(12,11);
     rs138off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs139on= new Image(12,11);
     rs139on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs139off= new Image(12,11);
     rs139off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs140on= new Image(12,11);
     rs140on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs140off= new Image(12,11);
     rs140off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs141on= new Image(12,11);
     rs141on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs141off= new Image(12,11);
     rs141off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs142on= new Image(12,11);
     rs142on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs142off= new Image(12,11);
     rs142off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs143on= new Image(12,11);
     rs143on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs143off= new Image(12,11);
     rs143off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs144on= new Image(12,11);
     rs144on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs144off= new Image(12,11);
     rs144off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs145on= new Image(12,11);
     rs145on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs145off= new Image(12,11);
     rs145off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs146on= new Image(12,11);
     rs146on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs146off= new Image(12,11);
     rs146off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs147on= new Image(12,11);
     rs147on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs147off= new Image(12,11);
     rs147off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs148on= new Image(12,11);
     rs148on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs148off= new Image(12,11);
     rs148off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs149on= new Image(12,11);
     rs149on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs149off= new Image(12,11);
     rs149off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
	 rs150on= new Image(12,11);
     rs150on.src="http://www.sanfernandovalleylawyers.com/images/red-square.gif";  
     rs150off= new Image(12,11);
     rs150off.src="http://www.sanfernandovalleylawyers.com/images/spacer.gif";
	 
   }
   
function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function lightup(imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }
 
 function hideLayer(whichLayer) {

if (document.getElementById) {
// this is the way the standards work
document.getElementById(whichLayer).style.visibility = "hidden";
}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.visibility = "hidden";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].visibility = "hidden";
}

}

function showLayer(whichLayer) {

if (document.getElementById) {
// this is the way the standards work
document.getElementById(whichLayer).style.visibility = "visible";
}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.visibility = "visible";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].visibility = "visible";
}

}

function handleClick(whichClick,theLayer) {

if (whichClick == "hide it") {
// then the user wants to hide the layer
hideLayer(theLayer);

}
else if (whichClick == "show it") {
// then the user wants to show the layer
showLayer(theLayer);
}

}


function putMessage(error_message){
        alert(error_message);
        return false;   
}

function checkEmail(email){
        var email_string = email.value; 
        var at_position = email_string.indexOf('@'); 
        var dot_position = email_string.indexOf('.', at_position); 
        var extension = email_string.substring(dot_position+1,email_string.length); 
        
        if(at_position<0){
                return false; 
        } else if (dot_position<0){
                return false; 
        } else if (extension.length<=0){
                return false; 
        } 
        return true; 
}

function hasValue(obj, obj_type){
    if (obj_type == "TEXT" || obj_type == "PASSWORD"){
        if (obj.value.length == 0) 
                return false;
        else 
                return true;
    } else if (obj_type == "SINGLE_VALUE_RADIO" || obj_type == "SINGLE_VALUE_CHECKBOX") {
                if (obj.checked)
                        return true;
                else
                return false;   
        } else if (obj_type == "RADIO" || obj_type == "CHECKBOX") {
                for (i=0; i < obj.length; i++){
                        if (obj[i].checked)
                                return true;
                }
                return false;   
        } else  if (obj_type == "SELECT") {
                if (obj.selectedIndex == 0)
                        return false;
                else
                        return true;
        }
}

function hasValue2(obj1, obj2, obj3, obj4, obj5, obj6){
        var flag = 0;
        for (i=1; i < 7; i++){
                if (obj[i].checked)
                        flag = i;
                }
        if (flag == 0)
                return false;
        else
                return true;
}

function  checkFormContact(this_form){
	if  (!hasValue(this_form.name, "TEXT" )) {
                if  (!putMessage("Please enter your name")){
                        return false; 
                }
        }
    if  (!hasValue(this_form.email, "TEXT" )) {
                if  (!putMessage("Please enter your email address")){
                        return false; 
                }
        } else {
                if (!checkEmail(this_form.email)){
                        if  (!putMessage("Please enter valid email address")){
                                return false; 
                        }
                }
        }
		
	
        
        return true;    
}

function  checkFormContact2(this_form){
	if  (!hasValue(this_form.name, "TEXT" )) {
                if  (!putMessage("Please enter your name")){
                        return false; 
                }
        }
	if  (!hasValue(this_form.phone, "TEXT" )) {
                if  (!putMessage("Please enter your phone")){
                        return false; 
                }
        }
    if  (!hasValue(this_form.email, "TEXT" )) {
                if  (!putMessage("Please enter your email address")){
                        return false; 
                }
        } else {
                if (!checkEmail(this_form.email)){
                        if  (!putMessage("Please enter valid email address")){
                                return false; 
                        }
                }
        }
	if  (!hasValue(this_form.message, "TEXT" )) {
                if  (!putMessage("Please enter your message")){
                        return false; 
                }
        }
		
	
        
        return true;    
}