// Omnibus Utility Methods

/*
* This method will set the background height to the maxH or the client window height or
*the page content height whichever is the largest.
*/
function adjustBkgrd(){
  //set the maxH
  var maxH = 800;
  //get the client window height
  var cHeight = xClientHeight();
  //get the current height of the page content
  var pHeight = xHeight('background_wrapper');
  //alert("max: "+maxH+" window: "+cHeight+" page: "+pHeight);
  //if the client height is greater than 800 set the background height to 800
  if(cHeight >= pHeight){
    xHeight('background_wrapper',cHeight);
  }
}
