var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67917988&x=2111',
		'title': '',
		'imageId': '67917988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67917987&x=2111',
		'title': '',
		'imageId': '67917987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67917984&x=2111',
		'title': '',
		'imageId': '67917984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67917983&x=2111',
		'title': '',
		'imageId': '67917983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67918081&x=2111',
		'title': '',
		'imageId': '67918081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67918080&x=2111',
		'title': '',
		'imageId': '67918080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67918079&x=2111',
		'title': '',
		'imageId': '67918079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67918087&x=2111',
		'title': '',
		'imageId': '67918087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67918086&x=2111',
		'title': '',
		'imageId': '67918086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67918088&x=2111',
		'title': '',
		'imageId': '67918088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920295&docid=67935405&x=2111',
		'title': '',
		'imageId': '67935405',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920295';

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