var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009948&x=3359',
		'title': '',
		'imageId': '70009948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009943&x=3359',
		'title': '',
		'imageId': '70009943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009944&x=3359',
		'title': '',
		'imageId': '70009944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009945&x=3359',
		'title': '',
		'imageId': '70009945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009946&x=3359',
		'title': '',
		'imageId': '70009946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009947&x=3359',
		'title': '',
		'imageId': '70009947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009949&x=3359',
		'title': '',
		'imageId': '70009949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009950&x=3359',
		'title': '',
		'imageId': '70009950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009951&x=3359',
		'title': '',
		'imageId': '70009951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009952&x=3359',
		'title': '',
		'imageId': '70009952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012210&docid=70009953&x=3359',
		'title': '',
		'imageId': '70009953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012210';

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