function swapText(ele,sch,rep){
	if(ele.value == sch){
		ele.value = rep;
	}
}

function addEmployees(id,num){	
	//get the count of the items
	var count = jQuery('#'+id).find('.first-last').length;

	//loop through and add the number specified
	for(var i=0;i<num;i++){
		//clone the first object
		var clone = jQuery("#"+id).find('.first-last:eq(0)').clone(true);
	
		//set the new employee number
		clone.find('td:eq(0)').html('Employee #'+(count+i+1));
		
		//set the first name and last name fields values
		clone.find('input[name="first_name[]"]').val('First Name');
		clone.find('input[name="last_name[]"]').val('Last Name');
		
		jQuery('#'+id).append(clone);	
	}
}
