var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186060&x=5817',
		'title': '',
		'imageId': '68186060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186063&x=5817',
		'title': '',
		'imageId': '68186063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186067&x=5817',
		'title': '',
		'imageId': '68186067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186071&x=5817',
		'title': '',
		'imageId': '68186071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186074&x=5817',
		'title': '',
		'imageId': '68186074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186077&x=5817',
		'title': '',
		'imageId': '68186077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186080&x=5817',
		'title': '',
		'imageId': '68186080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186083&x=5817',
		'title': '',
		'imageId': '68186083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186086&x=5817',
		'title': '',
		'imageId': '68186086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186089&x=5817',
		'title': '',
		'imageId': '68186089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932398&docid=68186129&x=5817',
		'title': '',
		'imageId': '68186129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932398';

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