Ãâó :
http://blog.naver.com/today30?Redirect=Log&logNo=90033244917
------------------------ HEAD ¹® »çÀÌ-----------------------------
<script type="text/javascript">
//ÆäÀÌÁö onLoad½Ã ½ÇÇàÇÔ¼ö (ÄíÅ°°ªÀ» Àоî¼, ·¹À̾ º¸¿©ÁÙÁö ¸»Áö °áÁ¤)
function init(){
//<![CDATA[
if(getCookie("noDaily")!="checked") {
document.all['popWindow1'].style.visibility = "visible";
}
//]]>
}
//ÄíÅ°¿¡ °ªÀ» ¼ÂÆÃ
function setCookie(name, value, expiredays)
{
//<![CDATA[
var today = new Date();
today.setDate( today.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" +
today.toGMTString() + ";";
//]]>
}
//ÀúÀåµÈ ÄíÅ°°ª Àоî¿À±â
function getCookie(name)
{
//<![CDATA[
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 "";
//]]>
}
//Æ˾÷·¹ÀÌ¾î ´Ý±â
function closewin() {
//<![CDATA[
if(document.Myform.popup.checked){
if (document.all['popWindow1'].style.visibility = "hidden")
setCookie( "noDaily", "checked" ,1 );
}else
document.all['popWindow1'].style.visibility = "hidden";
}
//]]>
</script>
</head>
<body onLoad="init();">
<script type="text/javascript">
//·¹À̾î Æ˾÷ ¸¶¿ì½º·Î À̵¿½ÃÅ°±â
isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
isHot=false;
function ddInit(e){
//<![CDATA[
if(getCookie("noDaily")!="checked"){
topDog=isIE ? "BODY" : "HTML";
whichDog=isIE ? document.all.popWindow1 : document.getElementById("popWindow1");
hotDog=isIE ? event.srcElement : e.target;
while (hotDog.id!="popWindow1"&&hotDog.tagName!=topDog){
hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;
}
if (hotDog.id=="popWindow1"){
offsetx=isIE ? event.clientX : e.clientX;
offsety=isIE ? event.clientY : e.clientY;
nowX=parseInt(whichDog.style.left);
nowY=parseInt(whichDog.style.top);
ddEnabled=true;
document.onmousemove=dd;
}
}
//]]>
}
function dd(e){
//<![CDATA[
if (!ddEnabled) return;
whichDog.style.left=isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx;
whichDog.style.top=isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety;
return false;
//]]>
}
document.onmousedown=ddInit;
document.onmouseup=Function("ddEnabled=false");
</script>
------------------------ HEAD ¹® »çÀÌ-----------------------------
------------------------ BODY ¹® »çÀÌ-----------------------------
<div id="popWindow1"style="background-color:white; position:
absolute; left:296px; top:170px; z-index:0; visibility:hidden;">
<b><span style="font-size:16pt;">¿ÀÅä»ç¿îµå °øÁö»çÇ×</span></b><table width="282" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table id="Table_01" width="430" height="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">
<img src="http://www.autosound21.co.kr/img/popup/images/autosound_sub2_01.gif" width="430" height="443" alt=""></td>
</tr>
<tr>
<td rowspan="3">
<img src="http://www.autosound21.co.kr/img/popup/images/autosound_sub2_02.gif" width="39" height="94" alt=""></td>
<td>
<img src="http://www.autosound21.co.kr/img/popup/images/autosound_sub2_03.gif" width="289" height="37" alt=""></td>
<td rowspan="3">
<img src="http://www.autosound21.co.kr/img/popup/images/autosound_sub2_04.gif" width="102" height="94" alt=""></td>
</tr>
<tr>
<td>
<a href="http://www.autosound21.co.kr/img/jido.jpg" target="_blank">
<img src="http://www.autosound21.co.kr/img/popup/images/autosound_sub2_05.gif" width="289" height="28" border="0" alt=""></a></td>
</tr>
<tr>
<td>
<a href="http://www.autosound21.co.kr/img/daejon.jpg" target="_blank">
<img src="http://www.autosound21.co.kr/img/popup/images/autosound_sub2_06.gif" width="289" height="29" border="0" alt=""></a></td>
</tr>
<tr>
<td colspan="3">
<img src="http://www.autosound21.co.kr/img/popup/images/autosound_sub2_07.gif" width="430" height="63" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="430" height="25" border="0" cellpadding="0" cellspacing="0" background="ȨÆäÀÌÁö¿øº»/flash/¿À´ÃÇÑ°Å/back_1.jpg" bordercolor="white">
<form name="Myform" id="Myform">
<tr>
<td width="11" bgcolor="#424242"></td>
<td width="226" bgcolor="#424242"><input type="checkbox" name="popup" value="checkbox" /><font size="2" color="FFFFFF">¿À´ÃÇÏ·ç¿Áö¾ÊÀ½</font></td>
<td width="193" bgcolor="#424242">
<p align="right"><a href="javascript:closewin();"><font size="2" color="white">[´Ý±â</font></a><font size="2" color="white">]</font></p>
</td>
</tr>
</form>
</table>
------------------------ ÀÚ¹Ù½ºÅ©¸³Æ® ³¡-----------------------------