function layoutInit(){
// jrc 08/18/2006
// layoutInit() is used to swap out page layout elements with page specific elements.
// obj: page specific element.
// e:   container of all page layout elements that can be swapped.
  var obj = null;
  var e = document.getElementsByTagName("DIV");
  for (var i = 0; i < e.length; i++){
    if (e[i].value = "_CAN_SWAP"){
      // loop through all page layout elements that can be swapped.
      // get page specific element for current page layout element.
      obj = document.getElementById("_" + e[i].id);
      if (obj){
        // if page specific element exists, swap with current page layout element.
        e[i].innerHTML = obj.innerHTML;
      }
    }
  }
  // set contents visibility.
  // don't know if i like this yet (in case of errors), but i want to minimize display of page building...
  // is it possible to capture all errors and make contents visible on capture?
  // contents visibility is initially set to hidden.
  setVisibility('contents', 'visible');
  if (window.location.hash){
    // set URL of linked resource to href property that follows the hash sign (#).
    // this is to jump to an anchor if necessary.
    document.location.href = window.location.hash; 
  }
}
