var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025877&x=5934',
		'title': '',
		'imageId': '68025877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025878&x=5934',
		'title': '',
		'imageId': '68025878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025879&x=5934',
		'title': '',
		'imageId': '68025879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025880&x=5934',
		'title': '',
		'imageId': '68025880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025881&x=5934',
		'title': '',
		'imageId': '68025881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025882&x=5934',
		'title': '',
		'imageId': '68025882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025883&x=5934',
		'title': '',
		'imageId': '68025883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025884&x=5934',
		'title': '',
		'imageId': '68025884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025885&x=5934',
		'title': '',
		'imageId': '68025885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025886&x=5934',
		'title': '',
		'imageId': '68025886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925227&docid=68025887&x=5934',
		'title': '',
		'imageId': '68025887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925227';

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