function rollovers() {
	$(".rollover").not(".active").mouseover(function() { $(this).attr("src", $(this).attr("src").replace('/off/', '/on/')); });
	$(".rollover").not(".active").mouseout(function() { $(this).attr("src", $(this).attr("src").replace('/on/', '/off/')); });
	if ($("img.active").attr("src") != undefined) {
		$("img.active").attr("src", $("img.active").attr("src").replace('/off/', '/on/'));	
	}
	img = new Array ();
	$(".rollover").each(function() {
		var img = new Image ();
		img.src = $(this).attr("src").replace('/off/', '/on/');
	});
}
$(function (){rollovers ();});

