var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105651&x=5518',
		'title': '',
		'imageId': '70105651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105657&x=5518',
		'title': '',
		'imageId': '70105657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105655&x=5518',
		'title': '',
		'imageId': '70105655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105648&x=5518',
		'title': '',
		'imageId': '70105648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105647&x=5518',
		'title': '',
		'imageId': '70105647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105653&x=5518',
		'title': '',
		'imageId': '70105653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105650&x=5518',
		'title': '',
		'imageId': '70105650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105652&x=5518',
		'title': '',
		'imageId': '70105652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105656&x=5518',
		'title': '',
		'imageId': '70105656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105659&x=5518',
		'title': '',
		'imageId': '70105659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105649&x=5518',
		'title': '',
		'imageId': '70105649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105664&x=5518',
		'title': '',
		'imageId': '70105664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105666&x=5518',
		'title': '',
		'imageId': '70105666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105663&x=5518',
		'title': '',
		'imageId': '70105663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105662&x=5518',
		'title': '',
		'imageId': '70105662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105667&x=5518',
		'title': '',
		'imageId': '70105667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105668&x=5518',
		'title': '',
		'imageId': '70105668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105669&x=5518',
		'title': '',
		'imageId': '70105669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105660&x=5518',
		'title': '',
		'imageId': '70105660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105661&x=5518',
		'title': '',
		'imageId': '70105661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105670&x=5518',
		'title': '',
		'imageId': '70105670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105674&x=5518',
		'title': '',
		'imageId': '70105674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105673&x=5518',
		'title': '',
		'imageId': '70105673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105678&x=5518',
		'title': '',
		'imageId': '70105678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105675&x=5518',
		'title': '',
		'imageId': '70105675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105676&x=5518',
		'title': '',
		'imageId': '70105676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105677&x=5518',
		'title': '',
		'imageId': '70105677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105680&x=5518',
		'title': '',
		'imageId': '70105680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105681&x=5518',
		'title': '',
		'imageId': '70105681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105683&x=5518',
		'title': '',
		'imageId': '70105683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105682&x=5518',
		'title': '',
		'imageId': '70105682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105684&x=5518',
		'title': '',
		'imageId': '70105684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105686&x=5518',
		'title': '',
		'imageId': '70105686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015812&docid=70105685&x=5518',
		'title': '',
		'imageId': '70105685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015812';

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