   $(document).ready(function(){
	
	var preload=new Image();
preload.src="(images/logo.jpg)";
preload.src="(images/bg-mainnav.png), (images/clients)";





	 $("#contentClients li a img").addClass("lowalpha");
	 $("#contentClients li a img").mouseover(function(event){
				event.preventDefault();

				$(this).fadeTo("slow", 1);

								

				});
	  $("#contentClients li a img").mouseout(function(event){
						event.preventDefault();
						$(this).fadeTo("slow", 0.4);
				});
	 
	 $("#logo, #main-nav, .navcontent, .nojava").hide();						   
	 $("#logo").slideDown("slow");
	 
	 
	 $("h1#logo a").click(function(event){
		event.preventDefault();
		
		   if ($("#main-nav").is(":hidden")){ $("#main-nav").slideDown("slow");
		   }
		   else
		   { 
		   $("#contentPricing, #contentClients, #contentContact, #contentAboutus").hide();
		   $("#main-nav").slideUp("fast");}
		 });
	 
	 $("#aboutus h3.navtitle").click(function(event){
		 $("#contentPricing, #contentClients, #contentContact").hide(); 		
				event.preventDefault(); 
				if ($("#contentAboutus").is(":hidden")){ $("#contentAboutus").fadeIn("slow");
		   }
		   else
		   { $("#contentAboutus").fadeOut("slow");}
		
				});
	 
	 $("#clients h3.navtitle a").click(function(event){
		$("#contentPricing, #contentAboutus, #contentContact").hide(); 
				event.preventDefault();
		if ($("#contentClients").is(":hidden")){ $("#contentClients").fadeIn("slow");
		   }
		   else
		   { $("#contentClients").fadeOut("slow");}
								  });
	 
	 $("#pricing h3.navtitle, .linkPricing").click(function(event){
		$("#contentAboutus, #contentClients, #contentContact").hide(); 						 
				event.preventDefault();
		if ($("#contentPricing").is(":hidden")){ $("#contentPricing").fadeIn("slow");
		   }
		   else
		   { $("#contentPricing").fadeOut("slow");}
								  });
	 
	 $("#contact h3.navtitle, .linkContact").click(function(event){
		event.preventDefault();
		$("#contentAboutus, #contentClients, #contentPricing").hide(); 
	if ($("#contentContact").is(":hidden")){ 
$("#contentContact").fadeIn("slow");
		   }
		   else
		   { $("#contentContact").fadeOut();}				
					  });
	 
	  
	
		
});