var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638669&x=1446',
		'title': '',
		'imageId': '68638669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638665&x=1446',
		'title': '',
		'imageId': '68638665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638667&x=1446',
		'title': '',
		'imageId': '68638667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638660&x=1446',
		'title': '',
		'imageId': '68638660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638670&x=1446',
		'title': '',
		'imageId': '68638670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638671&x=1446',
		'title': '',
		'imageId': '68638671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638666&x=1446',
		'title': '',
		'imageId': '68638666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638664&x=1446',
		'title': '',
		'imageId': '68638664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638672&x=1446',
		'title': '',
		'imageId': '68638672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638668&x=1446',
		'title': '',
		'imageId': '68638668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638659&x=1446',
		'title': '',
		'imageId': '68638659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638661&x=1446',
		'title': '',
		'imageId': '68638661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638663&x=1446',
		'title': '',
		'imageId': '68638663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68638662&x=1446',
		'title': '',
		'imageId': '68638662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68865158&x=1446',
		'title': '',
		'imageId': '68865158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952194&docid=68865159&x=1446',
		'title': '',
		'imageId': '68865159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952194';

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