// -----------------------------------------------------------------------------
// Example: function define(n, type, HTMLname, min, max, d)
// define - Call this function in the beginning of the page. I.e. onLoad.
// n = name of the input field (Required)
// type= string, num, email (Required)
// min = the value must have at least [min] characters (Optional)
// max = the value must have maximum [max] characters (Optional)
// d = (Optional)
// -----------------------------------------------------------------------------

function initregform()
	{
		define('firstname','string','First Name',1,15);
		define('lastname','string','Last Name',1,15);
		define('uid','string','User ID',4,15);
		define('pw','string','Password',4,15);
		define('email','email','E-mail');
		define('licenseNo','string','License No');
		define('address1','string','Address');
		define('prof_license_No','string','License Type');
		define('state','string','State');
		define('city','string','City');
		define('licState','string','License State');
		define('licExp','string','License Expiration mm/dd/yyyy',8);
		define('homephone','string','Home Phone Number');
		define('postalcode','string','Postal code');
	}