// JavaScript Document
if (window.name == 'viewer') {
//document.write ('<link rel="stylesheet" href="/styles/popup.css" type="text/css">');
}
// Create a void function
function myVoid() { }
// Define variables
var myWind
// Set up the specs for the Glossary viewing window
// This will simplify linking to the Glossary in the HTML code
function doGlossary(page) {
//doNew(page,'viewer',220,400,0,'yes');
}
// Full Pop-up Code
function doNew(page, name, wheight, wwidth, menu, scroll) {
if (!myWind || myWind.closed) {
myWind = window.open(page,name,"height="+wheight+",width="+wwidth+",menubar="+menu+",scrollbars="+scroll+",location=0"),
myWind.focus();
} else{
// bring existing window to the front
myWind = window.open(page,name,"height="+wheight+",width="+wwidth+",menubar="+menu+","+scroll+",location=0"),
myWind.focus();
}
}
// Name the parent window when launching the pop-up
function doName() { 
window.name='main';
}