var checkdata = { 'fullname' : { 'l': 'Name / Surname', 'r': true, 'f': 'name', 't': 'fl_fullname', 'm': null, 'mn' : 1, 'mx' : null },   'companyname' : { 'l': 'Company', 'r': true, 'f': null, 't': 'fl_companyname', 'm': null, 'mn' : 1, 'mx' : null }, 'jobtitle' : { 'l': 'Position (title)', 'r': true, 'f': null, 't': 'fl_jobtitle', 'm': null, 'mn' : 1, 'mx' : null }, 'email' : { 'l': 'E-mail', 'r': true, 'f': 'email', 't': 'fl_email', 'm': null, 'mn' : 1, 'mx' : null }, 'phone' : { 'l': 'Tel', 'r': true, 'f': 'phone', 't': 'fl_phone', 'm': null, 'mn' : 1, 'mx' : null }, 'fax' : { 'l': 'Fax', 'r': false, 'f': 'phone', 't': 'fl_phone', 'm': null, 'mn' : 1, 'mx' : null }, 'address1' : { 'l': 'Address', 'r': true, 'f': null, 't': 'fl_address1', 'm': null, 'mn' : 1, 'mx' : null }, 'city' : { 'l': 'City', 'r': true, 'f': null, 't': 'fl_city', 'm': null, 'mn' : 1, 'mx' : null }, 'country' : { 'l': 'Country', 'r': true, 'f': null, 't': 'fl_country', 'm': null, 'mn' : 1, 'mx' : null }};var checkconfig = {'to_disable' : ['Submit'], 'alert' : 1 }var checker = new validator ('frmSubs', checkdata, checkconfig);var a_messages = [        'No form name passed to validator construction routine',        'No array of "%form%" form fields passed to validator construction routine',        'Form "%form%" can not be found in this document',        'Incomplete "%n%" form field descriptor entry. "l" attribute is missing',        'Can not find form field "%n%" in the form "%form%"',        'Can not find label tag (id="%t%")',        'Can not verify match. Field "%m%" was not found',        'Please fill out the "%l%" field.',        '"%l%" must be at least %mn% characters long.',        '"%l%" must be no more than %mx% characters long.',        '"%v%" is not right value for "%l%".',        '"%l%" must match "%ml%".']//checker.a_messages = val_messages;
