If I want to insert a row into a table in HTML, I can use this code on IE on a Windows computer

Code:
	// Add a row below the current row
	objNewRow = objTable.insertRow(intIndex+1);	
	
	// set the class name to the same as the source row
	objNewRow.className = objRow.className;	
	
	// copy each cell form the source row to the new row
	for(var intCellCount = 0; intCellCount < intNumCells; intCellCount++)
	{
		objNewRow.insertCell();
		objNewRow.cells[intCellCount].innerHTML = objRow.cells[intCellCount].innerHTML;
	}
However, insertRow does not work for IE on the Macintosh. How would I insert a row in a table on ie for Macs?

Thanks