var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636837&x=820',
		'title': '',
		'imageId': '71636837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636840&x=820',
		'title': '',
		'imageId': '71636840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636833&x=820',
		'title': '',
		'imageId': '71636833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636834&x=820',
		'title': '',
		'imageId': '71636834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636832&x=820',
		'title': '',
		'imageId': '71636832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636835&x=820',
		'title': '',
		'imageId': '71636835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636838&x=820',
		'title': '',
		'imageId': '71636838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636839&x=820',
		'title': '',
		'imageId': '71636839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077006&docid=71636836&x=820',
		'title': '',
		'imageId': '71636836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4077006';

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