var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025857&x=5053',
		'title': '',
		'imageId': '68025857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025858&x=5053',
		'title': '',
		'imageId': '68025858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025859&x=5053',
		'title': '',
		'imageId': '68025859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025860&x=5053',
		'title': '',
		'imageId': '68025860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025861&x=5053',
		'title': '',
		'imageId': '68025861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025862&x=5053',
		'title': '',
		'imageId': '68025862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025863&x=5053',
		'title': '',
		'imageId': '68025863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025864&x=5053',
		'title': '',
		'imageId': '68025864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925225&docid=68025865&x=5053',
		'title': '',
		'imageId': '68025865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925225';

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