$(document).ready(function(){
	$('img.rollover').each(function(i){
		$(this).hover(function(){  
			var newImage	=	new Image;
			newImage.src	=	this.src.replace('.jpg','_On.jpg');  
			if(newImage.complete){              
				this.src	=   this.src.replace('.jpg','_On.jpg');      
			}
		},function(){                                
			this.src		=   this.src.replace('_On.jpg','.jpg');  
		}); 
		
		var newImage		=	new Image;
		newImage.src		=	this.src.replace('.jpg','_On.jpg');  
	});
	
	$('img.rollover2').each(function(i){
		$(this).hover(function(){  
			var newImage	=	new Image;
			newImage.src	=	this.src.replace('.gif','_On.gif');  
			if(newImage.complete){              
				this.src	=   this.src.replace('.gif','_On.gif');      
			}
		},function(){                                
			this.src		=   this.src.replace('_On.gif','.gif');  
		}); 
		
		var newImage		=	new Image;
		newImage.src		=	this.src.replace('.gif','_On.gif');  
	});
	
	$('#nav > li').each(function(i){
		$(this).hover(function(){  
			$(this).find('ul.nav2').show();
			
		},function(){
			$(this).find('ul.nav2').hide();
		});
	});
	
	$('ul.nav2 > li').each(function(i){
		$(this).hover(function(){  
			$(this).find('ul.nav3').show();
		},function(){
			$(this).find('ul.nav3').hide();
		});
	});
	
});
		
