<!--
function showWin(thewidth, theheight, url) {
	if (document.all) {
		var xMax = screen.width;
		yMax = screen.height;
	}
	else {
		if (document.layers) {
			var xMax=window.outerWidth;
			yMax=window.outerHeight;
		}
		else {
			var xMax=640;
			yMax=480;
		}
	}
	var xOffset = (xMax - thewidth)/2;
	yOffset = (yMax - theheight - 80)/2;

	 window.open(url, 'GROK',
	 'toolbar=no, location=no, directories=no, status=no, ' +
	 'menubar=no, scrollbars=no, resizable=yes,' +
	 'width='+thewidth+', height='+theheight+', screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+', left='+xOffset)
}

function changePawn(num, obj) {
	var Current = obj.selectedIndex;
	var theColor = obj.options[Current].value;
	document.images["pawn" + num].src = "media/pawns/big/" + theColor + ".gif";
}

function showDiv(object) {
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='visible';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'visible';
    else if (document.all)
        document.all[object].style.visibility = 'visible';
}
//-->

