// -----------------------------------------------------------------------------
// 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');
	}