var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342118&x=525',
		'title': '',
		'imageId': '70342118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342071&x=525',
		'title': '',
		'imageId': '70342071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342085&x=525',
		'title': '',
		'imageId': '70342085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342084&x=525',
		'title': '',
		'imageId': '70342084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342082&x=525',
		'title': '',
		'imageId': '70342082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342076&x=525',
		'title': '',
		'imageId': '70342076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342072&x=525',
		'title': '',
		'imageId': '70342072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342077&x=525',
		'title': '',
		'imageId': '70342077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342115&x=525',
		'title': '',
		'imageId': '70342115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342091&x=525',
		'title': '',
		'imageId': '70342091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342111&x=525',
		'title': '',
		'imageId': '70342111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342113&x=525',
		'title': '',
		'imageId': '70342113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342099&x=525',
		'title': '',
		'imageId': '70342099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342102&x=525',
		'title': '',
		'imageId': '70342102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342094&x=525',
		'title': '',
		'imageId': '70342094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342086&x=525',
		'title': '',
		'imageId': '70342086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342109&x=525',
		'title': '',
		'imageId': '70342109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342101&x=525',
		'title': '',
		'imageId': '70342101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342097&x=525',
		'title': '',
		'imageId': '70342097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342104&x=525',
		'title': '',
		'imageId': '70342104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342116&x=525',
		'title': '',
		'imageId': '70342116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342110&x=525',
		'title': '',
		'imageId': '70342110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342106&x=525',
		'title': '',
		'imageId': '70342106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342112&x=525',
		'title': '',
		'imageId': '70342112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342114&x=525',
		'title': '',
		'imageId': '70342114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342092&x=525',
		'title': '',
		'imageId': '70342092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342119&x=525',
		'title': '',
		'imageId': '70342119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342090&x=525',
		'title': '',
		'imageId': '70342090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342103&x=525',
		'title': '',
		'imageId': '70342103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342096&x=525',
		'title': '',
		'imageId': '70342096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342089&x=525',
		'title': 'R/R TIRE FLAT',
		'imageId': '70342089',
		'alt' : 'R/R TIRE FLAT',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342087&x=525',
		'title': '',
		'imageId': '70342087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342093&x=525',
		'title': '',
		'imageId': '70342093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342107&x=525',
		'title': '',
		'imageId': '70342107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342100&x=525',
		'title': '',
		'imageId': '70342100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342105&x=525',
		'title': '',
		'imageId': '70342105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342098&x=525',
		'title': '',
		'imageId': '70342098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342088&x=525',
		'title': '',
		'imageId': '70342088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342095&x=525',
		'title': '',
		'imageId': '70342095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342073&x=525',
		'title': '',
		'imageId': '70342073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015738&docid=70342070&x=525',
		'title': '',
		'imageId': '70342070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015738';

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