var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953880&x=1911',
		'title': '',
		'imageId': '67953880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953869&x=1911',
		'title': '',
		'imageId': '67953869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953870&x=1911',
		'title': '',
		'imageId': '67953870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953871&x=1911',
		'title': '',
		'imageId': '67953871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953872&x=1911',
		'title': '',
		'imageId': '67953872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953873&x=1911',
		'title': '',
		'imageId': '67953873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953874&x=1911',
		'title': '',
		'imageId': '67953874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953875&x=1911',
		'title': '',
		'imageId': '67953875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953876&x=1911',
		'title': '',
		'imageId': '67953876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953877&x=1911',
		'title': '',
		'imageId': '67953877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953878&x=1911',
		'title': '',
		'imageId': '67953878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922124&docid=67953879&x=1911',
		'title': '',
		'imageId': '67953879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922124';

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