//  Peter Rownland Catering
//  @Authors Reactive.com.au


$(function(){
		   
		   
      $('.home .promo img:gt(0)').hide();
	  $('.home .promo-text img:gt(0)').hide();
	 
	 
    setInterval(function(){
      $('.home .promo :first-child').fadeOut(3000).next('img').fadeIn(3000).end().appendTo('.promo');
	  $('.home .promo-text :first-child').fadeOut(3000).next('img').fadeIn(3000).end().appendTo('.promo-text');
	  }, 14000);
	

	$(".oldSite").click(function () {
      $(".navigateDrop").toggle();
    });
		
	$("#frm_wedding").click(function () {
		$("#usr_select_val").val("I am planning a wedding");
		$(".contactUsDrop").toggle();
	});
	
	$("#frm_letknow").click(function () {
		$("#usr_select_val").val("Let me know when the new site is online");
		$(".contactUsDrop").toggle();
	});
	
	$("#frm_inter").click(function () {
		$("#usr_select_val").val("I am interested in corportate catering");
		$(".contactUsDrop").toggle();
	});
	
	$("#frm_host").click(function () {
		$("#usr_select_val").val("I am hosting an event");
		$(".contactUsDrop").toggle();
	});
	
	$("#frm_venue").click(function () {
		$("#usr_select_val").val("I would like more information about your venues");
		$(".contactUsDrop").toggle();
	});
	
});