var jul = 7 //¿äÀÏ yol=new Array( 'ÀÏ','¿ù','È­','¼ö','¸ñ','±Ý','Åä' ); //¿ùº°Àϼö mon=new Array( 31,28,31,30,31,30,31,31,30,31,30,31 ); D=new Date(); //µ¥ÀÌÆ®°´Ã¼ »ý¼º y=D.getYear(); //³â m=D.getMonth(); //¿ù d=D.getDate(); //ÀÏ H=D.getHours(); //½Ã M=D.getMinutes(); //ºÐ S=D.getSeconds(); //ÃÊ ap=''; //¿ÀÀü¿ÀÈÄ if(H>12){ H-=12; ap='pm' } else { H; ap='am'; } // document.write(D+" "+y+" "+m+" "+d); fd=new Date(y,m,1).getDay(); //ù ¿äÀÏ ld=new Date(y,m+1,0).getDay(); //³¡ ¿äÀÏ str=""; cnt=0; var dateCount = 1 ; str+=' ' str+=' ' str+=' ' str+=' ' str+=' ' str+=' ' str+=' ' str+=""; for(i=0;cnt=7) { str+=""; } if(i"+cnt+""; } else if (dateCount%7==0) { str+=""; } else if (dateCount%7==1) { str+=""; } else { str+=""; } } dateCount++; } str+="
ÀÏ¿ùÈ­¼ö¸ñ±ÝÅä
"+cnt+""+cnt+""+cnt+"
"; document.getElementById('ddd').innerHTML=str+"
"; var showDeStr = "2009;(À½·Â);05-09;Ðùõä;ÌÒçí;ïËÚ±|2009;(À½·Â);05-10;Ðùõä;ÌÒçí;Ùæãé|2009;(À½·Â);05-11;Ðùõä;ÌÒçí;Ðùë·|2009;(À½·Â);05-12;Ðùõä;ÌÒçí;ÌÒâù|2009;(À½·Â);05-13;Ðùõä;ÌÒçí;ãôú¤|2009;(À½·Â);05-14;Ðùõä;ÌÒçí;ìóí­|2009;(À½·Â);05-15;Ðùõä;ÌÒçí;ͤõä|2009;(À½·Â);05-16;Ðùõä;ãôÚ±;Ë£ìÙ|2009;(À½·Â);05-17;Ðùõä;ãôÚ±;ëàÙÖ|2009;(À½·Â);05-18;Ðùõä;ãôÚ±;ܰòã|2009;(À½·Â);05-19;Ðùõä;ãôÚ±;ïËÞÓ|2009;(À½·Â);05-20;Ðùõä;ãôÚ±;Ùæçí|2009;(À½·Â);05-21;Ðùõä;ãôÚ±;ÐùÚ±|2009;(À½·Â);05-22;Ðùõä;ãôÚ±;ÌÒãé|2009;(À½·Â);05-23;Ðùõä;ãôÚ±;ãôë·|2009;(À½·Â);05-24;Ðùõä;ãôÚ±;ìóâù|2009;(À½·Â);05-25;Ðùõä;ãôÚ±;ͤú¤|2009;(À½·Â);05-26;Ðùõä;ãôÚ±;Ë£í­|2009;(À½·Â);05-27;Ðùõä;ãôÚ±;ëàõä|2009;(À½·Â);05-28;Ðùõä;ãôÚ±;ܰìÙ|2009;(À½·Â);05-29;Ðùõä;ãôÚ±;ïËÙÖ|2009;(À½·Â);06-01;Ðùõä;ãôÚ±;Ùæòã|2009;(À½·Â);06-02;Ðùõä;ãôÚ±;ÐùÞÓ|2009;(À½·Â);06-03;Ðùõä;ãôÚ±;ÌÒçí|2009;(À½·Â);06-04;Ðùõä;ãôÚ±;ãôÚ±|2009;(À½·Â);06-05;Ðùõä;ãôÚ±;ìóãé|2009;(À½·Â);06-06;Ðùõä;ãôÚ±;ͤë·|2009;(À½·Â);06-07;Ðùõä;ãôÚ±;Ë£âù|2009;(À½·Â);06-08;Ðùõä;ãôÚ±;ëàú¤|2009;(À½·Â);06-09;Ðùõä;ãôÚ±;ܰí­|2009;(À½·Â);06-10;Ðùõä;ãôÚ±;ïËõä|2009;(À½·Â);06-11;Ðùõä;ãôÚ±;ÙæìÙ" var showDe = showDeStr.split('|'); function detail(m) { var obj = document.getElementById("details"); var PshowDeStr = showDe[m-1]; var PshowDe = PshowDeStr.split(';'); html = '' html +='' html +='' html +=' ' html +='' html +='' html +=' ' html +='' html +='' html +=' ' html +='' html +='' html +=' ' html +='' html +='' html +=' ' html +='' html +='' html +=' ' html +='' html +='
'+PshowDe[0]+'
'+PshowDe[1]+'
'+PshowDe[2]+'
'+PshowDe[3]+'
'+PshowDe[4]+'
'+PshowDe[5]+'
' obj.innerHTML = html; } function setCookie( name, value, expiredays ) //Äí۸¦ ±Á´Â´Ù. { var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + expiredays ); document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" } function getCookie( name ){//Äí۸¦ ¾ò´Â´Ù. var nameOfCookie = name + "="; var x = 0; while ( x <= document.cookie.length ) { var y = (x+nameOfCookie.length); if ( document.cookie.substring( x, y ) == nameOfCookie ) { 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 ""; } var date = new Date(); var Cudd = date.getDate(); detail(Cudd) month = date.getMonth()+1 day = date.getDate() month =month.toString() day =day.toString() chxdd = month+'¿ù '+day+' ÀÏ' if ( getCookie( "sToday" ).indexOf(chxdd)== -1) {//¾øÀ¸¸é ±Á´À´Ù. setCookie("sToday", "¢º ¿À´ÃÀº 2009³â [¾ç·Â] 7¿ù3ÀÏ [À½·Â] 5¿ù 11ÀÏ    ¢º Ðùë· (±âÀ¯)ÀÏ ÀÔ´Ï´Ù !" , 1); } if ( getCookie( "STyaerGap" ) != "Ðùõä" ) {//¾øÀ¸¸é ±Á´À´Ù. setCookie("STyaerGap", "Ðùõä" , 1); }