// JavaScript Document


function gotoPage (url) {
	location.href = url;
}

function newWindow(url,windowname,w,h) {
	LPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TPosition = (screen.height) ? (screen.height-h)/2 : 0;
	properties = '';
	properties += 'width=' + w +',';
	properties += 'height=' + h +',';
	properties += 'left=' + LPosition +',';
	properties += 'top=' + TPosition +',';
	properties += 'scrollbars=yes' +',';
	properties += 'resizable=yes' +',';
	properties = properties.substring(0,properties.length-1);
	newwindow=window.open(url,windowname,properties);
	newwindow.focus();
}

