ities ) + 1;
}

function getTemplate( key ) {
	return $( "#tmpl" + key ).template();
}

$(function(){
	// Create named template, to be used in composition below
	$.template( "citySeparator", '<tr class="citySeparator"><td colspan="2"></td></tr>' );

	$( "#tmplPeople" )
		.tmpl( people )
		.appendTo( ".peopleTable" );
	$( "#tmplSeparator" )
		.tmpl()
		.appendTo( ".peopleTable" );
});
</script>

<script id="tmplPeople" type="text/x-jquery-tmpl">
	{{tmpl "#tmplSeparator"}}
	<tr class="${alternate(this.data, p