rollovers=function(off,on){ off_reg=new RegExp(off+"(\.[a-z]+$)","i"); on_reg=new RegExp(on+"(\.[a-z]+$)","i"); img=document.getElementsByTagName("img");p=[]; for(var x=0,i;i=img[x];x++){ if(i.src.match(off_reg)){ p[x]=new Image(); p[x].src=i.src.replace(off_reg,on+"$1"); i.onmouseover=function(){ this.src=this.src.replace(off_reg,on+"$1");}; i.onmouseout=function(){ this.src=this.src.replace(on_reg,off+"$1");};};}; input=document.getElementsByTagName("input");q=[]; for(var x=0,i;i=input[x];x++){ if(i.src.match(off_reg)){ q[x]=new Image(); q[x].src=i.src.replace(off_reg,on+"$1"); i.onmouseover=function(){ this.src=this.src.replace(off_reg,on+"$1");}; i.onmouseout=function(){ this.src=this.src.replace(on_reg,off+"$1");};};};}; onloader = function(){ rollovers( "_d" , "_o" );}
if (window.attachEvent){ window.attachEvent('onload', onloader);}
else { window.addEventListener('load', onloader, false);}
