var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581923&x=2616',
		'title': '',
		'imageId': '66581923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581925&x=2616',
		'title': '',
		'imageId': '66581925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581926&x=2616',
		'title': '',
		'imageId': '66581926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581927&x=2616',
		'title': '',
		'imageId': '66581927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581928&x=2616',
		'title': '',
		'imageId': '66581928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581929&x=2616',
		'title': '',
		'imageId': '66581929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581924&x=2616',
		'title': '',
		'imageId': '66581924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581920&x=2616',
		'title': '',
		'imageId': '66581920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581930&x=2616',
		'title': '',
		'imageId': '66581930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581931&x=2616',
		'title': '',
		'imageId': '66581931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581932&x=2616',
		'title': '',
		'imageId': '66581932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581933&x=2616',
		'title': '',
		'imageId': '66581933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581934&x=2616',
		'title': '',
		'imageId': '66581934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581935&x=2616',
		'title': '',
		'imageId': '66581935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581936&x=2616',
		'title': '',
		'imageId': '66581936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581917&x=2616',
		'title': '',
		'imageId': '66581917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866971&docid=66581918&x=2616',
		'title': '',
		'imageId': '66581918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3866971';

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