
document.domain = "www.lpjoy.com";

var httpd = "";

httpd += "<style>";
httpd += "#notice { position:absolute; z-index:100; visibility:hidden; font-size:12px; }";
httpd += "#notice_title { cursor:move; font-size:12px; font-weight:bolder; color:#FFFFFF; white-space:nowrap;}";
httpd += "#notice_body { font-size:12px; background-color:#FFFFFF; min-height:100px; min-width:100px; }";
httpd += "* #notice_body { height:100px; width:100px; }";
httpd += "</style>";
httpd += "<meta http-equiv='imagetoolbar' content='no'>";
httpd += "<div id='notice' style='left:0px;top:0px;'>";
httpd += "<table width=50 height=50 cellpadding=0 cellspacing=0 border=0>";
httpd += "	<tr>";
httpd += "		<td height=30>";
httpd += "			<table width=100% height=100% cellpadding=0 cellspacing=0 border=0>";
httpd += "				<tr>";
httpd += "					<td width=5><img src='/images/popup/window_1_1.gif'></td>";
httpd += "					<td width=22><img src='/images/popup/window_1_icon.gif'></td>";
httpd += "					<td background='/images/popup/window_1_2.gif' id='notice_title'>";
httpd += "						·¹ÄÚµå¸Å´Ï¾Æ :: ÀÌº¥Æ®";
httpd += "						<img width=1 height=17>";
httpd += "					</td>";
httpd += "					<td width=30 background='/images/popup/window_1_2.gif' ><img src='/images/popup/window_1_close.gif' id='Notice_Close' onMouseOver='jdJ_setClose(this);'></td>";
httpd += "					<td width=5><img src='/images/popup/window_1_3.gif'></td>";
httpd += "				</tr>";
httpd += "			</table>";
httpd += "		</td>";
httpd += "	</tr>";
httpd += "	<tr>";
httpd += "		<td>";
httpd += "			<table width=100% height=100% cellpadding=0 cellspacing=0 border=0>";
httpd += "				<tr>";
httpd += "					<td width=4 background='/images/popup/window_2_1.gif'><img src='/images/popup/window_2_1.gif'></td>";
httpd += "					<td>";
httpd += "<table width=100% height=100% cellpadding=0 cellspacing=0 border=0>";
httpd += "	<tr>";
httpd += "		<td width=2 height=4><img src='/images/popup/inner_1_1.gif'></td>";
httpd += "		<td background='/images/popup/inner_1_2.gif'></td>";
httpd += "		<td width=3 height=4><img src='/images/popup/inner_1_3.gif'></td>";
httpd += "	</tr>";
httpd += "	<tr>";
httpd += "		<td width=2 background='/images/popup/inner_2_1.gif'><img src='/images/popup/inner_2_1.gif'></td>";
httpd += "		<td id='notice_body' valign=top></td>";
httpd += "		<td width=3 background='/images/popup/inner_2_3.gif'><img src='/images/popup/inner_2_3.gif'></td>";
httpd += "	</tr>";


httpd += "	<tr bgcolor=white>";
httpd += "		<td width=2 background='/images/popup/inner_2_1.gif'><img src='/images/popup/inner_2_1.gif'></td>";
httpd += "<td><table width=300 border=0 cellspacing=0 cellpadding=0 align=center>";
httpd += "	<tr>";
httpd += "		<td class=font>";
httpd += "			<input type=\"checkbox\" name=\"Notice1\" id=\"Notice1\"> <img src=\"/pops/images/pop_today.gif\" align=\"absmiddle\">";
httpd += "		</td>";
httpd += "		<td align=right>";
httpd += "		<a href=#><img src=\"/pops/images/btn_close.gif\" border=0 onclick=\"javascript:if(Notice1.checked){jdJ_setCookie('Notice1','done',2);}jdJ_closeIt();\"></a>";
httpd += "		</td>";
httpd += "	</tr>";
httpd += "</table></td>";
httpd += "		<td width=3 background='/images/popup/inner_2_3.gif'><img src='/images/popup/inner_2_3.gif'></td>";
httpd += "	</tr>";

httpd += "	<tr>";
httpd += "		<td width=2 height=6><img src='/images/popup/inner_3_1.gif'></td>";
httpd += "		<td background='/images/popup/inner_3_2.gif'></td>";
httpd += "		<td width=3 height=6><img src='/images/popup/inner_3_3.gif'></td>";
httpd += "	</tr>";
httpd += "</table>";

httpd += "					</td>";
httpd += "					<td width=4 background='/images/popup/window_2_3.gif'><img src='/images/popup/window_2_3.gif'></td>";
httpd += "				</tr>";
httpd += "			</table>";
httpd += "		</td>";
httpd += "	</tr>";
httpd += "	<tr>";
httpd += "		<td height=4>";
httpd += "			<table width=100% height=100% cellpadding=0 cellspacing=0 border=0>";
httpd += "				<tr>";
httpd += "					<td width=4><img src='/images/popup/window_3_1.gif'></td>";
httpd += "					<td background='/images/popup/window_3_2.gif'><img src='/images/popup/window_3_2.gif'></td>";
httpd += "					<td width=4><img src='/images/popup/window_3_3.gif'></td>";
httpd += "				</tr>";
httpd += "			</table>";
httpd += "		</td>";
httpd += "	</tr>";
httpd += "</table>";
httpd += "</div>";

document.writeln(httpd);

var ns4=document.layers
var ns6=document.getElementById&&!document.all
var ie4=document.all
var pObj

if (ns4)             pObj = document.layers.notice
else if (ie4 || ns6) pObj = ns6 ? document.getElementById("notice") : document.all.notice

function jdJ_setClose(ele) {
	ele.onmouseout = new Function("this.src='/images/popup/window_1_close.gif'")
	ele.src        = '/images/popup/window_1_close_over.gif'
	ele.onclick    = new Function("jdJ_closeIt()")
	ele.style.cursor = 'hand'
}
function showit(URL, posTop, posLeft){
	if(jdJ_getCookie("Notice1") == 'done') return;
	
	jdJ_GetContents(URL)
	
	if (ie4||ns6) {
		pObj.style.visibility="visible"
		pObj.style.top = posTop
		pObj.style.left = posLeft
	} else if (ns4) pObj.visibility="show"
}

function jdJ_closeIt(){
	if (ie4||ns6) pObj.style.visibility="hidden"
	else if (ns4) pObj.visibility="hide"
}
function jdJ_setCookie( name, value, expiredays ){
	var todayDate = new Date(); 
	todayDate.setDate( todayDate.getDate() + expiredays ); 
	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
}
function jdJ_getCookie(Name) {
	var search = Name + "="
	var returnvalue = "";
	if (document.cookie.length > 0) {
		offset = document.cookie.indexOf(search)
		if (offset != -1) {
			offset += search.length
			end = document.cookie.indexOf(";", offset);
			if (end == -1) end = document.cookie.length;
			returnvalue=unescape(document.cookie.substring(offset, end))
		}
	}
	return returnvalue;
}

function jdJ_dragAndDrop(e){
	if (ie4 && dragapproved){
		pObj.style.left = tempx + event.clientX - offsetx
		pObj.style.top  = tempy + event.clientY - offsety
		return false
	} else if (ns6 && dragapproved){
		pObj.style.left = tempx + e.clientX - offsetx
		pObj.style.top  = tempy + e.clientY - offsety
		return false
	}
}

function jdJ_dragAndDropInit(e){
	if (ie4 && event.srcElement.id == "notice_title" || ns6 && e.target.id == "notice_title"){
		offsetx = ie4 ? event.clientX : e.clientX
		offsety = ie4 ? event.clientY : e.clientY

		tempx = parseInt(pObj.style.left)
		tempy = parseInt(pObj.style.top)

		dragapproved = true
		document.onmousemove = jdJ_dragAndDrop
	}
}

var req;
function jdJ_GetContents(URL) {
	req = jdJ_ajaxInit(); //request °´Ã¼ »ý¼º
	req.onreadystatechange = jdJ_onloadedAction;// ¿äÃ»ÈÄ Ã³¸®µÉ ÄÝ¹éÇÔ¼ö¸¦ Á¤ÀÇÇÕ´Ï´Ù.
	req.open("GET", URL, true); //POST¹æ½ÄÀ¸·Î sample.php ¿¡ ¿äÃ»ÇÑ´Ù´Â°ÍÀ» Á¤ÀÇÇÕ´Ï´Ù.
	req.send("");
	//req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");//¿äÃ»Çì´õÀÇ Á¤ÀÇ
}
function jdJ_ajaxInit() {
	var xmlreq = false;
	if (window.XMLHttpRequest) { //ÆÄÀÌ¾îÆø½º³ª ¸ÆÀÇ »çÆÄ¸®ÀÇ °æ¿ìÃ³¸®
		xmlreq = new XMLHttpRequest();
	} else if (window.ActiveXObject) { //IE°è¿­ÀÇ ºê¶ó¿ìÁ®ÀÇ °æ¿ì
		try {
			xmlreq = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e1) {
			try {
				xmlreq = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e2) {  }
		}
	}
	return xmlreq;
}
function jdJ_onloadedAction() {
	if (req.readyState == 4) {
		
		document.getElementById("notice_body").innerHTML = req.responseText;
	}
}

document.onmousedown = jdJ_dragAndDropInit
document.onmouseup   = new Function("dragapproved = false")
