<!--Hide
// Javascript Library for PopUp windows


var Version="1.0"

function OpenPopup(name, url, width, height, opts)
{
//open a window (if required) and change the url (if required)
var dimensions=""
var newwindow

//if width and height are 0 then ignore

	if ((width > 0) && (height > 0)) { dimensions = "width=" + width + ",height=" + height + ","}

//get a handle to an existing window or create new one. note the '' url

	if ((dimensions = dimensions + opts) == ""){
		newwindow = window.open('', name)
	}else{
		newwindow = window.open('', name,  dimensions + opts)
	}

	//give the new window the focus, make the app seem more responsive!
	newwindow.focus()

	//only change the url if required
//	if (newwindow.location != url){newwindow.location = url}
	newwindow.location = url
}

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);

//-->
