var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192372&x=1928',
		'title': '',
		'imageId': '69192372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192367&x=1928',
		'title': '',
		'imageId': '69192367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192368&x=1928',
		'title': '',
		'imageId': '69192368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192366&x=1928',
		'title': '',
		'imageId': '69192366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192370&x=1928',
		'title': '',
		'imageId': '69192370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192371&x=1928',
		'title': '',
		'imageId': '69192371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192363&x=1928',
		'title': '',
		'imageId': '69192363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192365&x=1928',
		'title': '',
		'imageId': '69192365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192364&x=1928',
		'title': '',
		'imageId': '69192364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192369&x=1928',
		'title': '',
		'imageId': '69192369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977026&docid=69192373&x=1928',
		'title': '',
		'imageId': '69192373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977026';

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