var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422228&x=2259',
		'title': '',
		'imageId': '71422228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422229&x=2259',
		'title': '',
		'imageId': '71422229',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422234&x=2259',
		'title': '',
		'imageId': '71422234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422243&x=2259',
		'title': '',
		'imageId': '71422243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422248&x=2259',
		'title': '',
		'imageId': '71422248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422253&x=2259',
		'title': '',
		'imageId': '71422253',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422256&x=2259',
		'title': '',
		'imageId': '71422256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422257&x=2259',
		'title': '',
		'imageId': '71422257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067505&docid=71422258&x=2259',
		'title': '',
		'imageId': '71422258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067505';

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