<!--

///ÆÐÅ°Áö Àü¼Û°ª php ¿¬µ¿À» »ç¿ëÇÏÁö ¾ÊÀº ÆäÀÌÁö¿¡¼­ ¿¬µ¿º¯¼ö ´Ù½Ã ¼³Á¤
if(Menu_Link_PK == ""){
	var Menu_Link_PK = '';
}


//<!---------------ÀÌ¹ÌÁö ¸¶¿ì½º ·Ñ¿À¹öÈ¿°ú----------------------->
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_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_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 SelectMenu(index,flag)
{
	if(flag == 'on')
	{
		flag = "visible";
		target = eval("document.all['layer" + index + "'].style");
	}
	else
	{
		flag = "hidden";
		target = eval("document.all['layer" + index + "'].style");
	}
	target.visibility = flag;
}

//<!---------------»õÃ¢ ¶ç¿ì±â------------------->
function new_window(URL,name, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(URL, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

//<!---------------Å×ÀÌºí Çà»ö»ó ¸¶¿ì½º ·Ñ¿À¹öÈ¿°ú----------------------->
function ml (st,col) { st.style.backgroundColor = '#F7F7F7'; }       //·¹ÀÌ¾î ¸Þ´º ¿À¹ö
function mml (st) { st.style.backgroundColor = ''; }                        //·¹ÀÌ¾î ¸Þ´º ¾Æ¿ô




//<!---------------¿À´Ã ³¯Â¥¸¦ Ç¥½ÃÇÏ´Â ½ºÅ©¸³Æ®----------------------->
// ¿äÀÏ ºÎºÐ
dayName = new Array("", "(¿ù)", "(È­)", "(¼ö)", "(¸ñ)", "(±Ý)", "(Åä)", "(ÀÏ)")

// ¿ù ºÎºÐ
monName = new Array("1¿ù", "2¿ù", "3¿ù", "4¿ù", "5¿ù", "6¿ù", "7¿ù", "8¿ù", "9¿ù", "10¿ù", "11¿ù", "12¿ù")

now = new Date

var strDay;
if ((now.getDate() == 1) || (now.getDate() != 11) && (now.getDate() % 10 == 1)) 
	strDay = "ÀÏ ";
else if ((now.getDate() == 2) || (now.getDate() != 12) && (now.getDate() % 10 == 2))
	strDay = "ÀÏ ";
else if ((now.getDate() == 3) || (now.getDate() != 13) && (now.getDate() % 10 == 3))
	strDay = "ÀÏ ";
else
	strDay = "ÀÏ ";
	



//<!---------------Å¬¸¯½Ã Å« ÀÌ¹ÌÁö º¯È¯ÇÏ¿© º¸¿©ÁÖ´Â °Í----------------------->
function callme1(image) {
img1.filters[0].Apply();
img1.src=image;
img1.filters[0].Play();
}


//-->



//<!---------------´Þ·Â »ðÀÔ ½ºÅ©¸³Æ®----------------------->

    function calendar(Year, Month){ 
        strleft = "dialogleft:" + eval(window.screenLeft + window.event.clientX ) ; 
        strtop = ";dialogtop:" + eval(window.screenTop + window.event.clientY ) ;
		var calendarURL = "/comfun/calendar.php?year="+Year+"&mon="+Month ;
        return window.showModalDialog(calendarURL,"", strleft +  strtop +";dialogWidth:190px; dialogHeight:210px;scroll:no;status:no;titlebar:no;center:no;help:no;"); 
    } 

    function calendar1(){ 
        strleft = "dialogleft:" + eval(window.screenLeft + window.event.clientX ) ; 
        strtop = ";dialogtop:" + eval(window.screenTop + window.event.clientY ) ;
        return window.showModalDialog("/comfun/calendar.php?year=<?=$syear?>&mon=<?=$smonth?>","", strleft +  strtop +";dialogWidth:190px; dialogHeight:210px;scroll:no;status:no;titlebar:no;center:no;help:no;"); 
    } 
    function calendar2(){ 
        strleft = "dialogleft:" + eval(window.screenLeft + window.event.clientX ) ; 
        strtop = ";dialogtop:" + eval(window.screenTop + window.event.clientY ) ;
        return window.showModalDialog("/comfun/calendar.php?year=<?=$eyear?>&mon=<?=$emonth?>","", strleft +  strtop +";dialogWidth:190px; dialogHeight:210px;scroll:no;status:no;titlebar:no;center:no;help:no;"); 
    }     
    function is_null(item_var) { 
        if(item_var == "" || item_var == null || item_var == 'undefined' || item_var == " ") 
        return true; 
     
        return false; 
    } 

//-->

