";
popHTML += "";
var map = new GMap2(document.getElementById("map"));
var topRight = new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(0,0));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl(),topRight);
map.addControl(new GOverviewMapControl(),
new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(5, 5)));
var center = new GLatLng(44.256300,-89.638500); //new GLatLng(47.391700,-121.570800);
map.setCenter(center,6);
myIcon = new GIcon();
// marker image
myIcon.image ="http://www.autoquotenow.com/images/marker.png";
myIcon.iconSize = new GSize(45, 17);
myIcon.iconAnchor = new GPoint(45, 17);
myIcon.infoWindowAnchor = new GPoint(43,17);
var marker = new GMarker(center, myIcon)
map.addOverlay(marker);
var myEvent = GEvent.addListener(marker,"mouseover", function() {
marker.openInfoWindowHtml(popHTML);
map.panTo(new GLatLng(45.256300,-89.638500)); // GEvent.removeListener(myEvent);
});
var label = "Wisconsin";
var color = "#88ff00";
var pts = [];
pts[0] = new GLatLng (42.5116,-90.6303);
pts[1] = new GLatLng (42.4954,-87.0241);
pts[2] = new GLatLng (43.3721,-87.1477);
pts[3] = new GLatLng (43.6838,-87.1230);
pts[4] = new GLatLng (44.1694,-86.9911);
pts[5] = new GLatLng (44.4828,-86.8579);
pts[6] = new GLatLng (44.8792,-86.6876);
pts[7] = new GLatLng (45.2343,-86.2523);
pts[8] = new GLatLng (45.4418,-86.7535);
pts[9] = new GLatLng (45.4438,-87.1024);
pts[10] = new GLatLng (45.3531,-87.1724);
pts[11] = new GLatLng (45.2401,-87.3193);
pts[12] = new GLatLng (45.1995,-87.4100);
pts[13] = new GLatLng (45.0784,-87.4443);
pts[14] = new GLatLng (45.0987,-87.6379);
pts[15] = new GLatLng (45.2217,-87.6956);
pts[16] = new GLatLng (45.3367,-87.6462);
pts[17] = new GLatLng (45.3869,-87.6956);
pts[18] = new GLatLng (45.3425,-87.8549);
pts[19] = new GLatLng (45.4813,-87.7945);
pts[20] = new GLatLng (45.5679,-87.7945);
pts[21] = new GLatLng (45.6764,-87.7876);
pts[22] = new GLatLng (45.7934,-87.9936);
pts[23] = new GLatLng (45.8077,-88.1145);
pts[24] = new GLatLng (45.8728,-88.0733);
pts[25] = new GLatLng (45.9521,-88.1982);
pts[26] = new GLatLng (46.0122,-88.5498);
pts[27] = new GLatLng (45.9970,-88.7036);
pts[28] = new GLatLng (46.0380,-88.8451);
pts[29] = new GLatLng (46.1389,-89.0909);
pts[30] = new GLatLng (46.3412,-90.1195);
pts[31] = new GLatLng (46.5664,-90.4147);
pts[32] = new GLatLng (47.2876,-89.9615);
pts[33] = new GLatLng (47.3100,-90.6578);
pts[34] = new GLatLng (46.7079,-92.0352);
pts[35] = new GLatLng (46.5928,-92.2948);
pts[36] = new GLatLng (46.0761,-92.2975);
pts[37] = new GLatLng (46.0132,-92.3579);
pts[38] = new GLatLng (45.9769,-92.5227);
pts[39] = new GLatLng (45.8135,-92.7466);
pts[40] = new GLatLng (45.6140,-92.8564);
pts[41] = new GLatLng (45.5477,-92.7754);
pts[42] = new GLatLng (45.4293,-92.6587);
pts[43] = new GLatLng (45.3029,-92.7136);
pts[44] = new GLatLng (44.9648,-92.7466);
pts[45] = new GLatLng (44.7877,-92.7686);
pts[46] = new GLatLng (44.6530,-92.6422);
pts[47] = new GLatLng (44.5504,-92.3552);
pts[48] = new GLatLng (44.4652,-92.2632);
pts[49] = new GLatLng (44.4024,-92.0654);
pts[50] = new GLatLng (44.2580,-91.8745);
pts[51] = new GLatLng (44.0600,-91.6383);
pts[52] = new GLatLng (43.9612,-91.4941);
pts[53] = new GLatLng (43.8296,-91.3184);
pts[54] = new GLatLng (43.6440,-91.2524);
pts[55] = new GLatLng (43.5167,-91.2305);
pts[56] = new GLatLng (43.3342,-91.2085);
pts[57] = new GLatLng (43.2932,-91.0547);
pts[58] = new GLatLng (43.1651,-91.1865);
pts[59] = new GLatLng (43.0257,-91.1536);
pts[60] = new GLatLng (42.9082,-91.1426);
pts[61] = new GLatLng (42.7692,-91.0547);
pts[62] = new GLatLng (42.6915,-90.7910);
pts[63] = new GLatLng (42.6340,-90.7031);
pts[64] = new GLatLng (42.5096,-90.6303);
var poly = new GPolygon(pts,"#333399",3,1,color,.1);
polys.push(poly);
labels.push(label);
map.addOverlay(poly);
} else {
alert("Sorry, Google Maps is not compatible with this browser.");
}
}
//]]>