var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057026&docid=71176596&x=5852',
		'title': '',
		'imageId': '71176596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057026&docid=71176590&x=5852',
		'title': '',
		'imageId': '71176590',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057026&docid=71176592&x=5852',
		'title': '',
		'imageId': '71176592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057026&docid=71176591&x=5852',
		'title': '',
		'imageId': '71176591',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057026&docid=71176594&x=5852',
		'title': '',
		'imageId': '71176594',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057026&docid=71176597&x=5852',
		'title': '',
		'imageId': '71176597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057026&docid=71176593&x=5852',
		'title': '',
		'imageId': '71176593',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057026&docid=71176595&x=5852',
		'title': '',
		'imageId': '71176595',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057026';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
