function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function checkCookieOnload(f)
{
   document.cookie = "Enabled=true";
   var cookieValid = document.cookie;
    // if retrieving the VALUE we just set actually works 
   // then we know cookies enabled
   if (cookieValid.indexOf("Enabled=true") != -1)
   {
      cookiesEnabled = true;
	  getURLx(f);
	  return true;
   }
   else
   {
      cookiesEnabled = false;
      //alert("Your cookies are disabled. You need to enable cookies on your browser to be able to download the documents");
	//MM_openBrWindow('Tell_A_Friend_final.cgi?url=http://ezeepost.ezee/ezeepost/work/godwin/ZycusWebsite/html/resource-centre/whitepapers.html&message=\'This is a test message\'','register',' scrollbars=yes, resizable=yes, width=550,height=452' );
	//MM_openBrWindow('problem-in-registration.html','register','scrollbars=yes, resizable=yes, width=550,height=452' );
	window.location.href="http://www.zycus.com/resource-centre/problem-in-registration.html";
	return false;
   }
}
function getURLx(x) 
{
		window.location.href = x;
}

