var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250972&x=276',
		'title': '',
		'imageId': '70250972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250973&x=276',
		'title': '',
		'imageId': '70250973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250974&x=276',
		'title': '',
		'imageId': '70250974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250975&x=276',
		'title': '',
		'imageId': '70250975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250979&x=276',
		'title': '',
		'imageId': '70250979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250980&x=276',
		'title': '',
		'imageId': '70250980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250981&x=276',
		'title': '',
		'imageId': '70250981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250982&x=276',
		'title': '',
		'imageId': '70250982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250983&x=276',
		'title': '',
		'imageId': '70250983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250984&x=276',
		'title': '',
		'imageId': '70250984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250985&x=276',
		'title': '',
		'imageId': '70250985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020854&docid=70250986&x=276',
		'title': '',
		'imageId': '70250986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020854';

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