function init_AcreMap() {
	
	// set transparent marker image for overlay compatibility
	
	
	// set maximum default zoom level
	if (map.getZoom() > 12) { map.setZoom(12); }
	
	// set zoom boundaries
	var mt = map.getMapTypes(); 
	for (var i = 0; i < mt.length; i++) { 
		mt[i].getMaximumResolution = function() { return 16;}
		mt[i].getMinimumResolution = function() { return 5;}
	}
	
	// enable zooming with mouse wheel
	map.enableScrollWheelZoom();
	
	/*
	map.addMapType(G_SATELLITE_3D_MAP);
	map.getEarthInstance(function(ge) {
	  // Direct Earth API calls can go here
	  ge.getLayerRoot().enableLayerById(
	      ge.LAYER_TERRAIN, true);  // Turn on terrain
	});
	*/
	
}

function reportInfo(area, report) {
	$.fn.colorbox({
		opacity:0, 
		iframe:true, 
		width:'500', 
		height:'400', 
		href:'/report_info/?a=' + area + '&r=' + report + '&p=1'
	}); 
	return false;
}

function mapInfo(area) {
	$.fn.colorbox({
		opacity:0, 
		iframe:true, 
		width:'500', 
		height:'350', 
		href:'/map_info/?a=' + area + '&p=1'
	}); 
	return false;
}

function gatd(link) {
	try {
		_gaq.push(['_trackPageview', link]);
	} catch(err) {}
}

// JQuery setup

jQuery(function($) {
	search_text_onenter();
});

function search_text_onenter() {
	if ($('.filter .placename')) {
		$('.filter .placename').keydown(function(e) {
			if (e.keyCode == 13) {
				$('.filter .submit_text').click();
			}
		});
	}
	return false;
}

