var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454014&x=5519',
		'title': '',
		'imageId': '69454014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454015&x=5519',
		'title': '',
		'imageId': '69454015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454016&x=5519',
		'title': '',
		'imageId': '69454016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454017&x=5519',
		'title': '',
		'imageId': '69454017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454018&x=5519',
		'title': '',
		'imageId': '69454018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454019&x=5519',
		'title': '',
		'imageId': '69454019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454020&x=5519',
		'title': '',
		'imageId': '69454020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454021&x=5519',
		'title': '',
		'imageId': '69454021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454022&x=5519',
		'title': '',
		'imageId': '69454022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454023&x=5519',
		'title': '',
		'imageId': '69454023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454024&x=5519',
		'title': '',
		'imageId': '69454024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988262&docid=69454025&x=5519',
		'title': '',
		'imageId': '69454025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988262';

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