var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4073319&docid=71531869&x=5226',
		'title': '',
		'imageId': '71531869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073319&docid=71531872&x=5226',
		'title': '',
		'imageId': '71531872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073319&docid=71531870&x=5226',
		'title': '',
		'imageId': '71531870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073319&docid=71531871&x=5226',
		'title': '',
		'imageId': '71531871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073319&docid=71531882&x=5226',
		'title': '',
		'imageId': '71531882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073319&docid=71531881&x=5226',
		'title': '',
		'imageId': '71531881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4073319';

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