$(document).ready(function() {
								   
			// Fade out the Background and the Logo								   
			$("img#background").css("display", "none");
		 
			$("img#background").fadeIn(1200);
		 
			// All the links will Fade the Page out EXCEPT the footer links
			$("li a").click(function(event){
				event.preventDefault();
				linkLocation = this.href;
				$("img#background").fadeOut(500, redirectPage);
			});
			
			//$("#rt-padd a").click(function(event){
				//event.preventDefault();
				//linkLocation = this.href;
				//$("img#background").fadeOut(500, redirectPage);
			//});
			
			$("#links a").click(function(event){
				event.preventDefault();
				linkLocation = this.href;
				$("img#background").fadeOut(500, redirectPage);
			});
			
			$("#logo a").click(function(event){
				event.preventDefault();
				linkLocation = this.href;
				$("img#background").fadeOut(500, redirectPage);
			});
		 
			function redirectPage() {
				window.location = linkLocation;
			}
		});

		$(function()
		{
		 	// Slide open the Menu Links
			$(".trigger").mouseover(function(event) {
			event.preventDefault();
			$("#box").slideToggle();
			});
			 
			$("#box a").mouseover(function(event) {
			event.preventDefault();
			});
			
			// Slide open the SubMenu Links
			$(".trigger-s").mouseover(function(event) {
			event.preventDefault();
			$("#subbox").slideToggle();
			});
			 
			$("#subbox a").mouseover(function(event) {
			event.preventDefault();
			});
			
			
			// Slide open the Footer boxes
			$(".trigger2").click(function(event) {
			event.preventDefault();
			$("#box2").slideToggle();
			});
					 
			$("#box2 a").mouseover(function(event) {
			event.preventDefault();
			});
			
			$(".trigger3").click(function(event) {
			event.preventDefault();
			$("#box3").slideToggle();
			});
			 
			$("#box3 a").mouseover(function(event) {
			event.preventDefault();
			});
			
			$(".trigger4").click(function(event) {
			event.preventDefault();
			$("#box4").slideToggle();
			});
			 
			$("#box4 a").mouseover(function(event) {
			event.preventDefault();
			});
			
			// Close buttons for the Footer Boxes
			$(".trigger2a").click(function(event) {
			event.preventDefault();
			$("#box2").slideToggle();
			});
			$(".trigger3a").click(function(event) {
			event.preventDefault();
			$("#box3").slideToggle();
			});
			$(".trigger4a").click(function(event) {
			event.preventDefault();
			$("#box4").slideToggle();
			});
		});
