var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463161&x=2024',
		'title': '',
		'imageId': '70463161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463160&x=2024',
		'title': '',
		'imageId': '70463160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463155&x=2024',
		'title': '',
		'imageId': '70463155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463163&x=2024',
		'title': '',
		'imageId': '70463163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463159&x=2024',
		'title': '',
		'imageId': '70463159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463157&x=2024',
		'title': '',
		'imageId': '70463157',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463153&x=2024',
		'title': '',
		'imageId': '70463153',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463158&x=2024',
		'title': '',
		'imageId': '70463158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463156&x=2024',
		'title': '',
		'imageId': '70463156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463162&x=2024',
		'title': '',
		'imageId': '70463162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030308&docid=70463154&x=2024',
		'title': '',
		'imageId': '70463154',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030308';

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