var exit_popup_act = 0;

function disclaimer_display(text, url)
{
	okoupas=confirm(text);
	if (okoupas==false){
		document.location=url;
	}
}

function exit_display(url)
{
	if(navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("MSIE 8") != -1){
		exit_win = window.open(url, '_blank', 'width=1024, height=950 , toolbar=1, location=1, directories=1, status=1, scrollbars=1, resizable=1, copyhistory=1, menuBar=1');
		if (exit_win != null)
			exit_win.blur();
	}else{
		window.open(url, '_blank', 'width=1024, height=950 , toolbar=1, location=1, directories=1, status=1, scrollbars=1, resizable=1, copyhistory=1, menuBar=1');
		self.focus();
	}
}

function resize_window()
{
	if (navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Firefox") != -1)
		return;
	
	window.moveTo(0,0);
	window.resizeTo(screen.width,screen.height);
}