function centre_page() {
var winW = 630, winH = 460, pageW = 950, Lmarg = 0;
if (parseInt(navigator.appVersion)>3) {
 if (navigator.appName=="Netscape") {
  winW = window.innerWidth;
  winH = window.innerHeight;
  if (winW > pageW){
  Lmarg = Math.round((winW - pageW)/2);
  }
 }
 if (navigator.appName.indexOf("Microsoft")!=-1) {
  winW = document.body.offsetWidth;
  winH = document.body.offsetHeight;
  if (winW > pageW){
  Lmarg = Math.round((winW - pageW)/2);
  }
  document.getElementById('content').style.height = (document.body.clientHeight - 203 + "px");
  document.getElementById('buttons').style.height = (document.body.clientHeight - 203 + "px");
  document.getElementById('content').style.width = 782 +"px";
  document.getElementById('content').style.left = -2 +"px";
  document.getElementById('footerborder').style.top = (document.body.clientHeight - 82 + "px");
  document.getElementById('footer').style.top = (document.body.clientHeight - 69 + "px");
  document.getElementById('footer').style.width = 930 +"px";
  document.getElementById('maindiv').style.left = Lmarg +"px";
 }
}
if (winW > pageW){
Lmarg = Math.round((winW - pageW)/2);
}
}
