var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580921&x=3139',
		'title': '',
		'imageId': '66580921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580924&x=3139',
		'title': '',
		'imageId': '66580924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580925&x=3139',
		'title': '',
		'imageId': '66580925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580926&x=3139',
		'title': '',
		'imageId': '66580926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580927&x=3139',
		'title': '',
		'imageId': '66580927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580931&x=3139',
		'title': '',
		'imageId': '66580931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580928&x=3139',
		'title': '',
		'imageId': '66580928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580929&x=3139',
		'title': '',
		'imageId': '66580929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580930&x=3139',
		'title': '',
		'imageId': '66580930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580923&x=3139',
		'title': '',
		'imageId': '66580923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866906&docid=66580922&x=3139',
		'title': '',
		'imageId': '66580922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3866906';

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