//////////////////////////////////////////////////////////////////////////////////////////
// To include the funcionality from this file into an html page, place the following tag
// within the "head" tag.
//  <HEAD>
//  ...
//  <SCRIPT LANGUAGE="JavaScript" SRC="/TECH/AssurNet.js"></SCRIPT>
//   ...
//  </HEAD>
//////////////////////////////////////////////////////////////////////////////////////////
// SMlogout will log the current user out of SiteMinder for *.us.fortis.com URLs.
//
function SMLogout()
{
    document.cookie = "SMSESSION=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurant.com;path=/";
    document.cookie = "SMONDENIEDREDIR=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurant.com;path=/";
    document.cookie = "SMTRYNO=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurant.com;path=/";
    document.cookie = "FORMCRED=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurant.com;path=/";

    document.cookie = "SMSESSION=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.atl0.assurant.com;path=/";
    document.cookie = "SMONDENIEDREDIR=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.atl0.assurant.com;path=/";
    document.cookie = "SMTRYNO=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.atl0.assurant.com;path=/";
    document.cookie = "FORMCRED=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.atl0.assurant.com;path=/";

    document.cookie = "SMSESSION=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.mia0.assurant.com;path=/";
    document.cookie = "SMONDENIEDREDIR=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.mia0.assurant.com;path=/";
    document.cookie = "SMTRYNO=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.mia0.assurant.com;path=/";
    document.cookie = "FORMCRED=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.mia0.assurant.com;path=/";

    document.cookie = "SMSESSION=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurant.net;path=/";
    document.cookie = "SMONDENIEDREDIR=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurant.net;path=/";
    document.cookie = "SMTRYNO=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurant.net;path=/";
    document.cookie = "FORMCRED=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurant.net;path=/";

    document.cookie = "SMSESSION=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurantpartners.com;path=/";
    document.cookie = "SMONDENIEDREDIR=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurantpartners.com;path=/";
    document.cookie = "SMTRYNO=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurantpartners.com;path=/";
    document.cookie = "FORMCRED=;expires=Wednesday,1-Jan-1970 09:00:01 GMT;domain=.assurantpartners.com;path=/";

    return true;
}
///////////////////////////////////////////////////////////////////////////////////////////
// Setting the focus:  The cursor may be placed in a field by calling the focus() method.  An example of
// how this might be called is:
//          <body onload='document.forms[0].userId.focus()'>
// This will cause the focus to be placed on the input object named "userId" when the page is loaded
// into the browser.
///////////////////////////////////////////////////////////////////////////////////////////


