<!--		
	function init(){
		selectecLanguage	= "english";
		define('fldName','string','Company name',2,160);
		define('fldAddress','string','Address',3,160);
		define('fldPC','string','Postal Code',3,12);
		define('fldCity','string','Town',2,160);		
		define('fldCountry','string','Country',2,160);			
		define('fldTelephone','string','Telephone',0,19);		
		define('fldFax','string','Fax',0,19);			
		define('fldEmail','email','E-mail');			
		define('fldIName','string','Company name(Contact)',2,160);
		define('fldIAddress','string','Adres (Contact)',3,160);
		define('fldIPC','string','Postal Code (Contact)',3,12);
		define('fldICity','string','City (Contact)',3,160);		
		define('fldICountry','string','Country (Contact)',2,160);			
		define('fldIContact','string','Contact person (Contact)',2,160);			
		define('fldITelephone','string','Telephone (Contact)',10,19);		
		define('fldIEmail','email','E-mail (Contact)');								
	}

	function init2(){
		define('fldName','string','Bedrijfsnaam',2,160);					
	}

	function SubmitForm() {
		validate();
		if (returnVal) {
			document.forms['z'].submit();
		}
	}
	
	function ResetForm() {
		document.forms['z'].reset();
	}
		
	function ClearForm(){
		var o ;
		o = document.forms.x;
		var e;
		if (o && (e = o.elements)){
			var len
			var tn;
			var ty; 
			len = e.length; 
			for (var i = 0; i < len; i++){
				o = e[i];
				if ((tn = o.tagName) && (ty = o.type) && ((tn = tn.toLowerCase()) == "input" && ty.toLowerCase() == "text")	|| tn == "textarea") {
					o.value = "";
				}
			}
		}
	}	
	
	
	function ef(i){
		
		if (i==1){
			document.forms['z'].fldLogo.disabled = false;
		}
		else{
			document.forms['z'].fldLogo.disabled = true;		
			document.forms['z'].fldLogo.value = document.forms['x'].fldLogo.defaultValue;
		}
		
	}
	
	function dspInvoice(){
		if(document.forms['z'].fldFactuur.checked){
			for (i = 1;i<7;i++){
				document.getElementById('ia'+i).style.display = 'block';
			}			
		}
		else{
			for (i = 1;i<7;i++){
				document.getElementById('ia'+i).style.display = 'none';
			}						
		}
		
	}

	function setCategory(str){
		document.forms['z'].fldCategories.value = str;
		
	}

	init();		
//-->
