<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link href="/content/ebook/skin6/css/common.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="/content/ebook/skin6/js/liquid.js"></script>
<script type="text/javascript" src="/content/ebook/skin6/js/swfobject.js"></script>
<script type="text/javascript" src="/content/ebook/skin6/js/ebook.js"></script>


<script type="text/javascript">
<!--
	

	flippingBook.pages = [
		<%=flippingBook_pages%>
	];



	flippingBook.contents = [
		<%=flippingBook_contents%>
	];



	flippingBook.settings.bookWidth = 840;
	flippingBook.settings.bookHeight = 594;
	flippingBook.settings.pageBackgroundColor = 0xffffff;	//페이지배경색상
	flippingBook.settings.backgroundColor = 0xEBC9CC;		//배경색상
	flippingBook.settings.zoomUIColor = 0xFFCCDB;			//스크롤색상
	flippingBook.settings.useCustomCursors = true;
	flippingBook.settings.dropShadowEnabled = false,
	flippingBook.settings.zoomImageWidth = 880;
	flippingBook.settings.zoomImageHeight = 1245;
	flippingBook.settings.downloadURL = "";
	flippingBook.settings.zoomPath = "/data/ebook/<%=eb_pk%>/";
	flippingBook.settings.backgroundImage = "/content/ebook/skin6/img/bg.gif";
	flippingBook.settings.flipSound = "/content/ebook/skin6/sounds/03.mp3";
	flippingBook.settings.staticShadowsDepth = "<%=eb_viewtype%>";


	flippingBook.create();




	function ebook_size() {
		
		is_size = document.getElementById('frm_sch').is_size.value;

		if(is_size == "max"){//1024
			min();
		}else if(is_size == "min"){
			max();
		}
		
	}


	function max() {
		document.getElementById('frm_sch').is_size.value = "max";
		self.moveTo(0,0);
		self.resizeTo(screen.availWidth,screen.availHeight);
	}

	function min() {
		

		document.getElementById('frm_sch').is_size.value = "min";

		self.moveTo(0,0);
		self.resizeTo(1024,768);
	}

	function go_ebook_url(eb_pk){
		document.location.href="/content/ebook/index.asp?eb_pk="+eb_pk;
	}

	function ebook_go1(url){
	location.href = url;
}

//-->
</script>



</head>
<body>

<form id="frm_sch" action="/content/ebook/index.asp?eb_pk=<%=eb_pk%>"  method="post">
	<div>
		<input type="hidden" name="is_size" value="<%=SESSION("is_size")%>" />
	</div>


	<div id="fbContainer">
		<div id="altmsg"><a class="altlink" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Download Adobe Flash Player.</a></div>
	</div>


	<div id="fbFooter">

		<div id="logo">
			<%If eb_logoimg <> "" then%>
			<img src="/data/ebook/logo/<%=eb_logoimg%>" alt="" />
			<%End if%>
		</div>

		<div id="content_move">
			<select onchange = "go_ebook_url(this.value);">
				<%				

				R_Fields_code = "eb_subject, eb_pk"
				SQL = "Select "&R_Fields_code&" FROM ebook WHERE eb_chk = 'Y'  ORDER BY eb_code ASC"
				Set Rs = Dbcon.Execute (SQL)

				Do While Not rs.eof 

						eb_pk_str			= rs("eb_pk")
						eb_subject			= rs("eb_subject")
				%>

				<option value="<%=eb_pk_str%>" <%=chkSelect(eb_pk, eb_pk_str)%>><%=eb_subject%></option>

				<%
					rs.movenext
				Loop
				rs.close : Set rs = nothing
				%>
			
			</select>
		</div>

		<div id="fbMenu">
			<img src="/content/ebook/skin6/img/btnPrevious.gif" width="31" height="30" border="0" id="fbBackButton" alt="이전페이지" /><img src="/content/ebook/skin6/img/btnNext.gif" width="31" height="30" border="0" id="fbForwardButton" alt="다음페이지" />
			<img src="/content/ebook/skin6/img/btnDiv.gif" width="6" height="32" border="0" class="div" alt="" />
			<img src="/content/ebook/skin6/img/btnZoom.gif" width="76" height="30" border="0" id="fbZoomButton" alt="확대/축소" /><img src="/content/ebook/skin6/img/btnPrint.gif" width="52" height="30" border="0" id="fbPrintButton" alt="인쇄" /><img src="/content/ebook/skin6/img/btnHelp.gif" width="72" height="30" border="0" id="fbHelpButton" alt="이용방법" onclick="window.open('/content/ebook/skin5/help.html','help','width=392,height=593');" style="cursor:pointer;" />

			<img src="/content/ebook/skin6/img/btnDiv.gif" width="6" height="32" border="0" class="div" alt="" />
			<img src="/content/ebook/skin6/img/btnMax.gif" width="21" height="30" border="0" alt="최대화" onclick="ebook_size();" style="cursor:pointer;" /><img src="/content/ebook/skin6/img/btnClose.gif" width="21" height="30" border="0" alt="닫기" onclick="window.close();" style="cursor:pointer;" />
		</div>

		<div id="fbContents">
			<ul>
				<li style="padding-top:8px;"><span class="fbPaginationMinor">페이지</span></li>
				<li style="padding-top:8px;"><span id="fbCurrentPages">1</span></li>
				<li style="padding-top:8px;"><span id="fbTotalPages" class="fbPaginationMinor2"></span></li>
				<li>
					<select id="fbContentsMenu" name="fbContentsMenu" title="페이지이동">
						<option></option>
					</select>
				</li>
			</ul>
		</div>

		<div id="fbContents2">
			<ul>
				<li><input type="text" size="10" title="검색어를 입력하세요" id="p_keyword" name="p_keyword"  value="<%=v_keyword%>" style="height:14px;font-size:11px;border:1px solid #BC3232;"></li>
				<li style="padding-left:3px;"><input type="image" src="/content/ebook/skin6/img/btnSearch.gif" alt="검색" /></li>
				<li style="padding-left:4px;"><a href="javascript:;" onclick="ebook_go1('/content/ebook/index.asp?eb_pk=<%=eb_pk%>');"><img src="/content/ebook/skin6/img/btnTotalview.gif" alt="전체보기" /></a></li>
				<li style="padding-left:2px;"><img src="/content/ebook/skin6/img/btnDiv2.gif" width="7" height="22" border="0" class="div" alt="" /></li>
			</ul>
		</div>

	</div>

	<%If eb_size = "max" then%>
	<script LANGUAGE="JavaScript">
	<!--

		max();
	//-->
	</script>
	<%End if%>



</body>
</html>
