var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064885&x=921',
		'title': '',
		'imageId': '70064885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064888&x=921',
		'title': '',
		'imageId': '70064888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064887&x=921',
		'title': '',
		'imageId': '70064887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064889&x=921',
		'title': '',
		'imageId': '70064889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064886&x=921',
		'title': '',
		'imageId': '70064886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064890&x=921',
		'title': '',
		'imageId': '70064890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064891&x=921',
		'title': '',
		'imageId': '70064891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064892&x=921',
		'title': '',
		'imageId': '70064892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064893&x=921',
		'title': '',
		'imageId': '70064893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064895&x=921',
		'title': '',
		'imageId': '70064895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064894&x=921',
		'title': '',
		'imageId': '70064894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014419&docid=70064896&x=921',
		'title': '',
		'imageId': '70064896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014419';

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