		
	$(document).ready(function() {
		
		// Preload all rollovers
		$("#sidenav img").each(function() {
			// Set the original src
			rollsrc = $(this).attr("src");
			rollON = rollsrc.replace('ON', 'OFF');
			newImg = new Image(); // create new image obj
			$(newImg).attr("src", rollON); // set new obj's src
		});

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

		
		// Navigation rollovers
		$("#singlenav a").mouseover(function(){
			imgsrc = $(this).children("img").attr("src");
			
			if (typeof(imgsrc) != 'undefined') {
			imgsrcON = imgsrc.replace('ON', 'OFF');
			$(this).children("img").attr("src", imgsrcON);
			}
			
		});
		
		// Handle mouseout
		$("#singlenav a").mouseout(function(){
			if (typeof(imgsrc) != 'undefined') {
			$(this).children("img").attr("src", imgsrc);
			}
		});
		
		
	
	});