var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801064&x=540',
		'title': '',
		'imageId': '71801064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801060&x=540',
		'title': '',
		'imageId': '71801060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801061&x=540',
		'title': '',
		'imageId': '71801061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801057&x=540',
		'title': '',
		'imageId': '71801057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801063&x=540',
		'title': '',
		'imageId': '71801063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801058&x=540',
		'title': '',
		'imageId': '71801058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801062&x=540',
		'title': '',
		'imageId': '71801062',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801059&x=540',
		'title': '',
		'imageId': '71801059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084537&docid=71801056&x=540',
		'title': '',
		'imageId': '71801056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4084537';

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