    
    //------------------------------------------
    
    var input="";
    
    	$(document).ready(function() {
    
    	//load default calendar
    	LoadCalendar(input);
    
    	$(".white_text_flip td").hover(
    		function() {
    			$(this).css({color:'black'});
    			$(this).addClass("_other_menu_hover");
    		},
    		function() {
    			$(this).css({color:'#444'});
    			$(this).removeClass("_other_menu_hover");
    		}
    	);
    });
    function LoadCalendar(input) {
    	// load preloader
    	$("#calendar").fadeOut("fast")
    
    	// Calendar
    	$.ajax({
    		url: "calendar.asp?"+input,
    		cache: false,
    		success: function(html){
    			$("#calendar").html(html).fadeIn("slow");
    		}
    	});
    }
    
//-------------------------------------------------
 
var map;
var geocoder;

function initialize() {
 map = new GMap2(document.getElementById("map_canvas"));
 map.setCenter(new GLatLng(34, 0), 10);
 geocoder = new GClientGeocoder();
map.addControl(new GSmallMapControl());
}


// addAddressToMap() is called when the geocoder returns an
// answer.  It adds a marker to the map with an open info window
// showing the nicely formatted version of the address and the country code.

function addAddressToMap(response) {

 map.clearOverlays();
 if (!response || response.Status.code != 200) {
   alert("Sorry, we were unable to geocode that address");
 } else {
   place = response.Placemark[0];
   point = new GLatLng(place.Point.coordinates[1],
                       place.Point.coordinates[0]);
   marker = new GMarker(point);
   map.addOverlay(marker);
   map.setCenter(point);
  // marker.openInfoWindowHtml(place.address);
 }
}

// showLocation() is called when you click on the Search button
// in the form.  It geocodes the address entered into the form
// and adds a marker to the map at that location.
function findLocation(address) {
	 geocoder.getLocations(address, addAddressToMap);
}


//----------------------------------