/* window.open */
function fopen_window(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}

/* °¡¿îµ¥ ÆË¾÷ */
function fopen_center (url, pname, w, h, s) {
	var popw = (screen.width - w) / 2; 
	var poph = (screen.height - h) / 2; 
	var tempWin;
	if (s=="" || s == null)
	{
		popft = 'height='+h+',width='+w+',top='+poph+',left='+popw+',scrollbars=yes';
	}
	else {
		popft = 'height='+h+',width='+w+',top='+poph+',left='+popw+',scrollbars='+s;
	}	
	tempWin = window.open(url, pname, popft);
	tempWin.focus();
	}

function fpage_move(PageNum,Argument)
	{ 
		switch (Argument)
		{
		case 'onStartPage' :
			frmList.h_PageNum.value = PageNum;
			frmList.h_MovePage.value = 0 ;
			frmList.submit();
			break;

		case 'onEndPage' :
			var Cnt;
			var arg=frmList.nPageCount.value;
			Cnt = arg.length;

			var intvalue=((PageNum-1) / 20);
			MovePage =parseInt(intvalue % 20)  ;//¼öÁ¤

			if (arg.charAt(Cnt-1) == 0)
			{
				PageNum=10;
			} 
			else  
			{
				PageNum=arg.charAt(Cnt-1);
			}

			frmList.h_PageNum.value = PageNum ;
			frmList.h_MovePage.value = MovePage;
			frmList.submit();
			break;

		case 'UrlPage' :
			frmList.h_PageNum.value = PageNum ;
			frmList.submit();
			break;
		}
	}
	
function ffile_down(filefullname){	
	document.hframe.location.href = "/product/library/file_download.asp?filefullname="+filefullname;
}