
		function showitem(layer_ref) {

			if (document.all) { //IS IE 4 or 5 (or 6 beta)
				eval( "document.all." + layer_ref + ".style.visibility = 'visible'");
				eval( "document.all." + layer_ref + ".style.position = 'relative'");
			}
			if (document.layers) { //IS NETSCAPE 4 or below
				document.layers[layer_ref].visibility = 'visible';
				document.layers[layer_ref].position = 'relative';
			}
			if (document.getElementById && !document.all) {
				maxwell_smart = document.getElementById(layer_ref);
				maxwell_smart.style.visibility = 'visible';
				maxwell_smart.style.position = 'relative';
			}
		}
		function changeimg(layer_ref,newimg) {

			if (document.all) { //IS IE 4 or 5 (or 6 beta)
				eval( "document.all." + layer_ref + ".src = '" + newimg + "'");
			}
			if (document.layers) { //IS NETSCAPE 4 or below
				document.layers[layer_ref].src = newimg;
			}
			if (document.getElementById && !document.all) {
				maxwell_smart = document.getElementById(layer_ref);
				maxwell_smart.src = newimg;
			}
		}
		function switchimg(layer_ref,newimg1,newimg2) {
			if (document.all) { //IS IE 4 or 5 (or 6 beta)
				if(eval( "document.all." + layer_ref + ".src") == newimg1){
					eval( "document.all." + layer_ref + ".src = '" + newimg2 + "'");
				}else{
					eval( "document.all." + layer_ref + ".src = '" + newimg1 + "'");
				}
			}
			if (document.layers) { //IS NETSCAPE 4 or below
				if(document.layers[layer_ref].src == newimg1){
				document.layers[layer_ref].src = newimg2;}else{
				document.layers[layer_ref].src = newimg1;	
 
				}
			}
			if (document.getElementById && !document.all) {
				maxwell_smart = document.getElementById(layer_ref);
				if(maxwell_smart.src == newimg1){
				maxwell_smart.src = newimg2; }else{
				maxwell_smart.src = newimg1; 
				}			
			}
		}
		function hideitem(layer_ref) {

			if (document.all) { //IS IE 4 or 5 (or 6 beta)
				eval( "document.all." + layer_ref + ".style.visibility = 'hidden'");
				eval( "document.all." + layer_ref + ".style.position = 'absolute'");
			}
			if (document.layers) { //IS NETSCAPE 4 or below
				document.layers[layer_ref].visibility = 'hidden';
				document.layers[layer_ref].position = 'absolute';
			}
			if (document.getElementById && !document.all) {
				maxwell_smart = document.getElementById(layer_ref);
				maxwell_smart.style.visibility = 'hidden';
				maxwell_smart.style.position = 'absolute';
			}
		}
		function toggleitem(layer_ref) {

			if (document.all) { //IS IE 4 or 5 (or 6 beta)
				if(eval( "document.all." + layer_ref + ".style.visibility") == 'hidden'){
					eval( "document.all." + layer_ref + ".style.visibility = 'visible'");
					eval( "document.all." + layer_ref + ".style.position = 'relative'");
				}else{
					eval( "document.all." + layer_ref + ".style.visibility = 'hidden'");
					eval( "document.all." + layer_ref + ".style.position = 'absolute'");
				}
			}
			if (document.layers) { //IS NETSCAPE 4 or below
				if(document.layers[layer_ref].visibility == 'hidden'){
				document.layers[layer_ref].visibility = 'visible';
				document.layers[layer_ref].position = 'relative';}else{
				document.layers[layer_ref].visibility = 'hidden';
				document.layers[layer_ref].position = 'absolute';
 
				}
			}
			if (document.getElementById && !document.all) {
				maxwell_smart = document.getElementById(layer_ref);
				if(maxwell_smart.style.visibility == 'hidden'){
				maxwell_smart.style.visibility = 'visible';
				maxwell_smart.style.position = 'relative'; }else{
				maxwell_smart.style.visibility = 'hidden';
				maxwell_smart.style.position = 'absolute'; 
				}			
			}
		}
		function toggleitem2(layer_ref) {

			if (document.all) { //IS IE 4 or 5 (or 6 beta)
				if(eval( "document.all." + layer_ref + ".style.visibility") == 'hidden'){
					eval( "document.all." + layer_ref + ".style.visibility = 'visible'");
				}else{
					eval( "document.all." + layer_ref + ".style.visibility = 'hidden'");
				}
			}
			if (document.layers) { //IS NETSCAPE 4 or below
				if(document.layers[layer_ref].visibility == 'hidden'){
				document.layers[layer_ref].visibility = 'visible';
				}else{
				document.layers[layer_ref].visibility = 'hidden';
 
				}
			}
			if (document.getElementById && !document.all) {
				maxwell_smart = document.getElementById(layer_ref);
				if(maxwell_smart.style.visibility == 'hidden'){
				maxwell_smart.style.visibility = 'visible';
				}else{
				maxwell_smart.style.visibility = 'hidden';
				}			
			}
		}
		function toggleitemexp(layer_ref) {

			if (document.all) { //IS IE 4 or 5 (or 6 beta)
				if(eval( "document.all." + layer_ref + ".style.visibility") == 'hidden'){
					eval( "document.all." + layer_ref + ".style.visibility = 'visible'");
					eval( "document.all." + layer_ref + ".style.position = 'relative'");
					eval( "document.all." + layer_ref + "exp.style.visibility = 'hidden'");
					eval( "document.all." + layer_ref + "exp.style.position = 'absolute'");
				}else{
					eval( "document.all." + layer_ref + "exp.style.visibility = 'visible'");
					eval( "document.all." + layer_ref + "exp.style.position = 'relative'");
					eval( "document.all." + layer_ref + ".style.visibility = 'hidden'");
					eval( "document.all." + layer_ref + ".style.position = 'absolute'");
				}
			}
			if (document.layers) { //IS NETSCAPE 4 or below
				if(document.layers[layer_ref].visibility == 'hidden'){
				document.layers[layer_ref].visibility = 'visible';
				document.layers[layer_ref].position = 'relative';
				document.layers[layer_ref + "exp"].visibility = 'hidden';
				document.layers[layer_ref + "exp"].position = 'absolute';
				}else{
				document.layers[layer_ref + "exp"].visibility = 'visible';
				document.layers[layer_ref + "exp"].position = 'relative';
				document.layers[layer_ref].visibility = 'hidden';
				document.layers[layer_ref].position = 'absolute';
 
				}
			}
			if (document.getElementById && !document.all) {
				maxwell_smart = document.getElementById(layer_ref);
				maxwell_smart2 = document.getElementById(layer_ref + "exp");
				if(maxwell_smart.style.visibility == 'hidden'){
				maxwell_smart.style.visibility = 'visible';
				maxwell_smart.style.position = 'relative'; 
				maxwell_smart2.style.visibility = 'hidden';
				maxwell_smart2.style.position = 'absolute'; 
}else{
				maxwell_smart2.style.visibility = 'visible';
				maxwell_smart2.style.position = 'relative'; 
				maxwell_smart.style.visibility = 'hidden';
				maxwell_smart.style.position = 'absolute'; 
				}			
			}
		}
		function bicheck(layer_refb,layer_refi,layer_refrb,layer_refri) {

			if (document.all) { //IS IE 4 or 5 (or 6 beta)
				if (eval( "document.all." + layer_refrb + ".checked" )) {
				//Inschrijven UIT, bestellen AAN
				eval( "document.all." + layer_refb + ".style.visibility = 'visible'");
				eval( "document.all." + layer_refb + ".style.position = 'relative'");
				eval( "document.all." + layer_refi + ".style.visibility = 'invisible'");
				eval( "document.all." + layer_refi + ".style.position = 'absolute'");
				}else{
				if (eval( "document.all." + layer_refri + ".checked" )) {
				//Inschrijven UIT, bestellen AAN
				eval( "document.all." + layer_refi + ".style.visibility = 'visible'");
				eval( "document.all." + layer_refi + ".style.position = 'relative'");
				eval( "document.all." + layer_refb + ".style.visibility = 'invisible'");
				eval( "document.all." + layer_refb + ".style.position = 'absolute'");
				}else{
 				//Inschrijven UIT, bestellen UIT
				eval( "document.all." + layer_refb + ".style.visibility = 'invisible'");
				eval( "document.all." + layer_refb + ".style.position = 'absolute'");
				eval( "document.all." + layer_refi + ".style.visibility = 'invisible'");
				eval( "document.all." + layer_refi + ".style.position = 'absolute'");
				}
				}
			}
			if (document.layers) { //IS NETSCAPE 4 or below
				if (document.layers[layer_refr].value=='bestellen') {
				//Inschrijven UIT, bestellen AAN
				document.layers[layer_refb].visibility = 'visible';
				document.layers[layer_refb].position = 'relative';
				document.layers[layer_refi].visibility = 'invisible';
				document.layers[layer_refi].position = 'absolute';
				}else{
				if (document.layers[layer_refr].value=='inschrijven') {
				//Inschrijven UIT, bestellen AAN
				document.layers[layer_refi].visibility = 'visible';
				document.layers[layer_refi].position = 'relative';
				document.layers[layer_refb].visibility = 'invisible';
				document.layers[layer_refb].position = 'absoulte';
				}else{
 				//Inschrijven UIT, bestellen UIT
				document.layers[layer_refb].visibility = 'invisible';
				document.layers[layer_refb].position = 'absolute';
				document.layers[layer_refi].visibility = 'invisible';
				document.layers[layer_refi].position = 'absolute';
				}
				}
			}
			if (document.getElementById && !document.all) {
				maxwell_smartr = document.getElementById(layer_refr);
				maxwell_smartb = document.getElementById(layer_refb);
				maxwell_smarti = document.getElementById(layer_refi);
				if (maxwell_smartr.value = 'bestellen') {
				//Inschrijven UIT, bestellen AAN
				maxwell_smartb.style.visibility = 'visible';
				maxwell_smartb.style.position = 'relative';
				maxwell_smarti.style.visibility = 'invisible';
				maxwell_smarti.style.position = 'absolute';
				}else{
				if (maxwell_smartr.value = 'inschrijven') {
				//Inschrijven UIT, bestellen AAN
				maxwell_smarti.style.visibility = 'visible';
				maxwell_smarti.style.position = 'relative';
				maxwell_smartb.style.visibility = 'invisible';
				maxwell_smartb.style.position = 'absolute';
				}else{
 				//Inschrijven UIT, bestellen UIT
				maxwell_smartb.style.visibility = 'invisible';
				maxwell_smartb.style.position = 'absolute';
				maxwell_smarti.style.visibility = 'invisible';
				maxwell_smarti.style.position = 'absolute';
				}
				}
			}
		}

