function IsEmptyField(TextObj){
		return IsEmptyStr(TextObj.value)
	}
	 
	function IsEmptyStr(Str){
		var retval = true;
		for (var i=0; i < Str.length; ++i){	
			var c = Str.charAt(i);
			if (c != ' ' && c != '\t') 
				retval = false;
		}	
		return retval;
	}
function checksubscribe(t) {
		if (IsEmptyField(document.subscribe.fname)){
			alert ("Please Enter Your First Name");
			return false;
		} 
		if (IsEmptyField(document.subscribe.lname)){
			alert ("Please Enter Your Last Name");
			return false;
		} 
		if(document.subscribe.email.value.indexOf("\@")==-1 || document.subscribe.email.value.indexOf(".")==-1){
			alert ("Please Input a Correct Email Address")
			return false;
		} 
		if (t.agree.checked == false ) {
			alert('You Must Agree To The Spam Policy To Subscribe');
			return false;
		}
		return true;
	}
function checkunsubscribe(t) {
		if(document.unsubscribe.email.value.indexOf("\@")==-1 || document.unsubscribe.email.value.indexOf(".")==-1){
			alert ("Please Input a Correct Email Address")
			return false;
		} 
		return true;
	}
