var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3873210&docid=66717165&x=1931',
		'title': '',
		'imageId': '66717165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873210&docid=66717169&x=1931',
		'title': '',
		'imageId': '66717169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873210&docid=66717167&x=1931',
		'title': '',
		'imageId': '66717167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873210&docid=66717168&x=1931',
		'title': '',
		'imageId': '66717168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873210&docid=66717166&x=1931',
		'title': '',
		'imageId': '66717166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873210&docid=66717170&x=1931',
		'title': '',
		'imageId': '66717170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873210&docid=66717172&x=1931',
		'title': '',
		'imageId': '66717172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873210&docid=66717171&x=1931',
		'title': '',
		'imageId': '66717171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3873210';

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