var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072592&docid=71514231&x=4223',
		'title': '',
		'imageId': '71514231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072592&docid=71514245&x=4223',
		'title': '',
		'imageId': '71514245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072592&docid=71514255&x=4223',
		'title': '',
		'imageId': '71514255',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072592&docid=71514254&x=4223',
		'title': '',
		'imageId': '71514254',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072592&docid=71514266&x=4223',
		'title': '',
		'imageId': '71514266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072592&docid=71514265&x=4223',
		'title': '',
		'imageId': '71514265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072592';

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