var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185445&x=5954',
		'title': '',
		'imageId': '67185445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185446&x=5954',
		'title': '',
		'imageId': '67185446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185447&x=5954',
		'title': '',
		'imageId': '67185447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185448&x=5954',
		'title': '',
		'imageId': '67185448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185449&x=5954',
		'title': '',
		'imageId': '67185449',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185450&x=5954',
		'title': '',
		'imageId': '67185450',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185451&x=5954',
		'title': '',
		'imageId': '67185451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185452&x=5954',
		'title': '',
		'imageId': '67185452',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891573&docid=67185444&x=5954',
		'title': '',
		'imageId': '67185444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891573';

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