	//	The eloqua form ID
	eform = document.WebsiteResourceDownload;

	function setCookie(c_name,value,expiredays)
	{
		var exdate=new Date()
		exdate.setDate(exdate.getDate()+expiredays)
		document.cookie=c_name+ "=" +escape(value)+
		((expiredays==null) ? "" : ";expires="+exdate.toGMTString())
	}


	eloquaemail	= GetCookie("eloquaemail");

	if( eloquaemail && eloquaemail != "null" )
	{
		//	Place the email address
		eform["Email"].value	= eloquaemail;

		//	Submit the form
		eform.submit();
	}



//	eform.setAttribute( "onsubmit", "RememberEmail();" );

	//	Use this method because IE doesn't understand the above
	eform.onsubmit = function(){ RememberEmail(); };


	function RememberEmail()
	{
		//	Last 4 hours
		var hours	= 4;

		var expdate = new Date ();
		FixCookieDate (expdate); // Correct for Mac date bug - call only once for given Date object!
		expdate.setTime (expdate.getTime() + (hours * 60 * 60 * 1000)); // 24 hrs from now 
		SetCookie ("eloquaemail", ( eform["Email"].value ), expdate);

	}

