var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666164&x=3852',
		'title': '',
		'imageId': '70666164',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666168&x=3852',
		'title': '',
		'imageId': '70666168',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666166&x=3852',
		'title': '',
		'imageId': '70666166',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666167&x=3852',
		'title': '',
		'imageId': '70666167',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666165&x=3852',
		'title': '',
		'imageId': '70666165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666160&x=3852',
		'title': '',
		'imageId': '70666160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666162&x=3852',
		'title': '',
		'imageId': '70666162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666161&x=3852',
		'title': '',
		'imageId': '70666161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037593&docid=70666163&x=3852',
		'title': '',
		'imageId': '70666163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4037593';

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