var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681855&x=1651',
		'title': '',
		'imageId': '66681855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681856&x=1651',
		'title': '',
		'imageId': '66681856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681857&x=1651',
		'title': '',
		'imageId': '66681857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681858&x=1651',
		'title': '',
		'imageId': '66681858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681859&x=1651',
		'title': '',
		'imageId': '66681859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681860&x=1651',
		'title': '',
		'imageId': '66681860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681861&x=1651',
		'title': '',
		'imageId': '66681861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681862&x=1651',
		'title': '',
		'imageId': '66681862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681863&x=1651',
		'title': '',
		'imageId': '66681863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681864&x=1651',
		'title': '',
		'imageId': '66681864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871624&docid=66681865&x=1651',
		'title': '',
		'imageId': '66681865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3871624';

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