var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135884&x=3745',
		'title': '',
		'imageId': '70135884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135882&x=3745',
		'title': '',
		'imageId': '70135882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135875&x=3745',
		'title': '',
		'imageId': '70135875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135880&x=3745',
		'title': '',
		'imageId': '70135880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135874&x=3745',
		'title': '',
		'imageId': '70135874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135883&x=3745',
		'title': '',
		'imageId': '70135883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135879&x=3745',
		'title': '',
		'imageId': '70135879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135877&x=3745',
		'title': '',
		'imageId': '70135877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135876&x=3745',
		'title': '',
		'imageId': '70135876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135881&x=3745',
		'title': '',
		'imageId': '70135881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016585&docid=70135878&x=3745',
		'title': '',
		'imageId': '70135878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016585';

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