<html>
<head>
<script>
document.writeln("<style>.tipdiv {font-family:verdana, arial, helvetica; font-size:12px; color:black; background-color:lightyellow; border:black 1px solid; padding:1px;}</style>");
document.writeln("<div id=popTip class=tipdiv style='position:absolute;display:none;' onmouseout='hideSelf(this, event)'></div>");
function hideTip(el, m, e) {
var cx, cy;
if (!e) {
cx = window.event.x;
cy = window.event.y;
} else {
cx = e.clientX;
cy = e.clientY;
}
if (el && m && m.style.display=='') {
if ((document.body.scrollLeft + cx > el.offsetLeft)
&& (document.body.scrollLeft + cx < el.offsetLeft + el.offsetWidth)
&& (document.body.scrollTop + cy > el.offsetTop)
&& (document.body.scrollTop + cy < el.offsetTop + el.offsetHeight)
|| (document.body.scrollLeft + cx > m.offsetLeft)
&& (document.body.scrollLeft + cx < m.offsetLeft + m.offsetWidth)
&& (document.body.scrollTop + cy > m.offsetTop)
&& (document.body.scrollTop + cy < m.offsetTop + m.offsetHeight)) {
} else {
m.style.display = 'none';
m.innerHTML = "";
}
}
}
function getPos(el,sProp) {
var iPos = 0;
while (el!=null) {
iPos+=el["offset" + sProp];
el = el.offsetParent;
}
return iPos;
}
function showTip(el, m, tipArr) {
tipArray = eval(tipArr);
if (tipArray.length>0) {
if (m) {
m.style.display='';
m.style.left = getPos(el,"Left");
m.style.top = getPos(el,"Top") + el.offsetHeight;
var title = tipArray[0];
var detail = tipArray[1];
if (m.innerHTML.length<1) {
m.innerHTML += "<table width=200 border=0 cellspacing=0 cellpadding=0 style='font-size:11px'>\
<tr><td colspan=3 align=center><b><font color=green>" + title + "</font></b></td></tr>\
<tr><td width=6></td><td width=186 height=1 bgcolor=black></td><td width=8></td></tr>\
<tr><td colspan=3 height=2></td></tr>\
<tr><td></td><td>" + detail + "</td><td></td></tr>\
</table>";
}
}
}
if ((m!=popup_tip) && (popup_tip)) popup_tip.style.display = 'none';
popup_tip = m;
}
var popup_tip = null;
function hideSelf(m, e) {
var cx, cy;
if (!e) {
cx = window.event.x;
cy = window.event.y;
} else {
cx = e.clientX;
cy = e.clientY;
}
if (m.style.display=='') {
if ((document.body.scrollLeft + cx >= m.offsetLeft)
&& (document.body.scrollLeft + cx <= m.offsetLeft + m.offsetWidth)
&& (document.body.scrollTop + cy >= m.offsetTop)
&& (document.body.scrollTop + cy <= m.offsetTop + m.offsetHeight)) {
} else {
m.style.display = 'none';
m.innerHTML = "";
}
}
}
</script>
</head>
<body>
<script>
var voteTip = new Array(
"江苏南京",
"南京玄武."
);
</script>
<font color=246F00 onmouseover="showTip(this, popTip, 'voteTip')" onmouseout="hideTip(this, popTip, event)">00000</strong></font>
</body>
</html>