var oValidator			=	null;

var aQuestions			= new Array();
var iQuestionCnt		= 0;

var aQuestionGroups		= new Array();
var iQuestionGroupsCnt	= 0;


addEvent('load', dai_prepare_page);
<!--d_addEvent(window, 'load', dai_prepare_page);-->
<!--d_addEvent(window, 'load', dai_prepare_form);-->
<!--d_addEvent(window, 'load', dai_prepare_country);-->

function dai_prepare_page()
{
	if( !document.getElementById('l1b') )
	{
		return;
	}
	oValidator = new LgValidator( document.getElementById('l1b') );
	
	
<!--	dai_add_question_obj('dai_q_7041_1', 'dai_q_7041', 'true','0.00', '0.00', 'novalidation', 'dai_gender' ,dai_validate_nothing, '', d_getObj('dai_q_7041_1'), '786', '', 'other', d_getObj('dai_q_7041_1_extra'));-->
	oValidator.addQuestion(7041, true, 0.00, 0.00, 11, 2, 4, oValidator.dai_validate_nothing, document.getElementById('dai_q_7041_1'), document.getElementById('dai_q_7041_1_extra'), 786, '', 'other');
	
<!--	dai_add_question_obj('dai_q_7041_2', 'dai_q_7041', 'true','0.00', '0.00', 'novalidation', 'dai_gender' ,dai_validate_nothing, '', d_getObj('dai_q_7041_2'), '786', '', 'other', d_getObj('dai_q_7041_2_extra'));-->
	oValidator.addQuestion(7041, true, 0.00, 0.00, 11, 2, 4, oValidator.dai_validate_nothing, document.getElementById('dai_q_7041_2'), document.getElementById('dai_q_7041_2_extra'), 786, '', 'other');
	
<!--	dai_add_question_obj('dai_q_7042_1', 'dai_q_7042', 'true','0.00', '0.00', 'novalidation', 'dai_initials' ,dai_validate_nothing, '', d_getObj('dai_q_7042_1'), '786', '', 'other', d_getObj('dai_q_7042_1_extra'));-->
	oValidator.addQuestion(7042, true, 0.00, 0.00, 11, 4, 1, oValidator.dai_validate_nothing, document.getElementById('dai_q_7042_1'), document.getElementById('dai_q_7042_1_extra'), 786, '', 'other');
	
<!--	dai_add_question_obj('dai_q_7043_1', 'dai_q_7043', 'true','0.00', '0.00', 'novalidation', 'dai_last_name' ,dai_validate_nothing, '', d_getObj('dai_q_7043_1'), '786', '', 'other', d_getObj('dai_q_7043_1_extra'));-->
	oValidator.addQuestion(7043, true, 0.00, 0.00, 11, 8, 1, oValidator.dai_validate_nothing, document.getElementById('dai_q_7043_1'), document.getElementById('dai_q_7043_1_extra'), 786, '', 'other');
	
<!--	dai_add_question_obj('dai_q_9115_1', 'dai_q_9115', 'true','1.00', '100.00', 'text', 'country_nl_be' ,dai_validate_string, '', d_getObj('dai_q_9115_1'), '791', '', 'full_address', d_getObj('dai_q_9115_1_extra'));-->
	oValidator.addQuestion(9115, true, 1.00, 100.00, 2, 152, 2, oValidator.dai_validate_string, document.getElementById('dai_q_9115_1'), document.getElementById('dai_q_9115_1_extra'), 791, '', 'full_address');
	
<!--	dai_add_question_obj('dai_q_7044_1', 'dai_q_7044', 'false','0.00', '35.00', 'text', 'dai_streetname' ,dai_validate_string, '', d_getObj('dai_q_7044_1'), '791', '', 'full_address', d_getObj('dai_q_7044_1_extra'));-->
	oValidator.addQuestion(7044, false, 0.00, 35.00, 2, 15, 1, oValidator.dai_validate_string, document.getElementById('dai_q_7044_1'), document.getElementById('dai_q_7044_1_extra'), 791, '', 'full_address');
	
<!--	dai_add_question_obj('dai_q_7045_1', 'dai_q_7045', 'true','1.00', '10.00', 'housenumber_and_addition', 'dai_housenumber_and_addition' ,dai_validate_housenumber, 'Uw huisnummer dient ingevuld te zijn.', d_getObj('dai_q_7045_1'), '791', '', 'full_address', d_getObj('dai_q_7045_1_extra'));-->
	oValidator.addQuestion(7045, true, 1.00, 10.00, 10, 16, 18, oValidator.dai_validate_housenumber, document.getElementById('dai_q_7045_1'), document.getElementById('dai_q_7045_1_extra'), 791, '', 'full_address');
	
<!--	dai_add_question_obj('dai_q_7045_2', 'dai_q_7045', 'true','1.00', '10.00', 'housenumber_and_addition', 'dai_housenumber_and_addition' ,dai_validate_housenumber, 'Uw huisnummer dient ingevuld te zijn.', d_getObj('dai_q_7045_2'), '791', '', 'full_address', d_getObj('dai_q_7045_2_extra'));-->
	oValidator.addQuestion(7045, true, 1.00, 10.00, 10, 16, 18, oValidator.dai_validate_housenumber, document.getElementById('dai_q_7045_2'), document.getElementById('dai_q_7045_2_extra'), 791, '', 'full_address');
	
<!--	dai_add_question_obj('dai_q_7046_1', 'dai_q_7046', 'true','6.00', '6.00', 'postcalcode', 'dai_postal_code' ,dai_validate_postalcode, '', d_getObj('dai_q_7046_1'), '791', '', 'full_address', d_getObj('dai_q_7046_1_extra'));-->
	oValidator.addQuestion(7046, true, 6.00, 6.00, 5, 17, 17, oValidator.dai_validate_postalcode, document.getElementById('dai_q_7046_1'), document.getElementById('dai_q_7046_1_extra'), 791, '', 'full_address');
	
<!--	dai_add_question_obj('dai_q_7046_2', 'dai_q_7046', 'true','6.00', '6.00', 'postcalcode', 'dai_postal_code' ,dai_validate_postalcode, '', d_getObj('dai_q_7046_2'), '791', '', 'full_address', d_getObj('dai_q_7046_2_extra'));-->
	oValidator.addQuestion(7046, true, 6.00, 6.00, 5, 17, 17, oValidator.dai_validate_postalcode, document.getElementById('dai_q_7046_2'), document.getElementById('dai_q_7046_2_extra'), 791, '', 'full_address');
	
<!--	dai_add_question_obj('dai_q_7052_1', 'dai_q_7052', 'false','0.00', '30.00', 'text', 'dai_city' ,dai_validate_string, '', d_getObj('dai_q_7052_1'), '791', '', 'full_address', d_getObj('dai_q_7052_1_extra'));-->
	oValidator.addQuestion(7052, false, 0.00, 30.00, 2, 18, 1, oValidator.dai_validate_string, document.getElementById('dai_q_7052_1'), document.getElementById('dai_q_7052_1_extra'), 791, '', 'full_address');
	
<!--	dai_add_question_obj('dai_q_7047_1', 'dai_q_7047', 'true','0.00', '0.00', 'emailaddress', 'dai_email_address' ,dai_validate_emailaddress, '', d_getObj('dai_q_7047_1'), '786', '', 'other', d_getObj('dai_q_7047_1_extra'));-->
	oValidator.addQuestion(7047, true, 0.00, 0.00, 8, 37, 1, oValidator.dai_validate_emailaddress, document.getElementById('dai_q_7047_1'), document.getElementById('dai_q_7047_1_extra'), 786, '', 'other');
	
<!--	dai_add_question_obj('dai_q_7050_1', 'dai_q_7050', 'false','0.00', '0.00', 'novalidation', 'dai_newsletter' ,dai_validate_nothing, '', d_getObj('dai_q_7050_1'), 'null', 'null', 'null', d_getObj('dai_q_7050_1_extra'));-->
	oValidator.addQuestion(7050, false, 0.00, 0.00, 11, 30, 14, oValidator.dai_validate_nothing, document.getElementById('dai_q_7050_1'), document.getElementById('dai_q_7050_1_extra'), null, 'null', 'null');
	
	
	oValidator.prepareForm();
	oValidator.prepareCountry();
}



