var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845490&x=3856',
		'title': '',
		'imageId': '67845490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845489&x=3856',
		'title': '',
		'imageId': '67845489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845491&x=3856',
		'title': '',
		'imageId': '67845491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845495&x=3856',
		'title': '',
		'imageId': '67845495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845487&x=3856',
		'title': '',
		'imageId': '67845487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845496&x=3856',
		'title': '',
		'imageId': '67845496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845486&x=3856',
		'title': '',
		'imageId': '67845486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845492&x=3856',
		'title': '',
		'imageId': '67845492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845488&x=3856',
		'title': '',
		'imageId': '67845488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845494&x=3856',
		'title': '',
		'imageId': '67845494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917647&docid=67845493&x=3856',
		'title': '',
		'imageId': '67845493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917647';

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