var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916347&x=556',
		'title': '',
		'imageId': '69916347',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916346&x=556',
		'title': '',
		'imageId': '69916346',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916340&x=556',
		'title': '',
		'imageId': '69916340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916344&x=556',
		'title': '',
		'imageId': '69916344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916345&x=556',
		'title': '',
		'imageId': '69916345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916341&x=556',
		'title': '',
		'imageId': '69916341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916343&x=556',
		'title': '',
		'imageId': '69916343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916342&x=556',
		'title': '',
		'imageId': '69916342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008269&docid=69916339&x=556',
		'title': '',
		'imageId': '69916339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008269';

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