// When document is loaded set InsForm post variables
$(document).ready(function(){
	 var returnpath = "http://" + jQuery.url.attr('host') + jQuery.url.attr('path') + "?q=thankyou";
	 $("#tyurl").val(returnpath);		// Sets return path
	 $("#cust_id").val(CustID); 		// Sets customer id in the InsForm post
	 
	 if(jQuery.url.param("q") == 'thankyou') {
		$(".side-inner").hide();
		$("#contentarea").attr('align', 'center');
		$(".inner h1").html( 'Thank you for your submission!');
		$(".green-special").html('A representative will contact you shortly.');
	 }
	$(".menu ul li").hover(function() {
		$(this).addClass("hover");
	}, function() {
		$(this).removeClass("hover");
	});
	 if(!$.browser.webkit) {
		$(".business-name span.name-text").dropShadow({left: 0, top:23, opacity: 0.30, blur: 1});
	 }
	 if($("#image-logo img").attr('src') != "") {
		$("#image-logo").show();
		$("#text-logo").hide();
	 }
});
