DesktopAttribute=function()
{
    this.DesktopName="undefined";
    this.BoName="";
    this.ID="";
    this.GroupName="";
    
    this.Windows=new Array();
    this.Gadgets=new Array();
    
    this.loadXML=function(xml)
    {
    }
    this.saveXML=function(type,name)
    {
        if(this.ID<0)return;
        var xml;
        xml="<windows type=\""+type+"\" name=\""+name+"\" boid=\""+this.ID+"\" boname=\""+this.BoName+"\" groupName=\""+this.GroupName+"\">";
        for(var i=0;i<this.Gadgets.length;i++)
        {
            xml+=WindowList.item(this.Gadgets[i]).save();
        }
        xml+="</windows>";
        return xml;
    }
    
    
}
