<html>
<head>
<title>Untitled</title>
<script>
var IE5 = (document.all && document.getElementById) ? true : false;
if ( IE5 ) document.write( "<div id=obj_xT style='position:absolute;top:-100px;z-index:3;display:none' onmouseover="overdiv=1;" onmouseout="overdiv=0; setTimeout('cT()',200);"></div>" );
var nShow = false;
var overdiv = 0;
var timeid = "";
var bmove = 0;
function xT( contents, e, userstyle ) {
// 내용, 윈도우이벤트핸들, 사용자스타일사용여부
if ( !IE5 ) return;
if ( contents == "" ) return;
if (timeid) clearTimeout(timeid);
document.all.obj_xT.style.left = -999
document.all.obj_xT.style.top = -999
if ( !userstyle ) {
var tablewidth = ""
if ( contents.length > 40 ) tablewidth="width=400";
var div_string = "<table cellspacing=0 "+tablewidth+" cellpadding=0 bgcolor=#FFF9F0"
+ " style='filter:alpha(opacity=100); border:1 solid #DA753F'>\n"
+ "<tr><td style='text-indent:3px;cursor:hand;font-size:10pt;height:22px;padding-top:4px;word-break:break-all;'><font color=black style='font-size:9pt'>\n"
+ contents
+ "</font></td></tr></table>" ;
} else {
div_string = contents ;
}
document.all.obj_xT.innerHTML = div_string ;
document.all.obj_xT.style.display = "block";
Pos(e);
overdiv = 0;
nmove = 0;
nShow = true;
return;
}
function cT( ) {
if ( !IE5 ) { return }
if ( !overdiv ) {
obj_xT.style.display = "none";
nShow = false;
}
return;
}
function sT( e, havelink ) {
// 윈도우이벤트핸들, 링크가 있는지 여부(1일경우 팝업레이어를 고정)
if ( !IE5 ) return;
if ( !nShow ) return;
if ( !havelink || havelink != 1 ) {
Pos(e)
} else {
if ( bmove < 5 ) Pos(e)
++ bmove
}
document.all.obj_xT.style.display = "block";
nShow = true;
return;
}
function Pos(e) {
var BodyWidth = document.body.scrollWidth - 200;
var BodyLeft = document.body.scrollLeft;
var BodyHeight = document.body.clientHeight;
var BodyTop = document.body.scrollTop;
var DivWidth = document.all.obj_xT.scrollWidth;
var DivHeight = document.all.obj_xT.scrollHeight;
xpos = e.x + BodyLeft + 5;
ypos = e.y + BodyTop + 5;
//limit right edge
if ( xpos + DivWidth > BodyWidth ) xpos = BodyWidth - DivWidth;
//limit left edge
if (BodyLeft > xpos) xpos = BodyLeft + 10;
//limit bottom edge
if (ypos + DivHeight > BodyTop + BodyHeight) ypos = ypos - DivHeight - 10;
//limit top edge
if ( ypos < BodyTop ) ypos = BodyTop + 10;
document.all.obj_xT.style.left = xpos
document.all.obj_xT.style.top = ypos
}
</script>
</head>
<body>
[상담]
<a href='' onmousemove="sT(window.event);" onmouseover="xT('<b>한글한rmf</b>',window.event,0 );" onmouseout="cT();" target='_blank' class=10bk><img src="http://img.empas.com/search/2003/titleicon/ico_speed.gif"></a>
</body>
</html>