function openGOSWF(pSGF, movenumber){
	var pH = 480;
	var pW = 680;
	var lX = (screen.width - pW)/2;
  var lY = (screen.height - pW)/2;
	w = window.open("", "newwin", "height=" + pH + ", width=" + pW + ", top=" + lY + ",left=" + lX +  ", status=yes, toolbar=no, menubar=no, scrollbars=no, resizable=yes, location=no, directories=no");
	w.document.write("<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'><head>\n");
	w.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />\n");
	w.document.write("<title>" + pSGF + "</title>\n");
	w.document.write("</head><body bgcolor='#FFFFFF' marginWidth='0' marginHeight='0' leftMargin='0' topMargin='0'><center>\n");
	w.document.write("<embed src='goswf.swf' flashVars='nav=debc36&bg=fbebb8&url=" + pSGF + "&move=" + movenumber +"' width='100%' height='100%' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>\n");
	w.document.write("</embed></body></html>");
	w.document.close();
	w.onFocus = swfFocus;
	w.focus();
}

function swfFocus(){
	w.document.goswf.focus();
}
