var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226679&x=4514',
		'title': '',
		'imageId': '71226679',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226683&x=4514',
		'title': '',
		'imageId': '71226683',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226682&x=4514',
		'title': '',
		'imageId': '71226682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226686&x=4514',
		'title': '',
		'imageId': '71226686',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226687&x=4514',
		'title': '',
		'imageId': '71226687',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226684&x=4514',
		'title': '',
		'imageId': '71226684',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226681&x=4514',
		'title': '',
		'imageId': '71226681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226685&x=4514',
		'title': '',
		'imageId': '71226685',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058986&docid=71226680&x=4514',
		'title': '',
		'imageId': '71226680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4058986';

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