/*
 * jQuery.mouseover
 * Copyright (c) 2009 Creoneo
 */
$.fn.imageMouseOver = function(options){

	var defaults = { pre: '_in', post: '_out', fade: false };
	var options = $.extend(defaults, options);

	this.each(function(){
	
		var $this = $(this); var tmp_over; var tmp;
		$this.mouseover(function(){
	
				tmp = $this.attr('src');
				tmp_over = tmp.replace(defaults.pre,defaults.post);	
				$this.attr('src',tmp_over);
	
		});

		$this.mouseout(function(){
	
			$this.attr('src',tmp);
	
		});
	});
	return this;
};
	
