var varArray = [
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3993051/69557521?x=255',
		'title': 'Photography Copy Stand',
		'imageId': '69557521',
		'alt' : 'Photography Copy Stand',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3993051/69557523?x=255',
		'title': 'Photography Copy Stand',
		'imageId': '69557523',
		'alt' : 'Photography Copy Stand',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3993051/69557524?x=255',
		'title': 'Photography Copy Stand',
		'imageId': '69557524',
		'alt' : 'Photography Copy Stand',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3993051/69557527?x=255',
		'title': 'Saltzman Camera Stand',
		'imageId': '69557527',
		'alt' : 'Saltzman Camera Stand',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3993051/69557525?x=255',
		'title': 'Saltzman Camera Stand',
		'imageId': '69557525',
		'alt' : 'Saltzman Camera Stand',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3993051/69557522?x=255',
		'title': 'Saltzman Camera Stand',
		'imageId': '69557522',
		'alt' : 'Saltzman Camera Stand',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3993051/69557528?x=255',
		'title': 'Saltzman Camera Stand',
		'imageId': '69557528',
		'alt' : 'Saltzman Camera Stand',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3993051/69557526?x=255',
		'title': 'Saltzman Camera Stand',
		'imageId': '69557526',
		'alt' : 'Saltzman Camera Stand',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993051';

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";
	})
}
