var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443825&x=3134',
		'title': '',
		'imageId': '70443825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443826&x=3134',
		'title': '',
		'imageId': '70443826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443827&x=3134',
		'title': '',
		'imageId': '70443827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443828&x=3134',
		'title': '',
		'imageId': '70443828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443829&x=3134',
		'title': '',
		'imageId': '70443829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443830&x=3134',
		'title': '',
		'imageId': '70443830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443831&x=3134',
		'title': '',
		'imageId': '70443831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443832&x=3134',
		'title': '',
		'imageId': '70443832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443833&x=3134',
		'title': '',
		'imageId': '70443833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443834&x=3134',
		'title': '',
		'imageId': '70443834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443835&x=3134',
		'title': '',
		'imageId': '70443835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029561&docid=70443836&x=3134',
		'title': '',
		'imageId': '70443836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029561';

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