new function(){
	var overFn = function(){
		var imgObj = document.getElementsByTagName("img");
		var preload = new Array();
		for(var i=0; i < imgObj.length; i++){
			var unitC = imgObj[i].className.split(/\s+/);
			for(var k=0; k < unitC.length; k++){
				if(unitC[k] == "rollover" && imgObj[i].getAttribute("src").match(/_off\./)){
					preload[i]=new Image();
					preload[i].src = imgObj[i].getAttribute("src").replace(/_off\./, "_on.");
					imgObj[i].onmouseover = function(){
						this.setAttribute("src",this.getAttribute("src").replace(/_off\./,"_on."));
					}
					imgObj[i].onmouseout = function(){
						this.setAttribute("src",this.getAttribute("src").replace(/_on\./, "_off."));
					}
					break;
				}
			}
		}
	}		
	function addEvent(elm,listener,fn){
		try{
			elm.addEventListener(listener,fn,false);
		}catch(e){
			elm.attachEvent("on"+listener,fn);
		}
	}
	addEvent(window,"load",overFn);
}
