var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789228&x=5310',
		'title': '',
		'imageId': '69789228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789229&x=5310',
		'title': '',
		'imageId': '69789229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789230&x=5310',
		'title': '',
		'imageId': '69789230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789231&x=5310',
		'title': '',
		'imageId': '69789231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789232&x=5310',
		'title': '',
		'imageId': '69789232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789233&x=5310',
		'title': '',
		'imageId': '69789233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789234&x=5310',
		'title': '',
		'imageId': '69789234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789235&x=5310',
		'title': '',
		'imageId': '69789235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789236&x=5310',
		'title': '',
		'imageId': '69789236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789238&x=5310',
		'title': '',
		'imageId': '69789238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003194&docid=69789239&x=5310',
		'title': '',
		'imageId': '69789239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003194';

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