var varArray = [
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3534610/65796694?x=1650',
		'title': '1993 Freightliner FL70, 300 hp Cummins, 6 sp. Allison automatic transmission.\nThis picture shows flowing tank water through deck gun.  Deck gun is not included.',
		'imageId': '65796694',
		'alt' : '1993 Freightliner FL70, 300 hp Cummins, 6 sp. Allison automatic transmission.\nThis picture shows flowing tank water through deck gun.  Deck gun is not included.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3534610/65796695?x=1650',
		'title': 'This shows flowing through deck gun, drafting from static source.  A 1500 gal. folding tank is included but the deck gun is not.',
		'imageId': '65796695',
		'alt' : 'This shows flowing through deck gun, drafting from static source.  A 1500 gal. folding tank is included but the deck gun is not.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3534610/65796696?x=1650',
		'title': 'Flowing through 2 1/2\" discharge and a deck gun.  Deck gun is not included.',
		'imageId': '65796696',
		'alt' : 'Flowing through 2 1/2\" discharge and a deck gun.  Deck gun is not included.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3534610/65796697?x=1650',
		'title': '',
		'imageId': '65796697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3534610/69435204?x=1650',
		'title': 'rear view with portable tank in its\' compartment, wrenches not included',
		'imageId': '69435204',
		'alt' : 'rear view with portable tank in its\' compartment, wrenches not included',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3534610/69435210?x=1650',
		'title': 'leaking gasket? at x on discharge valve',
		'imageId': '69435210',
		'alt' : 'leaking gasket? at x on discharge valve',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/3534610/69435220?x=1650',
		'title': 'leaking seam at yellow on discharge manifold',
		'imageId': '69435220',
		'alt' : 'leaking seam at yellow on discharge manifold',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3534610';

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