var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964942&docid=68926843&x=3954',
		'title': '',
		'imageId': '68926843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964942&docid=68926844&x=3954',
		'title': '',
		'imageId': '68926844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964942&docid=68926869&x=3954',
		'title': '',
		'imageId': '68926869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964942&docid=68926874&x=3954',
		'title': '',
		'imageId': '68926874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964942&docid=68926873&x=3954',
		'title': '',
		'imageId': '68926873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964942&docid=68926875&x=3954',
		'title': '',
		'imageId': '68926875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964942&docid=68926872&x=3954',
		'title': '',
		'imageId': '68926872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964942&docid=68926876&x=3954',
		'title': '',
		'imageId': '68926876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964942';

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