var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863024&x=5752',
		'title': '',
		'imageId': '71863024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863025&x=5752',
		'title': '',
		'imageId': '71863025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863026&x=5752',
		'title': '',
		'imageId': '71863026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863027&x=5752',
		'title': '',
		'imageId': '71863027',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863030&x=5752',
		'title': '',
		'imageId': '71863030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863028&x=5752',
		'title': '',
		'imageId': '71863028',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863029&x=5752',
		'title': '',
		'imageId': '71863029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863031&x=5752',
		'title': '',
		'imageId': '71863031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086910&docid=71863032&x=5752',
		'title': '',
		'imageId': '71863032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4086910';

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