jQuery.noConflict();

jQuery(document).ready(function(){
						   
jQuery(function(){
	jQuery('.scroll-pane').jScrollPane(
									   {
										   showArrows:true,
										   reinitialiseOnImageLoad: true
									   }
									   );
});

var inprog = 0;
function clearAnimation(){
	jQuery(this).parent().find("ul.subnav").stop();	
}
	//jQuery("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled - Adds empty span tag after ul.subnav
	
	jQuery("ul.topnav li .subHover").mouseover(function() { //When trigger is clicked...
		
		//Following events are applied to the subnav itself (moving subnav up and down)
		
			jQuery(this).parent().stop().find("ul.subnav").slideDown({ duration: 200}) //When the mouse hovers out of the subnav, move it back up
			

		//jQuery(this).parent().find("ul.subnav").animate({height: height},{queue:false, duration:600, easing: 'easeOutBounce'}).show();

		jQuery(this).parent().hover(function() {
		}, function(){	
			jQuery(this).parent().stop().find("ul.subnav").slideUp({ duration: 0}) //When the mouse hovers out of the subnav, move it back up
			
			//slideToggle(jQuery(this).parent().find("ul.subnav"),true).show();
		});
		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() { 		
			jQuery(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			jQuery(this).removeClass("subhover"); //On hover out, remove class "subhover"
			
	});
	
var currentSlide = 0;
	
jQuery("#product_cycle").cycle({ 
    fx:           'fade',  // name of transition effect (or comma separated names, ex: fade,scrollUp,shuffle) 
    timeout:       6000,   // milliseconds between slide transitions (0 to disable auto advance) 
   // speed:         200,    // speed of the transition (any valid fx speed value) 
    fit:           1,     // force slides to fit container 
	sync:          1
   
});


});



