if ( navigator.appName == "Netscape") {
	document.write("<LINK REL=stylesheet HREF=\"/style/stylewinnet.css\" TYPE=\"text/css\">"); }
else {
	document.write("<LINK REL=stylesheet HREF=\"/style/stylewinie.css\" TYPE=\"text/css\">"); }

function viewgogame(id){ 
	var url = "/webclient/goviewid.php?id=" + id;
	gogamewindow = window.open(url, "gogamewindow", "toolbar=no,scrollbars=yes,location=no,directories=no,status=yes,menubar=no,resizable=yes,width=750,height=550");
	if (window.print) gogamewindow.focus();
}

function viewphoto(photoid){ 
	var url = "/gophp/pg_showphoto.php?photoid="+photoid;
	photowindow = window.open(url, "photowindow", "toolbar=yes,scrollbars=yes,location=yes,directories=yes,status=yes,menubar=yes,resizable=yes,width=800,height=550");
	if (window.print) photowindow.focus();
}

function viewdemogame(filename){ 
	var url = "/webclient/goview.php?filename=" + filename;
	gogamewindow = window.open(url, "gogamewindow", "toolbar=no,scrollbars=yes,location=no,directories=no,status=yes,menubar=no,resizable=yes,width=750,height=550");
	if (window.print) gogamewindow.focus();
}

function contactme(){ 
	var url = "/gophp/contactme.htm";
	gogameworld_contactme = window.open(url, "gogameworld_contactme", "toolbar=no,scrollbars=yes,location=no,directories=no,status=yes,menubar=no,resizable=yes,width=477,height=247");
	if (window.print) gogameworld_contactme.focus();
}

function loadFrame(url) {
	//<a href="#" onClick="return loadFrame('/misc/member_v2.html');">here</a>
	document.getElementById('contentFrame').src=url; 
	return false;
}
