function EmailValidataion(obj)
{
	//Array to store junk site
	var arrSite = new Array();
	arrSite[0] = "RR.COM";
	arrSite[1] = "YAHOO.COM";
	arrSite[2] = "YAHOO.CO.IN";
	arrSite[3] = "GMAIL.COM";
	arrSite[4] = "HOTMAIL.COM";
	arrSite[5] = "REDIFFMAIL.COM";
	arrSite[6] = "VSNL.COM"; 
	arrSite[7] = "MSN.COM";
	arrSite[8] = "REDIFFMAIL.CO.IN";
	arrSite[9] = "CORE3INC.COM";
	arrSite[10] = "OPIGLOBAL.COM";
	arrSite[11] = "PS.NET";
	arrSite[12] = "EXCITE.COM";
	arrSite[13] = "AOL.COM";
	arrSite[14] = "SBCGLOBAL.NET";
	arrSite[15] = "COX.NET";
	arrSite[16] = "COMCAST.NET";
	arrSite[17] = "GE.COM";
	arrSite[18] = "CSI.COM";
	arrSite[19] = "WIPRO.COM";
	arrSite[20] = "GENPACT.COM";
	arrSite[21] = "NEXTPROCESS.COM";	
	//To Store Input Value	
	var strValue = ltrim(rtrim(obj.value.toUpperCase()));
	var pos = strValue.indexOf("@");
	if (pos >=0)
	{
		var tempstring=strValue.substr(pos+1);
		//To check the string
		for (var i = 0; i < arrSite.length; i++)    
		{
			if (arrSite[i]==tempstring)
			{
				alert('You Have Entered a Non-Corporate Email Address Such as Yahoo, Hotmail, etc.  Please Change Your Email Address to a Valid Corporate Address So That We May Send Your Our Materials.  Thank You.');
				obj.focus();
				return false;
			}
		}
	}
}

///****  Function to trim the left spaces
function ltrim(obval)
{
            //Match spaces at beginning of text and replace with a null string
            return obval.replace(/^\s+/,'');
}

///****  Function to trim the right spaces
function rtrim(obval)
{
            //Match spaces at end of text and replace with a null string
            return obval.replace(/\s+$/,'');
}
