var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205497&x=629',
		'title': '',
		'imageId': '70205497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205473&x=629',
		'title': '',
		'imageId': '70205473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205476&x=629',
		'title': '',
		'imageId': '70205476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205484&x=629',
		'title': '',
		'imageId': '70205484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205489&x=629',
		'title': '',
		'imageId': '70205489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205493&x=629',
		'title': '',
		'imageId': '70205493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205505&x=629',
		'title': '',
		'imageId': '70205505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205477&x=629',
		'title': '',
		'imageId': '70205477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205475&x=629',
		'title': '',
		'imageId': '70205475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205472&x=629',
		'title': '',
		'imageId': '70205472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019071&docid=70205498&x=629',
		'title': '',
		'imageId': '70205498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019071';

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