var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485281&x=1618',
		'title': '',
		'imageId': '69485281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485278&x=1618',
		'title': '',
		'imageId': '69485278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485277&x=1618',
		'title': '',
		'imageId': '69485277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485282&x=1618',
		'title': '',
		'imageId': '69485282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485279&x=1618',
		'title': '',
		'imageId': '69485279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485280&x=1618',
		'title': '',
		'imageId': '69485280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485284&x=1618',
		'title': '',
		'imageId': '69485284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485283&x=1618',
		'title': '',
		'imageId': '69485283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485286&x=1618',
		'title': '',
		'imageId': '69485286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485285&x=1618',
		'title': '',
		'imageId': '69485285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989957&docid=69485287&x=1618',
		'title': '',
		'imageId': '69485287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3989957';

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