var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015676&x=5133',
		'title': '',
		'imageId': '67015676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015677&x=5133',
		'title': '',
		'imageId': '67015677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015678&x=5133',
		'title': '',
		'imageId': '67015678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015679&x=5133',
		'title': '',
		'imageId': '67015679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015680&x=5133',
		'title': '',
		'imageId': '67015680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015681&x=5133',
		'title': '',
		'imageId': '67015681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015682&x=5133',
		'title': '',
		'imageId': '67015682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015683&x=5133',
		'title': '',
		'imageId': '67015683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885767&docid=67015684&x=5133',
		'title': '',
		'imageId': '67015684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3885767';

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