function diagnose(){
var rx = document.getElementById('rx');
var msg = "";
var chkd=false;
for( i=0; i<document.diag.elements.length ; i++ )
{
	if( document.diag.elements[i].checked )
	{
		chkd=true;
		i=document.diag.elements.length
	}
}
if( chkd )
{
	rx. innerHTML = "Your symptoms indicate that you are suffering from a for-profit health care system that favors corporate profit over individuals.<br /><p><center><font size='+1'><b>Prescription</b>: <font color='green'>Single Payer Health Care.</font></font></center></p><br /><p><div style='float:right;margin-right:10px;'><a href=\"javascript:doHide('rx');\" style='padding:1px 7px 1px 7px;background:#ddd; border:1px solid #333;'>Close</a></div>";
	rx.style.display='block';
}
else
{
	rx. innerHTML = "You haven't checked any symptoms.<br /><br />Either this is an oversight, or you may be one of the few fortunate Americans who is not presently suffering directly from our health care system. Aren't you lucky!<br /><br />Unfortunately, you probably won't have to look very far in your circle of family, friends, and acquaintances to find several people who <b>are</b> affected.<br /><br />For them, and all of America in the long run, the best prescription is:<p><center><font color='green' size='+1'>Single Payer Health Care.</font></center></p><br /><p><div style='float:right;margin-right:10px;'><a href=\"javascript:doHide('rx');\" style='padding:1px 7px 1px 7px;background:#ddd; border:1px solid #333;'>Close</a></div>";
	rx.style.display='block';
}
}

function doHide(el)
{
	document.getElementById(el).style.display = "none";	
}
