
 var centerL = new Array(),
     centerWidth = new Array(),
     centerHeight = new Array(),
     centerXofs = new Array(),
     centerYofs = new Array(),
     centerV = false;
   

 function center_content(arg) {
  var n;
  
  for (n = 0; n < centerL.length; n++) 
    centerLayerH(centerL[n], (centerXofs[n] ? centerXofs[n] : 0), null, (centerWidth.length > n) ? centerWidth[n] : null);

  if (arg)  centerV = true;
  
  if (centerV == true)
   for (n = 0; n < centerL.length; n++) 
     centerLayerV(centerL[n], (centerYofs[n] ? centerYofs[n] : 0), null, (centerHeight.length > n) ? centerHeight[n] : null);


  for (n = 0; n < centerL.length; n++)  
    showLayer(centerL[n]);
	
  if(
     ((ie) && (document.all["background"]))
      ||
     ((!ie) && (document.getElementById("background")))
    )
    
   showLayer("background");

 }


  onresize = center_content;
