var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4085262&docid=71818089&x=1815',
		'title': '',
		'imageId': '71818089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085262&docid=71818090&x=1815',
		'title': '',
		'imageId': '71818090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085262&docid=71818085&x=1815',
		'title': '',
		'imageId': '71818085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085262&docid=71818088&x=1815',
		'title': '',
		'imageId': '71818088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085262&docid=71818084&x=1815',
		'title': '',
		'imageId': '71818084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085262&docid=71818086&x=1815',
		'title': '',
		'imageId': '71818086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085262&docid=71818087&x=1815',
		'title': '',
		'imageId': '71818087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4085262';

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