function comprobar0()
{
validado = true

if (document.formtest0.select1.value=="-1"){validado = false;}
if (document.formtest0.select2.value=="-1"){validado = false;}
if (document.formtest0.select3.value=="-1"){validado = false;}
if (document.formtest0.select4.value=="-1"){validado = false;}
if (document.formtest0.select5.value=="-1"){validado = false;}
if (document.formtest0.select6.value=="-1"){validado = false;}
if (document.formtest0.select7.value=="-1"){validado = false;}
if (document.formtest0.select8.value=="-1"){validado = false;}
if (document.formtest0.select9.value=="-1"){validado = false;}
if (document.formtest0.select10.value=="-1"){validado = false;}

if (validado)
	{
	total = 0
	total = total + parseInt(document.formtest0.select1.value);
	total = total + parseInt(document.formtest0.select2.value);
	total = total + parseInt(document.formtest0.select3.value);
	total = total + parseInt(document.formtest0.select4.value);
	total = total + parseInt(document.formtest0.select5.value);
	total = total + parseInt(document.formtest0.select6.value);
	total = total + parseInt(document.formtest0.select7.value);
	total = total + parseInt(document.formtest0.select8.value);
	total = total + parseInt(document.formtest0.select9.value);
	total = total + parseInt(document.formtest0.select10.value);
				
	if (total <= 10) {document.formtest0.total.value = "Eyaculación prematura severa";}
	else{if ((total > 10) && (total <= 14)) {document.formtest0.total.value = "Eyaculación prematura moderada";}}
	if ((total > 14) && (total <= 15)) {document.formtest0.total.value = "Eyaculación prematura leve";}
	if (total > 15) {document.formtest0.total.value = "No presenta Eyaculación prematura ";}
	
	}
	else
	{document.formtest0.total.value = "";}
}

function comprobar3()
{
validado = true

if (document.formtest1.select1.value=="-1"){validado = false;}
if (document.formtest1.select2.value=="-1"){validado = false;}
if (document.formtest1.select3.value=="-1"){validado = false;}
if (document.formtest1.select4.value=="-1"){validado = false;}
if (document.formtest1.select5.value=="-1"){validado = false;}
if (document.formtest1.select6.value=="-1"){validado = false;}
if (document.formtest1.select7.value=="-1"){validado = false;}
if (document.formtest1.select8.value=="-1"){validado = false;}
if (document.formtest1.select9.value=="-1"){validado = false;}
if (document.formtest1.select10.value=="-1"){validado = false;}
if (document.formtest1.select11.value=="-1"){validado = false;}
if (document.formtest1.select12.value=="-1"){validado = false;}
if (document.formtest1.select13.value=="-1"){validado = false;}
if (document.formtest1.select14.value=="-1"){validado = false;}
if (document.formtest1.select15.value=="-1"){validado = false;}
if (document.formtest1.select16.value=="-1"){validado = false;}
if (document.formtest1.select17.value=="-1"){validado = false;}
//if (document.formtest1.select18.value=="-1"){validado = false;}

if (validado)
	{
	
	total = 0
	total = total + parseInt(document.formtest1.select1.value);
	total = total + parseInt(document.formtest1.select2.value);
	total = total + parseInt(document.formtest1.select3.value);
	total = total + parseInt(document.formtest1.select4.value);
	total = total + parseInt(document.formtest1.select5.value);
	total = total + parseInt(document.formtest1.select6.value);
	total = total + parseInt(document.formtest1.select7.value);	
	total = total + parseInt(document.formtest1.select8.value);
	total = total + parseInt(document.formtest1.select9.value);
	total = total + parseInt(document.formtest1.select10.value);
	total = total + parseInt(document.formtest1.select11.value);
	total = total + parseInt(document.formtest1.select12.value);
	total = total + parseInt(document.formtest1.select13.value);
	total = total + parseInt(document.formtest1.select14.value);
	total = total + parseInt(document.formtest1.select15.value);
	total = total + parseInt(document.formtest1.select16.value);
	total = total + parseInt(document.formtest1.select17.value);
	
	if (total <= 26){document.formtest1.total.value = "Sin sintomatología";activa('aviso');}
	if ((total > 27) && (total <= 36)){document.formtest1.total.value = "Sintomatología LEVE";activa('aviso');}
	if ((total > 37) && (total <= 49)){document.formtest1.total.value = "Sintomatología MODERADA";activa('aviso');}
	if (total > 50){document.formtest1.total.value = "Sintomatología SEVERA";activa('aviso');}
	
	}
	else
	{document.formtest1.total.value = "";}
}