function validateFormAdd(tForm){
                               
         if (tForm.nama.value == ''){
             alert('Mohon isi "Nama Lengkap anda"');
             tForm.nama.focus();
             return false;
         }
                  
         eEmail = tForm.email.value
         filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
         if (tForm.email.value != ''){
             if (!filter.test(eEmail)){
                 alert('Mohon isi alamat e-mail dengan valid, seperti: name@domain.com');
                 tForm.email.focus();
                 return false;
             }
         }        
         
         theurl = tForm.homepage.value;
         tomatch= /http:\/\/[A-Za-z0-9\.-]{3,}\.[A-Za-z]{3}/
         if (theurl != ''){
             if (!tomatch.test(theurl)){
                 alert('Mohon isi alamat url dengan valid seperti: http://www.myurl.com');
                 tForm.homepage.focus();
                 return false;
             }
         }
         
         if (tForm.komentar.value == ''){
             alert('Mohon isi "komentar anda"');
             tForm.komentar.focus();
             return false;
         }
         
         
         return true;
}

