<!-- // Common JavaScript Document

function NeverSpam(UniqId) { // ³×¹ö½ºÆÔ µ¿±âÈ­ ½ºÅ©¸³Æ®
    window.open('https://service.neverspam.net/service/neverspamin.wtz?UserId=webtizen&UniqId='+UniqId+'&Section=1&PageCode=22568ed95693d26e6db9c58abc5844ae','NeverSpam','width=215,height=266,left=1,top=1,status=1');
}
function NeverSpam2(UniqId)
{
	window.open('https://service.neverspam.net/service/neverspamin.wtz?UserId=webtizen&UniqId='+UniqId+'&Section=1&PageCode=e2f7b31b9a0b47f815e698e2408d84eb','NeverSpam','width=215,height=266,left=1,top=1,status=1');
}


function idpswdlost(){ // ·Î±×ÀÎ ÆûÀÇ ID/ºñ¹Ð¹øÈ£ Ã£±â ÆË¾÷ ½ºÅ©¸³Æ®
    newwin = window.open('<?=$root_https?>/member/lost_n.html','IDPSWDLOST','height=380,width=520,left=1,top=1,status=1');
}

function NewWindow(fileName,name,widthh,heighth,scrolls) { // ÀÏ¹Ý ÆË¾÷ ½ºÅ©¸³Æ® : ¸µÅ©, À©µµ¿ì ÀÌ¸§, °¡·Î, ¼¼·Î, ½ºÅ©·Ñ¹Ù ¿©ºÎ
    var win= null;
    var winl = (screen.width-widthh)/2;
    var wint = (screen.height-heighth)/2;
    var settings  ='height='+heighth+',';
    settings +='width='+widthh+',';
    settings +='top='+wint+',';
    settings +='left='+winl+',';
    settings +='scrollbars='+scrolls+',';
    settings +='resizable=no';
    win=window.open(fileName,name,settings);
    if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

function OpenWindow(fileName,name,widthh,heighth) { // µµ¸ÞÀÎ °ü¸® ÆË¾÷ ½ºÅ©¸³Æ®
    widthh = 700;
    heighth = 600;
    
    var win= null;
    var winl = (screen.width-widthh)/2;
    var wint = (screen.height-heighth)/2;
    var settings  ='height='+heighth+',';
    settings +='width='+widthh+',';
    settings +='top='+wint+',';
    settings +='left='+winl+',';
    settings +='scrollbars=yes,resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no';

    win=window.open(fileName,name,settings);
    if(parseInt(navigator.appVersion) >= 4){win.window.focus();}

    //var Option = 'width='+ widthh +', height='+ heighth +', left=50, top=50, status=no, scrollbars=yes';
    //name = window.open(fileName,name,Option);
}

function OpenDialogWindow(fileName,name,width,height) { // À¥ÆäÀÌÁö ´ëÈ­»óÀÚ ÆË¾÷ ½ºÅ©¸³Æ®
    var Option = 'dialogWidth:'+ width +'px; dialogHeight:'+ height +'px; center:yes; status=no; edge=raised; unadorned=no; help=no';
    name = window.showModalDialog(fileName,name,Option);
}

function mail_reject() {
    var fileName = '/support/mail_reject.html';
    var name = 'mail_reject';
    var widthh = '400';
    var heighth = '190';
    var scrolls = 'no';
    
    var win= null;
    var winl = (screen.width-widthh)/2;
    var wint = (screen.height-heighth)/2;
    var settings  ='height='+heighth+',';
    settings +='width='+widthh+',';
    settings +='top='+wint+',';
    settings +='left='+winl+',';
    settings +='scrollbars='+scrolls+',';
    settings +='resizable=no';
    win=window.open(fileName,name,settings);
    if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

function na_hide_layer(lname)
{
  if (document.layers)
    document.layers[lname].visibility = 'hide';
  if (document.all)
    document.all(lname).style.visibility = 'hidden';
}

function na_show_layer(lname)
{
 if (lname == '') return;
 
 var layer  = document.all ? document.all(lname).style : document.layers[lname];
 var show  = document.all ? 'visible' : 'show';
 var hide  = document.all ? 'hidden' : 'hide';
 
 if (na_show_layer.arguments.length <= 1)
  layer.visibility = show;
 else
  layer.visibility = (na_show_layer.arguments[1] == 0 ? show : hide);
}
function MM_preloadImages() { //v3.0
  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_swapImgRestore() { //v3.0
  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_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.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 MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);



// s: source url

// d: flash id

// w: source width

// h: source height

// t: wmode ("" for none, transparent, opaque ...)

function mf(s,d,w,h,t,https){
	if(https==1) http_text = "https://";
	else http_text = "http://";
	return "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\""+http_text+"download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width="+w+" height="+h+" id="+d+"><param name=wmode value="+t+" /><param name=movie value="+s+" /><param name=quality value=high /><embed src="+s+" quality=high wmode="+t+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+w+" height="+h+"></embed></object>";

}



// write document contents

function documentwrite(src){

        document.write(src);

}



// assign code innerHTML

function setcode(target, code){

		target.innerHTML = code;

}

//¸ÞÀÎ È­¸é ÆË¾÷ ¶ç¿ì±â ½ÃÀÛ
//2006-09-16, absolujin
function MainPopup(URL) {  //reloads the window if Nav4 resized

var popupCookie = getCookie("dotnameDayClose");
	if (popupCookie!="done") {
		window.open(URL,'MainPopup','WIDTH=453 HEIGHT=532 scrollbars=no');
		return true;
	}
}

function getCookie(name)
{
	var CookieName = name + "=";
	var x = 0;
	while ( x <= document.cookie.length )
	{
		var y = (x+CookieName.length);
		if (document.cookie.substring(x, y) == CookieName)
		{
			if ((endOfCookie = document.cookie.indexOf( ";", y )) == -1 )
				endOfCookie = document.cookie.length;
				return unescape( document.cookie.substring( y, endOfCookie ) );
		}
		x = document.cookie.indexOf(" ", x) + 1;
		if (x == 0) break;
	}
	return "";
}
//¸ÞÀÎ È­¸é ÆË¾÷ ¶ç¿ì±â ³¡
//2006-09-16, absolujin

//-->

