var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4022094&docid=70617039&x=4258',
		'title': '',
		'imageId': '70617039',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022094&docid=70617044&x=4258',
		'title': '',
		'imageId': '70617044',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022094&docid=70617027&x=4258',
		'title': '',
		'imageId': '70617027',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022094&docid=70617025&x=4258',
		'title': '',
		'imageId': '70617025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022094&docid=70617032&x=4258',
		'title': '',
		'imageId': '70617032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022094&docid=70617046&x=4258',
		'title': '',
		'imageId': '70617046',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022094&docid=70617056&x=4258',
		'title': '',
		'imageId': '70617056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4022094';

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