var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667489&x=5149',
		'title': '',
		'imageId': '67667489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667492&x=5149',
		'title': '',
		'imageId': '67667492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667484&x=5149',
		'title': '',
		'imageId': '67667484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667500&x=5149',
		'title': '',
		'imageId': '67667500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667496&x=5149',
		'title': '',
		'imageId': '67667496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667480&x=5149',
		'title': '',
		'imageId': '67667480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667491&x=5149',
		'title': '',
		'imageId': '67667491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667499&x=5149',
		'title': '',
		'imageId': '67667499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667498&x=5149',
		'title': '',
		'imageId': '67667498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667493&x=5149',
		'title': '',
		'imageId': '67667493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667490&x=5149',
		'title': '',
		'imageId': '67667490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667495&x=5149',
		'title': '',
		'imageId': '67667495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667481&x=5149',
		'title': '',
		'imageId': '67667481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667485&x=5149',
		'title': '',
		'imageId': '67667485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667494&x=5149',
		'title': '',
		'imageId': '67667494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667483&x=5149',
		'title': '',
		'imageId': '67667483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667488&x=5149',
		'title': '',
		'imageId': '67667488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667482&x=5149',
		'title': '',
		'imageId': '67667482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667486&x=5149',
		'title': '',
		'imageId': '67667486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667497&x=5149',
		'title': '',
		'imageId': '67667497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=67667487&x=5149',
		'title': '',
		'imageId': '67667487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=59270415&x=5149',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909020&docid=59270407&x=5149',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909020';

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