var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075457&docid=71455189&x=5213',
		'title': '',
		'imageId': '71455189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075457&docid=71455188&x=5213',
		'title': '',
		'imageId': '71455188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075457&docid=71455190&x=5213',
		'title': '',
		'imageId': '71455190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075457&docid=71455186&x=5213',
		'title': '',
		'imageId': '71455186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075457&docid=71455187&x=5213',
		'title': '',
		'imageId': '71455187',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075457&docid=71455191&x=5213',
		'title': '',
		'imageId': '71455191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075457';

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