// alert('Found Document: Image Cycler'); var id = null; var opts = null; doc = new Doc('MSG00006', opts); doc.loadByMap({ permission: '', publishDate: '', name: 'Background Three', numComments: '', typeId: 'MSG', lastModified: '07/28/2010', title: 'Image Cycler', path: 'homepage2.html', documentId: 'MSG00006', numRatings: '', createDate: '06/01/2010', uri: '/homepage2.html', row: '' }); doc.addField('backgroundImageFilePath', '/file/363/homebg_guy.jpg');