function fullscreen() {
	var sw = screen.width;
	var sh = screen.height - 50;
	var width = 1000;
	var height = 650;//712
	var posLt = (sw-width)/2;
	var posTp = (sh-height)/2;
	var pop;
	if (screen.width>1024) {
		//1024º¸´Ù Å©¸é.
		mmm=window.open('main.htm','first','width='+width+',height='+height+',top='+posTp+',left='+posLt+',menubar=0,scrollbars=0,status=yes,resizable=0');
	} else {
		//1024º¸´Ù ÀÛ°Å³ª °°À¸¸é.
		mmm=window.open('main.htm','first','width='+width+',height='+height+',top=31, left=7, menubar=0,scrollbars=0,status=yes,resizable=0')		
	}
	mmm.focus();
}
function fullscreen2() {
	var sw = screen.width;
	var sh = screen.height - 50;
	var width = 1000;
	var height = 650;//712
	var posLt = (sw-width)/2;
	var posTp = (sh-height)/2;
	var pop2;
	if (screen.width>1024) {
		//1024º¸´Ù Å©¸é.
		mmm2=window.open('last5/main.htm','first','width='+width+',height='+height+',top='+posTp+',left='+posLt+',menubar=0,scrollbars=0,status=yes,resizable=0');
	} else {
		//1024º¸´Ù ÀÛ°Å³ª °°À¸¸é.
		mmm2=window.open('last5/main.htm','first','width='+width+',height='+height+',top=31, left=7, menubar=0,scrollbars=0,status=yes,resizable=0')		
	}
	mmm2.focus();
}
function pop() {
	window.open ('pop.htm','pop','left=0,top=0,width=660,height=700,scrollbars=yes,status=yes,resizable=0'); 
}
/*
<BODY onLoad="javascript:popUp('507','600','main','main.htm','0','0')">
<A HREF="javascript:popUp('507','600','main','main.htm','0','0')">Open the Popup Window</A>
<area shape="rect" coords="66,243,481,348"> href="#" <area shape="rect" coords="66,243,481,348" href="#" onClick="popUp('507','600','main','main.htm','0','0')">
<form>
<input type=button value="Open the Popup Window" onClick="javascript:popUp('507','600','main','main.htm','0','0')">
</form>
javascript:popUp('507','600','main','main.htm','0','0')
*/
