var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202513&x=5611',
		'title': '',
		'imageId': '70202513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202514&x=5611',
		'title': '',
		'imageId': '70202514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202517&x=5611',
		'title': '',
		'imageId': '70202517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202529&x=5611',
		'title': '',
		'imageId': '70202529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202540&x=5611',
		'title': '',
		'imageId': '70202540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202541&x=5611',
		'title': '',
		'imageId': '70202541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202542&x=5611',
		'title': '',
		'imageId': '70202542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202543&x=5611',
		'title': '',
		'imageId': '70202543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202544&x=5611',
		'title': '',
		'imageId': '70202544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202545&x=5611',
		'title': '',
		'imageId': '70202545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018922&docid=70202546&x=5611',
		'title': '',
		'imageId': '70202546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018922';

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