var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816976&x=941',
		'title': '',
		'imageId': '70816976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816977&x=941',
		'title': '',
		'imageId': '70816977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816978&x=941',
		'title': '',
		'imageId': '70816978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816979&x=941',
		'title': '',
		'imageId': '70816979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816980&x=941',
		'title': '',
		'imageId': '70816980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816981&x=941',
		'title': '',
		'imageId': '70816981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816982&x=941',
		'title': '',
		'imageId': '70816982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816983&x=941',
		'title': '',
		'imageId': '70816983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816985&x=941',
		'title': '',
		'imageId': '70816985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816986&x=941',
		'title': '',
		'imageId': '70816986',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816987&x=941',
		'title': '',
		'imageId': '70816987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816988&x=941',
		'title': '',
		'imageId': '70816988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816989&x=941',
		'title': '',
		'imageId': '70816989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816990&x=941',
		'title': '',
		'imageId': '70816990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816991&x=941',
		'title': '',
		'imageId': '70816991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816992&x=941',
		'title': '',
		'imageId': '70816992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816993&x=941',
		'title': '',
		'imageId': '70816993',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816994&x=941',
		'title': '',
		'imageId': '70816994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816995&x=941',
		'title': '',
		'imageId': '70816995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816996&x=941',
		'title': '',
		'imageId': '70816996',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816997&x=941',
		'title': '',
		'imageId': '70816997',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816998&x=941',
		'title': '',
		'imageId': '70816998',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70816999&x=941',
		'title': '',
		'imageId': '70816999',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70817000&x=941',
		'title': '',
		'imageId': '70817000',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70817001&x=941',
		'title': '',
		'imageId': '70817001',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70817002&x=941',
		'title': '',
		'imageId': '70817002',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70817003&x=941',
		'title': '',
		'imageId': '70817003',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70817004&x=941',
		'title': '',
		'imageId': '70817004',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043142&docid=70817005&x=941',
		'title': '',
		'imageId': '70817005',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4043142';

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