// JScript File
        function CheckValue()
        {   
            var txt_Name=document.getElementById('txt_Name');
            var txt_Email=document.getElementById('txt_Email');
            var strError=document.getElementById('lbl_mandotary');
            
            if(fnValidateInput(txt_Name,"getlen") == 0)
            {
                   alert('Name should not left blank !!');
                    if (txt_Name.disabled==false)
                    {
                        txt_Name.focus();
                    }    
                    return false;
            } 
           else if(txt_Name.value == "Your Name")
            {
                     alert('Name should not left blank !!');
                     if (txt_Name.disabled==false)
                     {
                        txt_Name.focus();
                     }    
                     return false;  
            }
//           else if(!fnValidateInput(txt_Name,"alnum_s"))
//            {
//                     alert('Special Characters are not allowed for Name !!');
//                     if (txt_Name.disabled==false)
//                     {
//                        txt_Name.focus();
//                     }    
//                     return false;  
//            }
            
            if(fnValidateInput(txt_Email,"getlen") == 0)
            {
               alert('Email ID should not left blank !!');
                if (txt_Email.disabled==false)
                {
                    txt_Email.focus();
                }    
                return false;
            }
            else if(txt_Email.value == "Email ID")
            {
                     alert('Email ID should not left blank !!');
                     if (txt_Email.disabled==false)
                     {
                        txt_Email.focus();
                     }    
                     return false;  
            }
            else if (!(txt_Email.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1))
            {
                alert("Please enter valid Email ID !!");
                if(txt_Email.disabled==false)
                {
                    txt_Email.focus();   
                }
                return false; 
            } 
            return true;
    } // function CheckValue()
