function OpenBrowserWindow(theURL,winName,features)
{ 
	theURLModified = theURL + "&SiteFrom=BE"
	window.name="win1"
	window.open(theURLModified,winName,features);
}

function deleteCookie()
{
  var today = new Date();
  var expiry = new Date(today.getTime() + 28 * 24 * 60 * 60 * 1000); // plus 28 days
  var expired = new Date(today.getTime() - 28 * 24 * 60 * 60 * 1000); // less 28 days
    
   document.cookie="user=null; expires=" + expired.toGMTString(); // delete cookie
}

function Validation()
	{
		//------------------Validation for e-mail format---------------------------
					
		//if (emailcheck(document.SignIn.Email.value)==false)
		//{
			//return false
		//}
			
		//---------------------Special Character validation-----------------------------

		validstring="true" 

		for(var i=0; i<document.SignIn.elements.length; i++)
		{
			if (validatestring(document.SignIn.elements[i].value)==false)
			{
				validstring="false"
			}	
		}	
		if (validstring=="false")
		{
			alert("Input data contains one or more restricted characters such as  , : { } \" \' ; ")
			return false
		}	
			
	}
	
function setURL(obj){
	window.open(obj.value);
}
