<!--

var isIE = false, isN4 = false, isN6 = false, popLeft, popTop;
function init() {
  if (document.all) isIE = true;
  else if (document.layers)  isN4 = true;
  else if (document.getElementById) isN6 = true;
  }
  
function popResize(mWin,width,height) {
  popTop = 0;
  popLeft = 0;
  
  init();
  if (isN4 || isN6) {
    popTop = (mWin.outerHeight - height)/2;
    popLeft = (mWin.outerWidth - width)/2;
    popTop += mWin.screenY;
    popLeft += mWin.screenX;
    }
  if (isIE) {
    popTop = (mWin.document.body.offsetHeight - height)/2;
    popLeft = (mWin.document.body.offsetWidth - width)/2;
    popTop += mWin.screenTop;
    popLeft += mWin.screenLeft;
    }
  }

//-->
