// JavaScript Document

$(document).includeReady(function () {				
		$("#navbottomcontainer div").removeClass("navtop").addClass("navbottom");
		$(".navbottom>ul li:last-child").css("border-right","none");
		//$("body>div:not('.slideshow')").wrapInner("<div class='container'></div>");
		//$(".productnav ul:first-child").css("border-left", "2px solid #fff");
		$('div#copy').append("<br style='clear:both;' />");	
		$('.side img:eq(0)').addClass("top");	
//		$("h1").wrapInner("<strong></strong>");
		$("#typekit-badge-slp5ibd").css("display","none");

//		JS hide visibility of divs till loaded. Hidden by Conrad on 11.16.2011
//		$('#header, .productnav, .navtop, #mainContent, #splash, #copy, .navbottom, #footer, .container, #fancyzoom').css("visibility","visible");
		
//		Logo "Home" fade in on hover. Hidden by Conrad on 11.16.2011
//		$(".logo").hover(
//			function () {
//				$("#home-btn").fadeIn();
//			}, 
//			function () {
//				$("#home-btn").fadeOut();
//			}
//		);
		
		$(".productnav li.drop").hover(
			function () {
				$(this).children('div.dropbox').css('display','block');
				$(this).children('a:first-child').css('background','#ffc006');
			}, 
			function () {
				$(this).children('div.dropbox').css('display','none');
				$(this).children('a:first-child').css('background','#31A7CB');
			}
		);
		
		$(".companynav li.drop").hover(
			function () {
				$(this).children('div.dropbox').css('display','block');
				$(this).children('a:first-child').addClass('boxshadow');
			}, 
			function () {
				$(this).children('div.dropbox').css('display','none');
				$(this).children('a:first-child').removeClass('boxshadow');
			}
		);

});
