var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145621&x=241',
		'title': '',
		'imageId': '70145621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145626&x=241',
		'title': '',
		'imageId': '70145626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145623&x=241',
		'title': '',
		'imageId': '70145623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145624&x=241',
		'title': '',
		'imageId': '70145624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145625&x=241',
		'title': '',
		'imageId': '70145625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145633&x=241',
		'title': '',
		'imageId': '70145633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145640&x=241',
		'title': '',
		'imageId': '70145640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145641&x=241',
		'title': '',
		'imageId': '70145641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145642&x=241',
		'title': '',
		'imageId': '70145642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145643&x=241',
		'title': '',
		'imageId': '70145643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145644&x=241',
		'title': '',
		'imageId': '70145644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016803&docid=70145622&x=241',
		'title': '',
		'imageId': '70145622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016803';

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