if( IsLogged ){ 
	if( IsLogged != -1 ){
		SayHello();
		document.write('! <a href="http://www.overstock.com/logout" rel="nofollow">Sign Out</a>');
	}
} else { 
        document.write('For best offers, <a href="https://www.overstock.com/myaccount" rel="nofollow">sign in</a> or <a href="https://www.overstock.com/myaccount" rel="nofollow">register now</a>!');

} 