var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267247&x=202',
		'title': '',
		'imageId': '7267247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267137&x=202',
		'title': '',
		'imageId': '7267137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267151&x=202',
		'title': '',
		'imageId': '7267151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267104&x=202',
		'title': '',
		'imageId': '7267104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267176&x=202',
		'title': '',
		'imageId': '7267176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267143&x=202',
		'title': '',
		'imageId': '7267143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267188&x=202',
		'title': '',
		'imageId': '7267188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267181&x=202',
		'title': '',
		'imageId': '7267181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267228&x=202',
		'title': '',
		'imageId': '7267228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267233&x=202',
		'title': '',
		'imageId': '7267233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267238&x=202',
		'title': '',
		'imageId': '7267238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913318&docid=7267242&x=202',
		'title': '',
		'imageId': '7267242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #913318';

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