function formCheck(formobj){



	//2) Enter field description to appear in the dialog box



	var fieldDescription = Array("CONGRATULATIONS!! You're doing well financially!!!\n\nOur additional tips will significantly help you do better and double your returns.\n\nContact us to know how by clicking on 'Contact Us' and fill the enquiry form.", "WEAK BUT ON THE RIGHT TRACK!!!\nSignificant improvement required.\n\nContact us at First Stockbrokers Limited for assistance. Click on 'Contact Us and fill the enquiry form.'", "                 VERY WEAK PULSE!!!  \n\nURGENT REMEDIAL ACTION REQUIRED!!!.\n\nKINDLY CONTACT OUR EXPERTS FOR ADVISE ON HOW TO MAKE YOUR\nFINANCIAL FUTURE SECURE.\n\nWE WILL BE VERY GLAD TO ASSIST.\n\nClick on 'Contact Us' and fill the enquiry form.");



	//3) Enter dialog message



	var alertMsg = "ATTENTION\n\n\n";



       //4) Count how many option picked




       var yyescount = 0;



       var nnocount = 0;



       var dontnocount = 0;



	var l_Msg = alertMsg.length;



       var p = 0;







/*



       var i = 4;




       alert(formobj.nno4.checked);
       alert(formobj.elements.length);
       alert(formobj.elements[i].name);
        alert(formobj.elements[i].value);
       alert(formobj.elements[i].value == "nno"+i);
       if (formobj.elements[4].checked == true){alert("TRU");}
       alert(formobj.nno1.checked == true);
       return true;
}
*/

       for (var i = 0; i < formobj.elements.length; i++){
          // let us run thru the elements to fish the "NO" elements

          for (p = 0;  p < formobj.elements.length; p++){
             if (formobj.elements[i].value == "nno"+p){
                // now let us see if they were checked
                if (formobj.elements[i].checked == true){
                   // then increament count
                   nnocount++
                }
             }
          }
          // let us run thru the elements to fish the "I DON'T KNOW" elements
          for (p = 0;  p < formobj.elements.length; p++){
             if (formobj.elements[i].value == "dontno"+p){
                // now let us see if they were checked
                if (formobj.elements[i].checked == true){
                   // then increament count
                   dontnocount++
                }
             }
          }
       } 

       // we crosscheck for the various limits
       if (nnocount > 10 || dontnocount > 10){                 // immediate & urgent attention needed
          alert(fieldDescription[2]);}
       else if (nnocount > 4 || dontnocount > 4){           // fairly ok but attention still needed
          alert(alertMsg + fieldDescription[1]);}
       else if (nnocount < 5 || dontnocount < 5){                                  // in perfec shape
          alert(alertMsg + fieldDescription[0]);
       }
       return true;
}