// File created 
// This files validates the feedback-validation.php

// these tow functions are for the email validations

// File Path : Z:\WEBSITES\shaaditimes.com\dev\ssi\email_validation.js

function verify_Email(obj) {
	url = "/ssi/email-verifiy1.php";
	params = "email="+obj.value+"&field_name="+obj.id+"&"+Math.random();
	callAHAH(url, 'post',params,check_email);
}
function check_email()
{
	var str = "";
	jStr = req.responseText; 

	var rep_array=jStr.split("###^^^%%%");

	if(rep_array[1] != "Email appears to be valid.")
	{
		document.getElementById(rep_array[0]).value = "";
		document.getElementById(rep_array[0]).focus();
		alert(rep_array[1]);
	}
}