/**
 * This plugin can be used in 4 ways, this is only 1. Make sure to check
 * the other 3 links as well to see all the Modes.
 */
jQuery(function( $ ){			
	$.preload( '#menucontainer img', {
	    find:'_off.png',
	    replace:'_on.png'
	});
	/*		or
	$('#rollover-images img').preload({
		find:'.jpg',
	    replace:'_over.jpg'
	});
	*/
	//add animation
	$('#menucontainer img').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on','_off');
	});
});
jQuery(function( $ ){			
	$.preload( '#submenu_about img', {
	    find:'_off.png',
	    replace:'_on.png'
	});
	/*		or
	$('#rollover-images img').preload({
		find:'.jpg',
	    replace:'_over.jpg'
	});
	*/
	//add animation
	$('#submenu_about img').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on','_off');
	});
});
jQuery(function( $ ){			
	$.preload( '#submenu_part img', {
	    find:'_off.png',
	    replace:'_on.png'
	});
	/*		or
	$('#rollover-images img').preload({
		find:'.jpg',
	    replace:'_over.jpg'
	});
	*/
	//add animation
	$('#submenu_part img').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on','_off');
	});
});

jQuery(function( $ ){			
	$.preload( 'div.subm input', {
	    find:'_off.png',
	    replace:'_on.png'
	});
	/*		or
	$('#rollover-images img').preload({
		find:'.jpg',
	    replace:'_over.jpg'
	});
	*/
	//add animation
	$('div.subm input').hover(function(){
		this.src = this.src.replace('_off.png','_on.png');	
	},function(){
		this.src = this.src.replace('_on','_off');
	});
});

