
// This function replaces target="_blank".  Usage:
//	<a href="targetpage.htm" onclick="OpenNewWindow(this);return false;">click here for new window</a>
function OpenNewWindow(url) {
	// Extract url file name, without the path and without the dot-suffix, from the end of the url
	target = url.toString().split('/').pop().split('.')[0];
	var newWindow = window.open(url,target,'height=600,resizable,scrollbars,status,width=550;');
	newWindow.focus();
}
