//addLoadEvent
function addLoadEvent(func) {var oldonload=window.onload;
if (typeof window.onload !='function') {window.onload = func;} else {window.onload = function() {oldonload();func();}}}

//initRollovers
function initRollovers(){if(!document.getElementById){return}var f=new Array();var a;var h=document.getElementsByTagName("img");var e;for(var c=0;c<h.length;c++){e=h[c].className;if(e.search("imgover")>-1){var g=h[c].getAttribute("src");var b=g.substring(g.lastIndexOf("."),g.length);var d=g.replace(b,"_o"+b);h[c].setAttribute("hsrc",d);f[c]=new Image();f[c].src=d;h[c].onmouseover=function(){a=this.getAttribute("src");this.setAttribute("src",this.getAttribute("hsrc"))};h[c].onmouseout=function(){if(!a){a=this.getAttribute("src").replace("_o"+b,b)}this.setAttribute("src",a)}}}}
addLoadEvent(initRollovers);


