var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126659&x=2022',
		'title': '',
		'imageId': '70126659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126660&x=2022',
		'title': '',
		'imageId': '70126660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126661&x=2022',
		'title': '',
		'imageId': '70126661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126664&x=2022',
		'title': '',
		'imageId': '70126664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126667&x=2022',
		'title': '',
		'imageId': '70126667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126671&x=2022',
		'title': '',
		'imageId': '70126671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126678&x=2022',
		'title': '',
		'imageId': '70126678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126687&x=2022',
		'title': '',
		'imageId': '70126687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126692&x=2022',
		'title': '',
		'imageId': '70126692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126695&x=2022',
		'title': '',
		'imageId': '70126695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016346&docid=70126698&x=2022',
		'title': '',
		'imageId': '70126698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016346';

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