jQuery(document).ready(
	function() {
		
		jQuery("a.new-subscribe").colorbox({width:"65%", height:"85%", speed:1000, iframe:true, title:"Subscribe to WineChap"});
		jQuery("#email-subscribe-link").colorbox({width:"65%", height:"85%", speed:1000, iframe:true, title:"Subscribe to WineChap"});
		jQuery("#winelist-link").colorbox({width:"75%", height:"85%", speed:1000, iframe:true, title:"WineChap's Winelist in Focus"});		
		jQuery(".custom iframe").attr('allowtransparency','true');				
		jQuery(".custom.events h2.entry-title a").colorbox({width:"85%", height:"85%", speed:1000, iframe:true, title:"WineChap Events"});
		jQuery(".custom.events a.post_image_link").colorbox({width:"85%",height:"85%", speed:1000, iframe:true, title:"WineChap Events"});
		jQuery(".custom.events a.more-link").colorbox({width:"85%",height:"85%", speed:1000, iframe:true, title:"WineChap Events"});
		jQuery(".custom.events a.qform").colorbox({width:"65%",height:"470px", speed:1000, iframe:true, title:"WineChap Events"});		
		jQuery(".custom.archived h2.entry-title a").colorbox({width:"85%", height:"85%", speed:1000, iframe:true, title:"WineChap Events"});
		jQuery(".custom.archived a.post_image_link").colorbox({width:"85%",height:"85%", speed:1000, iframe:true, title:"WineChap Events"});
		jQuery(".custom.archived a.more-link").colorbox({width:"85%",height:"85%", speed:1000, iframe:true, title:"WineChap Events"});
		jQuery(".custom.archived a.qform").colorbox({width:"65%",height:"470px", speed:1000, iframe:true, title:"WineChap Events"});		
		jQuery(".custom.corporate a.enquirelink").colorbox({width:"65%",height:"470px", speed:1000, iframe:true, title:"WineChap Events"});
		jQuery(".custom.private-tastings a.enquirelink").colorbox({width:"65%",height:"470px", speed:1000, iframe:true, title:"WineChap Events"});	
		jQuery(".custom.tailored-tastings a.enquirelink").colorbox({width:"65%",height:"470px", speed:1000, iframe:true, title:"WineChap Events"});	
	
		jQuery(".private-tastings #big-guns-dinner .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#wines-for-the-signs").show('slide',{direction:"left"});});
		});
		
		jQuery(".private-tastings #wines-for-the-signs .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#general-wine-consulting").show('slide',{direction:"left"});});
		});

		jQuery("#general-wine-consulting .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#big-guns-dinner").show('slide',{direction:"left"});});
		});
		
		jQuery("#winechap-vintellect .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#what-grows-together").show('slide',{direction:"left"});});
		});

		jQuery("#what-grows-together .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#drink-like-bond").show('slide',{direction:"left"});});
		});

		jQuery(".corporate #drink-like-bond .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#corporate-gifting").show('slide',{direction:"left"});});
		});

		jQuery("#corporate-gifting .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#winechap-vintellect").show('slide',{direction:"left"});});
		});
		
		jQuery(".tailored-tastings #drink-like-bond .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#vintellect-list-tips").show('slide',{direction:"left"});});
		});		

		jQuery(".tailored-tastings #vintellect-list-tips .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#hurrah-jerez").show('slide',{direction:"left"});});
		});		

		jQuery(".tailored-tastings #hurrah-jerez .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#big-guns-dinner").show('slide',{direction:"left"});});
		});		
		
		jQuery(".tailored-tastings #big-guns-dinner .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#la-dolce-vita").show('slide',{direction:"left"});});
		});		
		
		jQuery(".tailored-tastings #la-dolce-vita .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#tuscan-wine-dinner").show('slide',{direction:"left"});});
		});		
		
		jQuery(".tailored-tastings #tuscan-wine-dinner .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#wines-for-the-signs").show('slide',{direction:"left"});});
		});		
		
		jQuery(".tailored-tastings #wines-for-the-signs .nextdiv").click(function() {
			jQuery(this).parent().hide('slide',{direction: "left"},1000,function() {jQuery("#drink-like-bond").show('slide',{direction:"left"});});
		});		
			
		
		jQuery(".corporate .enquirydiv").mouseenter(function() {
			jQuery(this).find('.enquirediv').css({'padding':'5px','background-color':'#f0f0e0', 'width':'155px'}).show('slide', {direction:"down"});
		});

		jQuery(".corporate .enquirydiv").mouseleave(function() {
			jQuery(this).find('.enquirediv').hide('slide', {direction:"down"});
		});

		jQuery(".private-tastings .enquirydiv").mouseenter(function() {
			jQuery(this).find('.enquirediv').css({'padding':'5px','background-color':'#f0f0e0', 'width':'155px'}).show('slide', {direction:"down"});
		});

		jQuery(".private-tastings .enquirydiv").mouseleave(function() {
			jQuery(this).find('.enquirediv').hide('slide', {direction:"down"});
		});
		
		jQuery(".tailored-tastings .enquirydiv").mouseenter(function() {
			jQuery(this).find('.enquirediv').css({'padding':'5px','background-color':'#f0f0e0', 'width':'155px'}).show('slide', {direction:"down"});
		});

		jQuery(".tailored-tastings .enquirydiv").mouseleave(function() {
			jQuery(this).find('.enquirediv').hide('slide', {direction:"down"});
		});
	}
);