// JavaScript Document

$(document).ready(function(){

	
	$("#prod").mouseover(function() { 
	  
		$(this).parent().find("ul.subnav1").slideDown('slow').show(); //Drop down the subnav on click

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

		//Following events are applied to the trigger (Hover events for the trigger)
		
	}).mouseleave(function(){
			
			$(this).parent().find("ul.subnav1").slideUp('slow');
			});;
		$('#op1').mouseover(function() { //When trigger is clicked...
		
			$(".subnav2").slideDown('slow'); 
		});
			
		$('#prodinfo').mouseover(function() { //When trigger is clicked...
		
				
			$(this).parent().find("ul.subnav3").slideDown('slow').show(); //Drop down the subnav on click
	
			$(this).parent().hover(function() {
			}, function(){	
				$(this).parent().find("ul.subnav3").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
			});
		});
			
$(function() {
	$(".jqzoom").jqzoom({
					zoomWidth: 290,
					zoomHeight: 312,
						xOffset: 120,
						yOffset: -20,
						showPreload: true,
						title: true
			});
});
$('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});
