var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457854&x=5146',
		'title': '',
		'imageId': '68457854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457856&x=5146',
		'title': '',
		'imageId': '68457856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457858&x=5146',
		'title': '',
		'imageId': '68457858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457859&x=5146',
		'title': '',
		'imageId': '68457859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457861&x=5146',
		'title': '',
		'imageId': '68457861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457935&x=5146',
		'title': '',
		'imageId': '68457935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457862&x=5146',
		'title': '',
		'imageId': '68457862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457868&x=5146',
		'title': '',
		'imageId': '68457868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457870&x=5146',
		'title': '',
		'imageId': '68457870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457876&x=5146',
		'title': '',
		'imageId': '68457876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944838&docid=68457871&x=5146',
		'title': '',
		'imageId': '68457871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944838';

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