var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69863001&x=3429',
		'title': '',
		'imageId': '69863001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69862999&x=3429',
		'title': '',
		'imageId': '69862999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69863000&x=3429',
		'title': '',
		'imageId': '69863000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69863005&x=3429',
		'title': '',
		'imageId': '69863005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69863010&x=3429',
		'title': '',
		'imageId': '69863010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69863011&x=3429',
		'title': '',
		'imageId': '69863011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69863019&x=3429',
		'title': '',
		'imageId': '69863019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69863014&x=3429',
		'title': '',
		'imageId': '69863014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69862998&x=3429',
		'title': '',
		'imageId': '69862998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69863002&x=3429',
		'title': '',
		'imageId': '69863002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006212&docid=69985224&x=3429',
		'title': '',
		'imageId': '69985224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006212';

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