var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937870&x=1826',
		'title': '',
		'imageId': '71937870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937864&x=1826',
		'title': '',
		'imageId': '71937864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937869&x=1826',
		'title': '',
		'imageId': '71937869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937865&x=1826',
		'title': '',
		'imageId': '71937865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937866&x=1826',
		'title': '',
		'imageId': '71937866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937875&x=1826',
		'title': '',
		'imageId': '71937875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937863&x=1826',
		'title': '',
		'imageId': '71937863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937876&x=1826',
		'title': '',
		'imageId': '71937876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937882&x=1826',
		'title': '',
		'imageId': '71937882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937873&x=1826',
		'title': '',
		'imageId': '71937873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937868&x=1826',
		'title': '',
		'imageId': '71937868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937879&x=1826',
		'title': '',
		'imageId': '71937879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937874&x=1826',
		'title': '',
		'imageId': '71937874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937877&x=1826',
		'title': '',
		'imageId': '71937877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937867&x=1826',
		'title': '',
		'imageId': '71937867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937880&x=1826',
		'title': '',
		'imageId': '71937880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937871&x=1826',
		'title': '',
		'imageId': '71937871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937872&x=1826',
		'title': '',
		'imageId': '71937872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937881&x=1826',
		'title': '',
		'imageId': '71937881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089869&docid=71937878&x=1826',
		'title': '',
		'imageId': '71937878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089869';

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