function sfhiv_display_location()
{
    $location = sfhiv_location_get_related_location(get_the_ID());
    if ($location) {
        sfhiv_location_format($location);
    }
}
function sfhiv_event_display_location()
{
    if (get_post_type() != 'sfhiv_event') {
        return;
    }
    $location = sfhiv_location_get_related_location(get_the_ID());
    if ($location) {
        sfhiv_location_format($location);
    } else {
        ?>
	<div class="address address-tba">
		<i></i>
		<span>Location To Be Announced</span>
	</div>
	<?php 
    }
}
function sfhiv_service_hours_print_list($times)
{
    $time_format = get_option('time_format');
    echo '<ul class="list sfhiv_service_time_hour service-time-list">';
    $locations = sfhiv_service_hours_sort_by_location($times);
    foreach ($locations as $location) {
        echo '<li class="sfhiv_service_hour type-sfhiv_service_hour status-publish hentry list-item">';
        $days = sfhiv_service_hours_sort_by_day($location->times);
        echo '<div class="times-list">';
        foreach ($days as $day) {
            echo '<div class="time-container">';
            echo '<div class="date date-float">';
            sfhiv_service_hour_markup_day($day['day']);
            echo '</div>';
            foreach ($day['times'] as $time) {
                sfhiv_service_hour_display_time_markup($time->start, $time->end, $time_format);
            }
            echo '<div class="clear">&nbsp;</div>';
            echo '</div><!-- end .time-container -->';
        }
        echo '</div><!-- end .times-list -->';
        sfhiv_location_format($location);
        echo '<div class="clear">&nbsp;</div>';
        echo '</li>';
    }
    echo '</ul>';
    echo '<div class="clear">&nbsp;</div>';
}