<!--

// Create a void function
function myVoid() { }

// Define variables
var myWind;

// If reusing a standard configuration use intermediary function
// to minimise duplication
function doGlossary(page) {
	doNew(page,'viewer',340,430,0,'auto');
	}

// Full Pop-up Code
function doNew(page, name, wwidth, wheight, menu, scroll) {
	doName(); // Give the parent window a name
	if (!myWind || myWind.closed) {
		myWind = window.open(page,name,"width="+wwidth+",height="+wheight+",menubar="+menu+",scrollbars="+scroll+",location=0"),
		myWind.focus();
	} else {
		// bring existing window to the front
	 myWind = window.open(page,name,"width="+wwidth+",height="+wheight+",menubar="+menu+",scrollbars="+scroll+",location=0"),
	 myWind.focus();
	}
}

function doName() { // Name the window that triggered th popup
	window.name='main';
	}

// -->

