var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456054&x=2613',
		'title': '',
		'imageId': '70456054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456057&x=2613',
		'title': '',
		'imageId': '70456057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456056&x=2613',
		'title': '',
		'imageId': '70456056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456058&x=2613',
		'title': '',
		'imageId': '70456058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456055&x=2613',
		'title': '',
		'imageId': '70456055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456059&x=2613',
		'title': '',
		'imageId': '70456059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456066&x=2613',
		'title': '',
		'imageId': '70456066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456068&x=2613',
		'title': '',
		'imageId': '70456068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456071&x=2613',
		'title': '',
		'imageId': '70456071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456074&x=2613',
		'title': '',
		'imageId': '70456074',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456079&x=2613',
		'title': '',
		'imageId': '70456079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456080&x=2613',
		'title': '',
		'imageId': '70456080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456086&x=2613',
		'title': '',
		'imageId': '70456086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456088&x=2613',
		'title': '',
		'imageId': '70456088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456090&x=2613',
		'title': '',
		'imageId': '70456090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456092&x=2613',
		'title': '',
		'imageId': '70456092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456098&x=2613',
		'title': '',
		'imageId': '70456098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456095&x=2613',
		'title': '',
		'imageId': '70456095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456103&x=2613',
		'title': '',
		'imageId': '70456103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030071&docid=70456105&x=2613',
		'title': '',
		'imageId': '70456105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030071';

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