var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212965&x=5329',
		'title': '',
		'imageId': '70212965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212985&x=5329',
		'title': '',
		'imageId': '70212985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212997&x=5329',
		'title': '',
		'imageId': '70212997',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212966&x=5329',
		'title': '',
		'imageId': '70212966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212947&x=5329',
		'title': '',
		'imageId': '70212947',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212946&x=5329',
		'title': '',
		'imageId': '70212946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212949&x=5329',
		'title': '',
		'imageId': '70212949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212948&x=5329',
		'title': '',
		'imageId': '70212948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212962&x=5329',
		'title': '',
		'imageId': '70212962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212963&x=5329',
		'title': '',
		'imageId': '70212963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212964&x=5329',
		'title': '',
		'imageId': '70212964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212967&x=5329',
		'title': '',
		'imageId': '70212967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212977&x=5329',
		'title': '',
		'imageId': '70212977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212981&x=5329',
		'title': '',
		'imageId': '70212981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212982&x=5329',
		'title': '',
		'imageId': '70212982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212983&x=5329',
		'title': '',
		'imageId': '70212983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212992&x=5329',
		'title': '',
		'imageId': '70212992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212987&x=5329',
		'title': '',
		'imageId': '70212987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212945&x=5329',
		'title': '',
		'imageId': '70212945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019324&docid=70212942&x=5329',
		'title': '',
		'imageId': '70212942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019324';

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