var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754479&x=5227',
		'title': '',
		'imageId': '67754479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754480&x=5227',
		'title': '',
		'imageId': '67754480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754481&x=5227',
		'title': '',
		'imageId': '67754481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754482&x=5227',
		'title': '',
		'imageId': '67754482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754483&x=5227',
		'title': '',
		'imageId': '67754483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754484&x=5227',
		'title': '',
		'imageId': '67754484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754485&x=5227',
		'title': '',
		'imageId': '67754485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754486&x=5227',
		'title': '',
		'imageId': '67754486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754487&x=5227',
		'title': '',
		'imageId': '67754487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754488&x=5227',
		'title': '',
		'imageId': '67754488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994716&docid=67754489&x=5227',
		'title': '',
		'imageId': '67754489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994716';

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