// show / hide upload div //
function ViewData(sId,w,h,e) {
  theObject = document.getElementById(sId);
  var posx = 0;
  var posy = 0;
  
  if (!e)
        var e = window.event;
  
  if (e.pageX || e.pageY) {
        posx = e.pageX;
        posy = e.pageY;
  } else if (e.clientX || e.clientY) {
        posx = e.clientX + document.body.scrollLeft;
        posy = e.clientY + document.body.scrollTop;
  }
  
  theObject.style.visibility = (theObject.style.visibility == "visible") ? "hidden" : "visible";
      
  theObject.style.height = h + "px";
  theObject.style.width = w + "px";
  
  theObject.style.left = posx + 5;			// place popup at the mouse X (left) location
  theObject.style.top = posy + 5;				// place popup at the mouse Y (top) location
}
