
fadeimage = (function(jQuery) {

		function init(jQueryselector, down, high)
		{
			function highlight(e)
			{
				jQuery(this).stop().animate({
					opacity: high
				});
			}

			function downlight(e)
			{
				jQuery(this).stop().animate({
					opacity: down
				});
			}

			jQuery(jQueryselector).hover(highlight, downlight);
		}

		return {
			init: init
		}


})(jQuery);

jQuery(document).ready(function() {
    
	fadeimage.init(jQuery('.fadeimage'), 1, 0.6);
        
})

