var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049824&x=2752',
		'title': '',
		'imageId': '70049824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049825&x=2752',
		'title': '',
		'imageId': '70049825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049826&x=2752',
		'title': '',
		'imageId': '70049826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049830&x=2752',
		'title': '',
		'imageId': '70049830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049828&x=2752',
		'title': '',
		'imageId': '70049828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049822&x=2752',
		'title': '',
		'imageId': '70049822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049823&x=2752',
		'title': '',
		'imageId': '70049823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049827&x=2752',
		'title': '',
		'imageId': '70049827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049829&x=2752',
		'title': '',
		'imageId': '70049829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049831&x=2752',
		'title': '',
		'imageId': '70049831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013591&docid=70049832&x=2752',
		'title': '',
		'imageId': '70049832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013591';

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