<!--	

	function OnBoardExec(exec)
	{
		switch (exec)
		{

			case "list" :
			
				document.location.href = "list.asp?strBoardID="+ SET_STRBOARD_ID +"&intPage="+ SET_INTPAGE +"&intCategory=" + SET_INTCATEGORY +"&strSearchCategory="+ SET_STRSEARCH_CATEGORY +"&strSearchWord="+ SET_STRSEARCH_WORD;

				break;

			case "write" :

				document.location.href = "write.asp?strBoardID="+ SET_STRBOARD_ID +"&intCategory=" + SET_INTCATEGORY;

				break;

			case "reply" :

				document.location.href = "write.asp?strBoardID="+ SET_STRBOARD_ID +"&intPage="+ SET_INTPAGE +"&intCategory=" + SET_INTCATEGORY +"&strSearchCategory="+ SET_STRSEARCH_CATEGORY +"&strSearchWord="+ SET_STRSEARCH_WORD +"&intSeq="+ SET_INTSEQ;

				break;
			
			case "modify" :

				document.location.href = "modify.asp?strBoardID="+ SET_STRBOARD_ID +"&intPage="+ SET_INTPAGE +"&intCategory=" + SET_INTCATEGORY +"&strSearchCategory="+ SET_STRSEARCH_CATEGORY +"&strSearchWord="+ SET_STRSEARCH_WORD +"&intSeq="+ SET_INTSEQ;

				break;

			case "delete" :

				document.location.href = "./Dbwork/delete_ok.asp?strBoardID="+ SET_STRBOARD_ID +"&intPage="+ SET_INTPAGE +"&intCategory=" + SET_INTCATEGORY +"&strSearchCategory="+ SET_STRSEARCH_CATEGORY +"&strSearchWord="+ SET_STRSEARCH_WORD +"&intSeq="+ SET_INTSEQ;

				break;

		}
	}

	function goPage(intPage)
	{
		document.location.href = "list.asp?strBoardID="+ SET_STRBOARD_ID +"&intPage="+ intPage +"&intCategory=" + SET_INTCATEGORY +"&strSearchCategory="+ SET_STRSEARCH_CATEGORY +"&strSearchWord="+ SET_STRSEARCH_WORD;
	}

	function OnZoomGallery(str1, str2)
	{
		openWindows("./Lib/ZoomImage.asp?strFileName=" + str1 + "&strBoardID=" + str2, "ZoomImage", 800, 600, 3);
	}

	function openWindows(filename,p_name,s_width,s_height,s_scrol)
	{
		var x = screen.width;
		var y = screen.height;
		var wid = (x / 2) - (s_width / 2);
		var hei = (y / 2) - (s_height / 2);

		window.open(filename, p_name, "toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=" + s_scrol + ",width=" + s_width + ",height=" + s_height + ",top=" + hei + ",left=" + wid + ",scrolbar=no"); 
	}

//-->
