var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135825&x=4624',
		'title': '',
		'imageId': '70135825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135824&x=4624',
		'title': '',
		'imageId': '70135824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135823&x=4624',
		'title': '',
		'imageId': '70135823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135826&x=4624',
		'title': '',
		'imageId': '70135826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135822&x=4624',
		'title': '',
		'imageId': '70135822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135829&x=4624',
		'title': '',
		'imageId': '70135829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135832&x=4624',
		'title': '',
		'imageId': '70135832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135830&x=4624',
		'title': '',
		'imageId': '70135830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135828&x=4624',
		'title': '',
		'imageId': '70135828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135827&x=4624',
		'title': '',
		'imageId': '70135827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016583&docid=70135831&x=4624',
		'title': '',
		'imageId': '70135831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016583';

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