var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4073349&docid=71533100&x=5753',
		'title': '',
		'imageId': '71533100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073349&docid=71533101&x=5753',
		'title': '',
		'imageId': '71533101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073349&docid=71533102&x=5753',
		'title': '',
		'imageId': '71533102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073349&docid=71533103&x=5753',
		'title': '',
		'imageId': '71533103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073349&docid=71533104&x=5753',
		'title': '',
		'imageId': '71533104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073349&docid=71533105&x=5753',
		'title': '',
		'imageId': '71533105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073349&docid=71533106&x=5753',
		'title': '',
		'imageId': '71533106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4073349';

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