var titleName="time";
function hat_CookieGet(name){
var cookies=document.cookie;
var prefix=name+"=";
var start=cookies.indexOf(prefix);
if(start==-1) return null;
var end=cookies.indexOf(";",start);
if(end==-1) end=cookies.length;
return unescape(cookies.substring(start+prefix.length,end));
}
function hat_CookieSet(cookieName, cookieValue, domain, path) {
var curCookie = cookieName + '=' + escape(cookieValue)
+ ((path) ? '; path=' + path : '')
+ ((domain) ? '; domain=' + domain : '')
document.cookie = curCookie;
}
var showHat=false;
var hatName="";
if(!isInAolClient()){
var cookieName="hatDomain";
var refDomain="";
if( hat_CookieGet(cookieName)!=null )
refDomain=hat_CookieGet(cookieName);
else if( document.referrer!="")
refDomain=document.referrer.split("/")[2];
if(refDomain!="" && refDomain.indexOf(location.hostname)==-1){
hat_CookieSet(cookieName,refDomain,location.hostname,"/");
if(refDomain.indexOf(".aol.com")>-1&&(refDomain.indexOf("people.aol.com")==-1)){
document.write('');
showHat=true;
hatName="aolhat";
}
}
}
if(showHat){
document.write('');
document.write('');
}else
setTimeout('document.getElementById("hatwrapper").style.display="none"',0);