var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954018&x=4545',
		'title': '',
		'imageId': '67954018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954019&x=4545',
		'title': '',
		'imageId': '67954019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954020&x=4545',
		'title': '',
		'imageId': '67954020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954021&x=4545',
		'title': '',
		'imageId': '67954021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954022&x=4545',
		'title': '',
		'imageId': '67954022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954023&x=4545',
		'title': '',
		'imageId': '67954023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954024&x=4545',
		'title': '',
		'imageId': '67954024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954025&x=4545',
		'title': '',
		'imageId': '67954025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922138&docid=67954026&x=4545',
		'title': '',
		'imageId': '67954026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922138';

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