var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015351&x=4956',
		'title': '',
		'imageId': '67015351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015353&x=4956',
		'title': '',
		'imageId': '67015353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015354&x=4956',
		'title': '',
		'imageId': '67015354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015355&x=4956',
		'title': '',
		'imageId': '67015355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015356&x=4956',
		'title': '',
		'imageId': '67015356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015357&x=4956',
		'title': '',
		'imageId': '67015357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015362&x=4956',
		'title': '',
		'imageId': '67015362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015358&x=4956',
		'title': '',
		'imageId': '67015358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015359&x=4956',
		'title': '',
		'imageId': '67015359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015360&x=4956',
		'title': '',
		'imageId': '67015360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015361&x=4956',
		'title': '',
		'imageId': '67015361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885751&docid=67015363&x=4956',
		'title': '',
		'imageId': '67015363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3885751';

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