var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109597&x=5045',
		'title': '',
		'imageId': '70109597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109595&x=5045',
		'title': '',
		'imageId': '70109595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109604&x=5045',
		'title': '',
		'imageId': '70109604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109599&x=5045',
		'title': '',
		'imageId': '70109599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109598&x=5045',
		'title': '',
		'imageId': '70109598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109600&x=5045',
		'title': '',
		'imageId': '70109600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109596&x=5045',
		'title': '',
		'imageId': '70109596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109603&x=5045',
		'title': '',
		'imageId': '70109603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109605&x=5045',
		'title': '',
		'imageId': '70109605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109601&x=5045',
		'title': '',
		'imageId': '70109601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109602&x=5045',
		'title': '',
		'imageId': '70109602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015879&docid=70109606&x=5045',
		'title': '',
		'imageId': '70109606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015879';

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