// JavaScript Document

function Show()
{
 document.getElementById('boxB').style.display='block';
 document.getElementById('boxB').style.left=getX(document.getElementById('xpos'));
 }
 function getX( oElement )
{
var iReturnValue = 0;
while( oElement != null ) {
iReturnValue += oElement.offsetLeft;
oElement = oElement.offsetParent;
}
return iReturnValue;
}
