var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219070&x=1917',
		'title': '',
		'imageId': '70219070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219068&x=1917',
		'title': '',
		'imageId': '70219068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219071&x=1917',
		'title': '',
		'imageId': '70219071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219072&x=1917',
		'title': '',
		'imageId': '70219072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219075&x=1917',
		'title': '',
		'imageId': '70219075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219083&x=1917',
		'title': '',
		'imageId': '70219083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219085&x=1917',
		'title': '',
		'imageId': '70219085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219086&x=1917',
		'title': '',
		'imageId': '70219086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219087&x=1917',
		'title': '',
		'imageId': '70219087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219090&x=1917',
		'title': '',
		'imageId': '70219090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219093&x=1917',
		'title': '',
		'imageId': '70219093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019559&docid=70219069&x=1917',
		'title': '',
		'imageId': '70219069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019559';

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