//.. popup script


function scoring() {
	window.open("http://www.kospogolf.com/scoreboard/scoreboard.asp?riindex=33","scoring","width=840,height=680,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=0");
//	window.open("http://koreapga.com/Tour/hot_01.asp?OPEN_YEAR=2006&TOUR_DIV=11&TOMT_CLSS=0005&TOMT_TIME=00","scoring","width=617,height=700,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=0");
//window.open("/main/scoring2_kr.asp","scoring2_kr","width=400,height=300,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=0,resizable=0");
}

function scoringen() {
	window.open("http://www.kospogolf.com/scoreboard/scoreboard.asp?riindex=33","scoring","width=840,height=680,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=0");
//	window.open("http://eng.koreapga.com/Tour/hot_01.asp?OPEN_YEAR=2006&TOUR_DIV=11&TOMT_CLSS=0005&TOMT_TIME=00","scoringen","width=617,height=700,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=0");
//window.open("/main/scoring2_en.asp","scoring2_en","width=400,height=300,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=0,resizable=0");
}




function scoring1_kr() {
	window.open("/main/scoring1_kr.asp","scoring1_kr","width=400,height=300,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=0,resizable=0");
}

function scoring2_kr() {
	window.open("/main/scoring2_kr.asp","scoring2_kr","width=400,height=300,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=0,resizable=0");
}

function scoring1_en() {
	window.open("/main/scoring1_en.asp","scoring1_en","width=400,height=300,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=0,resizable=0");
}

function scoring2_en() {
	window.open("/main/scoring2_en.asp","scoring2_en","width=400,height=300,top=0,left=0,toolbar=0,location=0,status=1,menubar=0,scrollbars=0,resizable=0");
}


function popup(page,name,x,y){
	opt = "toolbar=no,alwaysRaised=no,location=no,status=no,menubar=no,scrollbars=no,width="+x+",height="+y+",resizable=no,hotkey=no,dependent=no,screenX=0,screenY=0, top=0, left=0"
	window.open(page,name,opt)
	}

function popups(page,name,x,y){
	opt = "toolbar=no,alwaysRaised=no,location=no,status=no,menubar=no,scrollbars=yes,width="+x+",height="+y+",resizable=no,hotkey=no,dependent=no,screenX=0,screenY=0, top=0, left=0"
	window.open(page,name,opt)
	}
	
	function search(page,name,x,y){
	opt = "toolbar=yes,alwaysRaised=no,location=no,status=yes,menubar=yes,scrollbars=yes,width="+x+",height="+y+",resizable=no,hotkey=no,dependent=no,screenX=0,screenY=0, top=0, left=0"
	window.open(page,name,opt)
	}

// °¡¿îµ¥ ¶ß´Â ÆË¾÷Ã¢
	function popupm(url,wx,hy,winname,scroll,resize) {

		var openWin;

		if(!winname){winname = "winname";}
		if(wx==""){wx = 600;}
		if(hy==""){hy = 500;}
		if(scroll==""){scroll = "yes";}
		if(resize==""){resize = "yes";}

		var maxw = screen.width;
		var maxh = screen.height;
		var sx = (maxw - wx) / 2;
		var sy = (maxh - hy) / 2;

		openWin = window.open('',winname,'scrollbars='+scroll+',resizable='+resize+', width='+wx+', height='+hy);
		openWin.focus();

		if(document.all)
			openWin.moveTo(sx,sy); 

		openWin.location = url;

	}



function alert1()
	{
		alert("ÀÌº¥Æ®°¡ Á¾·áµÇ¾ú½À´Ï´Ù.")
	}
function alert2()
	{
		alert("Æ¼ÄÏ ÆÇ¸Å°¡ Á¾·áµÇ¾ú½À´Ï´Ù.")
	}

function live_scoring(){
popup=window.open("http://www.sbskoreantour.com/data_cnps.php","popup","width=1030, height=700 ,resizable=yes, scrollbars=yes");
popup.focus();
}
