var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971421&x=5812',
		'title': '',
		'imageId': '68971421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971431&x=5812',
		'title': '',
		'imageId': '68971431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971446&x=5812',
		'title': '',
		'imageId': '68971446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971449&x=5812',
		'title': '',
		'imageId': '68971449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971452&x=5812',
		'title': '',
		'imageId': '68971452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971455&x=5812',
		'title': '',
		'imageId': '68971455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971458&x=5812',
		'title': '',
		'imageId': '68971458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971472&x=5812',
		'title': '',
		'imageId': '68971472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971485&x=5812',
		'title': '',
		'imageId': '68971485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971488&x=5812',
		'title': '',
		'imageId': '68971488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967130&docid=68971491&x=5812',
		'title': '',
		'imageId': '68971491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967130';

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