var act_page_img=0;

function addEvent(el, type, fn){
	if (window.addEventListener){
		el.addEventListener(type, fn, false);
	} else if (window.attachEvent){
		var f = function(){
		  fn.call(el, window.event);
		};			
		el.attachEvent('on' + type, f)
	}
}

function hlon(img){
	if(!img)return 0;
		if(!img.osrc){			
			img.osrc=img.src.slice(0,img.src.length-4);		
			ext=   img.src.slice(  img.src.length-3,img.src.length);		
			img.hsrc=img.osrc.slice(0,img.src.length-4);			
			img.hsrc+="_2."+ext;			
			img.osrc+='.'+ext;		
			addEvent(img,'mouseout',hloff);		
		}		
		if(img!=act_page_img){
			img.src=img.hsrc;
		}
};			

function hloff(){
  if(this!=act_page_img){
		this.src=this.osrc;
	};
	return false;
};
