var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4026751&docid=70368814&x=5150',
		'title': '',
		'imageId': '70368814',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026751&docid=70368816&x=5150',
		'title': '',
		'imageId': '70368816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026751&docid=70368815&x=5150',
		'title': '',
		'imageId': '70368815',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026751&docid=70368821&x=5150',
		'title': '',
		'imageId': '70368821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026751&docid=70368820&x=5150',
		'title': '',
		'imageId': '70368820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026751&docid=70368817&x=5150',
		'title': '',
		'imageId': '70368817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026751&docid=70368819&x=5150',
		'title': '',
		'imageId': '70368819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026751&docid=70368818&x=5150',
		'title': '',
		'imageId': '70368818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4026751';

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