function Evt_Select_Segment()
{
}
Evt_Select_Segment.prototype = new Event();
Evt_Select_Segment.prototype.mouse_up = function(event)
{
    try{
   		var geo=_MAP_WRAPPER.convert_to_geo(this._x_click,this._y_click);
        var params="type=segment&action=select&x="+geo[0]+"&y="+geo[1];
        loading_message(true);
        process_ajax_call( params,_CNTR_COMPOSITION,
            function(error){
                if(!error)
                {
                    reset_extra_graphics();
                    if(  this.responseXML.normalize ){
                        this.responseXML.normalize();

                    }
                    _LINE_PATH = _MAP_WRAPPER.decode_linestring_from_xml(this.responseXML);
                    _LINE_PATH._color="#FFCC33";
                    _LINE_PATH._stroke=3;
                    _LIST_OF_EXTRA_GRAPHICS.push(_LINE_PATH);
                    draw_extra_graphics(false);
                    loading_message(false);
                    return true;
                }
                else
                {
                    loading_message(false);
                    return false;
                }
            } );

    }catch(e)
    {
        alert("Evt_Select_Segment.mouse_up(): "+e);
        return false;
    }
};