var varArray = [ {'link': '/sms/docviewer/aucdoc?auc=1336666&docid=12692018&x=2351','title': '', 'imageId': '12692018', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1336666&docid=12692022&x=2351','title': '', 'imageId': '12692022', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1336666&docid=12692026&x=2351','title': '', 'imageId': '12692026', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1336666&docid=12692019&x=2351','title': '', 'imageId': '12692019', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1336666&docid=12692020&x=2351','title': '', 'imageId': '12692020', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1336666&docid=12692023&x=2351','title': '', 'imageId': '12692023', 'alt' : '', 'rotation': 0, 'orientation':''} , {'link': '/sms/docviewer/aucdoc?auc=1336666&docid=12692021&x=2351','title': '', 'imageId': '12692021', 'alt' : '', 'rotation': 0, 'orientation':''} ]; var title = "Auction #1336666";