var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936128&x=1818',
		'title': '',
		'imageId': '71936128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936124&x=1818',
		'title': '',
		'imageId': '71936124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936130&x=1818',
		'title': '',
		'imageId': '71936130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936121&x=1818',
		'title': '',
		'imageId': '71936121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936131&x=1818',
		'title': '',
		'imageId': '71936131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936122&x=1818',
		'title': '',
		'imageId': '71936122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936125&x=1818',
		'title': '',
		'imageId': '71936125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936127&x=1818',
		'title': '',
		'imageId': '71936127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936126&x=1818',
		'title': '',
		'imageId': '71936126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936123&x=1818',
		'title': '',
		'imageId': '71936123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089954&docid=71936129&x=1818',
		'title': '',
		'imageId': '71936129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089954';

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