function Check_Form_Validator(theform)
{
if (theform.orderNum.value=="")
{
alert('please input the order NO.');
theform.orderNum.focus();
return false;
}
if (theform.orderNum.value.length < 6)
{
alert('order number should input 6 figures!');
theform.orderNum.focus();
return (false);
}

var filter=/^[0-9]{6}$/
if (filter.test(theform.orderNum.value)==0){
alert('please fill the legal OrderNo.just 6 figures');
theform.orderNum.focus();
return false;
}

if (theform.money.value=="") {
alert('please fill the Amount!');
theform.money.focus();
return false;
}

var filter=/^[0-9]{1,8}$/
if (filter.test(theform.money.value)==0){
alert('please input money with an integer!');
theform.money.focus();
return false;
}

}
