<!--
    //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<GLOBAL VARIABLES>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    //contains OWL text to display                   
    var owl;

    //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<YAHOO MAP FUNCTIONS>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

//  FRANCISCO [091209]:    
//  changed function from StartGMap(), the parameters being passed in were not used
//  and it was an unnecessary function call at that point.  initialize() is automatic

    function StartGMap() 
    {        
        //set up map centered in California
        var map = new GMap2(document.getElementById('mapContainer'));     
	map.addControl(new GLargeMapControl());
        map.addControl(new GMapTypeControl());
	map.setMapType(G_SATELLITE_MAP);
        //map.addControl(new GOverviewMapControl());
	map.setCenter(new GLatLng(39.095962936305476, -99.4921875), 3);

	var bounds = map.getBounds();
	var SW = bounds.getSouthWest();
	var NE = bounds.getNorthEast();
	document.flickrInquiry.BottomLeftLat.value = SW.lat();
	document.flickrInquiry.BottomLeftLon.value = SW.lng();
	document.flickrInquiry.TopRightLat.value = NE.lat();
	document.flickrInquiry.TopRightLon.value = NE.lng();

//	GEvent.addListener(map, "dragend", function () {
//		var bounds = map.getBounds();
//		var SW = bounds.getSouthWest();
//		var NE = bounds.getNorthEast();
//		document.flickrInquiry.BottomLeftLat.value = SW.lat();
//		document.flickrInquiry.BottomLeftLon.value = SW.lng();
//		document.flickrInquiry.TopRightLat.value = NE.lat();
//		document.flickrInquiry.TopRightLon.value = NE.lng();
//		alert('BL Lat : ' + SW.lat() + ' BL Lon : ' + SW.lng() + ' TR Lat : ' + NE.lat() + ' TR Lon : ' + NE.lng());
//	});


	GEvent.addListener(map, "moveend", function () {
		var bounds = map.getBounds();
		var SW = bounds.getSouthWest();
		var NE = bounds.getNorthEast();
		document.flickrInquiry.BottomLeftLat.value = SW.lat();
		document.flickrInquiry.BottomLeftLon.value = SW.lng();
		document.flickrInquiry.TopRightLat.value = NE.lat();
		document.flickrInquiry.TopRightLon.value = NE.lng();
	//	alert('BL Lat : ' + SW.lat() + ' BL Lon : ' + SW.lng() + ' TR Lat : ' + NE.lat() + ' TR Lon : ' + NE.lng());
	});

	GEvent.addListener(map, "zoomend", function () {
		var bounds = map.getBounds();
		var SW = bounds.getSouthWest();
		var NE = bounds.getNorthEast();
		document.flickrInquiry.BottomLeftLat.value = SW.lat();
		document.flickrInquiry.BottomLeftLon.value = SW.lng();
		document.flickrInquiry.TopRightLat.value = NE.lat();
		document.flickrInquiry.TopRightLon.value = NE.lng();
		//alert('BL Lat : ' + SW.lat() + ' BL Lon : ' + SW.lng() + ' TR Lat : ' + NE.lat() + ' TR Lon : ' + NE.lng());
	});

//	GEvent.addListener(map, "resize", function () {
//		var bounds = map.getBounds();
//		var SW = bounds.getSouthWest();
//		var NE = bounds.getNorthEast();
//		document.flickrInquiry.BottomLeftLat.value = SW.lat();
//		document.flickrInquiry.BottomLeftLon.value = SW.lng();
//		document.flickrInquiry.TopRightLat.value = NE.lat();
//		document.flickrInquiry.TopRightLon.value = NE.lng();
//		alert('BL Lat : ' + SW.lat() + ' BL Lon : ' + SW.lng() + ' TR Lat : ' + NE.lat() + ' TR Lon : ' + NE.lng());
//	});
       
        return map;
    }
    
//-->