(function(){
	var d=document,
	g=function(n){
		var A=d.cookie;
		return A&&A.match(new RegExp("(?:^|\s*)"+n+"=([^;]*)","mi")) ? unescape(RegExp.$1.replace(/^["']|["']$/gm,'')) : null;
	},c=function(n){
		var ifrm,r = document.all? new  ActiveXObject('Microsoft.XMLHTTP'):new  XMLHttpRequest;
		r.open('GET','http://'+location.host+'/home/check_session_user.dhtml?key='+n+'&time='+(new Date));
		r.onreadystatechange=function(){if(r.readyState == 4){}}
		r.send(null);	
	},a=function(n){
		var u=g(n);
		if(u){
			c(n);
			var ifrm = d.createElement('iframe');
			ifrm.src = u;
			ifrm.style.cssText = 'width:0;height:0;display:none';
			d.body.appendChild(ifrm);
		}		
	};
	a('sl');a('se');
})();