var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015832&x=5855',
		'title': '',
		'imageId': '69015832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015833&x=5855',
		'title': '',
		'imageId': '69015833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015834&x=5855',
		'title': '',
		'imageId': '69015834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015835&x=5855',
		'title': '',
		'imageId': '69015835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015836&x=5855',
		'title': '',
		'imageId': '69015836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015837&x=5855',
		'title': '',
		'imageId': '69015837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015838&x=5855',
		'title': '',
		'imageId': '69015838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015842&x=5855',
		'title': '',
		'imageId': '69015842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985690&docid=69015843&x=5855',
		'title': '',
		'imageId': '69015843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985690';

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