var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188940&x=4434',
		'title': '',
		'imageId': '70188940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188931&x=4434',
		'title': '',
		'imageId': '70188931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188930&x=4434',
		'title': '',
		'imageId': '70188930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188938&x=4434',
		'title': '',
		'imageId': '70188938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188937&x=4434',
		'title': '',
		'imageId': '70188937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188939&x=4434',
		'title': '',
		'imageId': '70188939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188935&x=4434',
		'title': '',
		'imageId': '70188935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188933&x=4434',
		'title': '',
		'imageId': '70188933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188932&x=4434',
		'title': '',
		'imageId': '70188932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188934&x=4434',
		'title': '',
		'imageId': '70188934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018500&docid=70188936&x=4434',
		'title': '',
		'imageId': '70188936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018500';

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