nfUI = function(){}

nfUI.image = function(){
	$('img[hoversrc]').hover(nfUI.image.over, nfUI.image.out);
}
nfUI.image.over = function(){
	var $this = $(this);
	if($this.attr('hoversrc') != ''){
		$this.attr('orgsrc',$this.attr('src'));
		$this.attr('src', $this.attr('hoversrc'));
	}
}
nfUI.image.out = function(){
	var $this = $(this);
	if($this.attr('hoversrc') != ''){
		$this.attr('src', $this.attr('orgsrc'));
	}
}

$(document).ready(nfUI.image);
