function JSObject(ID,type,title, author, date, format, smallComment, path, fileName, comment, infos, ic,icF)
{
        this.ID           = ID;
        this.type         = type;
        this.title        = title;
        this.author       = author;
        this.date         = date;
        this.format       = format;
        this.smallComment = smallComment;
        this.comment      = comment;
        this.path         = path;
        this.thumbPath    = path + "/Thumb";
        this.filePath     = path + "/" + fileName;
        this.fileName     = fileName;
        this.icon         = ic
        this.iconFormat   = icF;

        if (type=='Anim' || type=='Photo')
            this.URL = this.filePath + "/" + fileName + ".htm";
        else if (type=='Graph' || type=='digitalGraph')
            this.URL = this.filePath + "/" + fileName + ".jpg";
        else if (type=='Music')
            this.URL = "about:blank"
        if (type=='Photo')
        {    this.photoURL = "../___Swf/InterfacePhoto_01.php?mURL=Members/"+this.author+"/Photo/"+this.fileName
        }

        //Get extra/optional infos
        //(first set default values)
        this.Wpop =200;
        this.Hpop =200;
        this.Tplace="r"
        this.dt=0
        this.Twidth=140
        this.dwn=""
        var Info = infos.split(";")
        var KeyVal,key,val
        for (var i=0;i<Info.length;i++)
        {    KeyVal= Info[i].replace(/ /g,"").split("=")
             if(KeyVal.length==2)
             {  key=KeyVal[0]
                val=KeyVal[1]
                if (key=='W') this.Wpop=val
                if (key=='H') this.Hpop=val
                if (key=='T') this.Tplace=val
                if (key=='dt') this.dt=val
                if (key=='Tw') this.Twidth=parseInt(val)
                if (key=='dwn') this.dwn=val
             }
        }

}
