var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382817&x=1846',
		'title': '',
		'imageId': '68382817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382818&x=1846',
		'title': '',
		'imageId': '68382818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382819&x=1846',
		'title': '',
		'imageId': '68382819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382820&x=1846',
		'title': '',
		'imageId': '68382820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382822&x=1846',
		'title': '',
		'imageId': '68382822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382821&x=1846',
		'title': '',
		'imageId': '68382821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382813&x=1846',
		'title': '',
		'imageId': '68382813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382816&x=1846',
		'title': '',
		'imageId': '68382816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382812&x=1846',
		'title': '',
		'imageId': '68382812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382814&x=1846',
		'title': '',
		'imageId': '68382814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940347&docid=68382815&x=1846',
		'title': '',
		'imageId': '68382815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940347';

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