var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096864&x=1036',
		'title': '',
		'imageId': '70096864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096860&x=1036',
		'title': '',
		'imageId': '70096860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096861&x=1036',
		'title': '',
		'imageId': '70096861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096867&x=1036',
		'title': '',
		'imageId': '70096867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096866&x=1036',
		'title': '',
		'imageId': '70096866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096863&x=1036',
		'title': '',
		'imageId': '70096863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096869&x=1036',
		'title': '',
		'imageId': '70096869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096862&x=1036',
		'title': '',
		'imageId': '70096862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096865&x=1036',
		'title': '',
		'imageId': '70096865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015543&docid=70096868&x=1036',
		'title': '',
		'imageId': '70096868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015543';

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