var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862647&x=293',
		'title': '',
		'imageId': '71862647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862645&x=293',
		'title': '',
		'imageId': '71862645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862639&x=293',
		'title': '',
		'imageId': '71862639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862650&x=293',
		'title': '',
		'imageId': '71862650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862636&x=293',
		'title': '',
		'imageId': '71862636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862651&x=293',
		'title': '',
		'imageId': '71862651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862648&x=293',
		'title': '',
		'imageId': '71862648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862643&x=293',
		'title': '',
		'imageId': '71862643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086883&docid=71862646&x=293',
		'title': '',
		'imageId': '71862646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4086883';

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