/* Form Validation */ function FV() {} FV.prototype = { YD: YAHOO.util.Dom, YE: YAHOO.util.Event, YA: YAHOO.util.Anim, YC: YAHOO.util.Connect, strength: -1, uidcount: 0, uids: {}, codes: { txt_1193: 'Please enter the required details', txt_1194: 'Please enter the required details', txt_1195: 'Please enter the required details', txt_1196: 'Please enter the required details', txt_1197: 'Please enter the required details', txt_1198: 'Please enter the required details', txt_1199: 'Please enter the required details', txt_1200: 'Please enter the required details', men_1202: 'Please select your gender', txt_1205: 'Please enter the required details', men_1203: '', txt_1207: 'Please enter the required details', txt_1178: 'Please enter the required details', txt_1179: 'Please enter the required details', txt_1180: 'Please enter the required details', txt_1181: 'Please enter the required details', txt_1182: 'Please enter the required details', txt_1183: 'Please enter the required details', txt_1184: 'Please enter the required details', txt_1185: 'Please enter the required details', men_1187: 'Please select your gender', txt_1192: 'Please enter the required details', men_1188: '', men_1190: 'Please enter the required details', men_1177: 'Please enter the required details', men_1170: 'Please enter the required details', men_1171: 'Please enter the required details', men_1153: 'Please enter the required details', men_1169: 'Please enter the required details', men_1154: 'Please enter the required details', men_1155: 'Please enter the required details', men_1156: 'Please enter the required details', men_1157: 'Please enter the required details', men_1158: 'Please enter the required details', men_1159: 'Please enter the required details', txt_1139: 'Please enter the required details', txt_1140: 'Please enter the required details', men_1138: 'Please enter the required details', men_1137: 'Please enter the required details', men_1136: 'Please enter the required details', men_1135: 'Please enter the required details', men_1134: 'Please enter the required details', men_1208: 'Please enter the required details', men_1133: 'Please enter the required details', men_1132: 'Please enter the required details', men_1131: 'Please enter the required details', men_1209: 'Please enter the required details', men_1130: 'Please enter the required details', men_1210: 'Please enter the required details', men_1129: 'Please enter the required details', txt_1124: 'Please enter the required details', txt_1126: 'Please enter the required details', txt_1127: 'Please enter the required details'}, init: function() { this.YE.on(this.YD.get('txt_1193'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1193', this.value, 'txt_1193'), 'txt_1193', FV.codes.txt_1193,'textinput'); } }); this.YE.on(this.YD.get('txt_1194'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1194', this.value, 'txt_1194'), 'txt_1194', FV.codes.txt_1194,'textinput'); } }); this.YE.on(this.YD.get('txt_1195'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1195', this.value, 'txt_1195'), 'txt_1195', FV.codes.txt_1195,'textinput'); } }); this.YE.on(this.YD.get('txt_1196'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1196', this.value, 'txt_1196'), 'txt_1196', FV.codes.txt_1196,'textinput'); } }); this.YE.on(this.YD.get('txt_1197'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1197', this.value, 'txt_1197'), 'txt_1197', FV.codes.txt_1197,'textinput'); } }); this.YE.on(this.YD.get('txt_1198'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1198', this.value, 'txt_1198'), 'txt_1198', FV.codes.txt_1198,'textinput'); } }); this.YE.on(this.YD.get('txt_1199'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1199', this.value, 'txt_1199'), 'txt_1199', FV.codes.txt_1199,'textinput'); } }); this.YE.on(this.YD.get('txt_1200'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1200', this.value, 'txt_1200'), 'txt_1200', FV.codes.txt_1200,'textinput'); } }); this.YE.on(this.YD.get('men_1202'), 'change', function() { FV.validate('men_1202', this.options.selectedIndex, 'men_1202', true); }); this.YE.on(this.YD.get('men_1202'), 'blur', function() { FV.validate('men_1202', this.options.selectedIndex, 'men_1202', true); }); this.YE.on(this.YD.get('txt_1205'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1205', this.value, 'txt_1205'), 'txt_1205', FV.codes.txt_1205,'textinput'); } }); this.YE.on(this.YD.get('men_1203'), 'change', function() { FV.validate('men_1203', this.options.selectedIndex, 'men_1203', true); }); this.YE.on(this.YD.get('men_1203'), 'blur', function() { FV.validate('men_1203', this.options.selectedIndex, 'men_1203', true); }); this.YE.on(this.YD.get('txt_1207'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1207', this.value, 'txt_1207'), 'txt_1207', FV.codes.txt_1207,'textinput'); } }); this.YE.on(this.YD.get('txt_1178'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1178', this.value, 'txt_1178'), 'txt_1178', FV.codes.txt_1178,'textinput'); } }); this.YE.on(this.YD.get('txt_1179'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1179', this.value, 'txt_1179'), 'txt_1179', FV.codes.txt_1179,'textinput'); } }); this.YE.on(this.YD.get('txt_1180'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1180', this.value, 'txt_1180'), 'txt_1180', FV.codes.txt_1180,'textinput'); } }); this.YE.on(this.YD.get('txt_1181'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1181', this.value, 'txt_1181'), 'txt_1181', FV.codes.txt_1181,'textinput'); } }); this.YE.on(this.YD.get('txt_1182'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1182', this.value, 'txt_1182'), 'txt_1182', FV.codes.txt_1182,'textinput'); } }); this.YE.on(this.YD.get('txt_1183'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1183', this.value, 'txt_1183'), 'txt_1183', FV.codes.txt_1183,'textinput'); } }); this.YE.on(this.YD.get('txt_1184'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1184', this.value, 'txt_1184'), 'txt_1184', FV.codes.txt_1184,'textinput'); } }); this.YE.on(this.YD.get('txt_1185'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1185', this.value, 'txt_1185'), 'txt_1185', FV.codes.txt_1185,'textinput'); } }); this.YE.on(this.YD.get('men_1187'), 'change', function() { FV.validate('men_1187', this.options.selectedIndex, 'men_1187', true); }); this.YE.on(this.YD.get('men_1187'), 'blur', function() { FV.validate('men_1187', this.options.selectedIndex, 'men_1187', true); }); this.YE.on(this.YD.get('txt_1192'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1192', this.value, 'txt_1192'), 'txt_1192', FV.codes.txt_1192,'textinput'); } }); this.YE.on(this.YD.get('men_1188'), 'change', function() { FV.validate('men_1188', this.options.selectedIndex, 'men_1188', true); }); this.YE.on(this.YD.get('men_1188'), 'blur', function() { FV.validate('men_1188', this.options.selectedIndex, 'men_1188', true); }); this.YE.on(this.YD.get('men_1190'), 'change', function() { FV.validate('men_1190', this.options.selectedIndex, 'men_1190', true); }); this.YE.on(this.YD.get('men_1190'), 'blur', function() { FV.validate('men_1190', this.options.selectedIndex, 'men_1190', true); }); this.YE.on(this.YD.get('men_1177'), 'change', function() { FV.validate('men_1177', this.options.selectedIndex, 'men_1177', true); }); this.YE.on(this.YD.get('men_1177'), 'blur', function() { FV.validate('men_1177', this.options.selectedIndex, 'men_1177', true); }); this.YE.on(this.YD.get('men_1170'), 'change', function() { FV.validate('men_1170', this.options.selectedIndex, 'men_1170', true); }); this.YE.on(this.YD.get('men_1170'), 'blur', function() { FV.validate('men_1170', this.options.selectedIndex, 'men_1170', true); }); this.YE.on(this.YD.get('men_1171'), 'change', function() { FV.validate('men_1171', this.options.selectedIndex, 'men_1171', true); }); this.YE.on(this.YD.get('men_1171'), 'blur', function() { FV.validate('men_1171', this.options.selectedIndex, 'men_1171', true); }); this.YE.on(this.YD.get('men_1153'), 'change', function() { FV.validate('men_1153', this.options.selectedIndex, 'men_1153', true); }); this.YE.on(this.YD.get('men_1153'), 'blur', function() { FV.validate('men_1153', this.options.selectedIndex, 'men_1153', true); }); this.YE.on(this.YD.get('men_1169'), 'change', function() { FV.validate('men_1169', this.options.selectedIndex, 'men_1169', true); }); this.YE.on(this.YD.get('men_1169'), 'blur', function() { FV.validate('men_1169', this.options.selectedIndex, 'men_1169', true); }); this.YE.on(this.YD.get('men_1154'), 'change', function() { FV.validate('men_1154', this.options.selectedIndex, 'men_1154', true); }); this.YE.on(this.YD.get('men_1154'), 'blur', function() { FV.validate('men_1154', this.options.selectedIndex, 'men_1154', true); }); this.YE.on(this.YD.get('men_1155'), 'change', function() { FV.validate('men_1155', this.options.selectedIndex, 'men_1155', true); }); this.YE.on(this.YD.get('men_1155'), 'blur', function() { FV.validate('men_1155', this.options.selectedIndex, 'men_1155', true); }); this.YE.on(this.YD.get('men_1156'), 'change', function() { FV.validate('men_1156', this.options.selectedIndex, 'men_1156', true); }); this.YE.on(this.YD.get('men_1156'), 'blur', function() { FV.validate('men_1156', this.options.selectedIndex, 'men_1156', true); }); this.YE.on(this.YD.get('men_1157'), 'change', function() { FV.validate('men_1157', this.options.selectedIndex, 'men_1157', true); }); this.YE.on(this.YD.get('men_1157'), 'blur', function() { FV.validate('men_1157', this.options.selectedIndex, 'men_1157', true); }); this.YE.on(this.YD.get('men_1158'), 'change', function() { FV.validate('men_1158', this.options.selectedIndex, 'men_1158', true); }); this.YE.on(this.YD.get('men_1158'), 'blur', function() { FV.validate('men_1158', this.options.selectedIndex, 'men_1158', true); }); this.YE.on(this.YD.get('men_1159'), 'change', function() { FV.validate('men_1159', this.options.selectedIndex, 'men_1159', true); }); this.YE.on(this.YD.get('men_1159'), 'blur', function() { FV.validate('men_1159', this.options.selectedIndex, 'men_1159', true); }); this.YE.on(this.YD.get('txt_1139'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1139', this.value, 'txt_1139'), 'txt_1139', FV.codes.txt_1139,'textinput'); } }); this.YE.on(this.YD.get('txt_1140'), 'blur', function(event) { var e = event || window.event; if (e.keyCode != 9 && this.value.length > 0) { FV.showStatus(FV.validate('txt_1140', this.value, 'txt_1140'), 'txt_1140', FV.codes.txt_1140,'textinput'); } }); this.YE.on(this.YD.get('men_1138'), 'change', function() { FV.validate('men_1138', this.options.selectedIndex, 'men_1138', true); }); this.YE.on(this.YD.get('men_1138'), 'blur', function() { FV.validate('men_1138', this.options.selectedIndex, 'men_1138', true); }); this.YE.on(this.YD.get('men_1137'), 'change', function() { FV.validate('men_1137', this.options.selectedIndex, 'men_1137', true); }); this.YE.on(this.YD.get('men_1137'), 'blur', function() { FV.validate('men_1137', this.options.selectedIndex, 'men_1137', true); }); this.YE.on(this.YD.get('men_1136'), 'change', function() { FV.validate('men_1136', this.options.selectedIndex, 'men_1136', true); }); this.YE.on(this.YD.get('men_1136'), 'blur', function() { FV.validate('men_1136', this.options.selectedIndex, 'men_1136', true); }); this.YE.on(this.YD.get('men_1135'), 'change', function() { FV.validate('men_1135', this.options.selectedIndex, 'men_1135', true); }); this.YE.on(this.YD.get('men_1135'), 'blur', function() { FV.validate('men_1135', this.options.selectedIndex, 'men_1135', true); }); this.YE.on(this.YD.get('men_1134'), 'change', function() { FV.validate('men_1134', this.options.selectedIndex, 'men_1134', true); }); this.YE.on(this.YD.get('men_1134'), 'blur', function() { FV.validate('men_1134', this.options.selectedIndex, 'men_1134', true); }); this.YE.on(this.YD.get('men_1208'), 'change', function() { FV.validate('men_1208', this.options.selectedIndex, 'men_1208', true); }); this.YE.on(this.YD.get('men_1208'), 'blur', function() { FV.validate('men_1208', this.options.selectedIndex, 'men_1208', true); }); this.YE.on(this.YD.get('men_1133'), 'change', function() { FV.validate('men_1133', this.options.selectedIndex, 'men_1133', true); }); this.YE.on(this.YD.get('men_1133'), 'blur', function() { FV.validate('men_1133', this.options.selectedIndex, 'men_1133', true); }); this.YE.on(this.YD.get('men_1132'), 'change', function() { FV.validate('men_1132', this.options.selectedIndex, 'men_1132', true); }); this.YE.on(this.YD.get('men_1132'), 'blur', function() { FV.validate('men_1132', this.options.selectedIndex, 'men_1132', true); }); this.YE.on(this.YD.get('men_1131'), 'change', function() { FV.validate('men_1131', this.options.selectedIndex, 'men_1131', true); }); this.YE.on(this.YD.get('men_1131'), 'blur', function() { FV.validate('men_1131', this.options.selectedIndex, 'men_1131', true); }); this.YE.on(this.YD.get('men_1209'), 'change', function() { FV.validate('men_1209', this.options.selectedIndex, 'men_1209', true); }); this.YE.on(this.YD.get('men_1209'), 'blur', function() { FV.validate('men_1209', this.options.selectedIndex, 'men_1209', true); }); this.YE.on(this.YD.get('men_1130'), 'change', function() { FV.validate('men_1130', this.options.selectedIndex, 'men_1130', true); }); this.YE.on(this.YD.get('men_1130'), 'blur', function() { FV.validate('men_1130', this.options.selectedIndex, 'men_1130', true); }); this.YE.on(this.YD.get('men_1210'), 'change', function() { FV.validate('men_1210', this.options.selectedIndex, 'men_1210', true); }); this.YE.on(this.YD.get('men_1210'), 'blur', function() { FV.validate('men_1210', this.options.selectedIndex, 'men_1210', true); }); this.YE.on(this.YD.get('men_1129'), 'change', function() { FV.validate('men_1129', this.options.selectedIndex, 'men_1129', true); }); this.YE.on(this.YD.get('men_1129'), 'blur', function() { FV.validate('men_1129', this.options.selectedIndex, 'men_1129', true); }); this.YE.on(this.YD.get('txt_1124'), 'change', function() { var e = event || window.event; FV.validate('txt_1124', this.checked, 'txt_1124', true); }); this.YE.on(this.YD.get('txt_1126'), 'change', function() { var e = event || window.event; FV.validate('txt_1126', this.checked, 'txt_1126', true); }); this.YE.on(this.YD.get('txt_1127'), 'change', function() { var e = event || window.event; FV.validate('txt_1127', this.checked, 'txt_1127', true); }); }, validate: function(t, v, n, sl) { switch(t) { case 'txt_1193': var r = new RegExp(".","gi"); break; case 'txt_1194': var r = new RegExp(".","gi"); break; case 'txt_1195': var r = new RegExp(".","gi"); break; case 'txt_1196': var r = new RegExp(".","gi"); break; case 'txt_1197': var r = new RegExp(".","gi"); break; case 'txt_1198': var r = new RegExp(".","gi"); break; case 'txt_1199': var r = new RegExp(".","gi"); break; case 'txt_1200': var r = new RegExp(".","gi"); break; case 'men_1202': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1202,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1202,'menuinput'); return false; } break; case 'txt_1205': var r = new RegExp(".","gi"); break; case 'men_1203': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1203,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1203,'menuinput'); return false; } break; case 'txt_1207': var r = new RegExp(".","gi"); break; case 'txt_1178': var r = new RegExp(".","gi"); break; case 'txt_1179': var r = new RegExp(".","gi"); break; case 'txt_1180': var r = new RegExp(".","gi"); break; case 'txt_1181': var r = new RegExp(".","gi"); break; case 'txt_1182': var r = new RegExp(".","gi"); break; case 'txt_1183': var r = new RegExp(".","gi"); break; case 'txt_1184': var r = new RegExp(".","gi"); break; case 'txt_1185': var r = new RegExp(".","gi"); break; case 'men_1187': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1187,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1187,'menuinput'); return false; } break; case 'txt_1192': var r = new RegExp(".","gi"); break; case 'men_1188': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1188,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1188,'menuinput'); return false; } break; case 'men_1190': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1190,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1190,'menuinput'); return false; } break; case 'men_1177': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1177,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1177,'menuinput'); return false; } break; case 'men_1170': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1170,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1170,'menuinput'); return false; } break; case 'men_1171': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1171,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1171,'menuinput'); return false; } break; case 'men_1153': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1153,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1153,'menuinput'); return false; } break; case 'men_1169': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1169,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1169,'menuinput'); return false; } break; case 'men_1154': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1154,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1154,'menuinput'); return false; } break; case 'men_1155': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1155,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1155,'menuinput'); return false; } break; case 'men_1156': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1156,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1156,'menuinput'); return false; } break; case 'men_1157': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1157,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1157,'menuinput'); return false; } break; case 'men_1158': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1158,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1158,'menuinput'); return false; } break; case 'men_1159': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1159,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1159,'menuinput'); return false; } break; case 'txt_1139': var r = new RegExp(".","gi"); break; case 'txt_1140': var r = new RegExp(".","gi"); break; case 'men_1138': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1138,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1138,'menuinput'); return false; } break; case 'men_1137': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1137,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1137,'menuinput'); return false; } break; case 'men_1136': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1136,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1136,'menuinput'); return false; } break; case 'men_1135': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1135,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1135,'menuinput'); return false; } break; case 'men_1134': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1134,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1134,'menuinput'); return false; } break; case 'men_1208': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1208,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1208,'menuinput'); return false; } break; case 'men_1133': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1133,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1133,'menuinput'); return false; } break; case 'men_1132': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1132,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1132,'menuinput'); return false; } break; case 'men_1131': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1131,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1131,'menuinput'); return false; } break; case 'men_1209': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1209,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1209,'menuinput'); return false; } break; case 'men_1130': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1130,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1130,'menuinput'); return false; } break; case 'men_1210': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1210,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1210,'menuinput'); return false; } break; case 'men_1129': if (this.YD.get(n).options[v].value != '') { if (sl) { this.showStatus(true, n, this.codes.men_1129,'menuinput'); } return true; }else{ this.showStatus(false, n, this.codes.men_1129,'menuinput'); return false; } break; case 'txt_1124': if (this.YD.get(n).checked != false) { this.showStatus(true, n, this.codes.txt_1124,'checkboxField'); return false; }else{ this.showStatus(false, n, this.codes.txt_1124,'checkboxField'); return true; } break; case 'txt_1126': if (this.YD.get(n).checked != false) { this.showStatus(true, n, this.codes.txt_1126,'checkboxField'); return false; }else{ this.showStatus(false, n, this.codes.txt_1126,'checkboxField'); return true; } break; case 'txt_1127': if (this.YD.get(n).checked != false) { this.showStatus(true, n, this.codes.txt_1127,'checkboxField'); return false; }else{ this.showStatus(false, n, this.codes.txt_1127,'checkboxField'); return true; } break; } if (r) { if (r.exec(v)) { return true; }else{ return false; } } }, showStatus: function(s, id, m, c) { FV.YD.get('status-'+id).className = 'l'; FV.YD.setStyle('status-'+id, 'opacity', 1); FV.YD.get('status-'+id).innerHTML = ''; clearTimeout(FV.YD.get('status-'+id).statim); FV.YD.get('status-'+id).statim = setTimeout(function() { FV.YD.get(id).className = c; if (s) { FV.YD.get('status-'+id).className = 's'; if (FV.YD.get('strength-'+id)) { FV.YD.get('strength-'+id).style.display = 'block'; FV.YD.get(id).className = c; } }else{ FV.YD.setStyle('status-'+id, 'opacity', 1); FV.YD.get('status-'+id).className = 'f'; FV.YD.get('status-'+id).innerHTML = m; FV.YD.get(id).className = c + ' fail'; } }, 500); return s; }, getType: function(form) { var e = 0; for(i=0;i