/*
	Standards Compliant Rollover Script
	Author : Daniel Nolan
	http://www.bleedingego.co.uk/webdev.php
*/
function initRollovers(){if(!document.getElementById){return }var E=new Array();var A;var G=document.getElementsByTagName("img");for(var C=0;C<G.length;C++){if(G[C].className=="over"){var F=G[C].getAttribute("src");var B=F.substring(F.lastIndexOf("."),F.length);var D=F.replace(B,"_on"+B);G[C].setAttribute("hsrc",D);E[C]=new Image();E[C].src=D;G[C].onmouseover=function(){A=this.getAttribute("src");this.setAttribute("src",this.getAttribute("hsrc"))};G[C].onmouseout=function(){if(!A){A=this.getAttribute("src").replace("_on"+B,B)}this.setAttribute("src",A)}}}}window.onload=initRollovers;
