function chkForm(a){this.form=a}chkForm.prototype.setAction=function(a){this.form.action=a};chkForm.prototype.setTarget=function(a){this.form.target=a};chkForm.prototype.alert_isNull=function(b,a){var c=this.getFormValue(b);if(this.isNull(c)){alert(a);this.focus(b);return true}return false};chkForm.prototype.alert_isNotRoman=function(b,a){var c=this.getFormValue(b);if(this.isNotRoman(c)){alert(a);this.focus(b);return true}return false};chkForm.prototype.alert_isNotIdPass=function(b,a){var c=this.getFormValue(b);if(this.isNotIdPass(c)){alert(a);this.focus(b);return true}return false};chkForm.prototype.alert_isNotNumber=function(b,a){var c=this.getFormValue(b);if(this.isNotNum(c)){alert(a);this.focus(b);return true}return false};chkForm.prototype.alert_isNotEmail=function(b,a){var c=this.getFormValue(b);if(this.isNotEmail(c)){alert(a);this.focus(b);return true}return false};chkForm.prototype.getFormValue=function(a){return this.formValue(a)};chkForm.prototype.formValue=function(a){return jlib.getFormValue(this.form,a)};chkForm.prototype.param=function(a){return this.formValue(a)};chkForm.prototype.formValueRadio=function(b){for(var a=0;a<this.form.elements[b].length;a++){if(this.form.elements[b][a].checked){return this.form.elements[b][a].value}}return""};chkForm.prototype.formValueCheckBox=function(c){var b="";if(this.form.elements[c]){if(this.form.elements[c].length){for(var a=0;a<this.form.elements[c].length;a++){if(this.form.elements[c][a].checked){b+=this.form.elements[c][a].value}}}else{if(this.form.elements[c].checked){b=this.form.elements[c].value}}}return b};chkForm.prototype.boolTickCheckBox=function(a){return this.formValueCheckBox(a)};chkForm.prototype.boolNotTickCheckBox=function(a){return revBool(this.boolTickCheckBox(a))};chkForm.prototype.formValueCheckBoxList=function(c){var b=new Array();if(this.form.elements[c]){if(this.form.elements[c].length){for(var a=0;a<this.form.elements[c].length;a++){if(this.form.elements[c][a].checked){b.push(this.form.elements[c][a].value)}}}else{if(this.form.elements[c].checked){b.push(this.form.elements[c].value)}}}return b};chkForm.prototype.formValueSelect=function(b){var a=this.form.elements[b].selectedIndex;return this.form.elements[b].options[a].value};chkForm.prototype.changeValueStrToInt=function(a){jlib.setFormValue(this.form,a,strToInt(this.formValue(a)))};chkForm.prototype.focus=function(a){if(this.form.elements[a]){this.form.elements[a].focus()}};chkForm.prototype.isNull=function(a){return isNull(a)};chkForm.prototype.isNotNull=function(a){return isNotNull(a)};chkForm.prototype.isIdPass=function(a){return isIdPass(a)};chkForm.prototype.isNotIdPass=function(a){return isNotIdPass(a)};chkForm.prototype.isRoman=function(a){return isRoman(a)};chkForm.prototype.isNotRoman=function(a){return isNotRoman(a)};chkForm.prototype.isNum=function(a){return isNum(a)};chkForm.prototype.isNotNum=function(a){return isNotNum(a)};chkForm.prototype.isEmail=function(a){return isEmail(a)};chkForm.prototype.isNotEmail=function(a){return isNotEmail(a)};chkForm.prototype.revBool=function(a){return revBool(a)};chkForm.prototype.delSpaceTab=function(a){return delSpaceTab(a)};chkForm.prototype.StrToInt=function(a){return strToInt(a)};chkForm.prototype.strLen=function(a){return strLen(a)};chkForm.prototype.setFormValue=function(b,c,a){jlib.setFormValue(b,c,a)};function changeShowFormDiv(b,a,d){var c=jlib.getFormObj(b);if(c){if(jlib.boolTickCheckBox(c,a)){showDivBlock(xGetElementById(d))}else{hideDivBlock(xGetElementById(d))}}};
