var varArray = [
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3988829/69464825?x=1221',
		'title': '',
		'imageId': '69464825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3988829/69468027?x=1221',
		'title': '',
		'imageId': '69468027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3988829/69464822?x=1221',
		'title': 'A4388R Genuine OEM John Deere RIM CLAMP',
		'imageId': '69464822',
		'alt' : 'A4388R Genuine OEM John Deere RIM CLAMP',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3988829/69464823?x=1221',
		'title': '',
		'imageId': '69464823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3988829/69464826?x=1221',
		'title': '',
		'imageId': '69464826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988829';

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