var topUrl = document.location.href; function MINIDAUM() { document.write('
'); document.write('
'); document.write('

Daum을 시작페이지로

'); document.write('

키즈짱 바로가기

'); document.write(''); document.write('
'); document.write('
'); } function sendLogin() { document.location.href = "http://www.daum.net/Mail-bin/login.html?category=kids&url=" + escape(topUrl); } function sendLogout() { document.location.href = "http://login.daum.net/Mail-bin/logout.cgi?url=" + escape(topUrl); } window.onload = fnFloatEvt; function fnFloatEvt(){ if( location.href.indexOf('market.kids.daum.net') == -1 ) { var cW= getInnerWidth(); var cH= getInnerHeight(); var numW = Math.round(Math.random()*(cW-1)); var numH = Math.round(Math.random()*(cH-1)); var el = document.createElement("span"); el.id = "floatEvent"; el.style.position = "absolute"; el.style.left = numW+"px"; el.style.top = numH+"px"; document.body.appendChild(el); el.innerHTML = '
'; daumFlash("http://image.kids.daum.net/images/operation/event/20071127_openEvent/kids_doongdoong.swf","100","100","floatEvent"); } } function openEventPointWindown() { var pop = window.open('http://kids.daum.net/infant/do/popup/eventPointFind',"eventPointWinow","width=300,height=180, scrollbars=no, resizable=no"); } function hiddenEvent() { document.getElementById("floatEvent").style.display="none"; } var browser = new Object(); browser.isIE = (navigator.userAgent.toLowerCase().indexOf("msie")!=-1); function getInnerWidth(){ if (browser.isIE){ if( document.documentElement.clientWidth == 0 ) return window.document.body.clientWidth; return document.documentElement.clientWidth; }else{ return window.innerWidth; } } function getInnerHeight(){ if (browser.isIE){ if( document.documentElement.clientHeight == 0 ) return window.document.body.clientHeight; return document.documentElement.clientHeight; }else{ return window.innerHeight; } }