	//look for count
	function buildTable(nRows){

		isTable = document.getElementById("Data");
		
		//if (isNaN(nRows) || nRows > 50 || nRows < 1)
		//	{
		//	 alert("ERROR:\nMinimum is 1\nMaximum is 50")
		//	 Form1.nRows.value = 1;
		//	 
		//	}
		//else {
		nRows = parseInt(nRows) - 1;
		for (i=0; i<nRows; i++){buildRows(isTable,nRows)}
		Form1.enrolling.value = parseInt(isTable.rows.length) - 1;
		
		if (parseInt(Form1.enrolling.value) > parseInt(Form1.eligible.value)) {document.getElementById("Map5").style.display   = 'inline';}
		//}
	}
//initials array
var initials=new Array("AB", "AC", "AD", "AE", "AF", "AG", "AH", "AI", "AJ", "AK", "AL", "AM", "AN", "AO", "AP", "AQ", "AR", "AS", "AT", "AU", "AV" , "AW", "AX", "AY", "AZ", "BA", "BB", "BC", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BK", "BL", "BM", "BN", "BO", "BP", "BQ", "BR", "BS", "BT", "BU", "BV", "BW", "BX", "BY", "BZ ", "CA", "CB", "CC", "CD", "CE", "CF", "CG", "CH", "CI", "CD", "CE", "CF", "CG", "CI", "CJ", "CK", "CL", "CM", "CN", "CO", "CP", "CQ", "CR", "CS", "CT", "CU", "CV", "CW", "CX", "CY", "CZ", "DA", "DB", "DC", "DD", "DE", "DF", "DG", "DH", "DI", "DD", "DE", "DF", "DG", "DI", "DJ", "DK", "DL", "DM", "DN", "DO", "DP", "DQ", "DR", "DS", "DT", "DU", "DV", "DW", "DX", "DY", "DZ", "EA", "EB", "EC", "ED", "EE", "EF", "EG", "EH", "EI", "ED", "EE", "EF", "EG", "EI", "EJ", "EK", "EL", "EM", "EN", "EO", "EP", "EQ", "ER", "ES", "ET", "EU", "EV", "EW", "EX", "EY", "EZ", "FA", "FB", "FC", "FD", "FE", "FF", "FG", "FH", "FI", "FD", "FF", "FF", "FG", "FI", "FJ", "FK", "FL", "FM", "FN", "FO", "FP", "FQ", "FR", "FS", "FT", "FU", "FV", "FW", "FX", "FY", "FZ", "GA", "GB", "GC", "GD", "GG", "GF", "GG", "GH", "GI", "GD", "GG", "GF", "GG", "GI", "GJ", "GK", "GL", "GM", "GN", "GO", "GP", "GQ", "GR", "GS", "GT", "GU", "GV", "GW", "GX", "GY", "GZ");

//initial incrementer
var i;
var foo;
for (i=0; i<51; i++)
{
foo = initials[i];
}

//build table
	function buildRows(isTable,nRows){
	
		index = isTable.rows.length;
		nextRow =  isTable.insertRow(index);
		rowNmbr = nextRow.insertCell(0)
		txtArea1 = nextRow.insertCell(1);
		txtArea2 = nextRow.insertCell(2);
		txtArea3 = nextRow.insertCell(3);
		txtArea4 = nextRow.insertCell(4);
		txtArea5 = nextRow.insertCell(5);
		txtArea6 = nextRow.insertCell(6);
		txtArea7 = nextRow.insertCell(7);
		index = index.toString();
		rowNmbr.innerHTML = index;
		txtArea1.innerHTML = "<input type=text name=employee_name_or_initials value="+initials[i]+" onFocus=this.value='' size=15 maxLength=40 />";
		txtArea5.innerHTML ="<select name=coverage_type><option>-</option><option>Single</option>	<option>2 Person</option>	<option>Family</option></select>";
		nameStr = "sale"+index
		txtArea2.innerHTML = "<div align='center'><input name=birthdate type=text size=10 maxlength=12 value=''  float:left;margin-top:3px;' /></div>";
		txtArea3.innerHTML = "<div align='center'>-OR-</div>";
		txtArea4.innerHTML = "<div align='center'><input type=text name=age id=age value='' size='2' maxLength='2' tabindex='1' style='WIDTH: 21px;'  /></div>";
		txtArea6.innerHTML =  "<select name=gender><option>-</option><option>Male</option>	<option>Female</option></select>";
		txtArea7.innerHTML = "<a href='#' value='Delete' onclick='removeRow(this);'>Delete</a>";
		
	}


	//deletes the specified row from the table
   function removeRow(src)
   {
    /* src refers to the input button that was clicked. 
       to get a reference to the containing <tr> element,
       get the parent of the parent (in this case <tr>)
    */   
    var oRow = src.parentElement.parentElement;  
    
    //once the row reference is obtained, delete it passing in its rowIndex   
    document.all("Data").deleteRow(oRow.rowIndex);  

   }