// JavaScript library: default.js
// $Id$
// copyright 2001 Oldberg Consulting (www.oldberg.com)

// open new window without scrollbars
function openwin(link, xx, yy) {
	return openwin(link, xx, yy, 0);
}

// open new window with scrollbars
function openwin(link, xx, yy, sbar) {
	var args = "toolbar=0, height="+ yy +", width="+ xx +", resizable=yes, scrollbars="+ sbar +", dependent";
	var out = window.open(link.href, "Info", args);
	out.window.focus();
	return false;
}

// close window
function closewin(obj) {
	obj.close();
	return false;
}
