var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280822&x=453',
		'title': '',
		'imageId': '70280822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280833&x=453',
		'title': '',
		'imageId': '70280833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70281231&x=453',
		'title': '',
		'imageId': '70281231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70281168&x=453',
		'title': '',
		'imageId': '70281168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280828&x=453',
		'title': '',
		'imageId': '70280828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280807&x=453',
		'title': '',
		'imageId': '70280807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280592&x=453',
		'title': '',
		'imageId': '70280592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280525&x=453',
		'title': '',
		'imageId': '70280525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280588&x=453',
		'title': '',
		'imageId': '70280588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280596&x=453',
		'title': '',
		'imageId': '70280596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022262&docid=70280814&x=453',
		'title': '',
		'imageId': '70280814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4022262';

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