function load() {

if (GBrowserIsCompatible()) {

var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GScaleControl());
map.addControl(new GMapTypeControl());

GEvent.addListener(map, "moveend", function() {
var center = map.getCenter();
document.getElementById("message").innerHTML = center.toString();
});

map.setCenter(new GLatLng(35.050937900304724, 135.8123016357422), 13);

var icon1 = new GIcon();
icon1.image ="http://www.google.com/mapfiles/markerA.png";
icon1.iconSize = new GSize(20, 34);
icon1.iconAnchor = new GPoint(6, 20);
icon1.infoWindowAnchor = new GPoint(5, 1);

var point1 = new GLatLng(35.02788786381832, 135.79144477844238);
var marker1 = new GMarker(point1,icon1);
var html1= '<div style="font-weight:bold;font-size:12px;">銀閣寺道</div>';
  GEvent.addListener(marker1, "click", function() {
  marker1.openInfoWindowHtml(html1)});
map.addOverlay(marker1);

var icon2 = new GIcon();
icon2.image ="http://www.google.com/mapfiles/markerB.png";
icon2.iconSize = new GSize(20, 34);
icon2.iconAnchor = new GPoint(6, 20);
icon2.infoWindowAnchor = new GPoint(5, 1);

var point2 = new GLatLng(35.0343537740939, 135.7972812652588);
var marker2 = new GMarker(point2,icon2);
var html2= '<div style="font-weight:bold;font-size:12px;">バプテスト病院横（登山口）</div>';
  GEvent.addListener(marker2, "click", function() {
  marker2.openInfoWindowHtml(html2)});
map.addOverlay(marker2);

var icon3 = new GIcon();
icon3.image ="http://www.google.com/mapfiles/markerC.png";
icon3.iconSize = new GSize(20, 34);
icon3.iconAnchor = new GPoint(6, 20);
icon3.infoWindowAnchor = new GPoint(5, 1);

var point3 = new GLatLng(35.054029483686094, 135.81762313842773);
var marker3 = new GMarker(point3,icon3);
var html3= '<div style="font-weight:bold;font-size:12px;">石鳥居分岐点</div>';
  GEvent.addListener(marker3, "click", function() {
  marker3.openInfoWindowHtml(html3)});
map.addOverlay(marker3);

var icon4 = new GIcon();
icon4.image ="http://www.google.com/mapfiles/markerD.png";
icon4.iconSize = new GSize(20, 34);
icon4.iconAnchor = new GPoint(6, 20);
icon4.infoWindowAnchor = new GPoint(5, 1);

var point4 = new GLatLng(35.055083405816035, 135.83388805389404);
var marker4 = new GMarker(point4,icon4);
var html4= '<div style="font-weight:bold;font-size:12px;">比叡山ドライブウェイ</div>';
  GEvent.addListener(marker4, "click", function() {
  marker4.openInfoWindowHtml(html4)});
map.addOverlay(marker4);

var icon5 = new GIcon();
icon5.image ="http://www.google.com/mapfiles/markerE.png";
icon5.iconSize = new GSize(20, 34);
icon5.iconAnchor = new GPoint(6, 20);
icon5.infoWindowAnchor = new GPoint(5, 1);

var point5 = new GLatLng(35.06255707997799, 135.84345817565918);
var marker5 = new GMarker(point5,icon5);
var html5= '<div style="font-weight:bold;font-size:12px;">弁天堂・明王堂</div><p></p>';
html5 +='<img src="http://suzumoto.s217.xrea.com/suzumoto/images/P1140004-thumb.JPG" width="150"><p></p>';
  GEvent.addListener(marker5, "click", function() {
  marker5.openInfoWindowHtml(html5)});
map.addOverlay(marker5);

var icon6 = new GIcon();
icon6.image ="http://www.google.com/mapfiles/markerF.png";
icon6.iconSize = new GSize(20, 34);
icon6.iconAnchor = new GPoint(6, 20);
icon6.infoWindowAnchor = new GPoint(5, 1);

var point6 = new GLatLng(35.06650002366614, 135.84435939788818);
var marker6 = new GMarker(point6,icon6);
var html6= '<div style="font-weight:bold;font-size:12px;">ケーブル延暦寺</div><p></p>';
html6 +='<img src="http://suzumoto.s217.xrea.com/suzumoto/images/P1140007-thumb.JPG" width="200"><p></p>';
  GEvent.addListener(marker6, "click", function() {
  marker6.openInfoWindowHtml(html6)});
map.addOverlay(marker6);

var icon7 = new GIcon();
icon7.image ="http://www.google.com/mapfiles/markerG.png";
icon7.iconSize = new GSize(20, 34);
icon7.iconAnchor = new GPoint(6, 20);
icon7.infoWindowAnchor = new GPoint(5, 1);

var point7 = new GLatLng(35.06952076926185, 135.8402395248413);
var marker7 = new GMarker(point7,icon7);
var html7= '<div style="font-weight:bold;font-size:12px;">比叡山延暦寺</div><p></p>';
html7 +='<img src="http://suzumoto.s217.xrea.com/suzumoto/images/P1140009-thumb.JPG" width="200"><p></p>';
  GEvent.addListener(marker7, "click", function() {
  marker7.openInfoWindowHtml(html7)});
map.addOverlay(marker7);

var icon8 = new GIcon();
icon8.image ="http://www.google.com/mapfiles/markerH.png";
icon8.iconSize = new GSize(20, 34);
icon8.iconAnchor = new GPoint(6, 20);
icon8.infoWindowAnchor = new GPoint(5, 1);

var point8 = new GLatLng(35.068010410438596, 135.8323860168457);
var marker8 = new GMarker(point8,icon8);
var html8= '<div style="font-weight:bold;font-size:12px;">雲母越（山頂への道）</div><p></p>';
html8 +='<img src="http://suzumoto.s217.xrea.com/suzumoto/images/P1140011-thumb.JPG" width="200"><p></p>';
  GEvent.addListener(marker8, "click", function() {
  marker8.openInfoWindowHtml(html8)});
map.addOverlay(marker8);

var icon9 = new GIcon();
icon9.image ="http://www.google.com/mapfiles/markerI.png";
icon9.iconSize = new GSize(20, 34);
icon9.iconAnchor = new GPoint(6, 20);
icon9.infoWindowAnchor = new GPoint(5, 1);

var point9 = new GLatLng(35.05936921567795, 135.81290245056152);
var marker9 = new GMarker(point9,icon9);
var html9= '<div style="font-weight:bold;font-size:12px;">雲母坂</div><p></p>';
html9 +='<img src="http://suzumoto.s217.xrea.com/suzumoto/images/P1140012-thumb.JPG" width="150"><p></p>';
  GEvent.addListener(marker9, "click", function() {
  marker9.openInfoWindowHtml(html9)});
map.addOverlay(marker9);

var icon0 = new GIcon();
icon0.image ="http://www.google.com/mapfiles/markerJ.png";
icon0.iconSize = new GSize(20, 34);
icon0.iconAnchor = new GPoint(6, 20);
icon0.infoWindowAnchor = new GPoint(5, 1);

var point0 = new GLatLng(35.0501474198577, 135.79843997955322);
var marker0 = new GMarker(point0,icon0);
var html0= '<div style="font-weight:bold;font-size:12px;">鷺森神社～修学院道</div>';
  GEvent.addListener(marker0, "click", function() {
  marker0.openInfoWindowHtml(html0)});
map.addOverlay(marker0);

var polpoint001=new GLatLng(35.02788786381832, 135.79144477844238);
var polpoint002=new GLatLng(35.02968009671193, 135.79153060913086);
var polpoint003=new GLatLng(35.0299612277179, 135.79496383666992);
var polpoint004=new GLatLng(35.03196425814655, 135.79659461975098);
var polpoint005=new GLatLng(35.03235080222768, 135.7956075668335);
var polpoint006=new GLatLng(35.0343537740939, 135.7972812652588);
var polpoint007=new GLatLng(35.03835957055358, 135.80620765686035);
var polpoint008=new GLatLng(35.054029483686094, 135.81762313842773);
var polpoint009=new GLatLng(35.055083405816035, 135.83388805389404);
var polpoint010=new GLatLng(35.06255707997799, 135.84345817565918);
var line001 = [polpoint001,polpoint002,polpoint003,polpoint004,polpoint005,polpoint006,polpoint007,polpoint008,polpoint009,polpoint010];
map.addOverlay(new GPolyline(line001,"#ff0000","3","0.6"));

var polpoint021=new GLatLng(35.06650002366614, 135.84435939788818);
var polpoint022=new GLatLng(35.06952076926185, 135.8402395248413);
var polpoint023=new GLatLng(35.06952076926185, 135.8402395248413);
var polpoint024=new GLatLng(35.068010410438596, 135.8323860168457);
var polpoint025=new GLatLng(35.05936921567795, 135.81290245056152);
var polpoint026=new GLatLng(35.0501474198577, 135.79843997955322);
var line001 = [polpoint010,polpoint021,polpoint022,polpoint023,polpoint024,polpoint025,polpoint026];
map.addOverlay(new GPolyline(line001,"#0000ff","3","0.6"));

}
}

