// alert('Found Document: Image Cycler'); var id = null; var opts = null; doc = new Doc('MSG00004', opts); doc.loadByMap({ permission: '', publishDate: '06/02/2010', name: 'Background One', numComments: '', typeId: 'MSG', lastModified: '08/02/2010', title: 'Image Cycler', path: 'homepage3.html', documentId: 'MSG00004', numRatings: '', createDate: '06/01/2010', uri: '/homepage3.html', row: '' }); doc.addField('backgroundImageFilePath', '/file/365/guygirl.jpg');