var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4038690&docid=70696901&x=4211',
		'title': '',
		'imageId': '70696901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038690&docid=70696904&x=4211',
		'title': '',
		'imageId': '70696904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038690&docid=70696903&x=4211',
		'title': '',
		'imageId': '70696903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038690&docid=70696905&x=4211',
		'title': '',
		'imageId': '70696905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038690&docid=70696900&x=4211',
		'title': '',
		'imageId': '70696900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038690&docid=70696902&x=4211',
		'title': '',
		'imageId': '70696902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4038690';

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