var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561079&x=1016',
		'title': '',
		'imageId': '68561079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561080&x=1016',
		'title': '',
		'imageId': '68561080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561081&x=1016',
		'title': '',
		'imageId': '68561081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561082&x=1016',
		'title': '',
		'imageId': '68561082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561083&x=1016',
		'title': '',
		'imageId': '68561083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561085&x=1016',
		'title': '',
		'imageId': '68561085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561084&x=1016',
		'title': '',
		'imageId': '68561084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561086&x=1016',
		'title': '',
		'imageId': '68561086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561087&x=1016',
		'title': '',
		'imageId': '68561087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561088&x=1016',
		'title': '',
		'imageId': '68561088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948861&docid=68561089&x=1016',
		'title': '',
		'imageId': '68561089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948861';

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