<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>D:\wamp\www\wordpress\wp-settings.php</b> on line <b>204</b><br />
<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>D:\wamp\www\wordpress\wp-settings.php</b> on line <b>219</b><br />
<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>D:\wamp\www\wordpress\wp-settings.php</b> on line <b>226</b><br />
<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>D:\wamp\www\wordpress\wp-settings.php</b> on line <b>233</b><br />
<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>D:\wamp\www\wordpress\wp-settings.php</b> on line <b>258</b><br />
<br />
<b>Deprecated</b>:  Function set_magic_quotes_runtime() is deprecated in <b>D:\wamp\www\wordpress\wp-settings.php</b> on line <b>27</b><br />

var map_0, directions_0;

latlng="42.681426,26.972809", compteur=0;
if (GBrowserIsCompatible()) {
	map_0 = new GMap2(document.getElementById("Googlemap_0"));
	map_0.clearOverlays();
	map_0.enableDoubleClickZoom();
	map_0.enableContinuousZoom();
	map_0.setMapType(G_PHYSICAL_MAP);
	map_0.setUIToDefault();

	directions_0 = new GDirections(map_0, document.getElementById("directions_0"));
	directions_0.clear();
	GEvent.addListener(directions_0, "error", function() {
		if (directions_0.getStatus().code == G_GEO_UNKNOWN_ADDRESS) {

			if(latlng!="" && compteur < 2) {
				var coord=new GLatLng(42.681426,26.972809);
				map_0.setCenter(coord, 10);
				directions_0.load("from: 12 ул. Георги Кирков, Burgas, Bulgaria to: medven, kotel, bulgaria @42.681426,26.972809");
				compteur+=1;
			}
			else {
				ErrorMsg="Error: 602\n";
				ErrorMsg+="Info: http://www.google.com/apis/maps/documentation/reference.html#GGeoStatusCode";
				//alert(ErrorMsg);
			}

		}
		else {
			ErrorMsg="Error: "+directions_0.getStatus().code+"\n";
			ErrorMsg+="On: \nfrom: 12 ул. Георги Кирков, Burgas, Bulgaria to: medven, kotel, bulgaria";
			//alert(ErrorMsg);
		}
	});
	GEvent.addListener(directions_0, "load", function(){
		map_0.addOverlay(directions_0.getPolyline());
	});
	directions_0.load("from: 12 ул. Георги Кирков, Burgas, Bulgaria to: medven, kotel, bulgaria");

	PosLib = document.getElementById("Lib_0");
	TagSmall=document.createElement("small")
	Lien = document.createElement('a');
	Lien.setAttribute("href","http://maps.google.com/maps?f=d&source=s_d&saddr=12 ул. Георги Кирков, Burgas, Bulgaria&daddr=medven, kotel, bulgaria&hl=en&geocode=FURriAId3jejASm7j9rpwJSmQDHkg8Rre4J2KQ;FY64jQIdDECVASkjPqbxlRymQDGAnw7NFKAACg&mra=ls&sll=42.822099,27.664948&sspn=0.356572,0.734024&ie=UTF8&ll=42.681426,26.972809&spn=0.714763,1.468048&t=p&z=10");
	Lien.appendChild(document.createTextNode("Zoom in"));
	TagSmall.appendChild(Lien);
	PosLib.appendChild(TagSmall);
}
else {
	document.getElementById("Googlemap_0").innerHTML="Sorry, your browser can't display Google Maps...";
}
