var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236569&x=428',
		'title': '',
		'imageId': '70236569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236573&x=428',
		'title': '',
		'imageId': '70236573',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236565&x=428',
		'title': '',
		'imageId': '70236565',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236567&x=428',
		'title': '',
		'imageId': '70236567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236572&x=428',
		'title': '',
		'imageId': '70236572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236566&x=428',
		'title': '',
		'imageId': '70236566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236568&x=428',
		'title': '',
		'imageId': '70236568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236564&x=428',
		'title': '',
		'imageId': '70236564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236571&x=428',
		'title': '',
		'imageId': '70236571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236563&x=428',
		'title': '',
		'imageId': '70236563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018276&docid=70236570&x=428',
		'title': '',
		'imageId': '70236570',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018276';

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