

if (document.all && document.getElementById)
{
	document.writeln ('<div id="layer_notice" style="position:absolute;left:150px;top:125px;width:800px;height:395px;z-index:999;visibility:hidden;">');
	//document.writeln ('<script language="JavaScript">DeleteCookie("main_fx1"); </script>');	
	document.writeln ('<table width="800" cellpadding="0" cellspacing="0"> ');
	document.writeln ('  <tr> ');
	document.writeln ('    <td width="8"><img src="/Images/Popup/091001_notice/mold_01.gif"></td> ');
	document.writeln ('    <td width="784" background="/Images/Popup/091001_notice/mold_02.gif"><table width="784" cellspacing="0" cellpadding="0"> ');
	document.writeln ('      <tr> ');
	document.writeln ('        <td><img src="/Images/Popup/091001_notice/mold_topLogo.gif"></td> ');
	document.writeln ('        <td align="right"><a href="javascript:fx_close();"><img src="/Images/Popup/091001_notice/btn_close01.gif" border="0"></a></td> ');
	document.writeln ('      </tr> ');
	document.writeln ('    </table></td> ');
	document.writeln ('    <td width="8"><img src="/Images/Popup/091001_notice/mold_03.gif"></td> ');
	document.writeln ('  </tr> ');
	document.writeln ('  <tr> ');
	document.writeln ('    <td bgcolor="1C4590">&nbsp;</td> ');
	document.writeln ('    <td><table width="786" cellspacing="0" cellpadding="0"> ');
	document.writeln ('    	<tr> ');
	document.writeln ('    		<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="786" height="518"> ');
	document.writeln ('            	<param name="movie" value="/Images/Popup/100520_notice/img01.swf"> ');
	document.writeln ('            	<param name="quality" value="high"> ');
	document.writeln ('            	<embed src="/Images/Popup/100520_notice/img01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="786" height="518"></embed> ');
	document.writeln ('    			</object></td> ');
	document.writeln ('    		</tr> ');
	document.writeln ('    	<tr> ');
	document.writeln ('    		<td><img src="/Images/Popup/100520_notice/img02.jpg" width="786" height="202" border="0" usemap="#Map"></td> ');
	document.writeln ('    		</tr> ');
	document.writeln ('    	</table></td>'); 
	document.writeln ('    <td bgcolor="1C4590">&nbsp;</td> ');
	document.writeln ('  </tr> ');
	document.writeln ('  <tr> ');
	document.writeln ('    <td><img src="/Images/Popup/091001_notice/mold_04.gif"></td> ');
	document.writeln ('    <td background="/Images/Popup/091001_notice/mold_05.gif"><table width="784" border="0" cellspacing="0" cellpadding="0"> ');
	document.writeln ('      <tr> ');
	document.writeln ('        <td width="25" align="center"><!--input type="checkbox" name="Input2" onClick="javascript:fx_today_close();"--></td> ');
	document.writeln ('        <td align="left"><!--img src="/Images/Popup/091001_notice/today_close.gif" alt=""--></td> ');
	document.writeln ('        <td align="right"><a href="javascript:fx_close();" onFocus="this.blur()"><img src="/Images/Popup/091001_notice/btn_close02.gif" border="0"></a></td> ');
	document.writeln ('      </tr> ');
	document.writeln ('    </table></td> ');
	document.writeln ('    <td><img src="/Images/Popup/091001_notice/mold_06.gif"></td> ');
	document.writeln ('  </tr> ');
	document.writeln ('</table> ');
	document.writeln ('<map name="Map">');
	document.writeln ('  <area shape="rect" coords="86,129,298,162" href="http://www.apple.com/kr/itunes/overview/" target="_blank" onFocus="this.blur()"> ');
	document.writeln ('</map>');
	document.writeln ('</div>');
	

	function fx_close(){
		document.all.layer_notice.style.visibility = "hidden";
	}

	function fx_open(){
		document.all.layer_notice.style.visibility = "visible";
	}

	function getCookieVal (offset) {
		var endstr = document.cookie.indexOf (';', offset);
		if (endstr == -1)
			endstr = document.cookie.length;
			return unescape(document.cookie.substring(offset, endstr));
	}

	function GetCookie (name) {
		var arg = name + '=';
		var alen = arg.length;
		var clen = document.cookie.length;
		var i = 0;
		while (i < clen) {
		var j = i + alen;
		if (document.cookie.substring(i, j) == arg)
			return getCookieVal (j);
			i = document.cookie.indexOf(' ', i) + 1;
			if (i == 0) break;
		}
		return null;
	}
	
	function SetCookie(name, value, expiredays) {
		var todayDate = new Date();
		todayDate.setHours(todayDate.getHours()+expiredays);
		document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString()+ ";"
	}

	function DeleteCookie (name) {
		var exp = new Date(); 
		exp.setTime (exp.getTime() - 1); 
		SetCookie (name, null, -1);
	}

	function fx_today_close(){
		layer_notice.style.visibility = "hidden";
		SetCookie( "main_fx1", 1, 24); 
	}

	var ablecount = GetCookie('main_fx1');
	
	if (ablecount ==1) {
		fx_close();
	}
	
	/*
	if (ablecount ==1) {
		fx_close();
	}else{
		fx_open();
	}
	*/
}
