var varArray = [
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204825?x=5251',
		'title': '',
		'imageId': '70204825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204832?x=5251',
		'title': '',
		'imageId': '70204832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204839?x=5251',
		'title': '',
		'imageId': '70204839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204851?x=5251',
		'title': '',
		'imageId': '70204851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70205674?x=5251',
		'title': '',
		'imageId': '70205674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204867?x=5251',
		'title': '',
		'imageId': '70204867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204930?x=5251',
		'title': '',
		'imageId': '70204930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204876?x=5251',
		'title': '',
		'imageId': '70204876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204918?x=5251',
		'title': '',
		'imageId': '70204918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204880?x=5251',
		'title': '',
		'imageId': '70204880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70205716?x=5251',
		'title': '',
		'imageId': '70205716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204886?x=5251',
		'title': '',
		'imageId': '70204886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70205817?x=5251',
		'title': '',
		'imageId': '70205817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204893?x=5251',
		'title': '',
		'imageId': '70204893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204899?x=5251',
		'title': '',
		'imageId': '70204899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204943?x=5251',
		'title': 'Handle height for all 5 green carts.',
		'imageId': '70204943',
		'alt' : 'Handle height for all 5 green carts.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204967?x=5251',
		'title': 'Width of attached tray for all 5 green carts.',
		'imageId': '70204967',
		'alt' : 'Width of attached tray for all 5 green carts.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70206436?x=5251',
		'title': 'Width of bottom tray for all 5 green carts.',
		'imageId': '70206436',
		'alt' : 'Width of bottom tray for all 5 green carts.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204973?x=5251',
		'title': 'Wheel base for all 5 green carts',
		'imageId': '70204973',
		'alt' : 'Wheel base for all 5 green carts',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204976?x=5251',
		'title': 'Handle height for silver cart.',
		'imageId': '70204976',
		'alt' : 'Handle height for silver cart.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70204985?x=5251',
		'title': 'Width of attached tray on silver cart.',
		'imageId': '70204985',
		'alt' : 'Width of attached tray on silver cart.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4019020/70205037?x=5251',
		'title': 'Width of tank area for silver cart. ',
		'imageId': '70205037',
		'alt' : 'Width of tank area for silver cart. ',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019020';

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