<!--
//
// The BuildCookie function is only called when the user clicks the Home link on the Header or Footer.
// The script will rebuild the deleted cookie and nav to the Home.htm page.  The Home.htm page will
// find the rebuilt cookie and navigate forward to the IE or NS Home page.
// If the user clicks the back button on the browser instead of using the Home Link, then the cookie
// will not be rebuilt allowing the navigation to continue all the way back to the Index.htm
//
//Create a cookie
function setCookie (cookieName, cookieValue, expires, path, domain, secure) 
{
  document.cookie = 
    escape(cookieName) + '=' + escape(cookieValue) 
    + (expires ? '; EXPIRES=' + expires.toGMTString() : '')
    + (path ? '; PATH=' + path : '')
    + (domain ? '; DOMAIN=' + domain : '')
    + (secure ? '; SECURE' : '');
}

//Create cookie with this page name as the value
function BuildCookie()
{
  //alert('beforecall to setcookie')
  setCookie('Navigation','HeaderFooter_Nav.htm',null,'/');
  window.location.href = 'Home.htm';
}

//-->

