var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292931&x=1646',
		'title': '',
		'imageId': '68292931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292928&x=1646',
		'title': '',
		'imageId': '68292928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292929&x=1646',
		'title': '',
		'imageId': '68292929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292935&x=1646',
		'title': '',
		'imageId': '68292935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292932&x=1646',
		'title': '',
		'imageId': '68292932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292927&x=1646',
		'title': '',
		'imageId': '68292927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292933&x=1646',
		'title': '',
		'imageId': '68292933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292930&x=1646',
		'title': '',
		'imageId': '68292930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937023&docid=68292934&x=1646',
		'title': '',
		'imageId': '68292934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937023';

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