// JavaScript Document
// JavaScript Document
$(document).ready(function(){
						   
	$("input#submit").fadeTo(0,.8);
	$("a#twitter_link").fadeTo(0,.8);	
	$("a#facebook_link").fadeTo(0,.8);
	$("input#submitaaa").fadeTo(0,.8);
	$("a#mailing_list_button").fadeTo(0,.8);
	$("a#discount_voucher").fadeTo(0,.8);
	$("img.gallery-thumbs-next").fadeTo(0,.7);
	$("img.gallery-thumbs-prev").fadeTo(0,.7);
	$("table.gallery-thumbs-inner img").fadeTo(0,.7);
	
	
		$("div#form_container").hide();
	$("div#form_container").fadeTo(1,.95);
	
	
	$("p a#show_requitment").click(function(){
		$("div#requitment").fadeIn(2000);
		return false;
	});
	
	$(" a#form_close_button_requitment").click(function(){
		$("div#requitment").fadeOut(1000);
		return false;
	});	
	
	$("p a#show_enquiry").click(function(){
		$("div#enquiry").fadeIn(2000);
		return false;
	});
	
	$(" a#form_close_button_enquiry").click(function(){
		$("div#enquiry").fadeOut(1000);
		return false;
	});		
	
	
		
    $("input#submit").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.8);      }
    );	
	
    $("input#submitaaa").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.8);      }
    );		
	
    $("a#twitter_link").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.8);      }
    );	
	
    $("a#facebook_link").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.8);      }
    );		
	
    $("a#mailing_list_button").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.8);      }
    );
	
    $("a#discount_voucher").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.8);      }
    );	
	
    $("img.gallery-thumbs-next").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.7);      }
    );			

    $("img.gallery-thumbs-prev").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.7);      }
    );		
	
    $("table.gallery-thumbs-inner img").hover(
      function () {
        $(this).stop().fadeTo(300,1);
      }, 
      function () {
        $(this).stop().fadeTo(300,.7);      }
    );		
	
});