/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


function validateForm(oForm)
 {

 	oForm.onsubmit = function()
 	{




                    if (oForm.elements['msisdn'].value!=0 ){

                        if(oForm.elements['msisdn'].value.length<8 || oForm.elements['msisdn'].value.length>11  ){
                                if (oForm.elements['msisdn'].value()<60000000 ){
                                alert("Wrong mobile number!");
                                return false;
                                        }
                                else {
                                    
                                    return true;
                                }
                        }
                        else {
                                return true;
                        }
                    }
                    else {

                           alert("Enter the mobile number.");
                           return false;
                }

                }




        }
