var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100684&x=4128',
		'title': '',
		'imageId': '68100684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100678&x=4128',
		'title': '',
		'imageId': '68100678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100677&x=4128',
		'title': '',
		'imageId': '68100677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100682&x=4128',
		'title': '',
		'imageId': '68100682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100676&x=4128',
		'title': '',
		'imageId': '68100676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100687&x=4128',
		'title': '',
		'imageId': '68100687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100686&x=4128',
		'title': '',
		'imageId': '68100686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100683&x=4128',
		'title': '',
		'imageId': '68100683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100679&x=4128',
		'title': '',
		'imageId': '68100679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100681&x=4128',
		'title': '',
		'imageId': '68100681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100685&x=4128',
		'title': '',
		'imageId': '68100685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928638&docid=68100680&x=4128',
		'title': '',
		'imageId': '68100680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928638';

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