document.writeln("<link href='AG_msg/msg.css' rel='stylesheet' type='text/css'>");
function AG(a){return document.getElementById(a);}
var xmlHttp;function AG_XMLHttpRequest(){if(window.ActiveXObject)
xmlHttp=new ActiveXObject("microsoft.XMLHTTP");else if(window.XMLHttpRequest)
xmlHttp=new XMLHttpRequest();}
document.writeln("<div id=\"eMeng\" class=\"AG_Messenger\">");document.writeln(" <table width=\"100%\" border=0 cellpadding=0 cellspacing=0>");document.writeln("<tr class=AG_t111>");document.writeln("   <td height=\"23\" valign=\"middle\" class='AG_t2'><span id=\"MsgTitle\"></span></td>");document.writeln("   <td valign=\"middle\" align=\"right\">");document.writeln("   <img src=\"AG_msg/msgClose.jpg\" hspace=\"3\" style=\"CURSOR:pointer\" onclick=\"closeDiv1()\" title=\"¹Ø±Õ\"></td>");document.writeln("  </tr>");document.writeln("  <tr>");document.writeln("   <td colspan=\"2\" height=60 class=a3>");document.writeln("   <div>");document.writeln("    <span id=\"MsgCenter\"></span></div>");document.writeln("   </td>");document.writeln("  </tr>");document.writeln(" </table>");document.writeln("</div>");
var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,i=0;function getMsg(MM1,MM2)
{try{MsgTitle.innerHTML=MM1;MsgCenter.innerHTML=MM2;divTop=parseInt(document.getElementById("eMeng").style.top,10)
divLeft=parseInt(document.getElementById("eMeng").style.left,10)
divHeight=parseInt(document.getElementById("eMeng").offsetHeight,10)
divWidth=parseInt(document.getElementById("eMeng").offsetWidth,10)
docWidth=document.body.clientWidth;docHeight=document.body.clientHeight;document.getElementById("eMeng").style.top=parseInt(document.body.scrollTop,10)+docHeight+10;document.getElementById("eMeng").style.left=parseInt(document.body.scrollLeft,10)+docWidth-divWidth
document.getElementById("eMeng").style.visibility="visible"
objTimer=window.setInterval("moveDiv()",10)}
catch(e){}}
function resizeDiv()
{i+=1
if(i>1288)
try{divHeight=parseInt(document.getElementById("eMeng").offsetHeight,10)
divWidth=parseInt(document.getElementById("eMeng").offsetWidth,10)
docWidth=document.body.clientWidth;docHeight=document.body.clientHeight;document.getElementById("eMeng").style.top=docHeight-divHeight+parseInt(document.body.scrollTop,10)
document.getElementById("eMeng").style.left=docWidth-divWidth+parseInt(document.body.scrollLeft,10)}
catch(e){}}
function moveDiv()
{try
{if(parseInt(document.getElementById("eMeng").style.top,10)<=(docHeight-divHeight+parseInt(document.body.scrollTop,10)))
{window.clearInterval(objTimer)
objTimer=window.setInterval("resizeDiv()",1)}
divTop=parseInt(document.getElementById("eMeng").style.top,10)
document.getElementById("eMeng").style.top=divTop-1}
catch(e){}}
function closeDiv1(){document.getElementById('eMeng').style.visibility='hidden';if(objTimer) window.clearInterval(objTimer)}


