function nav_goTo( url ) {
	window.location.href = url;
}

function nav_newWin( url ) {
	window.open(url)
}

function navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#E1F1FA';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#ffffff';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
				}
		}
	}
}

function navBarClick( tableCellRef, navStyle, url ) {
	navBar( tableCellRef, 0, navStyle );
	nav_goTo( url );
}

function popUp1(url_string) {
	props=window.open(url_string, 'poppage1', 'toolbar=no,scrollbars=yes,location=no,status=no,menubars=no,resizable=yes,width=700,height=700,left=200,top=100');
}

function popUp2(url_string) {
	props=window.open(url_string, 'poppage2', 'toolbar=no,scrollbars=yes,location=no,status=no,menubars=no,resizable=yes,width=380,height=500,left=200,top=100');
}

function popUp3( url ) {
	window.open(url,'poppage3', 'toolbar=yes,scrollbars=yes,location=yes,status=yes,menubars=no,resizable=yes,width=700,height=600,left=200,top=100');
}

function popUp4( url ) {
	window.open(url,'poppage3', 'toolbar=yes,scrollbars=yes,location=yes,status=yes,menubars=yes,resizable=yes,width=620,height=650,left=200,top=0');
}

function popUpSized(url_string, w_width, w_height) {
	props=window.open(url_string, 'poppage2', 'toolbar=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=yes,width=' + w_width + ',height=' + w_height + ',left=200,top=100');
}

function popUpSizedNS(url_string, w_width, w_height) {
	props=window.open(url_string, 'poppage2', 'toolbar=no,scrollbars=no,location=no,statusbars=no,menubars=no,resizable=yes,width=' + w_width + ',height=' + w_height + ',left=200,top=100');
}
