var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025908&x=5954',
		'title': '',
		'imageId': '68025908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025909&x=5954',
		'title': '',
		'imageId': '68025909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025910&x=5954',
		'title': '',
		'imageId': '68025910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025911&x=5954',
		'title': '',
		'imageId': '68025911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025912&x=5954',
		'title': '',
		'imageId': '68025912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025913&x=5954',
		'title': '',
		'imageId': '68025913',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025914&x=5954',
		'title': '',
		'imageId': '68025914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025915&x=5954',
		'title': '',
		'imageId': '68025915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025916&x=5954',
		'title': '',
		'imageId': '68025916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025917&x=5954',
		'title': '',
		'imageId': '68025917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925230&docid=68025918&x=5954',
		'title': '',
		'imageId': '68025918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925230';

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