// JavaScript Document

$(document).ready(function() {
	$('.breadcrumb li:last-child').css('background','none');
	//productPanSwitch
});


$(document).ready(function() {
    $('#slider1').cycle({
		fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, scrollHorz etc...
			prev:   '#prev', 
			next:   '#next', 
			delay: -10000 
	});
	
	$(".drop li").hover(function () {
		$(this).children("ul").slideDown("fast");
	  }, 
	  function () {
		$(this).children("ul").hide();
	});

});


// Product Slider
$(function() { 
    $('#productSlider').cycle({ 
        fx:     'scrollHorz', 
        speed:   500, 
        timeout: 0, 
        pager:  '#nav1'
    }); 
	
    $('#productSlider2').cycle({ 
        fx:     'scrollHorz', 
        speed:   500, 
        timeout: 0, 
        pager:  '#nav2'
    }); 
	
    $('#productSlider3').cycle({ 
        fx:     'scrollHorz', 
        speed:   500, 
        timeout: 0, 
        pager:  '#nav3'
    }); 
	
	$('#productSlider4').cycle({ 
        fx:     'scrollHorz', 
        speed:   500, 
        timeout: 0, 
        pager:  '#nav4'
    }); 
}); 


$(document).ready(function(){
	$(".signIn").hover(function () {
		$(this).children("div").slideDown("slow");
	  }, 
	  function () {
		$(this).children("div").hide();
	});

});


$(document).ready(function(){
	$(".spec").click(function () {
		$(".specContainer").slideToggle("slow");
		return false;
	});
	
	$(".specNav").click(function () {
		$(this).children(".specMatter").slideToggle("slow");
		return false;
	});
	
	$(".specification_button").click(function () {
		$(".specification").slideToggle("slow");
		return false;
	});

});



// Product Nav
$(document).ready(function(){		   
						   
	$(".productNav").click(function () {
		$(this).next(".productInner").slideToggle("slow");
		$('.productInner').hide();
	});

});

// faq Nav
$(document).ready(function(){		   
						   
	$(".productNav").click(function () {
		$(this).next(".faqInner").slideToggle("slow");
		$('.faqInner').hide();
	});
	

 $('.productPanBottom').hover(  
  function() {  
   $(this).addClass('productPanSwitch');  
  },  
  function() {  
   $(this).removeClass('productPanSwitch');  
  }  
 ); 

});


<!--div link-->
$(document).ready(function(){
	$(".stepsBanner, .securityBanner").click(function(){
		 window.location=$(this).find("a").attr("href");
		 return false;
	});
});




//$(document).ready(function() {
//	
//	// Video gallery					   
//	$('#videoSlider ul li a').each(function() {		
//		var videoFirst = $('').attr('rel');
////		var videoFirst = $('#videoSlider ul li a:first-child').attr('rel');
//		$('#videoContainer').html(videoFirst);
//		
//		$(this).click(function(){
//			var video = $(this).attr('rel');	
//			$('#videoContainer').html(video);
//			return false;
//		});
//		
//	});
//	
//});



