$(document).ready(function(){

	
	// Preload all rollovers
	$(".rimg").each(function() {
		// Set the original src
		rollsrc = $(this).attr("src");
		rollON = rollsrc.replace('OFF', 'ON');
		newImg = new Image(); // create new image obj
		$(newImg).attr("src", rollON); // set new obj's src
	});

	
	// Navigation rollovers
	$("#menu2  a").mouseover(function(){
		imgsrc = $(this).children("img").attr("src");
		
		if (typeof(imgsrc) != 'undefined') {
		imgsrcON = imgsrc.replace('OFF', 'ON');
		$(this).children("img").attr("src", imgsrcON);
		}
		
	});
	
	// Handle mouseout
	$("#menu2  a").mouseout(function(){
		if (typeof(imgsrc) != 'undefined') {
		$(this).children("img").attr("src", imgsrc);
		}
	});
		
});
