var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167161&x=2232',
		'title': '',
		'imageId': '70167161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167156&x=2232',
		'title': '',
		'imageId': '70167156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167158&x=2232',
		'title': '',
		'imageId': '70167158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167168&x=2232',
		'title': '',
		'imageId': '70167168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167125&x=2232',
		'title': '',
		'imageId': '70167125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167138&x=2232',
		'title': '',
		'imageId': '70167138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167144&x=2232',
		'title': '',
		'imageId': '70167144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167131&x=2232',
		'title': '',
		'imageId': '70167131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167119&x=2232',
		'title': '',
		'imageId': '70167119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167143&x=2232',
		'title': '',
		'imageId': '70167143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167126&x=2232',
		'title': '',
		'imageId': '70167126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167152&x=2232',
		'title': '',
		'imageId': '70167152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167137&x=2232',
		'title': '',
		'imageId': '70167137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167105&x=2232',
		'title': '',
		'imageId': '70167105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167108&x=2232',
		'title': '',
		'imageId': '70167108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167104&x=2232',
		'title': '',
		'imageId': '70167104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167107&x=2232',
		'title': '',
		'imageId': '70167107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167106&x=2232',
		'title': '',
		'imageId': '70167106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167115&x=2232',
		'title': '',
		'imageId': '70167115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167124&x=2232',
		'title': '',
		'imageId': '70167124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167141&x=2232',
		'title': '',
		'imageId': '70167141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167154&x=2232',
		'title': '',
		'imageId': '70167154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167162&x=2232',
		'title': '',
		'imageId': '70167162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017378&docid=70167172&x=2232',
		'title': '',
		'imageId': '70167172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017378';

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