var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038288&x=2916',
		'title': '',
		'imageId': '69038288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038292&x=2916',
		'title': '',
		'imageId': '69038292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038293&x=2916',
		'title': '',
		'imageId': '69038293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038294&x=2916',
		'title': '',
		'imageId': '69038294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038295&x=2916',
		'title': '',
		'imageId': '69038295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038296&x=2916',
		'title': '',
		'imageId': '69038296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038297&x=2916',
		'title': '',
		'imageId': '69038297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038298&x=2916',
		'title': '',
		'imageId': '69038298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038301&x=2916',
		'title': '',
		'imageId': '69038301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038302&x=2916',
		'title': '',
		'imageId': '69038302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038303&x=2916',
		'title': '',
		'imageId': '69038303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970788&docid=69038300&x=2916',
		'title': '',
		'imageId': '69038300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970788';

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