
// needed for tabbed listing to refocus google maps
// after switching tab
function resizeTmaps()
{
	if (typeof tmaps_listingmap != 'undefined') { tmaps_listingmap.checkResize();tmaps_listingmap.setCenter(new google.maps.LatLng(tmaps_listingmaporiglat,tmaps_listingmaporiglong)); }
		if (typeof tmaps_areamap != 'undefined') { tmaps_areamap.checkResize();tmaps_areamap.setCenter(new google.maps.LatLng(tmaps_areamaporiglat,tmaps_areamaporiglong)); }
		if (typeof tmaps_usermap != 'undefined') { tmaps_usermap.checkResize();tmaps_usermap.setCenter(new google.maps.LatLng(tmaps_usermaporiglat,tmaps_usermaporiglong)); }
		if (typeof tmaps_showall != 'undefined') { tmaps_showall.checkResize();tmaps_showall.setCenter(new google.maps.LatLng(tmaps_showalloriglat,tmaps_showalloriglong)); }
		if (typeof tmaps_search_result != 'undefined') { tmaps_search_result.checkResize();tmaps_search_result.setCenter(new google.maps.LatLng(tmaps_search_resultoriglat,tmaps_search_resultoriglong)); }
		if (typeof map != 'undefined') {
			map.checkResize();
			if( gmarkers && gmarkers.length )
				map.setCenter(gmarkers[0].getLatLng());
		}
}

