var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165044&x=5738',
		'title': '',
		'imageId': '70165044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165066&x=5738',
		'title': '',
		'imageId': '70165066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165074&x=5738',
		'title': '',
		'imageId': '70165074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165057&x=5738',
		'title': '',
		'imageId': '70165057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165061&x=5738',
		'title': '',
		'imageId': '70165061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165056&x=5738',
		'title': '',
		'imageId': '70165056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165045&x=5738',
		'title': '',
		'imageId': '70165045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165048&x=5738',
		'title': '',
		'imageId': '70165048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165053&x=5738',
		'title': '',
		'imageId': '70165053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165063&x=5738',
		'title': '',
		'imageId': '70165063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165049&x=5738',
		'title': '',
		'imageId': '70165049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165046&x=5738',
		'title': '',
		'imageId': '70165046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165055&x=5738',
		'title': '',
		'imageId': '70165055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165051&x=5738',
		'title': '',
		'imageId': '70165051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165047&x=5738',
		'title': '',
		'imageId': '70165047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165050&x=5738',
		'title': '',
		'imageId': '70165050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165054&x=5738',
		'title': '',
		'imageId': '70165054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165058&x=5738',
		'title': '',
		'imageId': '70165058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165060&x=5738',
		'title': '',
		'imageId': '70165060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165077&x=5738',
		'title': '',
		'imageId': '70165077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165062&x=5738',
		'title': '',
		'imageId': '70165062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165052&x=5738',
		'title': '',
		'imageId': '70165052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165067&x=5738',
		'title': '',
		'imageId': '70165067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165059&x=5738',
		'title': '',
		'imageId': '70165059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165076&x=5738',
		'title': '',
		'imageId': '70165076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165064&x=5738',
		'title': '',
		'imageId': '70165064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165068&x=5738',
		'title': '',
		'imageId': '70165068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165065&x=5738',
		'title': '',
		'imageId': '70165065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165073&x=5738',
		'title': '',
		'imageId': '70165073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165075&x=5738',
		'title': '',
		'imageId': '70165075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165078&x=5738',
		'title': '',
		'imageId': '70165078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165069&x=5738',
		'title': '',
		'imageId': '70165069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165071&x=5738',
		'title': '',
		'imageId': '70165071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165072&x=5738',
		'title': '',
		'imageId': '70165072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017306&docid=70165070&x=5738',
		'title': '',
		'imageId': '70165070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017306';

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