var varArray = [ {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738312&x=4828','title': '', 'imageId': '12738312', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738325&x=4828','title': '', 'imageId': '12738325', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738330&x=4828','title': '', 'imageId': '12738330', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738326&x=4828','title': '', 'imageId': '12738326', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738304&x=4828','title': '', 'imageId': '12738304', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738306&x=4828','title': '', 'imageId': '12738306', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738307&x=4828','title': '', 'imageId': '12738307', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738308&x=4828','title': '', 'imageId': '12738308', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738309&x=4828','title': '', 'imageId': '12738309', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738305&x=4828','title': '', 'imageId': '12738305', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738322&x=4828','title': '', 'imageId': '12738322', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738329&x=4828','title': '', 'imageId': '12738329', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738328&x=4828','title': '', 'imageId': '12738328', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1340052&docid=12738339&x=4828','title': '', 'imageId': '12738339', 'alt' : '', 'rotation': 0, 'orientation':''} ]; var title = "Auction #1340052";