function processForm(){

var total=0;

if (document.forms[0].elements[0].checked){
    total++;
  }
if (document.forms[0].elements[1].checked){
    total++;
    total++;
  }
if (document.forms[0].elements[2].checked){
    total++;
    total++;
    total++;
  }
if (document.forms[0].elements[3].checked){
    total++;
    total++;
    total++;
	total++;
  }

if (document.forms[1].elements[0].checked){
    total++;
  }
if (document.forms[1].elements[1].checked){
    total++;
    total++;
  }
if (document.forms[1].elements[2].checked){
    total++;
    total++;
    total++;
  }
 if (document.forms[1].elements[3].checked){
    total++;
    total++;
    total++;
	total++;
  }


if (document.forms[2].elements[0].checked){
    total++;
  }
if (document.forms[2].elements[1].checked){
    total++;
    total++;
  }
if (document.forms[2].elements[2].checked){
    total++;
    total++;
    total++;
  }
if (document.forms[2].elements[3].checked){
    total++;
    total++;
    total++;
	total++;
  }

if (document.forms[3].elements[0].checked){
    total++;
  }
if (document.forms[3].elements[1].checked){
    total++;
    total++;
  }
if (document.forms[3].elements[2].checked){
    total++;
    total++;
    total++;
  }
if (document.forms[3].elements[3].checked){
    total++;
    total++;
    total++;
	total++;
  }

if (document.forms[4].elements[0].checked){
    total++;
  }
if (document.forms[4].elements[1].checked){
    total++;
    total++;
  }
if (document.forms[4].elements[2].checked){
    total++;
    total++;
    total++;
  }
if (document.forms[4].elements[3].checked){
    total++;
    total++;
    total++;
	total++;
  }
if(total<5)
{
alert('Please answer all the questions.' );
}
if((total<=10) && (total>=5))
{
alert('Exercising regularly will help you to keep yourself fit. \nYoga can also be of great help to you. \nCheck out our Fitness and Yoga section for more \nguidelines on this topic. ' );
}

if((total<=15) && (total>10))
{
alert('Undertaking a Detox programme will help you cleanse your body \nof toxins and restore the balance within your body. Regular \nexercise for fitness will surely aid in maintaining healthy body. \nThe Fitness and Detox sections will help you with what you need.');
}

if((total<=20) && (total>15))
{
alert('Meditation will be of great help in maintaining peace \nand harmony of the mind. Practice of Yoga will also help \nyou in curing common health complaints. \nCheck out the Yoga and Meditation sections for more \ninformation on getting started.' );}

}

