var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208780&x=4153',
		'title': '',
		'imageId': '70208780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208779&x=4153',
		'title': '',
		'imageId': '70208779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208782&x=4153',
		'title': '',
		'imageId': '70208782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208784&x=4153',
		'title': '',
		'imageId': '70208784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208776&x=4153',
		'title': '',
		'imageId': '70208776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208781&x=4153',
		'title': '',
		'imageId': '70208781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208778&x=4153',
		'title': '',
		'imageId': '70208778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208787&x=4153',
		'title': '',
		'imageId': '70208787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208777&x=4153',
		'title': '',
		'imageId': '70208777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208785&x=4153',
		'title': '',
		'imageId': '70208785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208783&x=4153',
		'title': '',
		'imageId': '70208783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019173&docid=70208786&x=4153',
		'title': '',
		'imageId': '70208786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019173';

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