var _SayAlertHompyIsLive=0;var _SayAlertHompyLastY=3;var _SayAlertHompyLastX=3;var _SayAlertHompyMinIndex;var _SayAlertHompyMaxIndex;var _SayAlertHompyQueue=new Array;var _SayAlertHompySetTimeoutID;var _SayAlertHompyDontPopDown;var _SayAlertHompyMoveInterval=8;var IE_Version=new Number(window.navigator.appVersion.split("; ")[1].split(" ")[1]);var _winX,_winY;var hp_fgcolor;var hp_bgcolor;var hp_title;var hp_caption;var hp_character;var hp_logo;var hp_width;var hp_height;var hp_lifetime;var hp_upspeed;
var hp_downspeed;var hp_target;var hp_charalign;var hp_subject;var hp_content;var hp_type;var hp_set_link;var hp_content_link;var hp_skyLeft,hp_skyTop,hp_skyHeight;
function SayAlertHompy(){_SayAlertHompyIsLive=0;if(typeof document.all["_SayAlertHompy"]=="object")if(document.all["_SayAlertHompy"].style.display=="block")_SayAlertHompyIsLive=1;if(_SayAlertHompyIsLive<=0&&_SayAlertHompyQueue.length<=0)SayAlertHompyInit(arguments);else if(IE_Version>=5.5)_SayAlertHompyQueue.push(arguments);else _SayAlertHompyQueue[_SayAlertHompyQueue.length]=arguments;return true}
function SayAlertHompyInit(arguments){if(typeof document.all["idSkyScraperTD2_in"]!="undefined"){var hp_sky=document.all["idSkyScraperTD2_in"];hp_sky.style.position="relative";hp_sky.style.pixelTop=0;hp_sky.style.pixelLeft=0;hp_sky.style.pixelHeight=hp_skyHeight;hp_sky.style.clip="rect(auto)"}else if("undefined"!=typeof document.all["idSkyScraperTD2"]){var hp_sky=document.all["idSkyScraperTD2"];initSkyScraper();hp_sky.style.clip="rect(auto)"}hp_caption="&nbsp";hp_character="<table border=0 cellpadding=0 cellspacing=0 width=100 height=40><tr><td>&nbsp;</td></tr></table>";
hp_logo="http://file.pmang.kr/images/tiffany/ichp_sayclub_sayalert.gif";hp_width=158;hp_height=117;hp_lifetime=1E3*4;hp_upspeed=1.5;hp_downspeed=2;hp_target=self;hp_charalign="center";hp_type=0;_SayAlertHompyDontPopDown=false;var ar=arguments;if(ar.length==1)hp_caption=ar[0];else for(var i=0;i<ar.length;i++){if(ar[i]=="hp_fgcolor"){hp_fgcolor=ar[++i];continue}if(ar[i]=="hp_bgcolor"){hp_bgcolor=ar[++i];continue}if(ar[i]=="hp_caption"){hp_caption=ar[++i];continue}if(ar[i]=="hp_title"){hp_title=ar[++i];
continue}if(ar[i]=="hp_subject"){hp_subject=ar[++i];continue}if(ar[i]=="hp_content"){hp_content=ar[++i];continue}if(ar[i]=="hp_character"){hp_character=ar[++i];continue}if(ar[i]=="hp_logo"){hp_logo=ar[++i];continue}if(ar[i]=="hp_width"){hp_width=ar[++i];continue}if(ar[i]=="hp_height"){hp_height=ar[++i];continue}if(ar[i]=="hp_lifetime"){hp_lifetime=ar[++i];continue}if(ar[i]=="hp_upspeed"){hp_upspeed=ar[++i];continue}if(ar[i]=="hp_downspeed"){hp_downspeed=ar[++i];continue}if(ar[i]=="hp_target"){hp_target=
eval(ar[++i]);continue}if(ar[i]=="hp_type"){hp_type=eval(ar[++i]);continue}if(ar[i]=="hp_set_link"){hp_set_link=ar[++i];continue}if(ar[i]=="hp_content_link"){hp_content_link=ar[++i];continue}}hp_character=hp_character.replace(/id=character/g,"id=SayAlertHompyCharacter");hp_character=hp_character.replace(/id=ImgChar/g,"id=SayAlertHompyImgChar");if(typeof hp_target.document.all["_SayAlertHompyBorder"]=="undefined"){var divs='<DIV id="_SayAlertHompyBorder" style="display:none;position:absolute;';divs+=
"width:"+hp_width+";height:"+hp_height+';overflow:hidden">';divs+='<DIV id="_SayAlertHompy" style="display:none;position:relative;';divs+="width:"+hp_width+";heigth:"+hp_height+';"></DIV></DIV>';hp_target.document.body.insertAdjacentHTML("beforeEnd",divs)}var o=hp_target.document.all["_SayAlertHompy"];if(IE_Version>=5.5){o.onmouseenter=SayAlertHompyStop;o.onmouseleave=SayAlertHompyGo}else{o.onmouseover=SayAlertHompyStop;o.onmouseout=SayAlertHompyGo}window.onscroll=SayAlertHompyFixHeight;addOnresizeHandle("SayAlertHompyFixHeight()");
o.style.backgroundColor=hp_bgcolor;o.style.zIndex=255;SayAlertHompySlide();return o}function SayAlertHompyFixHeight(){var ob=hp_target.document.all["_SayAlertHompyBorder"];var scrollY=document.body.scrollTop;var scrollX=document.body.scrollLeft;_winX=hp_target.document.body.clientWidth;_winY=hp_target.document.body.clientHeight;ob.style.pixelTop=_winY-hp_height-_SayAlertHompyLastX+scrollY;ob.style.pixelLeft=_winX-hp_width-_SayAlertHompyLastX}
function SayAlertHompyEndEventHandler(){if(_SayAlertHompyQueue.length>0){var arguments;if(IE_Version>=5.5)arguments=_SayAlertHompyQueue.pop();else{arguments=_SayAlertHompyQueue[0];for(var i=1;i<_SayAlertHompyQueue.length;i++)_SayAlertHompyQueue[i-1]=_SayAlertHompyQueue[i];_SayAlertHompyQueue.length--}if(arguments!="undefined")SayAlertHompyInit(arguments)}if(typeof document.all["idSkyScraperTD2_in"]!="undefined"){var hp_sky=document.all["idSkyScraperTD2_in"];hp_sky.style.position="relative";hp_sky.style.pixelTop=
0;hp_sky.style.pixelLeft=0;hp_sky.style.pixelHeight=hp_skyHeight;hp_sky.style.clip="rect(auto)"}else if("undefined"!=typeof document.all["idSkyScraperTD2"]){var hp_sky=document.all["idSkyScraperTD2"];initSkyScraper();hp_sky.style.clip="rect(auto)"}return true}function SayAlertHompyStop(){var o=hp_target.document.all["_SayAlertHompy"];_SayAlertHompyDontPopDown=true;SayAlertHompySlideUp(true);return}
function SayAlertHompyGo(){var o=hp_target.document.all["_SayAlertHompy"];_SayAlertHompyDontPopDown=false;SayAlertHompySlideDown();return}
function SayAlertHompySlideUp(fixed){var o=hp_target.document.all["_SayAlertHompy"];if(o.style.pixelTop-hp_upspeed<_SayAlertHompyMinIndex)hp_upspeed=o.style.pixelTop-_SayAlertHompyMinIndex;o.style.pixelTop-=hp_upspeed;if(o.style.pixelTop>_SayAlertHompyMinIndex){_SayAlertHompySetTimeoutID=setTimeout("SayAlertHompySlideUp("+fixed+")",_SayAlertHompyMoveInterval);return}if(fixed==true)return;setTimeout("SayAlertHompySlideDown()",hp_lifetime);return true}
function SayAlertHompySlideDown(){if(_SayAlertHompyDontPopDown)return;var o=hp_target.document.all["_SayAlertHompy"];var ob=hp_target.document.all["_SayAlertHompyBorder"];o.style.backgroundColor=hp_bgcolor;o.style.pixelTop+=hp_downspeed;if(o.style.pixelTop<_SayAlertHompyMaxIndex){setTimeout("SayAlertHompySlideDown()",_SayAlertHompyMoveInterval);return false}SayAlertHompyContents(o,false);o.style.display="none";ob.style.display="none";SayAlertHompyEndEventHandler();return true}
function SayAlertHompyDisappear(){var o=hp_target.document.all["_SayAlertHompy"];var ob=hp_target.document.all["_SayAlertHompyBorder"];o.style.display="none";ob.style.display="none";ttmp=SayAlertHompyEndEventHandler()}
function SayAlertHompySlide(){var ob=hp_target.document.all["_SayAlertHompyBorder"];var o=hp_target.document.all["_SayAlertHompy"];var _scrollY=document.body.scrollTop;var _scrollX=document.body.scrollLeft;_winX=hp_target.document.body.clientWidth;_winY=hp_target.document.body.clientHeight;ob.style.pixelTop=_scrollY+_winY-hp_height-_SayAlertHompyLastY;ob.style.pixelLeft=_scrollX+_winX-hp_width-_SayAlertHompyLastX;ob.style.display="block";o.style.position="absolute";o.style.pixelLeft=0;o.style.pixelTop=
hp_height;_SayAlertHompyMinIndex=o.style.pixelTop-hp_height;_SayAlertHompyMaxIndex=o.style.pixelTop;SkyScrapAdClipping(_winY,_SayAlertHompyMinIndex,1);o.style.display="block";SayAlertHompyContents(o,true);var pop=SayAlertHompySlideUp(false);hp_target.document.body.style.overflowY="scroll";return true}
function SkyScrapAdClipping(browserHeight,SayAlertHompyPosition,hide){if(typeof document.all["idSkyScraperTD2_in"]!="undefined"){var hp_sky=document.all["idSkyScraperTD2_in"];hp_sky.style.position="relative";var hp_skyLeft=hp_sky.offsetLeft;var hp_skyTop=hp_sky.offsetTop;var skyTopMargin=hp_skyTop;var hp_skyHeight=hp_sky.offsetHeight;var skyShrinkHeight;var skyTotalHeight=hp_sky.offsetHeight+skyTopMargin;if(skyTotalHeight<=browserHeight){var bottomMargin=browserHeight-skyTotalHeight;if(bottomMargin<=
hp_height)skyShrinkHeight=hp_sky.offsetHeight-(hp_height-bottomMargin)-10;else skyShrinkHeight=hp_sky.offsetHeight-5}else skyShrinkHeight=browserHeight-hp_skyTop-hp_height-10;hp_sky.style.position="absolute";hp_sky.style.pixelLeft=hp_skyLeft;hp_sky.style.pixelTop=hp_skyTop;hp_sky.style.clip="rect(auto auto "+skyShrinkHeight+" auto)"}else if("undefined"!=typeof document.all["idSkyScraperTD2"]){var hp_sky=document.all["idSkyScraperTD2"];var hp_skyLeft=hp_sky.offsetLeft;var hp_skyTop=hp_sky.offsetTop;
var skyTopMargin=hp_skyTop;var hp_skyHeight=hp_sky.offsetHeight;var skyShrinkHeight;var skyTotalHeight=hp_sky.offsetHeight+skyTopMargin;if(skyTotalHeight<=browserHeight){var bottomMargin=browserHeight-skyTotalHeight;if(bottomMargin<=hp_height)skyShrinkHeight=hp_sky.offsetHeight-(hp_height-bottomMargin);else skyShrinkHeight=hp_sky.offsetHeight-hp_skyTop-5}else skyShrinkHeight=browserHeight-hp_skyTop-hp_height-5;hp_sky.style.position="absolute";hp_sky.style.pixelLeft=hp_skyLeft;hp_sky.style.pixelTop=
hp_skyTop;hp_sky.style.clip="rect(auto auto "+skyShrinkHeight+" auto)"}}
function SayAlertHompyContents(o,on){var tmpcontent;if(hp_type==1||hp_type==2){tmpcontent=""+"<table width='291' border='0' cellspacing='0' cellpadding='0'>"+"  <tr>"+"    <td width='7' height='7'><img src='http://file.pmang.kr/images/hompy2/img_notice_01.gif' width='7' height='7'></td>"+"    <td background='http://file.pmang.kr/images/hompy2/img_notice_14.gif'></td>"+"    <td width='7'><img src='http://file.pmang.kr/images/hompy2/img_notice_02.gif' width='7' height='7'></td>"+"  </tr>"+"  <tr>"+
"    <td background='http://file.pmang.kr/images/hompy2/img_notice_05.gif'></td>"+"    <td bgcolor='FFFFFF' style='padding-left:7px;padding-right:7px;'>"+"      <table border='0' cellspacing='0' cellpadding='0'>"+"        <tr> "+"          <td width='18' valign='bottom' style='padding-bottom:9px'><img src='http://file.pmang.kr/images/hompy2/img_notice_09.gif' width='15' height='12'></td>"+"          <td valign='bottom' style='padding-bottom:6px;' height='29' width='205'>"+hp_title+"</td>"+"          <td valign='bottom' style='padding-bottom:6px' width='23'>"+
hp_set_link+"</td>"+"          <td width='13' valign='bottom' style='padding-bottom:8px'><img src='http://file.pmang.kr/images/hompy2/img_notice_08.gif' width='13' height='13' border='0' onclick='javascript:SayAlertHompyDisappear();'></td>"+"        </tr>"+"        <tr> "+"          <td height='1' background='http://file.pmang.kr/images/hompy2/img_notice_07.gif' colspan='4'></td>"+"        </tr>"+"<span onclick="+hp_content_link+" ><tr style='cursor:hand;'> "+"          <td height='28' valign='bottom' colspan='4'>"+
hp_subject+"</td>"+"        </tr>";if(hp_type==1)tmpcontent=tmpcontent+"        <tr style='cursor:hand;'> "+"          <td style='padding-top:5px' height='43' valign='top' colspan='4'>"+hp_content+"</td>"+"        </tr>";else tmpcontent=tmpcontent+"        <tr style='cursor:hand;'> "+"          <td style=padding-bottom:10px valign=top colspan=4> "+"            <table width=100% border=0 cellspacing=0 cellpadding=0 style=margin-top:5px>"+"              <tr> "+"                <td width=30 align=right><img src='http://file.pmang.kr/images/hompy2/bu_new_reply.gif' width=15 height=12 style=margin-right:5px></td>"+
"                <td>"+hp_content+"</td>"+"              </tr>"+"            </table>"+"          </td>"+"        </tr>";tmpcontent=tmpcontent+"</span></table>"+"    </td>"+"    <td background='http://file.pmang.kr/images/hompy2/img_notice_06.gif'></td>"+"  </tr>"+"  <tr>"+"    <td height='7' valign='top'><img src='http://file.pmang.kr/images/hompy2/img_notice_03.gif' width='7' height='7'></td>"+"    <td background='http://file.pmang.kr/images/hompy2/img_notice_15.gif'></td>"+"    <td valign='top'><img src='http://file.pmang.kr/images/hompy2/img_notice_04.gif' width='7' height='7'></td>"+
"  </tr>"+"</table>"}else if(hp_type==3)tmpcontent=""+"<table width='291' border='0' cellspacing='0' cellpadding='0'>"+" <tr>"+"<td width='7' height='7'><img src='http://file.pmang.kr/images/hompy2/img_notice_01.gif' width='7' height='7'></td>"+"<td bgcolor='FFFFFF' valign='top'> "+"<table width='100%' border='0' cellspacing='0' cellpadding='0'>"+"<tr>"+"<td bgcolor='919191' height='1'></td>"+"</tr>"+"<tr>"+"<td bgcolor='E8E8E8' height='3'></td>"+"</tr>"+" </table>"+"</td>"+"<td width='7' height='7'><img src='http://file.pmang.kr/images/hompy2/img_notice_02.gif' width='7' height='7'></td>"+
"</tr>"+"<tr>"+" <td background='http://file.pmang.kr/images/hompy2/img_notice_05.gif'></td>"+"    <td bgcolor='FFFFFF' style='padding:7 7 7 7'>"+"      <table width='100%' border='0' cellspacing='0' cellpadding='0'>"+"        <tr> "+"<span onclick="+hp_content_link+"><td width='60' style='cursor:hand;'>"+hp_character+"</td>"+"          <td style='cursor:hand;'>"+hp_title+"            </td></span>"+"          <td valign='top' style=padding-top:1px width='24'><font style='letter-spacing:-1;color:#777777; font-family:µ¸¿ò; font-size:11px; cursor:hand;text-decoration:none;' onclick='javascript:var tmp = window.open(\"http://my.pmang.com/preference.nwz\");' onmouseover='javascript:this.style.textDecoration=\"underline\"' onmouseout='javascript:this.style.textDecoration=\"none\"'>¼³Á¤</font></td>"+
"          <td width='13' valign='top' style=padding-top:1px width='24'><img src='http://file.pmang.kr/images/hompy2/img_notice_08.gif' width='13' height='13' border='0' onclick='javascript:SayAlertHompyDisappear();'></td>"+"        </tr>"+"      </table>"+"    </td>"+"    <td background='http://file.pmang.kr/images/hompy2/img_notice_06.gif'></td>"+"  </tr>"+"  <tr>"+"    <td height='7' valign='top'><img src='http://file.pmang.kr/images/hompy2/img_notice_03.gif' width='7' height='7'></td>"+"    <td valign='bottom' bgcolor='FFFFFF'> "+
"      <table width='100%' border='0' cellspacing='0' cellpadding='0'>"+"        <tr> "+"          <td bgcolor='E8E8E8' height='3'></td>"+"        </tr>"+"        <tr> "+"          <td bgcolor='919191' height='1'></td>"+"        </tr>"+"        <tr> "+"          <td bgcolor='696969' height='1'></td>"+"        </tr>"+"      </table>"+"    </td>"+"    <td valign='top' width='7' height='7'><img src='http://file.pmang.kr/images/hompy2/img_notice_04.gif' width='7' height='7'></td>"+"  </tr>"+"</table>";
else if(hp_type==10)tmpcontent=""+"<table width='280' height='100' border='0' cellpadding='0' cellspacing='0'>"+"<tr><td background='http://file.pmang.kr/images/ditto//common/g_alert_bg.gif' style='padding:5px 0 0 80px;'>"+"<table width='185' height='75' border='0' cellpadding='0' cellspacing='0'>"+"<tr><td height='25' valign='top'>"+hp_title+"</td></tr>"+"<tr><td><a href="+hp_content_link+">"+hp_content+"</td></tr>"+"</table></td></tr></table>";else if(hp_type==11)tmpcontent="<table width=280 height=100 border=0 cellpadding=0 cellspacing=0>"+
"<tr><td background='http://file.pmang.kr/images/ditto/lounge/g_alert_bg.gif' style='padding:5px 0 0 80px;'>"+"<table width=185 height=75 border=0 cellpadding=0 cellspacing=0>"+"<td height=25 valign=top>"+hp_title+"</td></tr>"+"<tr><td><a href="+hp_content_link+" target=_self>"+hp_content+"</td></tr></table>"+"</td></tr></table>";else if(on)tmpcontent=""+"<style type='text/css'>"+"<!--"+"td {  font-family: '±¼¸²'; font-size: 12px}"+"--\>"+"</style>"+"<table width='158' border='0' cellspacing='0' cellpadding='0' style='layout:fixed;'>"+
"<tr> "+"<td><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_round_01.gif' width='6' height='6'></td>"+"<td><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_round_02.gif' width='145' height='6'></td>"+"<td><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_round_03.gif' width='7' height='6'></td>"+"</tr>"+"<tr> "+"<td><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_round_04.gif' width='6' height='110'></td>"+"<td width='145' height='110' valign='top' style='padding-top:8px; padding-left:8px;' bgcolor='#FFFFFF'> "+
"<table width='129' border='0' cellspacing='0' cellpadding='0' height='97'>"+"<tr> "+"<td valign='top' style='letter-spacing:-1;' height='17'><b><font color='464646'>"+hp_title+"</font></b></td>"+"</tr>"+"<tr> "+"<td valign='top' height='18'><u><font color=ff6600><span style='width:125;text-overflow:ellipsis;overflow:hidden'><nobr>"+hp_caption+"</nobr></span></font></u></td>"+"</tr>"+"<tr> "+"<td valign='top' height='62'> "+"<table width='129' border='0' cellspacing='0' cellpadding='0'>"+"<tr> "+
"<td width='60' valign=middle>"+hp_character+"</td>"+"<td align='center'> "+"<table width='57' border='0' cellspacing='0' cellpadding='0' height='17'>"+"<tr> "+"<td width='3' valign='top' style='padding-top:4px;'><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_bullet_arrow.gif' width='3' height='6' align='absmiddle'></td>"+"<td width='4'></td>"+"<td width='50' style='letter-spacing:-1;'><font color='336699'><a href='#' onclick=\"javascript:open_hompy2_srl('_myself');\">È¨ÇÇ°¡±â</a></font></td>"+
"</tr>"+"</table>"+"<table width='57' border='0' cellspacing='0' cellpadding='0' height='17'>"+"<tr> "+"<td width='3' valign='top' style='padding-top:4px;'><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_bullet_arrow.gif' width='3' height='6' align='absmiddle'></td>"+"<td width='4'></td>"+"<td width='50' style='letter-spacing:-1;'><font color='336699'><a href='#' onclick=\":open_window('http://my.pmang.com/popup_change_whorualert.nwz','_blank','width=300,height=200,resizable=no,scrollbars=no,scrolling=no')\">¾Ë¸²¼³Á¤</a></font></td>"+
"</tr>"+"</table>"+"</td>"+"</tr>"+"</table>"+"</td>"+"</tr>"+"</table>"+"</td>"+"<td><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_round_05.gif' width='7' height='110'></td>"+"</tr>"+"<tr> "+"<td><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_round_06.gif' width='6' height='7'></td>"+"<td><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_round_07.gif' width='145' height='7'></td>"+"<td><img src='http://file.pmang.kr/images/hompy2/dongdong/img_saypopup_round_08.gif' width='7' height='7'></td>"+
"</tr>"+"</table>";else tmpcontent="";if(hp_type==9)tmpcontent="<table width=291  border=0 cellpadding=0 cellspacing=0>"+"\t<tr>"+"\t\t<td height=136 background=http://file.pmang.kr/images/incredible/chatting/bg_bglayer2.gif align=center valign=top style=padding-right:2px>"+"      <table width=265 border=0 cellpadding=0 cellspacing=0>"+"        <tr><td colspan=2 height=10></td></tr>"+"      \t<tr height=24>"+"      \t\t<td><img src=http://file.pmang.kr/images/incredible/chatting/bullet/icon_heart.gif align=absmiddle class=bullet> <b>´ç½Å°úÀÇ ÀÎ¿¬À» ¸¸µé¾îº¸°í ½Í¾î¿ä.</b></td>"+
"          <td align=right>"+"            <a href=#><img src=http://file.pmang.kr/images/incredible/chatting/button/btn_close4.gif onclick='SayAlertHompyDisappear()' border=0></a></td>"+"        </tr>"+"        <tr>"+"          <td colspan=2 height=1 background=http://file.pmang.kr/images/incredible/common/dotline_02.gif>"+"        </tr>"+"      </table>"+"      <table width=250 border=0 cellpadding=0 cellspacing=0 class=fixed>"+"      <col width=76></col><col width=6></col><col width=183></col>"+
"      \t<tr style=padding-top:10>"+"      \t\t<td rowspan=2 align=center>"+hp_character+"</td>"+"          <td></td>"+"          <td>"+hp_title+"</td>"+"        </tr>"+"        <tr>"+"          <td></td>"+"          <td align=right valign=bottom><a href=#><img src=http://file.pmang.kr/images/incredible/chatting/button/btn_confirm_zzim.gif border=0 onclick=\"window.location='http://saychatting.sayclub.com/meeting/meet_yourzzim_list.nwz'\"></a></td>"+"        </tr>"+"      </table>"+"    </td>"+"  </tr>"+
"</table>";o.innerHTML=tmpcontent;return}function SayAlertHompyDebug(str){var debug;if(typeof document.all["SayAlertHompyDebugWindow"]!="undefined")debug=document.all["SayAlertHompyDebugWindow"];else return;debug.innerHTML=debug.innerHTML+" : "+str+"<br>\n"};
