var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682144&x=5423',
		'title': '',
		'imageId': '71682144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682142&x=5423',
		'title': '',
		'imageId': '71682142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682146&x=5423',
		'title': '',
		'imageId': '71682146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682140&x=5423',
		'title': '',
		'imageId': '71682140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682056&x=5423',
		'title': '',
		'imageId': '71682056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682143&x=5423',
		'title': '',
		'imageId': '71682143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682139&x=5423',
		'title': '',
		'imageId': '71682139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682141&x=5423',
		'title': '',
		'imageId': '71682141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682150&x=5423',
		'title': '',
		'imageId': '71682150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682147&x=5423',
		'title': '',
		'imageId': '71682147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088271&docid=71682145&x=5423',
		'title': '',
		'imageId': '71682145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088271';

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