var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206837&x=456',
		'title': '',
		'imageId': '70206837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206838&x=456',
		'title': '',
		'imageId': '70206838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206841&x=456',
		'title': '',
		'imageId': '70206841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206845&x=456',
		'title': '',
		'imageId': '70206845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206840&x=456',
		'title': '',
		'imageId': '70206840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206839&x=456',
		'title': '',
		'imageId': '70206839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206842&x=456',
		'title': '',
		'imageId': '70206842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206843&x=456',
		'title': '',
		'imageId': '70206843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206847&x=456',
		'title': '',
		'imageId': '70206847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206846&x=456',
		'title': '',
		'imageId': '70206846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019110&docid=70206844&x=456',
		'title': '',
		'imageId': '70206844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019110';

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