var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986518&docid=69415704&x=5743',
		'title': '',
		'imageId': '69415704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986518&docid=69415708&x=5743',
		'title': '',
		'imageId': '69415708',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986518&docid=69415705&x=5743',
		'title': '',
		'imageId': '69415705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986518&docid=69415709&x=5743',
		'title': '',
		'imageId': '69415709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986518&docid=69415706&x=5743',
		'title': '',
		'imageId': '69415706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986518&docid=69415707&x=5743',
		'title': '',
		'imageId': '69415707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986518&docid=69415712&x=5743',
		'title': '',
		'imageId': '69415712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986518&docid=69415715&x=5743',
		'title': '',
		'imageId': '69415715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986518';

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