var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629230&x=104',
		'title': '',
		'imageId': '71629230',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629242&x=104',
		'title': '',
		'imageId': '71629242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629252&x=104',
		'title': '',
		'imageId': '71629252',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629256&x=104',
		'title': '',
		'imageId': '71629256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629263&x=104',
		'title': '',
		'imageId': '71629263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629269&x=104',
		'title': '',
		'imageId': '71629269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629274&x=104',
		'title': '',
		'imageId': '71629274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629277&x=104',
		'title': '',
		'imageId': '71629277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076756&docid=71629283&x=104',
		'title': '',
		'imageId': '71629283',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4076756';

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