// popup.js -- Popup Window Function

window.name="topdog"; // Set window name so popup can refer back to it

// Generic Popup Window opener -- same as for figures and tables popups

function popup(fname,wname,wwidth,wheight,scroll) {

	var winl = (screen.width - wwidth) / 1.3;
	var wint = (screen.height - wheight) / 2;

	var newwin = window.open("",wname,"toolbar=no,directories=no,menubar=no,scrollbars=no,width=" + wwidth + ",height=" + wheight + ",left=" + winl + ",top=" + wint + ",resizable=no");
	newwin.location = fname;
	newwin.focus();
	return;

}

