function openGames(cat){
          if(cat!='auth') scr=window.open(zepath+'casino_games/index.html?play='+cat,'games','width=770,height=600, scrollbars=1, location=0, menubar=0, status=0, toolbar=0, addressbar=0, resizable=0');
          	else scr=window.open(zepath+'auth/index.html?play='+cat,'games','width=760,height=600, scrollbars=0, location=1, menubar=0, status=0, toolbar=0, addressbar=0, resizable=0');
          scr.moveTo(screen.width/2-374,-4);
          scr.focus();
}
function logout(){
          scr=window.open(zepath+'auth/logout.html','games','width=300,height=100, scrollbars=0, location=0, menubar=0, status=0, toolbar=0, addressbar=0, resizable=0');
          scr.moveTo(screen.width/2-150,screen.height/2-100);
          scr.focus();
}
function open10k(){
	scr=window.open('','window10k','width=300,height=100, scrollbars=0, location=0, menubar=0, status=0, toolbar=0, addressbar=0, resizable=0');
	document.en2w.submit();
	scr.moveTo(screen.width/2-150,screen.height/2-100);
	scr.focus();
}
function EnterContent(){ return; }
function Activate(){ return; }
function deActivate(){ return; }


var _offsetLeft=0;
var _offsetTop=0;
function absPos(){
	var _doc=document.getElementById('bottom_section');
	while(_doc){
		_offsetLeft+=_doc.offsetLeft;
		_offsetTop+=_doc.offsetTop;
		_doc=_doc.offsetParent;
	}
}

function position_bottom(){
	absPos();
	var blinks=document.getElementById('bottom_links');
	blinks.style.top=document.getElementById('bottom_section').offsetHeight+_offsetTop+10;
	blinks.style.left=_offsetLeft;
}
