var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017048&x=4917',
		'title': '',
		'imageId': '70017048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017036&x=4917',
		'title': '',
		'imageId': '70017036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017038&x=4917',
		'title': '',
		'imageId': '70017038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017040&x=4917',
		'title': '',
		'imageId': '70017040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017047&x=4917',
		'title': '',
		'imageId': '70017047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017050&x=4917',
		'title': '',
		'imageId': '70017050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017054&x=4917',
		'title': '',
		'imageId': '70017054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017060&x=4917',
		'title': '',
		'imageId': '70017060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017057&x=4917',
		'title': '',
		'imageId': '70017057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017061&x=4917',
		'title': '',
		'imageId': '70017061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017037&x=4917',
		'title': '',
		'imageId': '70017037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012598&docid=70017066&x=4917',
		'title': '',
		'imageId': '70017066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012598';

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