var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132851&x=4244',
		'title': '',
		'imageId': '70132851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132852&x=4244',
		'title': '',
		'imageId': '70132852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132857&x=4244',
		'title': '',
		'imageId': '70132857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132860&x=4244',
		'title': '',
		'imageId': '70132860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132864&x=4244',
		'title': '',
		'imageId': '70132864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132867&x=4244',
		'title': '',
		'imageId': '70132867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132870&x=4244',
		'title': '',
		'imageId': '70132870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132871&x=4244',
		'title': '',
		'imageId': '70132871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132880&x=4244',
		'title': '',
		'imageId': '70132880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132885&x=4244',
		'title': '',
		'imageId': '70132885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016486&docid=70132900&x=4244',
		'title': '',
		'imageId': '70132900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016486';

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