var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104150&x=5416',
		'title': '',
		'imageId': '68104150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104152&x=5416',
		'title': '',
		'imageId': '68104152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104147&x=5416',
		'title': '',
		'imageId': '68104147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104148&x=5416',
		'title': '',
		'imageId': '68104148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104155&x=5416',
		'title': '',
		'imageId': '68104155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104154&x=5416',
		'title': '',
		'imageId': '68104154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104146&x=5416',
		'title': '',
		'imageId': '68104146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090325&x=5416',
		'title': '',
		'imageId': '68090325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090321&x=5416',
		'title': '',
		'imageId': '68090321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090326&x=5416',
		'title': '',
		'imageId': '68090326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090327&x=5416',
		'title': '',
		'imageId': '68090327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090322&x=5416',
		'title': '',
		'imageId': '68090322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090311&x=5416',
		'title': '',
		'imageId': '68090311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090323&x=5416',
		'title': '',
		'imageId': '68090323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090313&x=5416',
		'title': '',
		'imageId': '68090313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090304&x=5416',
		'title': '',
		'imageId': '68090304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090302&x=5416',
		'title': '',
		'imageId': '68090302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68090310&x=5416',
		'title': '',
		'imageId': '68090310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104153&x=5416',
		'title': '',
		'imageId': '68104153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927827&docid=68104149&x=5416',
		'title': '',
		'imageId': '68104149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927827';

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