var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954131&x=178',
		'title': '',
		'imageId': '67954131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954132&x=178',
		'title': '',
		'imageId': '67954132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954133&x=178',
		'title': '',
		'imageId': '67954133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954134&x=178',
		'title': '',
		'imageId': '67954134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954135&x=178',
		'title': '',
		'imageId': '67954135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954136&x=178',
		'title': '',
		'imageId': '67954136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954137&x=178',
		'title': '',
		'imageId': '67954137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954138&x=178',
		'title': '',
		'imageId': '67954138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922150&docid=67954139&x=178',
		'title': '',
		'imageId': '67954139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922150';

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