// JavaScript Document

var infoWindow = null;

function newWin(pageName) {
	closeWin();

	if (screen) {
		leftPos = screen.width - 535;
	}
	else {
		leftPos = 0;
	}

	infoWindow = window.open(pageName,"Information","width=525,height=410,location=no,toolbar=no,menubar=yes,status=no,scrollbars=yes,resizable=yes,left="+leftPos+",top=30");
	infoWindow.focus();
}

function closeWin() {
	if (infoWindow && !infoWindow.closed) {
		infoWindow.close();
	}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
