var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186031&x=71',
		'title': '',
		'imageId': '71186031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186036&x=71',
		'title': '',
		'imageId': '71186036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186030&x=71',
		'title': '',
		'imageId': '71186030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186025&x=71',
		'title': '',
		'imageId': '71186025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186021&x=71',
		'title': '',
		'imageId': '71186021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186020&x=71',
		'title': '',
		'imageId': '71186020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186023&x=71',
		'title': '',
		'imageId': '71186023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186022&x=71',
		'title': '',
		'imageId': '71186022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057437&docid=71186024&x=71',
		'title': '',
		'imageId': '71186024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057437';

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