function tip2() {
  tip(tit2);
}

function tip(text) {
  var t=document.getElementById("tip");
  if (!window.opera) {
    x=window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft + 8;
    y=window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop - 50;
  } 
  else {
    x=window.event.clientX+8;
    y=window.event.clientY+20;
  } 
  t.innerHTML=text;
  if (screen.width-x<150) 
    x-=150;
  t.style.left=x + "px";
  t.style.top=y + "px";
}

function h_tip() {
  var t=document.getElementById("tip");
  t.innerHTML="";
  t.style.left="-1000px";
  t.style.top="-1000px";
}
