var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231661&x=056',
		'title': '',
		'imageId': '70231661',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231665&x=056',
		'title': '',
		'imageId': '70231665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231658&x=056',
		'title': '',
		'imageId': '70231658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231668&x=056',
		'title': '',
		'imageId': '70231668',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231669&x=056',
		'title': '',
		'imageId': '70231669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231666&x=056',
		'title': '',
		'imageId': '70231666',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231674&x=056',
		'title': '',
		'imageId': '70231674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231670&x=056',
		'title': '',
		'imageId': '70231670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231677&x=056',
		'title': '',
		'imageId': '70231677',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231673&x=056',
		'title': '',
		'imageId': '70231673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231664&x=056',
		'title': '',
		'imageId': '70231664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231659&x=056',
		'title': '',
		'imageId': '70231659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231678&x=056',
		'title': '',
		'imageId': '70231678',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231683&x=056',
		'title': '',
		'imageId': '70231683',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231679&x=056',
		'title': '',
		'imageId': '70231679',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231657&x=056',
		'title': '',
		'imageId': '70231657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231676&x=056',
		'title': '',
		'imageId': '70231676',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231671&x=056',
		'title': '',
		'imageId': '70231671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231680&x=056',
		'title': '',
		'imageId': '70231680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231663&x=056',
		'title': '',
		'imageId': '70231663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231672&x=056',
		'title': '',
		'imageId': '70231672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231667&x=056',
		'title': '',
		'imageId': '70231667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231662&x=056',
		'title': '',
		'imageId': '70231662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231681&x=056',
		'title': '',
		'imageId': '70231681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231675&x=056',
		'title': '',
		'imageId': '70231675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231660&x=056',
		'title': '',
		'imageId': '70231660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019874&docid=70231682&x=056',
		'title': '',
		'imageId': '70231682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019874';

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