var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051041&docid=71019246&x=1937',
		'title': '',
		'imageId': '71019246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051041&docid=71019245&x=1937',
		'title': '',
		'imageId': '71019245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051041&docid=71019250&x=1937',
		'title': '',
		'imageId': '71019250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051041&docid=71019248&x=1937',
		'title': '',
		'imageId': '71019248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051041&docid=71019247&x=1937',
		'title': '',
		'imageId': '71019247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051041&docid=71019249&x=1937',
		'title': '',
		'imageId': '71019249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051041&docid=71019288&x=1937',
		'title': '',
		'imageId': '71019288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051041&docid=71019257&x=1937',
		'title': '',
		'imageId': '71019257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051041';

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