<!--

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.0
  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 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();
}

// VOD ½ºÅ©¸³Æ® Ã³¸®
function vod_on(vod, code) {
window.open("../player/vod_skin.asp?VOD=" + vod + "&CDE=" + code , "vod","width=366,height=408,marginwidth=0,marginheight=0,resizable=0,scrollbars=no"); 
}
// VOD ½ºÅ©¸³Æ® Ã³¸®
function audio_on(vod, code) {
window.open("../player/audio_skin.asp?VOD=" + vod + "&CDE=" + code , "vod","width=366,height=408,marginwidth=0,marginheight=0,resizable=0,scrollbars=no"); 
}


// AOD ½ºÅ©¸³Æ® Ã³¸®

function aod_on(aod, code) {
window.open("../player/aod_skin.asp?AOD=" + aod + "&CDE=" + code , "aod","width=366,height=145,marginwidth=0,marginheight=0,resizable=0,scrollbars=no"); 
}


function cc(){
url = "http://www.wondang.or.kr/zine/1202zine/index.htm" ;
window.open(url,'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=yes,width=700,height=550');
}
function cc2(){
url = "http://culture.wondang.or.kr/" ;
window.open(url,'','');
}

function senddath(){
	if(document.form_dapth.dethname.value==''){
		alert("ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		document.form_dapth.dethname.focus();
		return false;
	}else if(document.form_dapth.dethemail.value==''){
		alert("ÀÌ¸ÞÀÏÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		document.form_dapth.dethemail.focus();
		return false;
	}else if(document.form_dapth.dathcontent.value==''){
		alert("¸Þ¼¼Áö¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		document.form_dapth.dathcontent.focus();
		return false;
	}else if(document.form_dapth.passwd.value==""){
		alert("\nºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿ä.");
		document.form_dapth.passwd.focus();
		return false;
	}else if(document.form_dapth.passwd.value.length < 4 || document.form_dapth.passwd.value.length > 8 )
		{alert("\nºñ¹Ð¹øÈ£´Â 4±ÛÀÚ ÀÌ»ó 8±ÛÀÚ ±îÁöÀÔ´Ï´Ù.");return false;}
	return true;
}
function depth_del(Num, IdNum, UrlValue, GFLAG, FLAG){
window.open("/W8/del_pass.asp?Num=" + Num + "&IdNum=" + IdNum + "&UrlValue="+UrlValue + "&GFLAG="+GFLAG+"&FLAG="+FLAG, "WD", "toolbar=no ,menubar=no,resizable=no,scrollbars=no,width=250,height=100");
}
function depth_del_master(IdNum){
	var message;
		message = "ÀÌ ´ñ±ÛÀ» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?";		
		if( confirm(message)){
			document.form1.IdNum.value = IdNum;
			document.form1.submit();

		}
		else
			return;
	}	

//-->
