function getPageEventCoords(evt) {
var coords = {left:0, top:0};
if (evt.pageX) {
coords.left = evt.pageX;
coords.top = evt.pageY;
} else if (evt.clientX) {
coords.left =
evt.clientX + document.body.scrollLeft - document.body.clientLeft;
coords.top =evt.clientY + document.body.scrollTop - document.body.clientTop;
// include html element space, if applicable
if (document.body.parentElement && document.body.parentElement.clientLeft) {
var bodParent = document.body.parentElement;
coords.left += bodParent.scrollLeft - bodParent.clientLeft;
coords.top += bodParent.scrollTop - bodParent.clientTop;
}

}
//alert(coords.left);
return coords;
}
  
  
function HideContentS(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContentS(d,str) { 
if(d.length < 1) { return; }
var dd = document.getElementById(d);
var tt = getPageEventCoords(str);
if(d=="uniquename44")
{
	dd.style.left = ((tt.left/2)+60) + "px";
}
else
{
	dd.style.left = ((tt.left/2)+10) + "px";
}
//dd.style.left = ((tt.left/2)+10) + "px";
dd.style.top = ((tt.top/2)-20) + "px";

dd.style.display = "block";
}



