//**************************************************************
//Added by HBW 9-24-2007 per Kathrin's request
var exp = new Date();
exp.setTime(exp.getTime() + (60*60*1000));
//popWinC(); //removed 10-11-2007 per Kathrin's request

function popWinC()
{
    var popval = GetCookie('seenpop');
    if (popval == null)
    {
    	popval=1;
    	SetCookie('seenpop', popval, exp, "/");
    	var test = GetCookie('seenpop');
    	var h = screen.height;
    	var w = screen.width;
    	h = (h - 350)/2;
    	w = (w - 450)/2;
    	if (test != null)
		{
		    window.open('/popup.html','ITpopup','left=0,top=0,width=450,height=350,screenX=' + w + ',screenY=' + h + ',left=' + w + ',top=' + h);
		}
	}
}

function getCookieVal (offset) {
    var endstr = document.cookie.indexOf (";", offset);
    if (endstr == -1)
        endstr = document.cookie.length;
    return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {
    var arg = name + "=";
    var alen = arg.length;
    var clen = document.cookie.length;
    var i = 0;
    while (i < clen) {
        var j = i + alen;
        if (document.cookie.substring(i, j) == arg)
            return getCookieVal (j);
        i = document.cookie.indexOf(" ", i) + 1;
        if (i == 0) break;
    }
    return null;
}
function SetCookie (name,value,expires) {
    document.cookie = name + "=" + escape (value) +
    ((expires) ? "; expires=" + expires.toGMTString() : "");
}
function DeleteCookie (name) {
    if (GetCookie(name)) {
        document.cookie = name + "=" +
        "; expires=Thu, 01-Jan-70 00:00:01 GMT";
    }
}
//****************************************************