var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947441&x=1934',
		'title': '',
		'imageId': '71947441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947446&x=1934',
		'title': '',
		'imageId': '71947446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947445&x=1934',
		'title': '',
		'imageId': '71947445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947442&x=1934',
		'title': '',
		'imageId': '71947442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947440&x=1934',
		'title': '',
		'imageId': '71947440',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947443&x=1934',
		'title': '',
		'imageId': '71947443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947447&x=1934',
		'title': '',
		'imageId': '71947447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947448&x=1934',
		'title': '',
		'imageId': '71947448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947444&x=1934',
		'title': '',
		'imageId': '71947444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947449&x=1934',
		'title': '',
		'imageId': '71947449',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089886&docid=71947439&x=1934',
		'title': '',
		'imageId': '71947439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089886';

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