Line_Path.prototype= new Complex_Graphics();
function Line_Path()
{
    this._list_of_graphics=new Array();
}
Line_Path.prototype.to_post_request=function()
{
    try
    {
        var x = new Array();
        var y = new Array();
        var first = true;
        var first_1 = true; 
        var separator = "";
        var separator_1 = "";
        var compound_curve = "";
        var type="";
		
        for(var i=0; i < this._list_of_graphics.length; i++)
        {

            if(this._list_of_graphics[i].constructor == Line)
            {
                if(first)
                    first=false;
                else
                    separator="_";
                var tpr = this._list_of_graphics[i].to_post_request();
				
                type="LINE ";
                x=tpr[0].split("_");
                y=tpr[1].split("_");
				
                var text=type+x[0]+"_"+y[0]+","+x[1]+"_"+y[1];

            }

            if(this._list_of_graphics[i].constructor == Arc)
            {
                if(first)
                    first=false;
                else
                    separator="_";
                var tpr = this._list_of_graphics[i].to_post_request();
                type="ARC ";
                x=tpr[0].split("_");
                y=tpr[1].split("_");
				
                var text=type+x[0]+"_"+y[0]+","+x[1]+"_"+y[1]+","+x[2]+"_"+y[2];
            }
            if(first_1)
                first_1=false;
            else
                separator_1="#";
				
            compound_curve += separator_1+text;

        }
        return compound_curve;
		
    }
    catch(e)
    {
        alert("Line_Path.to_post_request() "+e);
        return false;
    }	
};