// LoginLogout.js uses in the sites protected by ARS in order to display Login/Logout link and support its work
// Global constants:
// In 4 lines below replace <ars_server> with the name of the server where ARS is installed
var sCheckLoginPage = "http://reg.mgnetwork.com/CheckLogin.aspx";
var sRegistrationPage = "http://reg.mgnetwork.com/RegistrationPage.aspx";
var sLoginPage = "http://reg.mgnetwork.com/LoginPage.aspx";
var sLogoutPage = "http://reg.mgnetwork.com/Logoutpage.aspx";
var sEditProfile = "http://reg.mgnetwork.com/VisitorProfileEditPage.aspx";

// the lable for the Login link 
var sLogin = "Login";

// the label for the Logout link 
var sLogout = "Logout";

// the label for the edit profile link
var sEditLabel = "Edit Profile";

// Site ID Param Name
var sSiteIDParamName = "SID";

// Content URL Param Name
var sContentURLParamName = "CU";

// Session Cookie Name 
var sDataPointListParamName = "MGSC";

// Registration Cookie Name 
var sRegCookie 	  = "TCSAC";
var sRegCookieOld = "RC226";

if ( location.search.indexOf('tacodalogin') == -1 ) {
        if ( document.cookie.indexOf('tacodalogin') == -1 ) {
        document.write ("<SCR"+"IPT SRC=http://reg.mgnetwork.com/tacodalogin.js></SCR"+"IPT>");
        }
}


if (document.domain.indexOf('mgnetwork.com') != -1) {
      tlName = '.mgnetwork.com';
} else {
      tlName = document.domain; 
}

var request = createRequestObject();
var sQueryString = "?" + sSiteIDParamName + "=" + sSiteID + "&" + sContentURLParamName + "=" + escape(window.location.href);
//var hQueryString = "?" + sSiteIDParamName + "=" + sSiteID + "&" + sContentURLParamName + "=" + escape("http://www.mgnetwork.com/NASApp/cs/ContentServer?pagename=mgnetwork/Render&c=Page&cid=968332188492");
var sQueryStringForLogout = "?" + sSiteIDParamName + "=" + sSiteID;

// Display Press Release
function showPress ()
{
}

// Display Promotion
function showPromo ()
{
}

// Login/Register links HTML
function ShowLoginLogout ()
{
}

//Big Grey Box HTML
function BigGreyBox ()
{
}

function createRequestObject()
{
}


function getCookie (sCookieName)
{
}

function setCookie (sName, vValue)
{
}


function Logout()
{
}


