$(document).ready(function(){
	/**
	 * Initialisation du menu
	 * Il y a un bug avec IE6 sur le deuxième niveau
	 */
	$('#menu').find('ul').parent().each(function(){
		var submenu = $(this).find('ul:eq(0)');

		submenu.css({
			'top' : '0px',
			'left' : $(this).outerWidth()+'px'
		});
		$(this).hover(
			function(){
				submenu.fadeIn('fast', function(){
					$(this).css({'top' : '0px'})
				});
			},
			function(){
				submenu.fadeOut('fast');
			}
		);
	});
});


function initialize(latitude, longitude, zoom) {
    if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(latitude, longitude), zoom);
        map.setUIToDefault();
        
        var point = new GLatLng(latitude, longitude);
        map.addOverlay(new GMarker(point));
    }
}
