var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212362&x=3147',
		'title': '',
		'imageId': '68212362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212364&x=3147',
		'title': '',
		'imageId': '68212364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212372&x=3147',
		'title': '',
		'imageId': '68212372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212363&x=3147',
		'title': '',
		'imageId': '68212363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212371&x=3147',
		'title': '',
		'imageId': '68212371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212365&x=3147',
		'title': '',
		'imageId': '68212365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212361&x=3147',
		'title': '',
		'imageId': '68212361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212370&x=3147',
		'title': '',
		'imageId': '68212370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212369&x=3147',
		'title': '',
		'imageId': '68212369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212366&x=3147',
		'title': '',
		'imageId': '68212366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933363&docid=68212367&x=3147',
		'title': '',
		'imageId': '68212367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933363';

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