<!-- 

  function OpenNewWindow(url, newWinWidth, newWinHeight, offset, scrollbars) {

    parentWinLeft = window.screenLeft;
    parentWinTop = window.screenLeft;

    newWinLeft = parentWinLeft + ((winW() - newWinWidth) / 2 - offset); 
    newWinTop = parentWinTop + ((winH() - newWinHeight) / 2 - offset); 

    NewWindow = window.open('' + url + '','myWindow','width=' + newWinWidth + ',height=' + newWinHeight + ',left=' + newWinLeft + ',top=' + newWinTop + ',toolbar=No,location=No,' + scrollbars + ',status=No,resizable=No,fullscreen=No');
    
    NewWindow.focus();
}


  function winH() {
    if (window.innerHeight) return window.innerHeight;
    else if (document.documentElement && document.documentElement.clientHeight)
      return document.documentElement.clientHeight;
    else if (document.body && document.body.clientHeight)
      return document.body.clientHeight;
    else return null;
  }

  function winW() {
    if (window.innerWidth) return window.innerWidth;
    else if (document.documentElement && document.documentElement.clientWidth)
      return document.documentElement.clientWidth;
    else if (document.body && document.body.clientWidth)
      return document.body.clientWidth;
    else return null;
  }

// -->
