// this variable names the current window (for using the popUp as a remote)
window.name = "currentWindow";
// this function opens the pop-up window
var newWin;
function popUp(page, name, details) {
	newWin=window.open(page, name, details);
	newWin.focus();
	return false;
}

// print the page:
function printPage() {
	window.print();  
}
