Gets the name of the default region for a given theme.
$theme: The name of a theme.
A string that is the region name.
function system_default_region($theme) {
$regions = array_keys(system_region_list($theme, REGIONS_VISIBLE));
return isset($regions[0]) ? $regions[0] : '';
}