    $(function() {
		$("#nav img.link").hover(
		 function()
		 {
		  this.src = this.src.replace("-off","-hover");
		 },
		 function()
		 {
		  this.src = this.src.replace("-hover","-off");
		 }
		)
		
		$("#nav img.current").hover(
		 function()
		 {
		  this.src = this.src.replace("-on","-hover");
		 },
		 function()
		 {
		  this.src = this.src.replace("-hover","-on");
		 }
		)
		
		// nightkey details button
		$("#nightkey-details img").hover(
		 function()
		 {
		  this.src = this.src.replace("-off","-hover");
		 },
		 function()
		 {
		  this.src = this.src.replace("-hover","-off");
		 }
		)
		
		// nightkey splash enter
		$("#splash-english img").hover(
		 function()
		 {
		  this.src = this.src.replace("-off","-hover");
		 },
		 function()
		 {
		  this.src = this.src.replace("-hover","-off");
		 }
		)
		
		// nightkey splash enter
		$("#splash-french img").hover(
		 function()
		 {
		  this.src = this.src.replace("-off","-hover");
		 },
		 function()
		 {
		  this.src = this.src.replace("-hover","-off");
		 }
		)
    });
	
    $(function() {
		var nav1 = $('<img />').attr('src', 'images/nav/home-hover.gif');
		var nav2 = $('<img />').attr('src', 'images/nav/nightkey-explained-hover.gif');
		var nav3 = $('<img />').attr('src', 'images/nav/manage-details-hover.gif');
		var nav4 = $('<img />').attr('src', 'images/nav/privacy-policy-hover.gif');
		var nav5 = $('<img />').attr('src', 'images/nav/common-questions-hover.gif');
		var nav6 = $('<img />').attr('src', 'images/nav/contact-us-hover.gif');
		var clickdetails = $('<img />').attr('src', 'images/button/click-for-details-hover.gif');

		var english = $('<img />').attr('src', 'images/splash/english-hover.jpg');
		var french = $('<img />').attr('src', 'images/splash/french-hover.jpg');
    });
	
$(document).ready(function(){

	$("#your-privacy").hover(function() { //When trigger is clicked...

		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click

		$("#nav-container").parent().hover(function() {
		}, function(){
			$(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
		});

		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() {
			$(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});

});
