var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029886&x=1649',
		'title': '',
		'imageId': '70029886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029885&x=1649',
		'title': '',
		'imageId': '70029885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029884&x=1649',
		'title': '',
		'imageId': '70029884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029883&x=1649',
		'title': '',
		'imageId': '70029883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029897&x=1649',
		'title': '',
		'imageId': '70029897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029895&x=1649',
		'title': '',
		'imageId': '70029895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029896&x=1649',
		'title': '',
		'imageId': '70029896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029898&x=1649',
		'title': '',
		'imageId': '70029898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029900&x=1649',
		'title': '',
		'imageId': '70029900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013046&docid=70029901&x=1649',
		'title': '',
		'imageId': '70029901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013046';

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