$(document).ready(function() {	
	$('#content').hide();
	$('#content').fadeIn(2000);	
	$('#content_book').hide();
	$('#content_book').fadeIn(2000);
	$('#content_pkg').hide();
	$('#content_pkg').fadeIn(2000);	
	
	
	$('#content_hidden').hide();
	$('a#content-show').click(function() {
	$('#content_hidden').fadeIn('slow');
	 return false;
	  });
	  $('a#content-hide').click(function() {
	 $('#content_hidden').fadeOut('slow');
	 return false;
	  });
	});

	$(document).ready(function() {
		$('#stay').hide();
		$('a#stay-show').click(function() {
			$('#stay').fadeIn('slow');
			return false;
		});
		$('a#stay-hide').click(function() {
			$('#stay').fadeOut('slow');
			return false;
		});
	  
	$('#press').hide();
	  $('a#press-show').click(function() {
	 $('#press').fadeIn('slow');
	 return false;
	  });
	  $('a#press-hide').click(function() {
	 $('#press').fadeOut('slow');
	 return false;
	  });		  
	  	  

	$("ul.subnav").parent().append("<span></span>");

	$("ul.topnav li span").click(function() { 

		$(this).parent().find("ul.subnav").slideDown('fast').show(); 

		$(this).parent().hover(function() {
		}, function(){
			$(this).parent().find("ul.subnav").slideUp('slow'); 
		});

		}).hover(function() {
			$(this).addClass("subhover"); 
		}, function(){
			$(this).removeClass("subhover"); 
	});

		$('.dropdown li.headlink').hover(
			function() { $('ul', this).css('display', 'block'); },
			function() { $('ul', this).css('display', 'none'); });

		$('.dropdown li.headlink').hover(
			function() { $('ul', this).css('display', 'block'); },
			function() { $('ul', this).css('display', 'none'); });

	$('#main_slider').cycle({
		fx: 'scrollHorz',
		next:   '#main_right_arrow', 
		prev:   '#main_left_arrow',
		cleartype:true,
		cleartypeNoBg:true,
		timeout: 0
	});

		$(".pkg").colorbox({width:"500px", height:"400px", iframe:true});
//promo ticker
		$("#promo > ul").liScroll();


});      
