var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205869&x=2033',
		'title': '',
		'imageId': '70205869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205870&x=2033',
		'title': '',
		'imageId': '70205870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205871&x=2033',
		'title': '',
		'imageId': '70205871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205872&x=2033',
		'title': '',
		'imageId': '70205872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205873&x=2033',
		'title': '',
		'imageId': '70205873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205874&x=2033',
		'title': '',
		'imageId': '70205874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205868&x=2033',
		'title': '',
		'imageId': '70205868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205875&x=2033',
		'title': '',
		'imageId': '70205875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205876&x=2033',
		'title': '',
		'imageId': '70205876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019057&docid=70205877&x=2033',
		'title': '',
		'imageId': '70205877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019057';

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