var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088104&docid=71889909&x=3634',
		'title': '',
		'imageId': '71889909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088104&docid=71889908&x=3634',
		'title': '',
		'imageId': '71889908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088104&docid=71889905&x=3634',
		'title': '',
		'imageId': '71889905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088104&docid=71889910&x=3634',
		'title': '',
		'imageId': '71889910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088104&docid=71889906&x=3634',
		'title': '',
		'imageId': '71889906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088104&docid=71889907&x=3634',
		'title': '',
		'imageId': '71889907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088104&docid=71889904&x=3634',
		'title': '',
		'imageId': '71889904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088104';

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