			 function captcha(cap) 
			 {
			   Recaptcha.create("6LcYWsISAAAAAHZlCsmHNPALhltYFSUb3ywpSSSQ", cap, {
				 theme: "clean",
				 callback: Recaptcha.focus_response_field
				 });
			 }

			//Validate the Recaptcha Before continuing with POST ACTION
			function validateCaptcha()
			{
				challengeField = $("input#recaptcha_challenge_field").val();
				responseField = $("input#recaptcha_response_field").val();

				var html = $.ajax({
					type: "POST",
					url: "/_files/php/validateform.php",
					data: "form=signup&recaptcha_challenge_field=" + challengeField + "&recaptcha_response_field=" + responseField,
					async: false
					}).responseText;

				if(html == "success") {
				   //alert("debug success")
				   return true;
				} else {
					Recaptcha.reload();
					return false;
				}
			}
			
			function validate(form_id,email) {

				//alert("submitForm validate");
			
				// check for valid email address
				var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
				var address = document.forms[form_id].elements[email].value;

				if(reg.test(address) == false) { 
						alert('Invalid Email Address');
						return false;
				} else {
					
					if (validateCaptcha() == true)
					{
						document.getElementById('feedback-one').style.display = 'none';
						document.getElementById('feedback-two').style.display = 'none';
						openPopupThank('feedback-thank');
						return true;
					}
					else
					{			
						alert("Your captcha response was incorrect.  Please try again");
						return false;
					}

				}
				
			}
			
			function validateSurvey(form_id) {

				//alert("validateSurveyvalidate");
				document.getElementById('feedback-one').style.display = 'none';
				openPopupThank('feedback-thank');
				return true;
				
			}

