var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003083&x=5615',
		'title': '',
		'imageId': '68003083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003082&x=5615',
		'title': '',
		'imageId': '68003082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003085&x=5615',
		'title': '',
		'imageId': '68003085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003086&x=5615',
		'title': '',
		'imageId': '68003086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003084&x=5615',
		'title': '',
		'imageId': '68003084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003088&x=5615',
		'title': '',
		'imageId': '68003088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003087&x=5615',
		'title': '',
		'imageId': '68003087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003089&x=5615',
		'title': '',
		'imageId': '68003089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003090&x=5615',
		'title': '',
		'imageId': '68003090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924159&docid=68003081&x=5615',
		'title': '',
		'imageId': '68003081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924159';

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