var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061690&x=4838',
		'title': '',
		'imageId': '70061690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061686&x=4838',
		'title': '',
		'imageId': '70061686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061683&x=4838',
		'title': '',
		'imageId': '70061683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061684&x=4838',
		'title': '',
		'imageId': '70061684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061681&x=4838',
		'title': '',
		'imageId': '70061681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061688&x=4838',
		'title': '',
		'imageId': '70061688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061682&x=4838',
		'title': '',
		'imageId': '70061682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061687&x=4838',
		'title': '',
		'imageId': '70061687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061689&x=4838',
		'title': '',
		'imageId': '70061689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061680&x=4838',
		'title': '',
		'imageId': '70061680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061685&x=4838',
		'title': '',
		'imageId': '70061685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014299&docid=70061679&x=4838',
		'title': '',
		'imageId': '70061679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014299';

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