var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020900&docid=70251671&x=3744',
		'title': '',
		'imageId': '70251671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020900&docid=70251669&x=3744',
		'title': '',
		'imageId': '70251669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020900&docid=70251676&x=3744',
		'title': '',
		'imageId': '70251676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020900&docid=70251675&x=3744',
		'title': '',
		'imageId': '70251675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020900&docid=70251674&x=3744',
		'title': '',
		'imageId': '70251674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020900&docid=70251670&x=3744',
		'title': '',
		'imageId': '70251670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020900&docid=70251672&x=3744',
		'title': '',
		'imageId': '70251672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020900&docid=70251673&x=3744',
		'title': '',
		'imageId': '70251673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020900';

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