$(document).ready(function(){
			// Initialize Featured Tabs				
			$("#featured-tabs").tabs(
					   defaults = {   
		 			 selectedClass: 'active',
		             hideClass: 'hide',
		             fx: { height: 'toggle', opacity: 'toggle', duration: 'slow' }
		         }
		    );
		    
		    // Initialize Products Tabs				
			$("#content ul.horz-gallery").tabs(
					   defaults = {   
		 			 selectedClass: 'active',
		             hideClass: 'hide',
		             fx: { opacity: 'toggle', duration: 'slow' }
		         }
		    );
		    
		    // Fade all items on load 60% opacity
		    $("#content ul.horz-gallery li").stop().animate({ opacity: .6 }, 0);
		    // Fade in active item 100% opacity
		    $("#content ul.horz-gallery li.active").stop().animate({ opacity: 1 }, 0);
		    // On item click all items 60% opacity, active item 100% opacity
		    $("#content ul.horz-gallery li a").click(function () {
		    	$("#content ul.horz-gallery li").stop().animate({ opacity: .6 }, 400);
		    	$("#content ul.horz-gallery li.active").stop().animate({ opacity: 1 }, 0);
		    });
		    // On mouse over full opacity
			$("#content ul.horz-gallery li").hover(function () {
				$(this).stop().animate({ opacity: 1 }, 400);
			},
			// On mouse out 60% opacity, active item 100% opacity
			function () {
				$(this).stop().animate({ opacity: .6 }, 400);
		    	$("#content ul.horz-gallery li.active").stop().animate({ opacity: 1 }, 0);
			});
			
			// On click of Quick Contact link in header, scroll to bottom of page and show Quick Contact Form
			$("a#header-qcontact").click(function () {
				$("body, html").animate({scrollTop: (10000)});
				$("#quick-contact .container").slideDown('slow');
				$("#qshow").hide();
				$("#qhide").show();
			});
		    
		    // Quick Contact Form Hide/Show Functions
		    // Hide "hide" link on load
		    $("#qhide").hide();
		    // Hide Quick Contact Form on load
		    $("#quick-contact .container").hide();
		    // Show Quick Contact Form on "show" link click, hide "show" link, show "hide" link, scroll to bottom of page
		    $("a#qshow").click(function() {
			    $("#quick-contact .container").slideDown('slow');
			    $("#qshow").hide();
			    $("#qhide").show();
			    $("body, html").animate({scrollTop: (10000)});
			});
			// Hide Quick Contact Form on "hide" link click, hide "hide" link, show "show" link
			$("a#qhide").click(function() {
				$("#quick-contact .container").slideUp('slow');
				$("#qshow").show();
			    $("#qhide").hide();
			});
			// On click of Quick Contact Form submit button, scroll to bottom of page
			$("#quicksubmit").click(function() {
				$("body, html").animate({scrollTop: (10000)});
			});
			
			// Onload fade Featured horz-gallery
			$("#featured ul.horz-gallery li").stop().animate({ opacity: .6 }, 0);
			// Onload initialize lightBox jQuery plugin
			$("#featured ul.horz-gallery li a").lightBox();
			// On mouse over full opacity
			$("#featured ul.horz-gallery li").hover(function () {
				$(this).stop().animate({ opacity: 1 }, 500);
			},
			// On mouse out 60% opacity
			function () {
				$(this).stop().animate({ opacity: .6 }, 500);
			});
			
		});
