var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375884&x=5128',
		'title': '',
		'imageId': '68375884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375886&x=5128',
		'title': '',
		'imageId': '68375886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375889&x=5128',
		'title': '',
		'imageId': '68375889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375887&x=5128',
		'title': '',
		'imageId': '68375887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375888&x=5128',
		'title': '',
		'imageId': '68375888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375866&x=5128',
		'title': '',
		'imageId': '68375866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375868&x=5128',
		'title': '',
		'imageId': '68375868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375885&x=5128',
		'title': '',
		'imageId': '68375885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375870&x=5128',
		'title': '',
		'imageId': '68375870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375871&x=5128',
		'title': '',
		'imageId': '68375871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940534&docid=68375867&x=5128',
		'title': '',
		'imageId': '68375867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940534';

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