var varArray = [ {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507620&x=4052','title': '', 'imageId': '12507620', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507621&x=4052','title': '', 'imageId': '12507621', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507624&x=4052','title': '', 'imageId': '12507624', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507633&x=4052','title': '', 'imageId': '12507633', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507636&x=4052','title': '', 'imageId': '12507636', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507639&x=4052','title': '', 'imageId': '12507639', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507645&x=4052','title': '', 'imageId': '12507645', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507653&x=4052','title': '', 'imageId': '12507653', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1322838&docid=12507656&x=4052','title': '', 'imageId': '12507656', 'alt' : '', 'rotation': 0, 'orientation':''} ]; var title = "Auction #1322838";