function showWaitIndicator(show, hide){      
    var objShow = FIND(show);
    objShow.style.display = "block";    
    var objHide = FIND(hide);
    objHide.style.display = "none"; 
    
    document.getElementById("body").style.backgroundColor = "#208dec";
  
}


//01/24/07 SDA & TW - showLayers function (script needed for pop-over) 
/*Params:
action (required, string) - 'open' or 'close'
layersA (required, string) - comma-delimited  list of layer IDs you want to perform the action on
layersB (required, but can be '', string) - comma-delimited  list of layer IDs you want to perform the opposite of the action on
reCall (optional, string) - 'yes' or 'no' makes an opened layer self-closing
secs (optional, integer) - number of seconds until layer self-closes
*/
function showLayers(action,layersA,layersB,reCall,secs){
 var splitLayersA = layersA.split(",");
 var splitLayersB = layersB.split(",");
 
 if(action == 'close'){  
  for(n=0; n<splitLayersA.length; n++){
   document.getElementById(splitLayersA[n]).style.display = "none";
  }
  if (splitLayersB != ''){
   for(m=0; m<splitLayersB.length; m++){ 
    document.getElementById(splitLayersB[m]).style.display = "block";
   }
  }   
 }else{  
  for(n=0; n<splitLayersA.length; n++){
   document.getElementById(splitLayersA[n]).style.display = "block";
  }
  if (splitLayersB != ''){
   for(m=0; m<splitLayersB.length; m++){ 
    document.getElementById(splitLayersB[m]).style.display = "none";
   }
  } 
  if(reCall == 'yes'){      
   setTimeout(function() { showLayers('close',layersA,layersB) }, secs * 1000);
  } 
 } 
}
//end 01/24/07 SDA & TW - showLayers function
