function Evt_Set_Point(interpolate_point)
{
    this._interpolate_point=interpolate_point;
}
Evt_Set_Point.prototype=new Event();
Evt_Set_Point.prototype.mouse_up=function(event)
{
    try{
        if(_LINE_PATH == null){
            alert(_MSG_SELECT_SEGMENT);
            return false;
        }
        var geo=_MAP_WRAPPER.convert_to_geo(this._x_click,this._y_click);			
        var params="type=point&action=calculate_point&x="+geo[0]+"&y="+geo[1];
        loading_message(true);
        process_ajax_call( params,_CNTR_COMPOSITION,
            function(error){
                if(!error)
                {
                    clear_extra_graphics();
                    var xml=this.responseXML;
                    var x= new Number(xml.getElementsByTagName("x")[0].firstChild.nodeValue);
                    var y= new Number(xml.getElementsByTagName("y")[0].firstChild.nodeValue);
                    var flag  = new Flag_Symbol(x,y);
                    if(_LIST_OF_POINTS.length == 0){
                        _LIST_OF_POINTS.push(flag);
                        _LIST_OF_EXTRA_GRAPHICS.push(flag);
                       flag._color="#00ff00";
                    }else if(_LIST_OF_POINTS.length == 1){
                        _LIST_OF_POINTS.push(flag);
                        _LIST_OF_EXTRA_GRAPHICS.push(flag);
                        flag._color="#ff0000";
                    }else{
                        clear_points();
                        _LIST_OF_POINTS.push(flag);
                        _LIST_OF_EXTRA_GRAPHICS.push(flag);
                        flag._color="#00ff00";
                    }
                    draw_extra_graphics(false);
                    loading_message(false);
                }
                else
                {
                    loading_message(false);
                    return false;
                }
            } );
    }catch(e)
    {
        alert("Evt_Set_Point.mouse_up(): "+e);
        loading_message(false);
        return false;
    }	
};