var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089864&docid=71935445&x=3844',
		'title': '',
		'imageId': '71935445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089864&docid=71935452&x=3844',
		'title': '',
		'imageId': '71935452',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089864&docid=71935451&x=3844',
		'title': '',
		'imageId': '71935451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089864&docid=71935448&x=3844',
		'title': '',
		'imageId': '71935448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089864&docid=71935449&x=3844',
		'title': '',
		'imageId': '71935449',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089864&docid=71935450&x=3844',
		'title': '',
		'imageId': '71935450',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089864&docid=71935447&x=3844',
		'title': '',
		'imageId': '71935447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089864&docid=71935446&x=3844',
		'title': '',
		'imageId': '71935446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089864';

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