jQuery.noConflict();  
  jQuery(document).ready(function() {

      jQuery('#navtrade').hover(
          function () {
          jQuery(this).animate({'top':'0px'}, {queue:false,duration:500});
		  jQuery('#navtrade .headernavgreybox').animate({ backgroundColor: "#666666" }, 500);
		   jQuery('#navtrade .headernavgreybox strong').animate({ color: "white" }, 500);
		    jQuery('#fpbox1').animate({ backgroundPosition: "0px -250px" }, 500);
			jQuery('#fpright1').animate({ backgroundColor: "#666666", color: "white" }, 500);
		
		

        }, function () {
          jQuery(this).animate({'top':'-36px'}, {queue:false,duration:500});
		   jQuery('#navtrade .headernavgreybox').animate({ backgroundColor: "#F3F3F3" }, 500);
		   jQuery('#navtrade .headernavgreybox strong').animate({ color: "#666666" }, 500);
		    jQuery('#fpbox1').animate({ backgroundPosition: "0px 0px" }, 500);
			   jQuery('#fpright1').animate({ backgroundColor: "#F3F3F3", color: "#666666" }, 500);
		  
        });
	  
	  
	  
	        jQuery('#fpright1').hover(
          function () {
          jQuery('#navtrade').animate({'top':'0px'}, {queue:false,duration:500});
		  jQuery('#navtrade .headernavgreybox').animate({ backgroundColor: "#666666" }, 500);
		   jQuery('#navtrade .headernavgreybox strong').animate({ color: "white" }, 500);
		    jQuery('#fpbox1').animate({ backgroundPosition: "0px -250px" }, 500);
			jQuery('#fpright1').animate({ backgroundColor: "#666666", color: "white" }, 500);
		

        }, function () {
          jQuery('#navtrade').animate({'top':'-36px'}, {queue:false,duration:500});
		   jQuery('#navtrade .headernavgreybox').animate({ backgroundColor: "#F3F3F3" }, 500);
		   jQuery('#navtrade .headernavgreybox strong').animate({ color: "#666666" }, 500);
		    jQuery('#fpbox1').animate({ backgroundPosition: "0px 0px" }, 500);
			   jQuery('#fpright1').animate({ backgroundColor: "#F3F3F3", color: "#666666" }, 500);
		  
        });
	  
	   jQuery('#navcontract').hover(
        function () {
          jQuery(this).animate({'top':'0px'}, {queue:false,duration:500});
		  jQuery('#navcontract .headernavgreybox').animate({ backgroundColor: "#666666" }, 500);
		   jQuery('#navcontract .headernavgreybox strong').animate({ color: "white" }, 500);
		      jQuery('#fpbox2').animate({ backgroundPosition: "0px -250px" }, 500);
			  jQuery('#fpright2').animate({ backgroundColor: "#666666", color: "white" }, 500);

        }, function () {
          jQuery(this).animate({'top':'-36px'}, {queue:false,duration:500});
		   jQuery('#navcontract .headernavgreybox').animate({ backgroundColor: "#F3F3F3" }, 500);
		   jQuery('#navcontract .headernavgreybox strong').animate({ color: "#666666" }, 500);
		   jQuery('#fpbox2').animate({ backgroundPosition: "0px 0px" }, 500);
		    jQuery('#fpright2').animate({ backgroundColor: "#F3F3F3", color: "#666666" }, 500);
        });
		
		
			   jQuery('#fpright2').hover(
        function () {
          jQuery('#navcontract').animate({'top':'0px'}, {queue:false,duration:500});
		  jQuery('#navcontract .headernavgreybox').animate({ backgroundColor: "#666666" }, 500);
		   jQuery('#navcontract .headernavgreybox strong').animate({ color: "white" }, 500);
		      jQuery('#fpbox2').animate({ backgroundPosition: "0px -250px" }, 500);
			  jQuery('#fpright2').animate({ backgroundColor: "#666666", color: "white" }, 500);

        }, function () {
          jQuery('#navcontract').animate({'top':'-36px'}, {queue:false,duration:500});
		   jQuery('#navcontract .headernavgreybox').animate({ backgroundColor: "#F3F3F3" }, 500);
		   jQuery('#navcontract .headernavgreybox strong').animate({ color: "#666666" }, 500);
		   jQuery('#fpbox2').animate({ backgroundPosition: "0px 0px" }, 500);
		    jQuery('#fpright2').animate({ backgroundColor: "#F3F3F3", color: "#666666" }, 500);
        });
	  
	     
	   jQuery('#navcommercial').hover(
          function () {
          jQuery(this).animate({'top':'0px'}, {queue:false,duration:500});
		  jQuery('#navcommercial .headernavgreybox').animate({ backgroundColor: "#666666" }, 500);
		   jQuery('#navcommercial .headernavgreybox strong').animate({ color: "white" }, 500);
		      jQuery('#fpbox3').animate({ backgroundPosition: "0px -250px" }, 500);
			  jQuery('#fpright3').animate({ backgroundColor: "#666666", color: "white" }, 500);

        }, function () {
          jQuery(this).animate({'top':'-36px'}, {queue:false,duration:500});
		   jQuery('#navcommercial .headernavgreybox').animate({ backgroundColor: "#F3F3F3" }, 500);
		   jQuery('#navcommercial .headernavgreybox strong').animate({ color: "#666666" }, 500);
		   jQuery('#fpbox3').animate({ backgroundPosition: "0px 0px" }, 500);
		    jQuery('#fpright3').animate({ backgroundColor: "#F3F3F3", color: "#666666" }, 500);
        });
		
		
			   jQuery('#fpright3').hover(
          function () {
          jQuery('#navcommercial').animate({'top':'0px'}, {queue:false,duration:500});
		  jQuery('#navcommercial .headernavgreybox').animate({ backgroundColor: "#666666" }, 500);
		   jQuery('#navcommercial .headernavgreybox strong').animate({ color: "white" }, 500);
		      jQuery('#fpbox3').animate({ backgroundPosition: "0px -250px" }, 500);
			  jQuery('#fpright3').animate({ backgroundColor: "#666666", color: "white" }, 500);

        }, function () {
          jQuery('#navcommercial').animate({'top':'-36px'}, {queue:false,duration:500});
		   jQuery('#navcommercial .headernavgreybox').animate({ backgroundColor: "#F3F3F3" }, 500);
		   jQuery('#navcommercial .headernavgreybox strong').animate({ color: "#666666" }, 500);
		   jQuery('#fpbox3').animate({ backgroundPosition: "0px 0px" }, 500);
		    jQuery('#fpright3').animate({ backgroundColor: "#F3F3F3", color: "#666666" }, 500);
        });
	  
	  
	  
	     
	   jQuery('#navcontact').hover(
          function () {
          jQuery(this).animate({'top':'0px'}, {queue:false,duration:500});
		  jQuery('#navcontact .headernavgreybox').animate({ backgroundColor: "#666666" }, 500);
		   jQuery('#navcontact .headernavgreybox strong').animate({ color: "white" }, 500);
		     jQuery('#fpright4').animate({ backgroundColor: "#666666", color: "white" }, 500);

        }, function () {
          jQuery(this).animate({'top':'-36px'}, {queue:false,duration:500});
		   jQuery('#navcontact .headernavgreybox').animate({ backgroundColor: "#2D519C" }, 500);
		   jQuery('#navcontact .headernavgreybox strong').animate({ color: "white" }, 500);
		   jQuery('#fpright4').animate({ backgroundColor: "#2D519C", color: "#666666" }, 500);
        });
	   
	   
	   
	   
	   
    jQuery('.slideshow').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		width: 1280,
		height: 350
		});
	});
			
	jQuery(document).ready(function() {
		jQuery('#footermiddle').innerfade({
			speed: 500,
			timeout: 2000,
			type: 'sequence',
			containerheight: '220px'
		});	
	      
	  
		/********************************************************************************************************************
		SIMPLE ACCORDIAN STYLE MENU FUNCTION
		********************************************************************************************************************/	
		jQuery('div.accordionButton').click(function() {
			jQuery('div.accordionContent').slideUp('normal');	
			jQuery(this).next().slideDown('normal');
		});
		
		/********************************************************************************************************************
		CLOSES ALL DIVS ON PAGE LOAD
		********************************************************************************************************************/	
		jQuery("div.accordionContent").hide();	  
    });
	
