var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917877&x=5441',
		'title': '',
		'imageId': '71917877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917901&x=5441',
		'title': '',
		'imageId': '71917901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917910&x=5441',
		'title': '',
		'imageId': '71917910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917923&x=5441',
		'title': '',
		'imageId': '71917923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917930&x=5441',
		'title': '',
		'imageId': '71917930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917948&x=5441',
		'title': '',
		'imageId': '71917948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917967&x=5441',
		'title': '',
		'imageId': '71917967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917977&x=5441',
		'title': '',
		'imageId': '71917977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089317&docid=71917988&x=5441',
		'title': '',
		'imageId': '71917988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089317';

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