var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694149&x=4717',
		'title': '',
		'imageId': '68694149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694145&x=4717',
		'title': '',
		'imageId': '68694145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694150&x=4717',
		'title': '',
		'imageId': '68694150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694143&x=4717',
		'title': '',
		'imageId': '68694143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694151&x=4717',
		'title': '',
		'imageId': '68694151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694144&x=4717',
		'title': '',
		'imageId': '68694144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694153&x=4717',
		'title': '',
		'imageId': '68694153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694148&x=4717',
		'title': '',
		'imageId': '68694148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694146&x=4717',
		'title': '',
		'imageId': '68694146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694152&x=4717',
		'title': '',
		'imageId': '68694152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954763&docid=68694147&x=4717',
		'title': '',
		'imageId': '68694147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954763';

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