var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3897063&docid=67316683&x=364',
		'title': '',
		'imageId': '67316683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897063&docid=67316676&x=364',
		'title': '',
		'imageId': '67316676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897063&docid=67316679&x=364',
		'title': '',
		'imageId': '67316679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897063&docid=67316682&x=364',
		'title': '',
		'imageId': '67316682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897063&docid=67316677&x=364',
		'title': '',
		'imageId': '67316677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897063&docid=67316678&x=364',
		'title': '',
		'imageId': '67316678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897063&docid=67316680&x=364',
		'title': '',
		'imageId': '67316680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897063&docid=67316681&x=364',
		'title': '',
		'imageId': '67316681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3897063';

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