var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061151&x=96',
		'title': '',
		'imageId': '68061151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061150&x=96',
		'title': '',
		'imageId': '68061150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061152&x=96',
		'title': '',
		'imageId': '68061152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061153&x=96',
		'title': '',
		'imageId': '68061153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061155&x=96',
		'title': '',
		'imageId': '68061155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061156&x=96',
		'title': '',
		'imageId': '68061156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061157&x=96',
		'title': '',
		'imageId': '68061157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061158&x=96',
		'title': '',
		'imageId': '68061158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061159&x=96',
		'title': '',
		'imageId': '68061159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061160&x=96',
		'title': '',
		'imageId': '68061160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926854&docid=68061489&x=96',
		'title': '',
		'imageId': '68061489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926854';

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