var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201896&x=230',
		'title': '',
		'imageId': '70201896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201897&x=230',
		'title': '',
		'imageId': '70201897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201898&x=230',
		'title': '',
		'imageId': '70201898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201901&x=230',
		'title': '',
		'imageId': '70201901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201902&x=230',
		'title': '',
		'imageId': '70201902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201903&x=230',
		'title': '',
		'imageId': '70201903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201904&x=230',
		'title': '',
		'imageId': '70201904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201905&x=230',
		'title': '',
		'imageId': '70201905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201928&x=230',
		'title': '',
		'imageId': '70201928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201937&x=230',
		'title': '',
		'imageId': '70201937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018898&docid=70201943&x=230',
		'title': '',
		'imageId': '70201943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018898';

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