function show_bar(e, id) {
X = getPos(e,'Left') + document.body.scrollLeft;
Y = getPos(e,'Top') + document.body.scrollTop;
obj = document.getElementById( id );
obj.style.top = Y + 22;
obj.style.left = X - obj.offsetWidth + 75;
obj.style.visibility = "visible";
}
function hide_bar(id) {
document.getElementById( id ).style.visibility="hidden";
}
function cancel_hide_bar(id) {
document.getElementById( id ).style.visibility="visible";
}
function getPos(e,p) {
 var i = 0;
 while (e!=null) {
  i+=e["offset" + p]
  e=e.offsetParent
 }
 return i
}
