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 checkspecialreport() {
		if (IsEmptyField(document.specialreport.fname)){
			alert ("Please Enter Your First Name");
			return false;
		} 
		if (IsEmptyField(document.specialreport.lname)){
			alert ("Please Enter Your Last Name");
			return false;
		} 
		if (IsEmptyField(document.specialreport.email)){
			alert ("Please Enter Your Email Address");
			return false;
		}
		if(document.specialreport.email.value.indexOf("\@")==-1 || document.specialreport.email.value.indexOf(".")==-1){
			alert ("Please Input a Correct Email Address")
			return false;
		}
		return true;
	}
function checkfashionebook() {
		if (IsEmptyField(document.fashionebook.fname)){
			alert ("Please Enter Your First Name");
			return false;
		} 
		if (IsEmptyField(document.fashionebook.lname)){
			alert ("Please Enter Your Last Name");
			return false;
		} 
		if (IsEmptyField(document.fashionebook.email)){
			alert ("Please Enter Your Email Address");
			return false;
		} 
		if(document.fashionebook.email.value.indexOf("\@")==-1 || document.fashionebook.email.value.indexOf(".")==-1){
			alert ("Please Input a Correct Email Address")
			return false;
		}
		if (fashionebook.agree.checked == false ){
			alert('You Must Agree To Want This Free Fashion Ebook');
			return false;
		}
		return true;
	}
function checkinspirationalebook() {
		if (IsEmptyField(document.inspirationalebook.fname)){
			alert ("Please Enter Your First Name");
			return false;
		} 
		if (IsEmptyField(document.inspirationalebook.lname)){
			alert ("Please Enter Your Last Name");
			return false;
		} 
		if (IsEmptyField(document.inspirationalebook.email)){
			alert ("Please Enter Your Email Address");
			return false;
		} 
		if(document.inspirationalebook.email.value.indexOf("\@")==-1 || document.inspirationalebook.email.value.indexOf(".")==-1){
			alert ("Please Input a Correct Email Address")
			return false;
		}
		if (inspirationalebook.agree.checked == false ){
			alert('You Must Agree To Want This Free Inspirational Ebook');
			return false;
		}
		return true;
	}
