var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868861&x=1940',
		'title': '',
		'imageId': '69868861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868857&x=1940',
		'title': '',
		'imageId': '69868857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868856&x=1940',
		'title': '',
		'imageId': '69868856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868859&x=1940',
		'title': '',
		'imageId': '69868859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868865&x=1940',
		'title': '',
		'imageId': '69868865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868863&x=1940',
		'title': '',
		'imageId': '69868863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868862&x=1940',
		'title': '',
		'imageId': '69868862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868864&x=1940',
		'title': '',
		'imageId': '69868864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868858&x=1940',
		'title': '',
		'imageId': '69868858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006444&docid=69868860&x=1940',
		'title': '',
		'imageId': '69868860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006444';

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