<!--//
function newwin(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';
win = window.open(mypage, myname, winprops);
}

var popUp = null;

function openPage(strURL) {
  var width = 800;
  var height = 600;
  var left = screen.width/2 - width/2;
  var top = screen.height/2 - height/2;

  if((left < 0) || (top < 0)){
    width = screen.width;
    height = screen.height;
    left = 0;
    top = 0;
  }
  if ( ( popUp == null ) || popUp.closed )   {
    popUp = open( strURL, "popUp", "width="+width+",height="+height+",left="+left+",top="+top+",toolbar=no,scrollbars=no,resizable=yes,status=yes");
  }
  else   {
    popUp.location = strURL;
    popUp.focus();
  }

 if (popUp.opener == null) { // for Nav 2.0x
    popUp.opener = self // this creates and sets a new property
 }
}
//-->
