var background = new Object(); var background = {image:'/uploads/glenhouse061RJopt.jpg', caption:'Glen House, Innerleithen', width:'', height:''};var tear =0;