var newwin;

function newWindow(url){
	newwin=window.open(url,'name','height=550, width=550,resizable=1, scrollbars=1, left=25, top=25');
	if (window.focus) {newwin.focus()}
}

function newWindowsml(url){
	newwin=window.open(url,'name','height=550, width=550,resizable=1, scrollbars=1, left=25, top=25');
	if (window.focus) {newwin.focus()}
}

function life2vis(choice,id){
	if(document.getElementById){ // DOM3 = IE5, NS6
		if(document.getElementById(choice).value == 'J')
			document.getElementById(id).style.display = 'block';
		else
			document.getElementById(id).style.display = 'none';
	}
	else{
		if(document.layers){ // Netscape 4
			if(document.choice.value == 'J')
				document.id.display = 'block';
			else
				document.id.display = 'none';
		}
		else{ // IE 4
			if(document.all.choice.value == 'J')
				document.all.id.style.display = 'block';
			else
				document.all.id.style.display = 'none';
		}
	}
}