var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202080&x=5616',
		'title': '',
		'imageId': '70202080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202081&x=5616',
		'title': '',
		'imageId': '70202081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202082&x=5616',
		'title': '',
		'imageId': '70202082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202084&x=5616',
		'title': '',
		'imageId': '70202084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202085&x=5616',
		'title': '',
		'imageId': '70202085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202086&x=5616',
		'title': '',
		'imageId': '70202086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202088&x=5616',
		'title': '',
		'imageId': '70202088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202090&x=5616',
		'title': '',
		'imageId': '70202090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202098&x=5616',
		'title': '',
		'imageId': '70202098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202099&x=5616',
		'title': '',
		'imageId': '70202099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018907&docid=70202100&x=5616',
		'title': '',
		'imageId': '70202100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018907';

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