///Keep  in it's frameset
//if (top.location == self.location)
//{
//	self.location.replace("/index.htm")
//}


//Opens game in a window with no toolbar
var windowHandle = '';
function openMaxWindow(url) {
    windowHandle = window.open(url,'popup','fullscreen=no, scrollbars=yes,resizable=yes, screenX=0, screenY=0, outerHeight=' + screen.availHeight + ',outerWidth=' + screen.availWidth);
	windowHandle.focus();
}

//Opens an information pop up window
function infoPopup(strURL,intWidth, intHeight, blnScroll){
var intScreenX;
var intScreenY;
intScreenX = (window.screen.width/2) - (intWidth / 2);
intScreenY = (window.screen.height/2) - (intHeight / 2);
var popup = window.open(strURL,"info","height=" + intHeight + ",width=" + intWidth + ",left=" + intScreenX + ",top=" + intScreenY + ",screenX=" + intScreenX + ",screenY=" + intScreenY + ",scrollbars=" + blnScroll);
popup.focus();
}
