var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620068&x=4216',
		'title': '',
		'imageId': '2620068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620071&x=4216',
		'title': '',
		'imageId': '2620071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620075&x=4216',
		'title': '',
		'imageId': '2620075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620082&x=4216',
		'title': '',
		'imageId': '2620082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620085&x=4216',
		'title': '',
		'imageId': '2620085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620088&x=4216',
		'title': '',
		'imageId': '2620088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620095&x=4216',
		'title': '',
		'imageId': '2620095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620098&x=4216',
		'title': '',
		'imageId': '2620098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620101&x=4216',
		'title': '',
		'imageId': '2620101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620106&x=4216',
		'title': '',
		'imageId': '2620106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620110&x=4216',
		'title': '',
		'imageId': '2620110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620113&x=4216',
		'title': '',
		'imageId': '2620113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620118&x=4216',
		'title': '',
		'imageId': '2620118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620122&x=4216',
		'title': '',
		'imageId': '2620122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620125&x=4216',
		'title': '',
		'imageId': '2620125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620131&x=4216',
		'title': '',
		'imageId': '2620131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620134&x=4216',
		'title': '',
		'imageId': '2620134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620137&x=4216',
		'title': '',
		'imageId': '2620137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620143&x=4216',
		'title': '',
		'imageId': '2620143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=478217&docid=2620146&x=4216',
		'title': '',
		'imageId': '2620146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #478217';

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