var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177870&x=5746',
		'title': '',
		'imageId': '71177870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177902&x=5746',
		'title': '',
		'imageId': '71177902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177871&x=5746',
		'title': '',
		'imageId': '71177871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177873&x=5746',
		'title': '',
		'imageId': '71177873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177874&x=5746',
		'title': '',
		'imageId': '71177874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177872&x=5746',
		'title': '',
		'imageId': '71177872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177875&x=5746',
		'title': '',
		'imageId': '71177875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177877&x=5746',
		'title': '',
		'imageId': '71177877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083570&docid=71177876&x=5746',
		'title': '',
		'imageId': '71177876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4083570';

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