var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184284&x=1835',
		'title': '',
		'imageId': '70184284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184285&x=1835',
		'title': '',
		'imageId': '70184285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184286&x=1835',
		'title': '',
		'imageId': '70184286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184287&x=1835',
		'title': '',
		'imageId': '70184287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184288&x=1835',
		'title': '',
		'imageId': '70184288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184296&x=1835',
		'title': '',
		'imageId': '70184296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184293&x=1835',
		'title': '',
		'imageId': '70184293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184303&x=1835',
		'title': '',
		'imageId': '70184303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184304&x=1835',
		'title': '',
		'imageId': '70184304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184305&x=1835',
		'title': '',
		'imageId': '70184305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018332&docid=70184283&x=1835',
		'title': '',
		'imageId': '70184283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018332';

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