var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094621&x=2838',
		'title': '',
		'imageId': '70094621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094613&x=2838',
		'title': '',
		'imageId': '70094613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094618&x=2838',
		'title': '',
		'imageId': '70094618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094616&x=2838',
		'title': '',
		'imageId': '70094616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094623&x=2838',
		'title': '',
		'imageId': '70094623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094614&x=2838',
		'title': '',
		'imageId': '70094614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094617&x=2838',
		'title': '',
		'imageId': '70094617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094624&x=2838',
		'title': '',
		'imageId': '70094624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094615&x=2838',
		'title': '',
		'imageId': '70094615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094622&x=2838',
		'title': '',
		'imageId': '70094622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094619&x=2838',
		'title': '',
		'imageId': '70094619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015426&docid=70094620&x=2838',
		'title': '',
		'imageId': '70094620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015426';

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