var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166078&x=1349',
		'title': '',
		'imageId': '67166078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166079&x=1349',
		'title': '',
		'imageId': '67166079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166080&x=1349',
		'title': '',
		'imageId': '67166080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166081&x=1349',
		'title': '',
		'imageId': '67166081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166082&x=1349',
		'title': '',
		'imageId': '67166082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166083&x=1349',
		'title': '',
		'imageId': '67166083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166084&x=1349',
		'title': '',
		'imageId': '67166084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166085&x=1349',
		'title': '',
		'imageId': '67166085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166087&x=1349',
		'title': '',
		'imageId': '67166087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166088&x=1349',
		'title': '',
		'imageId': '67166088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166089&x=1349',
		'title': '',
		'imageId': '67166089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890834&docid=67166090&x=1349',
		'title': '',
		'imageId': '67166090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3890834';

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