<!--

// sigh - opera for windows is very slow on the draw
// with the rollover, so they won't get the functionality... :-(
var winOpera = ((navigator.userAgent.indexOf("Win") != -1) && (navigator.userAgent.indexOf("Opera") != -1)) ? true : false;

var browser = ((! winOpera) && (document.images)) ? true : false;

function setLocalOffset() {
    now = new Date();
    tzo = now.getTimezoneOffset();
	var cookieName = "cowtzo";
	var expdate = new Date(now.getTime() + 90 * 24 * 60 * 60 * 1000);
	document.cookie = cookieName + "=" + tzo + ";expires=" + expdate.toGMTString() + ';path=/;domain=.creativecow.net';
}
setLocalOffset();


// mark thread as read
function setMarkAsReadCookie (forumid, threadid, postid) {
    now = new Date();
    var cookietime = now.getTime();
    cookietime = Math.floor(cookietime / 1000);
    var nocookie = likeCookieExists("cowread_thread_");
    setCookie(("rt_" + forumid + "_" + threadid), cookietime, 10, '/', ".creativecow.net");
}
//-->


<!--

// local browser check because netscape sometimes chokes on the
// check when it's in the library file...god bless netscape

var BROWSER_IE = (document.all) ? true : false;
var BROWSER_NET = (document.layers) ? true : false;
var BROWSER_NET_SIX =
	((document.getElementById) && (! BROWSER_IE)) ? true : false;
var BROWSER_VER_4_PLUS =
	(BROWSER_NET_SIX || BROWSER_NET || BROWSER_IE) ? true : false;
var BROWSER_VER_6_PLUS = (document.getElementById) ? true : false;

//-->

