// JavaScript Document
window.onload = function(){initFloatTips();}
document.writeln("<div id=\"floatTips\" style=\"position:absolute; width:40px; z-index:1; left:90%; top: 220px;\">");
document.writeln("              <table width=\"91\" height=\"255\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\"><tbody>");
document.writeln("                <tr>");
document.writeln("                  <td><img src=\"images/index_d_46.gif\" width=\"91\" height=\"255\" border=\"0\" usemap=\"#Map\" />");
document.writeln("                  <\/td>");
document.writeln("                <\/tr>");
document.writeln("              <\/table>");
document.writeln("          <\/div>");


var tips; var theTop = 220/*这是默认高度,越大越往下*/; var old = theTop;
function initFloatTips() {
  tips = document.getElementById('floatTips');
  moveTips();
};
function moveTips() {
  var tt=50;
  if (window.innerHeight) {
    pos = window.pageYOffset
  }
  else if (document.documentElement && document.documentElement.scrollTop) {
    pos = document.documentElement.scrollTop
  }
  else if (document.body) {
    pos = document.body.scrollTop;
  }
  pos=pos-tips.offsetTop+theTop;
  pos=tips.offsetTop+pos/10;
  if (pos < theTop) pos = theTop;
  if (pos != old) {
    tips.style.top = pos+"px";
    tt=10;
  }
  old = pos;
  setTimeout(moveTips,tt);
}
function show_s(id)
{

	if (document.getElementById('u'+id).style.display == 'none')
		{
			document.getElementById('u'+id).style.display="block";
		}
		else
		{
			document.getElementById('u'+id).style.display="none";
		}
}
