function setAsShadow(textObjId, shadowObjId)
{
  // Get references to the objects
  var textObj = document.getElementById(textObjId);
  var shadowObj = document.getElementById(shadowObjId);
  
  // Ensure heading is set to be above other screen elements
  textObj.style.position = "absolute";
  textObj.style.zIndex = 2;
  shadowObj.style.position = "absolute";
  shadowObj.style.zIndex = 1;
  
  // Set the shadow to be 2 pixels lower, 1 pixel rightwards of the text
  if(window.getComputedStyle)
  {
     shadowObj.style.top = (parseInt(window.getComputedStyle(textObj,null).getPropertyValue("top")) + 2) + "px";
     shadowObj.style.left = (parseInt(window.getComputedStyle(textObj,null).getPropertyValue("left")) + 1) + "px";
  }
  else if(textObj.currentStyle)
  {
     shadowObj.style.top = ((parseInt(textObj.currentStyle.top)) + 2) + "px";
     shadowObj.style.left = ((parseInt(textObj.currentStyle.left)) + 1) + "px";
  }
}


