var closewindow = true;
var openwindow = '';

function show_bar(ev, id) {

MouseX = ev.clientX + document.body.scrollLeft;
MouseY = ev.clientY + document.body.scrollTop;
if ((closewindow == true) && (openwindow != ''))
{
document.getElementById(openwindow).style.display="none";
}
openwindow = "win[" + id + "]";
obj = document.getElementById(openwindow);

obj.style.top = MouseY - 70;
obj.style.left = 50;
obj.style.display="block";
}

function hide_bar(id) {

document.getElementById("win[" + id + "]").style.display="none";

}

