new function(){
	var overFn = function(){
		var imgObj = document.getElementsByTagName("img");
		var preload = new Array();
		for(var i=0, i_len = imgObj.length ; i < i_len; i++){
			var unitC = imgObj[i].className.split(/\s+/);
			for(var k=0, k_len = unitC.length; k < k_len; 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);
}