//####### 2003 Copyright The Credo Group
//####### Why are you looking at this code fool?
//####### Phear the Skillz, ya know what im sayin?

// Show or Hide a Div
function displayDiv(the_div,the_action){
   var the_style = getStyleObjectByID(the_div);
   if (the_style != false){
      the_style.display = the_action;
   }else{
      return false;
   }
}

// Get Style Object By Id
function getStyleObjectByID(objectId){
   if (document.getElementById && document.getElementById(objectId)){   
      return document.getElementById(objectId).style;
   }else if (document.all && document.all(objectId)){
      return document.all(objectId).style;
   }else if (document.layers && document.layers[objectId]){
      return document.layers[objectId];
   }else{
      return false;
   }
}