
var map;
var icon = new GIcon();
icon.image = "/images/blue.png";
icon.iconSize = new GSize(20,34)
icon.iconAnchor = new GPoint(12,24)
icon.infoWindowAnchor = new GPoint(16,24);

var iconv = new GIcon();
iconv.image = "/images/orange.png";
iconv.iconSize = new GSize(20,34)
iconv.iconAnchor = new GPoint(12,24)
iconv.infoWindowAnchor = new GPoint(16,24);

var markers 	= new Array;

function load_point(a,b,id) {
        var latlng = new GLatLng(a, b);
        map.addOverlay(marker=new GMarker(latlng,{icon: icon}));
        marker.id = id;
        GEvent.addListener(marker, 'mouseover', function() {
        markers[id].setImage('/images/orange.gif');        
        document.getElementById(id).style.backgroundImage = 'url("/images/orangepix.gif")';
        });
        
        GEvent.addListener(marker, 'mouseout', function() {
        markers[id].setImage('/images/blue.png');
        document.getElementById(id).style.backgroundImage = 'url("/images/whitepix.gif")';

        });

        markers.push(marker);

}    

// ##### bolds marker with new icon
function outlineMark(number, icon){
if ( markers[number] ) {
markers[number].setImage(icon)
}
}
