jQuery(document).ready(function(){
								
	$("#navigation a.clothing-a").parent().append("<span class='showSubnav'></span>");
		//Only shows drop down trigger when JS is enabled (adds empty span tag after ul.subnav)

		$("#navigation a.clothing-a, #navigation li span.showSubnav").hover(function() { //When trigger is hovered...
		
		//Drop down the subnav on hover
		$(this).parent().find("ul.subnav-clothing").slideDown('fast').show();

		$(this).parent().hover(function() {
		}, function(){
			//When the mouse hovers out of the subnav, move it back up
			$(this).parent().find("ul.subnav-clothing").slideUp('fast');
		});
	
	//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() {
			$(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});
		
	$("#navigation a.promotional-a").parent().append("<span class='showSubnav'></span>");
		//Only shows drop down trigger when JS is enabled (adds empty span tag after ul.subnav)

		$("#navigation a.promotional-a, #navigation li span.showSubnav").hover(function() { //When trigger is hovered...
		
		//Drop down the subnav on hover
		$(this).parent().find("ul.subnav-promotional").slideDown('fast').show();

		$(this).parent().hover(function() {
		}, function(){
			//When the mouse hovers out of the subnav, move it back up
			$(this).parent().find("ul.subnav-promotional").slideUp('fast');
		});	

		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() {
			$(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});
	
	// Lightbox
	$(function() {
		$(".lightbox").lightbox();
	});
	
	// Hide/Show Specifications
	$("p.spec").addClass("switchOff").click(function() {
													 
		if($(this).is(".switchOff")) {
			$(this).next().slideDown("slow", function() { 
				$(this).prev().removeClass("switchOff").addClass("switchOn");
			});
			
		} 
		if ($(this).is(".switchOn")) {
			$(this).next().slideUp("slow", function() { 
				$(this).prev().removeClass("switchOn").addClass("switchOff");
			});
		}
		
		return false;
		
	}).next().hide();

/* Contact Form */

$("#contactForm fieldset#contactDetails input, #contactForm textarea").css("-moz-border-radius","10px");
$("#contactForm fieldset#contactDetails input, #contactForm textarea").css("-webkit-border-radius","10px");
$("#contactForm fieldset#contactDetails input, #contactForm textarea").css("border-radius","10px");
$("#contactForm fieldset input, #contactForm textarea").css("-moz-border-radius","10px");
$("#contactForm fieldset input, #contactForm textarea").css("border-radius","10px");
$("#contactForm fieldset input, #contactForm textarea").css("-webkit-border-radius","10px");
							
});
