var varArray = [
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4023361/70305703?x=210',
		'title': 'BUSINESS OFFICE',
		'imageId': '70305703',
		'alt' : 'BUSINESS OFFICE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4023361/70305702?x=210',
		'title': 'CVHS COUGAR CENTER',
		'imageId': '70305702',
		'alt' : 'CVHS COUGAR CENTER',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4023361/70305707?x=210',
		'title': 'CVHS RM 21',
		'imageId': '70305707',
		'alt' : 'CVHS RM 21',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4023361/70305708?x=210',
		'title': 'DRS HALLWAY',
		'imageId': '70305708',
		'alt' : 'DRS HALLWAY',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4023361/70305704?x=210',
		'title': 'DRS LIBRARY',
		'imageId': '70305704',
		'alt' : 'DRS LIBRARY',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4023361/70305701?x=210',
		'title': 'DRS SPED',
		'imageId': '70305701',
		'alt' : 'DRS SPED',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4023361/70305705?x=210',
		'title': 'HMS LIBRARY',
		'imageId': '70305705',
		'alt' : 'HMS LIBRARY',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4023361/70305706?x=210',
		'title': 'TECC LIBRARY',
		'imageId': '70305706',
		'alt' : 'TECC LIBRARY',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023361';

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