function RoadHtml(id,uri) {
	new Ajax.Request(uri,
	{
		method:'get',
		onSuccess: function(transport){
			$(id).innerHTML = transport.responseText;
		}
	});
}


	var popup2="ここが<b>systemlink</b><br />です";
	var popup="systemlinkへの道です<br />";
   window.onload=function(){
   _map = new YahooMapsCtrl("map", "33.44.25.50,130.29.16.300", 2);
   _map.addIcon("myh", "33.44.25.50,130.29.16.300",popup2,'L1','システムリンク');
   _map.setEnableClickPopup(true);
    document.getElementById("map2").innerHTML=_map.getCenter();
    
   var style = {strokeWidth: 3, strokeColor: 'FF0000', strokeOpacity: 1};
   var pos = new Array();

   _map.addPolyline('polyline1', pos, popup, style);
   pos.push( new YLLPoint("33.44.43.871,130.28.42.881"));
   pos.push( new YLLPoint("33.44.43.671,130.28.43.601"));
   pos.push( new YLLPoint("33.44.42.839,130.28.46.563"));
   pos.push( new YLLPoint("33.44.42.107,130.28.49.925"));
   pos.push( new YLLPoint("33.44.41.807,130.28.52.767"));
   pos.push( new YLLPoint("33.44.41.075,130.28.58.21"));
   pos.push( new YLLPoint("33.44.38.812,130.29.2.732"));
   pos.push( new YLLPoint("33.44.38.446,130.29.3.293"));
   pos.push( new YLLPoint("33.44.38.014,130.29.3.613"));
   pos.push( new YLLPoint("33.44.37.148,130.29.5.374"));
   pos.push( new YLLPoint("33.44.30.692,130.29.15.78"));
   pos.push( new YLLPoint("33.44.29.527,130.29.14.779"));
   pos.push( new YLLPoint("33.44.27.73,130.29.14.619"));
   pos.push( new YLLPoint("33.44.27.098,130.29.14.739"));
   pos.push( new YLLPoint("33.44.26.399,130.29.15.5"));
   pos.push( new YLLPoint("33.44.25.5,130.29.16.3"));

   _map.addEvent(YEventType.MAP_MOVING,function(){
   	document.getElementById("map2").innerHTML=_map.getCenter();
   	document.getElementById("lat").innerHTML=_map.getCenter().lat;
   	document.getElementById("lng").innerHTML=_map.getCenter().lon;   	
   	});
   }
   
   
    
