﻿/*회원*/
document.write('<scr' + 'ipt src="/dbimage/Menu/Member_Seed.js" type="text/javascript"></scr' + 'ipt>');
document.write('<scr' + 'ipt src="/dbimage/Menu/Member_Agreement.js" type="text/javascript"></scr' + 'ipt>');
document.write('<scr' + 'ipt src="/_js/Member/Member.js" type="text/javascript"></scr' + 'ipt>');

document.write('<scr' + 'ipt src="/_js/calener/calpopup_new.js" type="text/javascript"></scr' + 'ipt>');
/*보드*/
document.write('<scr' + 'ipt src="/dbimage/Menu/Site_Board.js" type="text/javascript"></scr' + 'ipt>');
document.write('<scr' + 'ipt src="/dbimage/Menu/Site_Board_Template.js" type="text/javascript"></scr' + 'ipt>');
/*스케즐*/
document.write('<scr' + 'ipt src="/dbimage/Menu/Site_Schedule.js" type="text/javascript"></scr' + 'ipt>');
document.write('<scr' + 'ipt src="/_js/Board/Schedule.js" type="text/javascript"></scr' + 'ipt>');


/*lightboxZoom*/
document.write('<link rel="stylesheet" type="text/css" href="/_css/jquery.lightbox-0.5.css" media="screen" />');
document.write('<scr' + 'ipt type="text/javascript" src="/_js/jquery/jquery-1.2.3.js"> </scr' + 'ipt> ');
document.write('<scr' + 'ipt type="text/javascript" src="/_js/jquery/jquery.lightboxZoom-0.5.js"></scri' + 'pt>');

document.write('<scr' + 'ipt src="/_js/Board/Board.js" type="text/javascript"></scr' + 'ipt>');
document.write('<scr' + 'ipt type="text/javascript" src="/common/WebEditor/fckeditor.js"></scr' + 'ipt>');


document.write('<scr' + 'ipt src="/dbimage/Menu/Site_Consult.js" type="text/javascript"></scr' + 'ipt>');
document.write('<scr' + 'ipt src="/_js/Consult/Consult.js" type="text/javascript"></scr' + 'ipt>');


document.title = "MANAGEMENT SYSTEM";

document.write('<scr'+'ipt language="javascript" src="/_js/poplayer/zPopup.js"></scri'+'pt>');
document.write('<scr'+'ipt language="javascript" src="/_js/poplayer/dom-drag.js"></scr'+'ipt>');
document.write('<link rel="stylesheet" media="screen" type="text/css" href="/_js/poplayer/zPopup.css" />');

/**
 * import other javascript library file
 * @param {String} fileName jsfile path
 **/
function importJS(fileName){
	var head = document.getElementsByTagName('head').item(0);
	var script = document.createElement('script');
	script.src = fileName;
	script.type = 'text/javascript';
	script.defer = true;
	head.appendChild(script);
}

importJS("/_js/roweffect.js");

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
 


function Request(valuename)  
{
    var rtnval = "";
    var nowAddress = unescape(location.href);
    var parameters = (nowAddress.slice(nowAddress.indexOf("?")+1,nowAddress.length)).split("&");
    
    for(var i = 0 ; i < parameters.length ; i++){
        var varName = parameters[i].split("=")[0];
        if(varName.toUpperCase() == valuename.toUpperCase())
        {
            rtnval = parameters[i].split("=")[1];
            break;
        }
    }
    return rtnval;
}


// 문자 변환 함수

function alterString(str,before,after) {

 var returnStr = "";

 for(i = 0; i < str.length; i++) {

  value = str.charAt(i);

  index = before.indexOf(value);

  if(index >= 0) value = after.charAt(index);

  returnStr += value;

 }

 return returnStr;

}

// 대 --> 소문자 변환 함수
function ToLower(arg){

 var str1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";

 var str2 = "abcdefghijklmnopqrstuvwxyz";

 return alterString(arg,str1,str2);

}
    

var m_menu=1;
var m_sub =1;
var m_sn  =1;
    
var  infosstudy1 = new Array ();

function chk_pages()
{
	var m_=ToLower(location.href ); 
	var M_str = '';
	for ( m = 0 ; m < infosstudy1.length ; m  ++ )
	{
	    if(infosstudy1[m] != "" )
	    {
	        var mm_ = ToLower( infosstudy1[m]).split(':');
	        if(m_.indexOf( mm_[0] )  > -1 )
	        {
	            M_str  =  infosstudy1[m]  ;
	        }
	    }
	} 
	if(M_str  != ""  && M_str.indexOf(":") > -1 )
	{ 
	    var mm2_ = M_str.split(':');
	    if(mm2_.length > 1)
	    {
	        var mm3_ = mm2_[1].split('_');
	        if(mm3_.length > 2)
	        {
	            m_menu = parseInt(mm3_ [0] ) ;
	            m_sub  = parseInt(mm3_ [1] ) ;
	            m_sn   = parseInt(mm3_ [2] ) ;
				
	        }
	    }
	}
}

function F_TOP(e_url1,e_url2)
{  
    chk_pages()
    var var_top=''
    +'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="810" height="65">'
    +'<param name="movie" value="'+e_url1+'?'+e_url2+'" />'
    +'<param name="quality" value="high" />'
    +'<param name="wmode" value="transparent">'
    +'<param name="FlashVars" value="menu='+m_menu+'&sub='+m_sub+'" />'
    +'<embed src="'+e_url1+'?'+e_url2+'" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="810" height="65"></embed>'
    +'</object>';
    document.write(var_top);
}


function F_LEFT(e_url1,e_url2)
{
    chk_pages()
    var var_left=''
    +'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="180" height="800">'
    +'<param name="movie" value="'+e_url1+'?'+e_url2+'" />'
    +'<param name="quality" value="high" />'
    +'<param name="wmode" value="transparent">'
    +'<param name="FlashVars" value="menu='+m_menu+'&sub='+m_sub+'&sn='+m_sn+'" />'
    +'<embed src="'+e_url1+'?'+e_url2+'" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="180" height="800"></embed>'
    +'</object>';
    document.write(var_left);
}


/*
해당링크 주소을 입력하여 주시면 됩니다.

링크주소 : menu _  sub _  sn 
0_0_0 <-- 이것은지원하지않은 것으로 보임니다. 하니까 무한 루프을 돌아서...
1_0_0 을 사용하시거나. 
따로 left을 만들어 사용하는 것이 좋을 것으로 보임.
*/







/********************************************************************************************/

/*로그아웃 링크*/
function log_out(e)
{
    if(e == null)
    {
        location.href='/xbin/LOGOUT.aspx';
    }
    else
    {
        location.href='/xbin/LOGOUT.aspx?url=/'+e;
    }
}
document.write( "<script language=\"javascript\" src=\"/_js/calener/calpopup_new.js\"></script>" );  



function inputNumCheck()
{
	if (event.keyCode < 48 || event.keyCode > 57) 
	{
		alert('숫자로 입력하셔야 합니다.');
		event.keyCode = 0;	
	}
}
/* 숫자 체크 */    
function NumericCheck(obj)
{
	var nowvar = obj.value;
	var fixvar = nowvar.replace(/,/gi,"");

	obj.value = fixvar;


	if(obj.value!="")
	{
		if(!checknumber(obj.value))
		{
			obj.focus();
		}
	}
	
}

function checknumber(evar){
	var r = isNaN(evar.replace(/-/gi,""));
	if(r)
	{
		alert("숫자만 입력 하세요");
		return false;
	}else
	{
		return true;
	}
}
/* 숫자 체크 */
  
/*
   드럽다운것을 선택하게하는 것
*/
function Teldd(e,j)
{
    var aaFf = e.length;
    var tempDD= 0;
    for(ope=0;ope< aaFf;ope++)
    {
        if(e[ope].value==j)
        {
            tempDD=ope;
        }
    }
    e.selectedIndex=tempDD;
}

/* select 선택 */
function Teldd(e,j)
{
    try
    {
        var tempDD= 0;
        var aaFf = e.length;
        for(ope=0;ope< aaFf;ope++)
        {
            if(e[ope].value==j)
            {
                tempDD=ope;
            }
        }
        e.selectedIndex=tempDD;
    }catch(e){}
}
 
var remain_remain  = '';
function CheckStrLen(nametxt,maxlen)
{
	var temp; //들어오는 문자값...
	var msglen;
	msglen = maxlen*2;
	
	l = nametxt.value.length;
	tmpstr = "" ;

	if (l == 0)  
		remain_remain  = maxlen*2;
	else 
	{
		for(k=0;k<l;k++)
		{
			temp = nametxt.value.charAt(k);

			if (escape(temp).length > 4)
				msglen -= 2;
			else
				msglen--;
		
			if(msglen < 0) 
			{
				alert("총 영문 "+(maxlen*2)+"자 한글 " + maxlen + "자 까지 가능합니다.");
				nametxt.value = tmpstr;
				break;
			}
			else 
			{
				remain_remain  = msglen;
				tmpstr += temp;
			}
		}
	}
}






function containsCharsOnly(input,chars) {
    for (var inx = 0; inx < input.value.length; inx++) {
        if (chars.indexOf(input.value.charAt(inx)) == -1)
            return false;
    }
    return true;
}

function onlyNumber_2()
{
    var e1 = event.srcElement;
    var num = ".0123456789";
    event.returnValue = true;
    for(var i=0; i<e1.value.length; i++)
    {
    if(-1 == num.indexOf(e1.value.charAt(i)))
    event.returnValue = false;
    }
    if(!event.returnValue)
    e1.value="";
}

function onlyNumber_3()
{
    var e1 = event.srcElement;
    var num = ".0123456789*";
    event.returnValue = true;
    for(var i=0; i<e1.value.length; i++)
    {
    if(-1 == num.indexOf(e1.value.charAt(i)))
    event.returnValue = false;
    }
    if(!event.returnValue)
    e1.value="";
    if( e1.value.indexOf('*') > -1 ){e1.value="*";}else{if(e1.value !=''){temp_NUMM = parseInt(e1.value );if(temp_NUMM  > 256 ) {e1.value = '0';}}}
}
function onlyNumber_4()
{
    var e1 = event.srcElement;
    var num = ".0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz";
    event.returnValue = true;
    for(var i=0; i<e1.value.length; i++)
    {
    if(-1 == num.indexOf(e1.value.charAt(i)))
    event.returnValue = false;
    }
    if(!event.returnValue)
    e1.value="";
    if( e1.value.indexOf('*') > -1 ){e1.value="*";}else{if(e1.value !=''){temp_NUMM = parseInt(e1.value );if(temp_NUMM  > 256 ) {e1.value = '0';}}}
}

function onlyNumber_5()
{
    var e1 = event.srcElement;
    var num = "0123456789ABCDEFGhabcdefgh";
    event.returnValue = true;
    for(var i=0; i<e1.value.length; i++)
    {
    if(-1 == num.indexOf(e1.value.charAt(i)))
    event.returnValue = false;
    }
    if(!event.returnValue)
    e1.value="";
    if( e1.value.indexOf('*') > -1 ){e1.value="*";}else{if(e1.value !=''){temp_NUMM = parseInt(e1.value );if(temp_NUMM  > 256 ) {e1.value = '0';}}}
}




function check_eng2(ths) {
    var NumEng = /^[A-Za-z0-9]+$/;
    if (NumEng.test(ths.value) || ths.value == "") { }
    else {
        /*alert("숫자와 영문자만 입력하세요.");*/
        ths.value = "";
        ths.focus();
    }
}

var type1_chk = false ; 
function CHKPLUS (e_name , e_type , e_num )
{
    if(e_name != "" )
    {
        var Text_In = document.getElementById(e_name);
        if(e_type =="txt")
        {           
            Text_In.onkeyup= function ()  {CheckStrLen(this,e_num); }
            Text_In.onblur = function ()  {CheckStrLen(this,e_num); } 
            Text_In.onkeydown = function(){if (event.keyCode ==13){ return false;}; }
        }
        else if (e_type == "eng") {
            Text_In.onkeyup = function() { check_eng2(this);  }
            Text_In.onblur = function() { check_eng2(this); CheckStrLen(this, e_num); }
            Text_In.onkeydown = function() { check_eng2(this);   }
        }
        else if (e_type == "eng2") {
            Text_In.onkeyup = function() { check_eng2(this); }
            Text_In.onblur = function() { check_eng2(this); CheckStrLen(this, e_num); }
            Text_In.onkeydown = function() { check_eng2(this); if (event.keyCode == 13) { return false; }; }
        }
        else if(e_type =="txt2")
        {           
            Text_In.onkeyup= function ()  {CheckStrLen(this,e_num);onlyNumber_4(); }
            Text_In.onblur = function ()  {CheckStrLen(this,e_num);onlyNumber_4(); } 
            Text_In.onkeydown = function(){if (event.keyCode ==13){ return false;}; }
        }
        else if(e_type =="txt3")
        {
            Text_In.onkeyup= function ()  {CheckStrLen(this,e_num); }
            Text_In.onblur = function ()  {CheckStrLen(this,e_num); } 
            Text_In.onkeydown = function(){if (event.keyCode ==13){ return false;}; }
        }
        else if(e_type =="txt4")
        {           
            Text_In.onkeyup= function ()  {CheckStrLen(this,e_num); }
            Text_In.onblur = function ()  {CheckStrLen(this,e_num); }  
        }
        else if(e_type =="int")
        {
            Text_In.onkeyup= function ()  {onlyNumber_2(); type1_chk = false ;}
            Text_In.onblur = function ()  {onlyNumber_2(); type1_chk = false ;} 
            Text_In.onkeydown = function(){if (event.keyCode ==13){ return false;}; }
        }
        else if(e_type =="int2")
        {
            Text_In.onkeyup= function ()  {inputNumCheck(); }
            Text_In.onblur = function ()  {inputNumCheck(); } 
            Text_In.onkeydown = function(){if (event.keyCode ==13){ return false;}; }
        }
        else if(e_type =="int3")
        {
            Text_In.onkeyup= function ()  {onlyNumber_3(); }
            Text_In.onblur = function ()  {onlyNumber_3(); } 
            Text_In.onkeydown = function(){if (event.keyCode ==13){ return false;}; }
        }
    }
}
String.prototype.trim = function() {return this.replace(/(^\s*)|(\s*$)/g, "");}

 
String.prototype.replaceAll = function(str1, str2) {
    var temp_str = "";
    if (this.trim() != "" && str1 != str2) {

        temp_str = this.trim();
        while (temp_str.indexOf(str1) > -1){
            temp_str = temp_str.replace(str1, str2);
        }
    }
    return temp_str;
}
String.prototype.replaceAll2 = function(str1, str2)
{
  var temp_str = this.trim();
  temp_str = temp_str.replace(eval("/" + str1 + "/gi"), str2);
  return temp_str;
}

function chkfiles (f)
{
    var chk= false ;
    var names=f.value;
    var chk_file_ = f.value2;
    
    if(chk_file_ != "" ){
        var chk_file = chk_file_.split(',');
        var pmpp= names.split('.');
        var nnee=''; 
        if(pmpp.length >1) {nnee = ToLower (  pmpp [ pmpp.length -1 ] )  ;} 
        if( nnee  == "" ){return false ;}
        for ( k = 0 ; k < chk_file .length ; k ++ )
        {
            if(chk_file[k] == '' ) {continue ;}
            if(chk_file[k] == nnee ){chk= true ;}
        }
    }else{chk= true ; }
    return chk;
}

function DownloadStream(params,params1,params2)
{
    location.href="/COMMON/downloadstream.aspx?folder=" + params +"&sfname="+params1+"&fname="+params2;
}




var ColorSelect2va =0;
function ColorSelect(e)
{ 
    PreView_Num ++ ; 
    /*var Url__= "/COMMON/COLOR/COLOR.aspx?color="+document.getElementById(e).value.replaceAll("#","") +"&obj="+e +"&num=" +PreView_Num ;  */
    var Url__= "/COMMON/COLOR/COLOR.HTM?color="+document.getElementById(e).value.replaceAll("#","") +"&obj="+e +"&num=" +PreView_Num ;  
    zpoplib.SetIframeScroll(false);
    zpoplib.ShowPopupNameAdd("PreView_"+PreView_Num,"색상선택",http_https()+location.hostname+Url__ ,500 , 380);
}
function msgposit4()
{
    message_fnn();
//    message_pop.style.posLeft = event.x + 4 + document.body.scrollLeft // 숫자 20은 커서와 풍선도움말의 가로 간격
//    message_pop.style.posTop = event.y + 11 + document.body.scrollTop// 숫자 -20은 커서와 풍선도움말의 세로 간격
    message_pop.style.posLeft = event.x + 4 + document.documentElement.scrollLeft; // 숫자 20은 커서와 풍선도움말의 가로 간격
    message_pop.style.posTop = event.y + 10 + document.documentElement.scrollTop;  // 숫자 -20은 커서와 풍선도움말의 세로 간격
}
function msghide4(){
    message_fnn();
    message_pop.innerHTML='';
}
function pop_inputs(str , str2)
{
    message_fnn();
    var text
    text ='<div align="center" style="width:500px; margin: 0px;padding: 0px;background-color:#ffffff; border:solid 1px #dec7b2">'+ str2 +'</div>' ;
    message_pop.innerHTML=text
}

function message_fnn()
{
    if(typeof(document.all.message_pop) == "undefined")
	{
	    var blankdiv = document.createElement("DIV");
        blankdiv.id = "message_pop"; 
        blankdiv.style.zIndex = 1; 
        blankdiv.style.borderLeft = "1px"; 
        blankdiv.style.borderTop = "1px"; 
        blankdiv.style.borderRight = "1px"; 
        blankdiv.style.borderbottom = "1px"; 
        blankdiv.style.position="absolute"; 
        document.body.appendChild(blankdiv); 
	}
}
var A_ADMIN_F= "";
var PreView_Num = 0 ;
function http_https() {if( location.href.indexOf("https://")  == 0  ) {return "https://";}else{return "http://";}}
function createRequestObject() {if (window.XMLHttpRequest) {return xmlhttprequest = new XMLHttpRequest();}else if (window.ActiveXObject) {return xmlhttprequest = new ActiveXObject("Microsoft.XMLHTTP");}}  
function clickLinke(files)
{ 
    PreView_Num ++ ;
    
    var Url__= "/" + A_ADMIN_F + "/Nwd/Filedetainfo.aspx?imgurl="+document.getElementById(files).value ;
     
    
    zpoplib.SetIframeScroll(false);
    zpoplib.ShowPopupNameAdd("PreView_"+PreView_Num,"상세보기",http_https()+location.hostname+Url__ ,300 , 350);
}

function clickLinke2(files)
{ 
    parent.PreView_Num ++ ; 
    var Url__= "/" + A_ADMIN_F + "/Nwd/Filedetainfo.aspx?imgurl="+document.getElementById(files).value ;
     
    
    parent.zpoplib.SetIframeScroll(false);
    parent.zpoplib.ShowPopupNameAdd("PreView_"+PreView_Num,"상세보기",http_https()+location.hostname+Url__ ,300 , 350);
}

function AllCbx_ALL(obj)
{
	var affectvalue = obj.checked;
	if(typeof(document.all.ms)=="undefined")
	{
		return;
	}
	if(typeof(document.all.ms.length)=="undefined")
	{
		document.all.ms.checked=affectvalue;
	}else{
		for(i=0;i<document.all.ms.length;i++)
		{
			document.all.ms[i].checked=affectvalue;
		}
	}
}
function GetSelectValue_Plus(arrno,ms)
{
	var retval = "";
	
	if(typeof(eval( "document.all."+ms))=="undefined")
	{
		return retval;
	}
	var msms =eval( "document.all."+ms) ;
	if(typeof(msms.length)=="undefined")
	{
		if(msms.checked)
		{
			var arr = msms.value.split('*');
			retval =arr[arrno] + "↓";
		}
	}else{
		for(i=0;i<msms.length;i++)
		{
			if(msms[i].checked)
			{
				var arr = msms[i].value.split('*');
				retval +=arr[arrno] + "↓";
			}
		}
	}
	return retval;
}

 
/* 팝업관련 중앙 노출 */
function MM_openBrWindow2(theURL,winName,features) { //v2.0
    var arr = features.replace(/=/ig,',').split(',');
    var childWidth, childHeight;
    for(var i=0; i<arr.length; i++)
    {
        if(arr[i].trim().toLowerCase() == "width")
        {
            childWidth = eval(arr[i+1].replaceAll("px","")) ;
        }
        if(arr[i].trim().toLowerCase() == "height")
        {
            childHeight = eval(arr[i+1].replaceAll("px",""));
        }
    }
    var childTop = (screen.height-childHeight)/2;
    var childLeft = (screen.width-childWidth)/2;
    features += ',top='+childTop+',left='+childLeft;
    var NewWindow =  window.open(theURL,winName,features);
    NewWindow.focus();
}
function MM_openBrWindow3(theURL,winName,features) { //v2.0
    var arr = features.replace(/=/ig,',').split(',');
    var childWidth, childHeight;
    for(var i=0; i<arr.length; i++)
    {
        if(arr[i].trim().toLowerCase() == "width")
        {
            childWidth = eval(arr[i+1].replaceAll("px","")) ;
        }
        if(arr[i].trim().toLowerCase() == "height")
        {
            childHeight = eval(arr[i+1].replaceAll("px",""));
        }
    }
    var childTop = (screen.height-childHeight)/2;
    var childLeft = (screen.width-childWidth)/2;
    features += ',top='+childTop+',left='+childLeft;
    var NewWindow =  window.open(theURL,winName,features);
    NewWindow.focus();
    return NewWindow ;
}

/*********** Popup   ********************************************************************************************/

var POP_NUM= 0 ;  
function MM_openBrWindow4(theURL,winName,features) { //v2.0
    var arr = features.replace(/=/ig,',').split(',');
    var childWidth, childHeight;
    for(var i=0; i<arr.length; i++)
    {
        if(arr[i].trim().toLowerCase() == "width")
        {
            childWidth = eval(arr[i+1].replaceAll("px","")) ;
        }
        if(arr[i].trim().toLowerCase() == "height")
        {
            childHeight = eval(arr[i+1].replaceAll("px",""));
        }
    }
    
	/*** 백그라운드 레이어 ***/
	var obj = document.createElement("div");
	with (obj.style){
		position = "absolute";
		left = 0;
		top = 0;
		width = "100%";
		height = document.body.scrollHeight;
		backgroundColor = "#ffffff";
		filter = "Alpha(Opacity=50)";
		zIndex = 200;
	}
	obj.id = "objPopupLayerBg";
	document.body.appendChild(obj);
    POP_NUM++; 
    if(theURL.indexOf('?') >-1) {theURL += "&n="+POP_NUM; } else {theURL += "?n="+POP_NUM; }
    zpoplib.ShowPopupNameAdd("pop_"+POP_NUM ,"&nbsp;&nbsp;",http_https() + location.host +theURL ,childWidth,childHeight ,null,null,null,1);
}

function CLOSE_LAER( n )
{
    document.getElementById('objPopupLayerBg').removeNode(true);
    zpoplib.HideLayer('pop_'+n);
}
 

function POP_LOAD2 (url,Window,Width,Height,Top,Left,Scrol)
{  
    POP_NUM++;
    var Nurl = url.replaceAll("Popup/","");  
        
    var p_url = "?w="+Window+"&n="+POP_NUM; 
    if(Window== "0") /*일반팝업창*/
    {
        if(Scrol == '1' ) {Scrol= 'yes';}else {Scrol= 'no';}
        window.open(http_https() + location.host +"/"+DPUCLIENT+"/"+url+p_url , 'hwndPopup'+POP_NUM, 'left='+Left+',Top='+Top+',width='+Width+',height='+Height+',scrollbars='+Scrol+'' ) ;
    }
    else if(Window== "1") /*이동레이어*/
    {
        zpoplib.ShowPopupNameAdd("pop_"+POP_NUM ,"&nbsp;&nbsp;",http_https() + location.host +"/"+DPUCLIENT+"/"+url+p_url ,Width,Height,Top,Left);
    }
    else if(Window== "2") /*고정레이어*/
    {
        zpoplib.ShowPopupNameAdd("pop_"+POP_NUM ,"&nbsp;",http_https() + location.host +"/"+DPUCLIENT+"/"+url+p_url ,Width,Height,Top,Left);
    } 
} 


/*********** Popup   ********************************************************************************************/


/********** favicon  ********************************************************************************************/
if(A_favicon_img != "" && A_favicon=='True'){document.write ( '<link rel="shortcut icon" href="/dbimage/'+A_favicon_img+'?cls=res" type="image/x-ico"/>');}
/********** favicon  ********************************************************************************************/
/********** Title_Bar *******************************************************************************************/
if(A_Title_Bar != "" ){document.title=A_Title_Bar;}
/********** Title_Bar *******************************************************************************************/
/********** meta Keyword ****************************************************************************************/
if(A_SiteKeyWord != "" ) {  document.write ( '<meta HTTP-EQUIV="Keyword" CONTENT="'+A_SiteKeyWord+'">') ;}
/********** meta Keyword ****************************************************************************************/

 
