function CenterContent() {

	 var layoutWidth = 639;
         var layoutHeight = 497;
         var bodyWidth, bodyHeight

         if (window.innerWidth) bodyWidth = window.innerWidth;  // NC
 	else if (document.body && document.body.offsetWidth) bodyWidth = document.body.offsetWidth;  // IE
         var leftOffset = (bodyWidth - layoutWidth)/2;

         if (window.innerHeight) bodyHeight = window.innerHeight;  // NC
 	else if (document.body && document.body.offsetHeight) bodyHeight = document.body.offsetHeight;  // IE
         var topOffset = (bodyHeight - layoutHeight)/2;

         var fenst = eval(document.getElementById("LayoutLYR"));
  	  fenst.style.left = leftOffset;
          fenst.style.top = topOffset;
}

