var theTable1, theTableBody1
function init1() {
    theTable1 = (document.all) ? document.all.music_table : document.getElementById("music_table");
    theTableBody1 = theTable1.tBodies[0];
}
function addRow1() {
		insertTableRow1(theTableBody1.rows.length);
}
function insertCaptionTableRow1(where) {
	var newRow1 = theTableBody1.insertRow(where);
	var newCell1;
	newCell1 = newRow1.insertCell1(0);
	newCell1.innerHTML="<b>Attendee:</b>";
	newCell1.colSpan = 4;
}
function insertTableRow1(where) {
    var nowData1 = [
				   "<input type='text' class='name' name='name[]' value=''>", 
				   "<textarea class='name' name='url[]'> </textarea><br /><br />", 
				   "<input type='text' class='seq' name='sequence[]' value='1'>",
				   "<input type='button' onclick='removeRow(this.parentNode.parentNode.rowIndex)' value=' x ' class='remove2'>"
				   ];
    var newCell1;
    var newRow1 = theTableBody1.insertRow(where);
    for (var i = 0; i < nowData1.length; i++) {
        newCell1 = newRow1.insertCell(i);
        newCell1.innerHTML = nowData1[i];
    }
	
}
function removeRow1(row_index) {
    theTableBody1.deleteRow(row_index);
}
