var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950951&x=4018',
		'title': '',
		'imageId': '71950951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950957&x=4018',
		'title': '',
		'imageId': '71950957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950955&x=4018',
		'title': '',
		'imageId': '71950955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950953&x=4018',
		'title': '',
		'imageId': '71950953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950961&x=4018',
		'title': '',
		'imageId': '71950961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950952&x=4018',
		'title': '',
		'imageId': '71950952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950956&x=4018',
		'title': '',
		'imageId': '71950956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950959&x=4018',
		'title': '',
		'imageId': '71950959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950954&x=4018',
		'title': '',
		'imageId': '71950954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950958&x=4018',
		'title': '',
		'imageId': '71950958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089894&docid=71950960&x=4018',
		'title': '',
		'imageId': '71950960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089894';

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