var impLetter = {
	close: function() {
		var mydate= new Date();
		var theyear=mydate.getFullYear();
		var themonth=mydate.getMonth()+1;
		var thetoday=mydate.getDate();
		var value = 'visible';
		var mydate= new Date();
		var ttl = (24-mydate.getHours())*60;

		document.getElementById('topLetterBG').style.display = 'none';
		document.getElementById('topLetter').style.display = 'none';
		Cookie.set('toplayerimpLetter', value, { lifetime: ttl, path: '/' });
	}
}

var Cookie={enabled:function(){this.set("8safG89435JHX78as","t");if(this.get("8safG89435JHX78as")!==null){this.unset("8safG89435JHX78as");return true}return false},get:function(a){if(Cookie.isSet(a)){return Cookie.toJSON()[a]}return null},_getExpirationDate:function(b){if(parseInt(b)=="NaN"){return""}else{var a=new Date();a.setTime(a.getTime()+(parseInt(b)*60000));return a.toGMTString()}},isSet:function(a){if(document.cookie.indexOf(encodeURIComponent(a)+"=")<0){return false}return true},set:function(d,c,b){var a=encodeURIComponent(d);if(typeof(c)!=="undefined"){a+="="+encodeURIComponent(c)}if(typeof(b)!=="undefined"){if(b.lifetime){a+="; expires="+this._getExpirationDate(b.lifetime)}if(b.domain){a+="; domain="+b.domain}if(b.path){a+="; path="+b.path}if(b.secure){a+="; secure;"}}document.cookie=a},toJSON:function(){var c=Cookie.toString().split("; ");var b={};for(i=0;i<c.length;i++){var a=c[i].split("=");b[a[0]]=a[1]||""}return b},toString:function(){return decodeURIComponent(document.cookie)},unset:function(a){Cookie.set(encodeURIComponent(a),"",{lifetime:-10})}};

