var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69654879&x=1918',
		'title': '',
		'imageId': '69654879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69654876&x=1918',
		'title': '',
		'imageId': '69654876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69654883&x=1918',
		'title': '',
		'imageId': '69654883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69654875&x=1918',
		'title': '',
		'imageId': '69654875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69654878&x=1918',
		'title': '',
		'imageId': '69654878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69695869&x=1918',
		'title': '',
		'imageId': '69695869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69695870&x=1918',
		'title': '',
		'imageId': '69695870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69695868&x=1918',
		'title': '',
		'imageId': '69695868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69654886&x=1918',
		'title': '',
		'imageId': '69654886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69654888&x=1918',
		'title': '',
		'imageId': '69654888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997705&docid=69654877&x=1918',
		'title': '',
		'imageId': '69654877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997705';

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