	
//**  put small triangle int the bottom of specified menu element
function markHeadMenu(element, params)
{
	var speed = 200;
	var id = "";
	
	if(element.id != undefined)
		id = '#' + element.id;
	else
		id = element;
	
	
	
	if($(id).find('.menuImage').css('display') == 'none')
	{
		$(id).find('.menuImage').css('left', parseInt($(id).width() / 2)-10 + 'px');
		$(id).find('.menuImage').fadeIn(speed);			
	}
	else
	{
		$(id).find('.menuImage').fadeOut(speed);
	}
}

function GoogleMapInitialize(markerContent, x, y)
{ 
	var isMap = document.getElementById("map_canvas");
	if(isMap == null){
		return '';
	}
	else
	{
		var map = new GMap2(document.getElementById("map_canvas"));
		var point = new GLatLng(x, y);
	    map.setCenter(point, 11); 
	    map.setUIToDefault();
	    map.enableRotation();
	    map.enableDragging();

	    
	    var mymarker = new GMarker(point);
	    
	    GEvent.addListener(mymarker, "click", function() {  
	    	
	    	mymarker.openInfoWindowHtml(markerContent);
	    
	    });	
	  

	    map.addOverlay(mymarker);
	    
	    mymarker.openInfoWindowHtml(markerContent);		     
	}
}

        
        



