$(document).ready(function() {
	
	// cycle Instructions
	 $('#banners').cycle({
		fx: 'fade',
		random: 1,
		timeout: 3000
	});		
	 
	 // cycle Instructions
	 $('#testimonial').cycle({
		//fx: 'fade',
		random: 1,
		timeout: 0
	});			

	// landing page color schemes
	$("#home div#header ul li a").css("background-color","#f10");
	
	$("#home div#header ul li a").hover(
	      function () {
	        $(this).css("background-color","#600");
	      }, 
	      function () {
	        $(this).css("background-color","#f10");
	      }
	    );
	
	
	// about page color schemes
	$("#about div#header ul li a").css("background-color","#0083a9");

	$("#about div#header ul li a").hover(
	      function () {
	        $(this).css("background-color","#0d4d6b");
	      }, 
	      function () {
	        $(this).css("background-color","#0083a9");
	      }
	    );
	
	// products page color schemes
	$("#products div#header ul li a").css("background-color","#587b7c");

	$("#products div#header ul li a").hover(
	      function () {
	        $(this).css("background-color","#1e3b3c");
	      }, 
	      function () {
	        $(this).css("background-color","#587b7c");
	      }
	    );
	
	// contact page color schemes
	$("#contact div#header ul li a").css("background-color","#00853e");

	$("#contact div#header ul li a").hover(
	      function () {
	        $(this).css("background-color","#003300");
	      }, 
	      function () {
	        $(this).css("background-color","#00853e");
	      }
	    );
	
	// downloads page color schemes
	$("#downloads div#header ul li a").css("background-color","#ebaf0e");

	$("#downloads div#header ul li a").hover(
	      function () {
	        $(this).css("background-color","#996600");
	      }, 
	      function () {
	        $(this).css("background-color","#ebaf0e");
	      }
	    );
		
	// volatile organic compounds page color schemes
	$("#voc div#header ul li a").css("background-color","#660066");

	$("#voc div#header ul li a").hover(
	      function () {
	        $(this).css("background-color","#330033");
	      }, 
	      function () {
	        $(this).css("background-color","#660066");
	      }
	    );
	
	$("#downloads ul.voc-nav li a").hover(
		function () {
	        $(this).css("background-image","url(../img/small-right-flap.png)");
			$(this).css("background-position","top right");
			$(this).css("background-repeat","no-repeat");
			$(this).css("color", "#fff");
	      }, 
	      function () {
	        $(this).css("background-image","url(../img/msds-tech-button.png)");
			$(this).css("color", "#666");
	      }
	    );
	
	$("#products .container #body #content .column.last.clear .span-5.last .paints li a").css("background-image","url(../img/outline-box.png)");
	
	$("#products .container #body #content .column.last.clear .span-5.last .paints li a").hover(
		function () {
	        $(this).css("background-image","url(../img/small-right-flap.png)");
			$(this).css("background-position","top right");
			$(this).css("background-repeat","no-repeat");
			
	      }, 
	      function () {
	        $(this).css("background-image","url(../img/outline-box.png)");
			$(this).css("background-position","top right");
	      }
	    );	
	// home page rollovers
	$("#home #flat").hover(
		function () {
	        $("#home #home-nav").css("background-image","url(../img/home-rollovers/flat.jpg)");
			$("#home #home-nav").css("background-position","top right");
	      }, 
	      function () {
	        $(this).css(" ");
	      }
	    );
	
	$("#home #eggshell").hover(
		function () {
	        $("#home #home-nav").css("background-image","url(../img/home-rollovers/eggshell.jpg)");
			$("#home #home-nav").css("background-position","top right");
			
	      }, 
	      function () {
	        $(this).css(" ");
	      }
	    );	
	
	$("#home #semigloss").hover(
		function () {
	        $("#home #home-nav").css("background-image","url(../img/home-rollovers/semi-gloss.jpg)");
			$("#home #home-nav").css("background-position","top right");
			
	      }, 
	      function () {
	        $(this).css(" ");
	      }
	    );	
	
	$("#home #primer").hover(
		function () {
	        $("#home #home-nav").css("background-image","url(../img/home-rollovers/primer.jpg)");
			$("#home #home-nav").css("background-position","top right");
	      }, 
	      function () {
	        $(this).css(" ");
	      }
	    );	
	
	$("#home #transitional-primer").hover(
		function () {
	        $("#home #home-nav").css("background-image","url(../img/home-rollovers/coming-soon.jpg)");
			$("#home #home-nav").css("background-position","top right");
	      }, 
	      function () {
	        $(this).css(" ");
	      }
	    );	
	
	$("#home #direct-to-metal").hover(
		function () {
	        $("#home #home-nav").css("background-image","url(../img/home-rollovers/direct-to-metal.jpg)");
			$("#home #home-nav").css("background-position","top right");
	      }, 
	      function () {
	        $(this).css(" ");
	      }
	    );	
	
	$("#home #metal-primer").hover(
		function () {
	        $("#home #home-nav").css("background-image","url(../img/home-rollovers/metal-primer.jpg)");
			$("#home #home-nav").css("background-position","top right");
			
	      }, 
	      function () {
	        $(this).css(" ");
	      }
	    );	
	
	$("#home #floor-plus").hover(
		function () {
	       $("#home #home-nav").css("background-image","url(../img/home-rollovers/floor-plus.jpg)");
			$("#home #home-nav").css("background-position","top right");
	      }, 
	      function () {
	        $(this).css(" ");
	      }
	    );
	
	 $("#products .container #body #content #box .span-4 ul li").prepend("- ");
});


