var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109048&x=5051',
		'title': '',
		'imageId': '70109048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109049&x=5051',
		'title': '',
		'imageId': '70109049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109056&x=5051',
		'title': '',
		'imageId': '70109056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109057&x=5051',
		'title': '',
		'imageId': '70109057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109058&x=5051',
		'title': '',
		'imageId': '70109058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109061&x=5051',
		'title': '',
		'imageId': '70109061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109064&x=5051',
		'title': '',
		'imageId': '70109064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109065&x=5051',
		'title': '',
		'imageId': '70109065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109068&x=5051',
		'title': '',
		'imageId': '70109068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109071&x=5051',
		'title': '',
		'imageId': '70109071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109078&x=5051',
		'title': '',
		'imageId': '70109078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109083&x=5051',
		'title': '',
		'imageId': '70109083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109086&x=5051',
		'title': '',
		'imageId': '70109086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109089&x=5051',
		'title': '',
		'imageId': '70109089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109092&x=5051',
		'title': '',
		'imageId': '70109092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015882&docid=70109095&x=5051',
		'title': '',
		'imageId': '70109095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015882';

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