var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852057&x=2023',
		'title': '',
		'imageId': '70852057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852060&x=2023',
		'title': '',
		'imageId': '70852060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852063&x=2023',
		'title': '',
		'imageId': '70852063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852066&x=2023',
		'title': '',
		'imageId': '70852066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852069&x=2023',
		'title': '',
		'imageId': '70852069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852072&x=2023',
		'title': '',
		'imageId': '70852072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852075&x=2023',
		'title': '',
		'imageId': '70852075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852078&x=2023',
		'title': '',
		'imageId': '70852078',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852081&x=2023',
		'title': '',
		'imageId': '70852081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852051&x=2023',
		'title': '',
		'imageId': '70852051',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044416&docid=70852054&x=2023',
		'title': '',
		'imageId': '70852054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044416';

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