var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814718&x=4023',
		'title': '',
		'imageId': '69814718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814717&x=4023',
		'title': '',
		'imageId': '69814717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814713&x=4023',
		'title': '',
		'imageId': '69814713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814719&x=4023',
		'title': '',
		'imageId': '69814719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814716&x=4023',
		'title': '',
		'imageId': '69814716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814714&x=4023',
		'title': '',
		'imageId': '69814714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814720&x=4023',
		'title': '',
		'imageId': '69814720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814711&x=4023',
		'title': '',
		'imageId': '69814711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814712&x=4023',
		'title': '',
		'imageId': '69814712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814715&x=4023',
		'title': '',
		'imageId': '69814715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004218&docid=69814710&x=4023',
		'title': '',
		'imageId': '69814710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004218';

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