var varArray = [ {'link': '/sms/docviewer/aucdoc?auc=1339388&docid=12728426&x=203','title': '', 'imageId': '12728426', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1339388&docid=12728432&x=203','title': '', 'imageId': '12728432', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1339388&docid=12728438&x=203','title': '', 'imageId': '12728438', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1339388&docid=12728452&x=203','title': '', 'imageId': '12728452', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1339388&docid=12728443&x=203','title': '', 'imageId': '12728443', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1339388&docid=12728449&x=203','title': '', 'imageId': '12728449', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1339388&docid=12728446&x=203','title': '', 'imageId': '12728446', 'alt' : '', 'rotation': 0, 'orientation':''} ]; var title = "Auction #1339388";