function showBox(hid,e, obj) 
{
  e = e || window.event;
  var cursor = {x:0, y:0};
  if (e.pageX || e.pageY) {
      cursor.x = e.pageX;
      cursor.y = e.pageY;
  } 
  else 
  {
      var de = document.documentElement;
      var b = document.body;
      cursor.x = e.clientX + (de.scrollLeft || b.scrollLeft) - (de.clientLeft || 0);
      cursor.y = e.clientY + (de.scrollTop || b.scrollTop) - (de.clientTop || 0);
  }
  			
	document.all.BoxInput.style.left = cursor.x;
	document.all.BoxInput.style.top = cursor.y;
	document.all.BoxInput.style.width = 80;
	document.all.BoxInput.style.height = 20;
	document.all.BoxInput.style.display = "";
	showhid.gethid(hid);
}

function hideBox() {
  try {
    document.all.BoxInput.style.display = "none";
  }
  catch (e)
	{ }
}

document.onmousedown = hideBox;

document.write('<div id="BoxInput" style="z-index:1;DISPLAY:none;POSITION:absolute; BORDER-RIGHT:buttonshadow 1px solid; BORDER-TOP:buttonshadow 1px solid; BORDER-LEFT:buttonshadow 1px solid; BORDER-BOTTOM:buttonshadow 1px solid;">');
document.write('<iframe name="showhid" src="/tss/common/showbox.aspx" width="80" height="20" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>');
document.write('</div>');