When it’s time to decide who will secure your home and family,
make the choice Baton Rouge residents have been making for 40 years.

Home

// Test whether the user has cookies enabled by setting a cookie
// and then trying to retrieve it back. If a "true" argument is passed
// then this function attempts to test whether persistant cookies
// (i.e. non session cookies) are enabled.

// save a new cookies with an expiration date set to 5 seconds from now
var now = new Date();
var cookiedate = new Date(now.valueOf() + 1000*5);
document.cookie = "cookieTest=persist;expires=" + cookiedate.toGMTString();
}

else {
// save a session cookie (no expiration specified = lives for the
// lifetime of the browser) so that we check for any kind of cookies
document.cookie = "cookieTest=session"
}

// we cannot test if JavaScript is enabled (because the test itself would
// have to be written in JavaScript) but we can set a variable that will
// be looked at by login.asp when the user submits the form

// If you use "Remember Me" checkbox along with login / password, this section is needed.
// This function will be called
//

function rememberMeClick() {
if (document.forms['loginForm'].rememberMe.checked == true) {
// first check if cookies are enabled at all so that we don't
// inaccurately claim that "only session cookies are enabled"
if (!testClientCookies) {
window.location = '/yourloginpagehere.xxx?m=cookies_off&browser=' + browserCode;
return;
}

// check for non-session cookie (pass true as argument)
if (!testClientCookies(true)) {
alert('In order to take advantage of Alarm.com\'s "Remember My Login" feature, you must allow cookies to be stored on your computer. Visit the Alarm.com FAQ for more information.');
document.forms['loginForm'].rememberMe.checked = false;
}
}
}

// If you use "Remember Me" checkbox along with login / password, this section is needed.
// This function will be called
//
function LoadRememberedLoginName()
{