Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<style type="text/css">
body {
margin: 0;
padding: 0;
}

table, th, td {
border: 1px solid black;
}
</style>
<script type="text/javascript">

var sid = "";
GetSession();

function GetSession() {
	var xmlhttp;
		
	if (window.XMLHttpRequest)
	{// code for IE7+, Firefox, Chrome, Opera, Safari
		xmlhttp=new XMLHttpRequest();
	}
	else
	{// code for IE6, IE5
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlhttp.onreadystatechange=function()
	{
		if (xmlhttp.readyState==4 && xmlhttp.status==200)
		{
			var response = xmlhttp.responseText;
			//alert(response);
			sid = response;
		}
	}
	xmlhttp.open("GET","php/getsession.php",true);
	xmlhttp.send();
}
function getSeparatorCW() {
	//alert("in function");
	var id = 1;
	var xmlhttp;
		
	if (window.XMLHttpRequest)
	{// code for IE7+, Firefox, Chrome, Opera, Safari
		xmlhttp=new XMLHttpRequest();
	}
	else
	{// code for IE6, IE5
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlhttp.onreadystatechange=function()
	{
		if (xmlhttp.readyState==4 && xmlhttp.status==200)
		{
			var response = xmlhttp.responseText;
			var strArray = response.split("|");
			buildTable(strArray);
		}
	}
	xmlhttp.open("GET","php/loadAssets.php?assetID="+id,true);
	xmlhttp.send();
}
function openWindow(id,name) {
	
	//alert (sid);
	var url = "separator.html?id="+id+"&name="+name+"&sid="+sid+"&flag=edit";
	window.open(url);
	//alert(id+" "+name);
}
function buildTable(strArray) {	
	
	//alert("in buildTable");
	var numRows;
	var assetCount = 0;
	var nameCount = 0;
	var assetID = [];
	var assetName =[];
	var numCols = 14;
	var table = document.getElementById('inventory');
	var headerArray = new Array("Desc","Versatile Assets","Jan 1/2012","Total Ast. Cost","Amm. Sch.",
								"Jan 30 2012","Feb 30 2012","Mar 30 2012","Apr 30 2012","May 30 2012",
								"Jun 30 2012","Jul 30 2012","Aug 30 2012");
	
	for(var r=0;r<strArray.length;r++)
	{
		//alert("in for loop");
		if(strArray[r] == "separator cw trailer")
		{	
			//alert("in for loop if");
			assetID[assetCount] = strArray[r-1];
			assetName[assetCount] = strArray[r];
			assetCount++;
		}
	}
	numRows = assetCount+1;
	
	for(x=0;x<numRows;x++)
	{		
		var newRow = document.createElement('tr');
		newRow.id = 'Row'+x;
		table.appendChild(newRow);
		
		for(y=0;y<numCols;y++)
		{
			if(x == 0 && y != 13)
			{
				var newHeader = document.createElement('th');
				newHeader.id = 'Header'+x;
				newHeader.innerHTML = headerArray[y]
				newRow.appendChild(newHeader);
			}
			else
			{
				var newCol = document.createElement('td');
				newCol.id = 'Col'+y;
				if (y != 0)
				{
					newCol.innerHTML = "$0.00";
				}
				if (y == 1)
				{
					var paramId = assetID[nameCount];
					var paramName = assetName[nameCount];
					newCol.innerHTML = assetID[nameCount]+" "+assetName[nameCount++]
					newCol.onclick = (function(paramId,paramName)
										{
											  return function()	
													 { 
														openWindow(paramId,paramName);
													 };
										})(paramId,paramName);
				}
				newCol.title = 'Row '+(x+1)+','+'Col '+(y+1);
				newRow.appendChild(newCol);				
			}
		}
	}
}
</script>
</head>
<body onload ="getSeparatorCW()">
	<table id="inventory"></table>
</body>
</html>
I have looke for any errors but I cant find one, and needs to work on IE for my client. Thanks