// ROLLOVER
function smartRollover()
{
	$( "img[src*='_off.']" ).live("mouseover", function ()
	{
		var src = $(this).attr("src");
		$(this).attr( "src", src.replace("_off.", "_on.") );
	} );
	
	$( "img[src*='_on.']" ).live("mouseout", function ()
	{
		var src = $(this).attr("src");
		$(this).attr( "src", src.replace("_on.", "_off.") );
	} );

	$( "img[src*='_off.']" ).each(function(){
		var src = $(this).attr("src");
		(new Image()).src = src.replace("_off.", "_on.");
	});
}

$(smartRollover);

