var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209706&x=4823',
		'title': '',
		'imageId': '70209706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209701&x=4823',
		'title': '',
		'imageId': '70209701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209705&x=4823',
		'title': '',
		'imageId': '70209705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209702&x=4823',
		'title': '',
		'imageId': '70209702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209697&x=4823',
		'title': '',
		'imageId': '70209697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209700&x=4823',
		'title': '',
		'imageId': '70209700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209698&x=4823',
		'title': '',
		'imageId': '70209698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209703&x=4823',
		'title': '',
		'imageId': '70209703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209696&x=4823',
		'title': '',
		'imageId': '70209696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209704&x=4823',
		'title': '',
		'imageId': '70209704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019203&docid=70209699&x=4823',
		'title': '',
		'imageId': '70209699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019203';

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