var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538878&x=404',
		'title': '',
		'imageId': '67538878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538879&x=404',
		'title': '',
		'imageId': '67538879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538883&x=404',
		'title': '',
		'imageId': '67538883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538881&x=404',
		'title': '',
		'imageId': '67538881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538880&x=404',
		'title': '',
		'imageId': '67538880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538882&x=404',
		'title': '',
		'imageId': '67538882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538885&x=404',
		'title': '',
		'imageId': '67538885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538884&x=404',
		'title': '',
		'imageId': '67538884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67538886&x=404',
		'title': '',
		'imageId': '67538886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67587870&x=404',
		'title': '',
		'imageId': '67587870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67587871&x=404',
		'title': '',
		'imageId': '67587871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905367&docid=67587872&x=404',
		'title': '',
		'imageId': '67587872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3905367';

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