
var exitUrl = ""; var exitName="exit";
exitUrl = document.location.href;

function placeExit()
{
// Places cookie for last Passpoint page for offsite.asp return URL

putCookie(exitName, exitUrl);

return true;
}

function putCookie(cookieName, cookieValue)
{
     var oneMonth = 4*7*24*60*60*1000;
     var expDate = new Date();
     expDate.setTime (expDate.getTime() + oneMonth);
     document.cookie = escape(cookieName) + "=" + escape(cookieValue) + "; expires=" + expDate.toGMTString()  + "; path=/";

}
