<!--

function openWindow(file, width, height) {
	var left;
	var top;
	left = (screen.availWidth - width) / 2;
	top = (screen.availHeight - height) / 2;
	window.open(file, '', 'top=' + top + ' , left=' + left + ' , width=' + width + ' , height=' + height + ' , scrollbars=no');
}

function openToolbarWindow(file, width, height) {
	var left;
	var top;
	left = (screen.availWidth - width) / 2;
	top = (screen.availHeight - height) / 2;
	window.open(file, '', 'top=' + top + ', left=' + left + ', width=' + width + ', height=' + height + ', resizable=yes, menubar=yes, toolbar=yes, scrollbars=yes');
}

function openHiddenWindow(file) {
	var left;
	var top;
	var newWindow;
	left = (screen.availWidth - 1) / 2 + 2000;
	top = (screen.availHeight - 1) / 2 + 2000;
	newWindow = window.open(file, '', 'top=' + top + ' , left=' + left + ' , width=' + 1 + ' , height=' + 1 + ' , scrollbars=no');
	newWindow.blur();
}

function quickLink() {
	var quickLink;
	var address;
	quickLink = getObject('QuickLink');
	address = quickLink.options[quickLink.selectedIndex].value;
	if ( address != '#' ) {
		window.location = address;
	}
}

function getObject(name) {
	var object;	
	if (document.getElementById) {
		object = document.getElementById(name);
	}
	else if (document.all) {
		object = document.all[name];
	}
	else if (document.layers) {
		object = document.layers[name];
	}
	return object;
}	

//-->