function ValidateForm1(theForm)
{
if (theForm.Editbox1.value == "")
{
   alert("Please enter a value for the \"USERNAME\" field.");
   theForm.Editbox1.focus();
   return false;
}
if (theForm.Editbox2.value == "")
{
   alert("Please enter a value for the \"PASSWORD\" field.");
   theForm.Editbox2.focus();
   return false;
}
if (theForm.Editbox2.value.length < 6)
{
   alert("Please enter at least 6 characters in the \"PASSWORD\" field.");
   theForm.Editbox2.focus();
   return false;
}
if (theForm.Editbox3.value == "")
{
   alert("Please enter a value for the \"NAMA di REK BCA\" field.");
   theForm.Editbox3.focus();
   return false;
}
if (theForm.Editbox3.value.length < 3)
{
   alert("Please enter at least 3 characters in the \"NAMA di REK BCA\" field.");
   theForm.Editbox3.focus();
   return false;
}
var strFilter = /^[-+]?\d*\.?\d*$/;
var chkVal = theForm.Editbox4.value;
if (!strFilter.test(chkVal))
{
   alert("Please enter only digit characters in the \"NO REK BCA\" field.");
   theForm.Editbox4.focus();
   return false;
}
if (theForm.Editbox4.value == "")
{
   alert("Please enter a value for the \"NO REK BCA\" field.");
   theForm.Editbox4.focus();
   return false;
}
if (theForm.Editbox4.value.length < 10)
{
   alert("Please enter at least 10 characters in the \"NO REK BCA\" field.");
   theForm.Editbox4.focus();
   return false;
}
if (theForm.Editbox5.value == "")
{
   alert("Please enter a value for the \"NO HP GSM\" field.");
   theForm.Editbox5.focus();
   return false;
}
if (theForm.Editbox5.value.length < 6)
{
   alert("Please enter at least 6 characters in the \"NO HP GSM\" field.");
   theForm.Editbox5.focus();
   return false;
}
if (theForm.Combobox1.selectedIndex < 0)
{
   alert("Please select one of the \"GAMES\" options.");
   theForm.Combobox1.focus();
   return false;
}
if (theForm.Combobox1.selectedIndex == 0)
{
   alert("Pilih Salah Satu Permainan ( TANGKASNET, MMTANGKAS, 88TANGKAS, 368MM. )");
   theForm.Combobox1.focus();
   return false;
}
return true;
}

