var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507033&x=2732',
		'title': '',
		'imageId': '70507033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507038&x=2732',
		'title': '',
		'imageId': '70507038',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507044&x=2732',
		'title': '',
		'imageId': '70507044',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507049&x=2732',
		'title': '',
		'imageId': '70507049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507055&x=2732',
		'title': '',
		'imageId': '70507055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507060&x=2732',
		'title': '',
		'imageId': '70507060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507064&x=2732',
		'title': '',
		'imageId': '70507064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507069&x=2732',
		'title': '',
		'imageId': '70507069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507071&x=2732',
		'title': '',
		'imageId': '70507071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507072&x=2732',
		'title': '',
		'imageId': '70507072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032139&docid=70507073&x=2732',
		'title': '',
		'imageId': '70507073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032139';

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