var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109939&x=5044',
		'title': '',
		'imageId': '70109939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109933&x=5044',
		'title': '',
		'imageId': '70109933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109938&x=5044',
		'title': '',
		'imageId': '70109938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109942&x=5044',
		'title': '',
		'imageId': '70109942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109934&x=5044',
		'title': '',
		'imageId': '70109934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109940&x=5044',
		'title': '',
		'imageId': '70109940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109937&x=5044',
		'title': '',
		'imageId': '70109937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109935&x=5044',
		'title': '',
		'imageId': '70109935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109936&x=5044',
		'title': '',
		'imageId': '70109936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109941&x=5044',
		'title': '',
		'imageId': '70109941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015886&docid=70109932&x=5044',
		'title': '',
		'imageId': '70109932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015886';

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