var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058074&x=124',
		'title': '',
		'imageId': '71058074',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058073&x=124',
		'title': '',
		'imageId': '71058073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058076&x=124',
		'title': '',
		'imageId': '71058076',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058075&x=124',
		'title': '',
		'imageId': '71058075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058092&x=124',
		'title': '',
		'imageId': '71058092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058098&x=124',
		'title': '',
		'imageId': '71058098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058100&x=124',
		'title': '',
		'imageId': '71058100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058099&x=124',
		'title': '',
		'imageId': '71058099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052881&docid=71058071&x=124',
		'title': '',
		'imageId': '71058071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052881';

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