function OpenWin(name, url, width, height, left, top)
{
	//function OpenWin(name, url, width, height, left, top, toolbar, menubar, statusbar, scrollbar, resizable, cLocation)
  //toolbar_str = toolbar ? 'yes' : 'no';
  //menubar_str = menubar ? 'yes' : 'no';
  //statusbar_str = statusbar ? 'yes' : 'no';
  //scrollbar_str = scrollbar ? 'yes' : 'no';
  //resizable_str = resizable ? 'yes' : 'no';
  //location_str = cLocation ? 'yes' : 'no';

  var MyLeft = screen.width/2 - width/2;
  var MyTop = screen.height/2 - height/2;

  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar=no,menubar=no,status=no,scrollbars=no,resizable=no,location=no');
}


function OpenWin_Notice(name, url, width, height, left, top)
{
	//function OpenWin(name, url, width, height, left, top, toolbar, menubar, statusbar, scrollbar, resizable, cLocation)
  //toolbar_str = toolbar ? 'yes' : 'no';
  //menubar_str = menubar ? 'yes' : 'no';
  //statusbar_str = statusbar ? 'yes' : 'no';
  //scrollbar_str = scrollbar ? 'yes' : 'no';
  //resizable_str = resizable ? 'yes' : 'no';
  //location_str = cLocation ? 'yes' : 'no';

  var MyLeft = screen.width/2 - width/2;
  var MyTop = screen.height/2 - height/2;

  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no,location=no');
}


function WindowSize(a,b)
{
	var strLeftSize = a;
	var strTopSize = b;
	
	///////////// Windows XP SP2¿¡¼­ ÆË¾÷Ã¢ ¿ÀÇÂ½Ã ÇÏ´ÜºÎºÐÀÇ Àß¸²Çö»óÀ» ¸·±âÀ§ÇØ Increasing Height Size  ¢Ñ by SOPHIA 2004-11-26 ¿ÀÈÄ 2:45 ¢Ð
	var UA = navigator.appName 
	var ver = navigator.appVersion

	if(UA.indexOf("Microsoft") != -1) {
		//ver = ver.split(";")[3].split(")")[0]
		if(ver.indexOf("SV1") != -1) {
			//WindowSize(440,poph+58);
			strTopSize = Number(strTopSize) + 30;
		}
		else {
			//WindowSize(440,poph+30);
		}
	}
	else {
		//WindowSize(440,poph+30);
	}

	window.resizeTo (strLeftSize, strTopSize);

	// Ã¢ À§Ä¡Á¶Àý
	//var x = screen.width - strLeftSize-300;
	//var y = screen.height - strTopSize-300;
	//window.moveTo(x, y);

}


function resize(fname)
{
var Form = eval(fname);
var poph=Form.scrollHeight;
WindowSize(440,poph+30);
}
function resize2(fname)
{
var Form = eval(fname);
var poph=Form.scrollHeight;
//var popw=document.all['id'].width;
WindowSize(331,poph+30);
}
function resize3(fname,width)
{
var Form = eval(fname);
var poph=Form.scrollHeight;
//var popw=document.all['id'].width;
WindowSize(width,poph+30);
}

function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus

function OpenWindow(name, url, left, top, MywidthSize, Myheightsize)
{
  var MyLeft = screen.width/2 - MywidthSize/2;
  var MyTop = screen.height/2 - Myheightsize/2;

  window.open(url, name, 'left='+MyLeft+',top='+MyTop+',width='+MywidthSize+',height='+Myheightsize+',toolbar=no,menubar=no,status=no,scrollbars=no,resizable=no,location=no');
}


/////////////////////////////ÆË¾÷/////////////////////////////////////////////////////////////////////////////////////
function popup_win(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}
