var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228945&x=1954',
		'title': '',
		'imageId': '66228945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228947&x=1954',
		'title': '',
		'imageId': '66228947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228946&x=1954',
		'title': '',
		'imageId': '66228946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228941&x=1954',
		'title': '',
		'imageId': '66228941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228950&x=1954',
		'title': '',
		'imageId': '66228950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228949&x=1954',
		'title': '',
		'imageId': '66228949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228943&x=1954',
		'title': '',
		'imageId': '66228943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228940&x=1954',
		'title': '',
		'imageId': '66228940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228951&x=1954',
		'title': '',
		'imageId': '66228951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228944&x=1954',
		'title': '',
		'imageId': '66228944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932821&docid=66228948&x=1954',
		'title': '',
		'imageId': '66228948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932821';

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