var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4024683&docid=70323498&x=1540',
		'title': '',
		'imageId': '70323498',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024683&docid=70323424&x=1540',
		'title': '',
		'imageId': '70323424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024683&docid=70323480&x=1540',
		'title': '',
		'imageId': '70323480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024683&docid=70323486&x=1540',
		'title': '',
		'imageId': '70323486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024683&docid=70323489&x=1540',
		'title': '',
		'imageId': '70323489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024683&docid=70323490&x=1540',
		'title': '',
		'imageId': '70323490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024683&docid=70323483&x=1540',
		'title': '',
		'imageId': '70323483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024683&docid=70323495&x=1540',
		'title': '',
		'imageId': '70323495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4024683';

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