var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759108&x=2158',
		'title': '',
		'imageId': '69759108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759109&x=2158',
		'title': '',
		'imageId': '69759109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759110&x=2158',
		'title': '',
		'imageId': '69759110',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759111&x=2158',
		'title': '',
		'imageId': '69759111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759112&x=2158',
		'title': '',
		'imageId': '69759112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759113&x=2158',
		'title': '',
		'imageId': '69759113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759114&x=2158',
		'title': '',
		'imageId': '69759114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759115&x=2158',
		'title': '',
		'imageId': '69759115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759116&x=2158',
		'title': '',
		'imageId': '69759116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759117&x=2158',
		'title': '',
		'imageId': '69759117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001865&docid=69759118&x=2158',
		'title': '',
		'imageId': '69759118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001865';

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