var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70023948&x=5431',
		'title': '',
		'imageId': '70023948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70023947&x=5431',
		'title': '',
		'imageId': '70023947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70023949&x=5431',
		'title': '',
		'imageId': '70023949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064234&x=5431',
		'title': '',
		'imageId': '70064234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064263&x=5431',
		'title': '',
		'imageId': '70064263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064265&x=5431',
		'title': '',
		'imageId': '70064265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064268&x=5431',
		'title': '',
		'imageId': '70064268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064267&x=5431',
		'title': '',
		'imageId': '70064267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064272&x=5431',
		'title': '',
		'imageId': '70064272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064270&x=5431',
		'title': '',
		'imageId': '70064270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064264&x=5431',
		'title': '',
		'imageId': '70064264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012799&docid=70064262&x=5431',
		'title': '',
		'imageId': '70064262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012799';

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