function fullOpen() {
	var newWin;
	if (navigator.appName == 'Microsoft Internet Explorer' && (navigator.platform.substring(0,3) == 'Win')) {
		window.open('main.html','xrossing','fullscreen=yes,scrollbars=no');
	} else if (navigator.appName == 'Microsoft Internet Explorer' && (navigator.platform.substring(0,3) == 'Mac')) {
		if(window.screen){
			var avH=screen.availHeight;
			var avW=screen.availWidth;
			str+=",height="+avH;
			str+=",width="+avW;
			str+=",scrollbars=no";
		}
		var tmp=window.open('main.html','xrossing',str);
		tmp.moveTo(0,0);
		tmp.resizeTo(avW,avH);
	} else if (navigator.appName == 'Netscape' || navigator.platform == 'MacPPC') {
		var str="left=0,screenX=0,top=0,screenY=0";
		if(window.screen){
			var avH=screen.availHeight;
			var avW=screen.availWidth;
			str+=",height="+avH;
			str+=",width="+avW;
			str+=",scrollbars=no";
		}
		var tmp=window.open('main.html','xrossing',str);
		tmp.moveTo(0,0);
		tmp.resizeTo(avW,avH);
	} else {
		var str="left=0,screenX=0,top=0,screenY=0";
		if(window.screen){
			var avH=screen.availHeight;
			var avW=screen.availWidth;
			str+=",height="+avH;
			str+=",width="+avW;
			str+=",scrollbars=no";
		}
		var tmp=window.open('main.html','xrossing',str);
		tmp.moveTo(0,0);
		tmp.resizeTo(avW,avH);
	}
}


function openSite() {
	var x, y, w, h;
	var w = 1000;
	var h = 700;
	var y = 0;
	if (screen.availWidth>1024) {
		w = 1000;
		h = 700;
		y = (screen.availHeight/2 - h/2);
	}
	x = screen.availWidth/2 - w/2;
	var params = "top="+y+",left="+x+",width="+w+",height="+h+",scrollbars=1,resizable=1,directories=0,location=0,menubar=0,status=0,toolbar=0"
	var sw = window.open("gokanu_main.html","gkb", params);
	sw.moveTo(x,y);
	if (window.focus) sw.focus;
}
