function f15_moveNodes(sourceNode,targetNode,newWrapperTagName){// v1.0 Copyright (c) 2006 TJKDesign.com - Thierry Koblentz
  if (!document.createElement) return;
  var nodeRecipient=(targetNode)?targetNode:document.createElement(newWrapperTagName);
  while(sourceNode.childNodes.length)nodeRecipient.appendChild(sourceNode.childNodes[0]);	
  if(newWrapperTagName)sourceNode.appendChild(nodeRecipient);
}
function f15_2e_ul2table(){// v1.0 Copyright (c) 2006 TJKDesign.com - Thierry Koblentz
	//alert('xcx');
if (!document.getElementById || !document.createElement) return;
	var z_Div=document.getElementById("f15_2e_ul_container2");
	var z_UL= document.getElementById("f15_2e_ul");
	var z_Caption = document.createElement('caption');	
	var z_LI = z_UL.getElementsByTagName('li');
	var z_Table = document.createElement('table');
	var z_Tbody = document.createElement('tbody');	
	var z_Row = document.createElement('tr');
	for (var x=0;x<z_LI.length;x++){
		//var z_Cell = document.createElement('TD class="cel'+x+'"'); //werkt niet met class attribuut
		var z_Cell = document.createElement('td');
		z_Cell.id="cel"+x;
		f15_moveNodes(z_LI[x],z_Cell,'');
		z_Row.appendChild(z_Cell);
	}
	z_Tbody.appendChild(z_Row);
	if (z_UL.title){
		var z_Text = document.createTextNode(z_UL.title);
		z_Caption.appendChild(z_Text);	
		z_Table.appendChild(z_Caption);
	}
	z_Table.appendChild(z_Tbody);
	z_Table.id="f15_2e_table";
	z_Div.insertBefore(z_Table,z_UL);
	z_Div.removeChild(z_UL);
}
//window.onload = function(){f15_ul2table();}