
$(document).ready(function(){
						   
/* these are just a few example scripts we commonly use  */

$(".links").parent("li").parent("ul").addClass("doc_links");


$(".open_body").hide();
$(".open_heading").click(function(){
	  $(this).next(".open_body").slideToggle();
	  $(this).toggleClass("active");
	});


$("#inside #contentarea .col2 input, #inside #contentarea .col2 textarea, #inside #contentarea .col2b input, #inside #contentarea .col2b textarea").focus(function(){
	   $(this).css({'border-color':'#065aa8', 'color':'#065aa8'});
   }).blur(function(){
	   $(this).css({'border-color':'#b2e1fa','color':'#74c1e9'});
   });

$(".phone_number").attr({ value: 'Enter number...' , title:'Phone Number'}).focus(function(){
            if($(this).val()=="Enter number..."){
               $(this).val("");
            }
       }).blur(function(){
            if($(this).val()==""){
               $(this) .val("Enter number...");
            }
       });
	
	
	
$(".name").attr({ value: 'Full Name' , title:'Full Name'}).focus(function(){
            if($(this).val()=="Full Name"){
               $(this).val("");
            }
       }).blur(function(){
            if($(this).val()==""){
               $(this) .val("Full Name");
            }
       });
	
$(".address").attr({ value: 'Address' , title:'Address'}).focus(function(){
            if($(this).val()=="Address"){
               $(this).val("");
            }
       }).blur(function(){
            if($(this).val()==""){
               $(this) .val("Address");
            }
       });
	
$(".burb").attr({ value: 'Suburb' , title:'Suburb'}).focus(function(){
            if($(this).val()=="Suburb"){
               $(this).val("");
            }
       }).blur(function(){
            if($(this).val()==""){
               $(this) .val("Suburb");
            }
       });
	
$(".phone").attr({ value: 'Phone' , title:'Phone Number'}).focus(function(){
            if($(this).val()=="Phone"){
               $(this).val("");
            }
       }).blur(function(){
            if($(this).val()==""){
               $(this) .val("Phone");
            }
       });
	
$(".email").attr({ value: 'Email', title:'Email' }).focus(function(){
            if($(this).val()=="Email"){
               $(this).val("");
            }
       }).blur(function(){
            if($(this).val()==""){
               $(this) .val("Email");
            }
       });
	
$(".work").attr({ value: 'Type of work needed...' , title:'Type of work needed...'}).focus(function(){
            if($(this).val()=="Type of work needed..."){
               $(this).val("");
            }
       }).blur(function(){
            if($(this).val()==""){
               $(this) .val("Type of work needed...");
            }
       });
	   
	   	
$(".search .NormalTextBox").attr({ value: 'Site search...' }).focus(function(){
            if($(this).val()=="Site search..."){
               $(this).val("");
            }
       }).blur(function(){
            if($(this).val()==""){
               $(this) .val("Site search...");
            }
       });
	   
	$(".top_menu .links a:last").css({border:0});


	$(".choice").hover(function(){
		$(this).css("background-position","-215px 0px");
		$(".cities").show();
	},function(){
		$(".cities").hide();
		$(this).css("background-position","0px 0px");
	});
	
		
	$("ul#HouseMenuNav li").hover(function(){
		$(this).children("ul").show();
	},function(){
		$(this).children("ul").hide();
	}); 


	$("#inside .Form table table").before("<div class='form_top'></div>");
	$("#inside .Form td span[id*='FormMaster_lblRequired']").parent("td").hide().parent("tr").prev("tr").children("td").css("border","none");

});
