var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630490&x=5628',
		'title': '',
		'imageId': '67630490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630491&x=5628',
		'title': '',
		'imageId': '67630491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630492&x=5628',
		'title': '',
		'imageId': '67630492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630494&x=5628',
		'title': '',
		'imageId': '67630494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630493&x=5628',
		'title': '',
		'imageId': '67630493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630495&x=5628',
		'title': '',
		'imageId': '67630495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630499&x=5628',
		'title': '',
		'imageId': '67630499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630505&x=5628',
		'title': '',
		'imageId': '67630505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630506&x=5628',
		'title': '',
		'imageId': '67630506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630509&x=5628',
		'title': '',
		'imageId': '67630509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909519&docid=67630510&x=5628',
		'title': '',
		'imageId': '67630510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909519';

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