/********************************************************************************************//* Functions																				*//********************************************************************************************/function autoactivate(code) {	document.write(code);}function openDialogBox(url, w, h, scrollbars) {	// Figure top and left (for centering on screen)	t = Math.round((screen.height - h) / 2)-20;	l = Math.round((screen.width - w) / 2);		if (!scrollbars) {		scrollbars='yes';	}		window.open(url, '', 'width=' + w + ', height=' + h + ', top=' + t + ', left=' + l + ', menubar=no, status=no, location=no, toolbar=no, statusbar=no, status=no, scrollbars=' + scrollbars + ', resizable=yes');}function openWindow(url, w, h) {	// Figure top and left (for centering on screen)	t = Math.round((screen.height - h) / 2)-20;	l = Math.round((screen.width - w) / 2);		window.open(url, '', 'width=' + w + ', height=' + h + ', top=' + t + ', left=' + l + ', menubar=yes, status=yes, location=yes, toolbar=yes, statusbar=yes, status=yes, scrollbars=yes, resizable=yes');}/********************************************************************************************//* Navigation																				*//********************************************************************************************/function navOn(id) {	document.getElementById('navtab_'+id).className='tab on';	if (document.getElementById('navmenu_'+id)) {		document.getElementById('navmenu_'+id).className='navmenu on';	}}function navOff(id) {	document.getElementById('navtab_'+id).className='tab';	if (document.getElementById('navmenu_'+id)) {		document.getElementById('navmenu_'+id).className='navmenu';	}}