function Event()
{
	//Coordinates in pixel on the map image
	this._x_click=0;
	this._y_click=0;
	//Offset of the map container relative to browser
	this._offset_left=0;
	this._offset_top=0;
	
	//Position of the map image relative to the div container
	this._x_map=0;
	this._y_map=0;
	
	this._url="";
	
	this._x_mov=0;
	this._y_mov=0;
	
	//The DOM node of the map image
	this._map_node=null;
}

Event.prototype.mouse_down=function(event)
{
	this._offset_left=document.getElementById("window").offsetLeft+
    document.getElementById("mappa").offsetLeft;
    this._offset_top=document.getElementById("window").offsetTop+
    document.getElementById("mappa").offsetTop;

   var px_coords=_MAP_WRAPPER.convert_to_relative_pixel_coords(event.clientX,event.clientY);
	
   this._x_click=px_coords[0];
   this._y_click=px_coords[1];
   
   
    this._map_node=document.getElementById("mappa");

    //Posizione della mappa rispetto al suo div contenitore
    this._x_map=this._map_node.offsetLeft;
    this._y_map=this._map_node.offsetTop;
    
    stop_propagating_event(event);
};

Event.prototype.mouse_up=function(event)
{
	stop_propagating_event(event);
	
};
Event.prototype.mouse_move=function(event)
{
	stop_propagating_event(event);
	
};
Event.prototype.draw_extra_graphics=function()
{
};
