function format_Forms(template) {
	var checkbox_uit = template+"afb/checkbox_uit.png";
	var checkbox_aan = template+"afb/checkbox_aan.png";
	var checkbox_over = template+"afb/checkbox_over.png";
	var checkbox_grootte = "14px";
	var submit = template+"afb/submit.png";
	var submit_in = template+"afb/submit_in.png";
	init();
	function init() {
		var inputs = document.getElementsByTagName("input");
		var img;
		for(i=0; i<inputs.length; i++) {
			if(inputs[i].className == "styled") {
			if(inputs[i].type == "checkbox") {
				img = document.createElement("img");
				if(inputs[i].checked == true) { img.src = checkbox_aan; }
				else { img.src = checkbox_uit; }
				img.onmouseover = over;
				img.onmouseout = out;
				img.onmouseup = pushed;
				img.style.height = checkbox_grootte;
				img.style.width = checkbox_grootte;
				inputs[i].parentNode.insertBefore(img,inputs[i]);
				inputs[i].style.display = "none";
			}
			if(inputs[i].type == "submit") {
				inputs[i].style.border = "0px";
				inputs[i].style.background = "url("+submit+") center right no-repeat";
				inputs[i].onmouseover = over;
				inputs[i].onmouseout = out;
				inputs[i].style.paddingRight = "14px";
				inputs[i].style.textAlign = "center";
				inputs[i].style.width = "62px";
				inputs[i].style.height = "22px";
				inputs[i].value = inputs[i].value;
			}
			}
		}
	}
	function pushed() {
		element = this.nextSibling;
		if(element.type == "checkbox" && element.checked == false) {
			element.checked = true;
			this.src = checkbox_aan;
		}
		else if(element.type == "checkbox" && element.checked == true) {
			element.checked = false;
			this.src = checkbox_uit;
		}
	}
	function over() {
		element = this.nextSibling;
		if(element.type == "checkbox" && element.checked == false) {
			this.src = checkbox_over;
		}
		else if(this.type == "submit") {
			this.style.background = "url("+submit_in+") center right no-repeat";
		}
	}
	function out() {
		element = this.nextSibling;
		if(element.type == "checkbox" && element.checked == false) {
			this.src = checkbox_uit;
		}
		else if(this.type == "submit") {
			this.style.background = "url("+submit+") center right no-repeat";
		}
	}
}