// Allow W3C DOM Compliant browsers (and IE)
if( !document.getElementById ) window.location = '/sysReq.html';


// Misc. shared functions ***

function go_url(id) {
	window.location = id;
}

function read(id) {
	window_open('/reader/' + id, '', 'width=925, height=750');
}

function window_open(open_url) {
	// Try to pop open a new window and complain if it's blocked
	var foc = window.open(open_url, arguments[1] ? arguments[1] : '', arguments[2] ? arguments[2] : '');
	if( foc ) foc.focus();
	else alert("Your browser has blocked your request.\nPlease enable popup windows for this site.");
}