var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420096&x=5512',
		'title': '',
		'imageId': '69420096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420098&x=5512',
		'title': '',
		'imageId': '69420098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420099&x=5512',
		'title': '',
		'imageId': '69420099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420100&x=5512',
		'title': '',
		'imageId': '69420100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420102&x=5512',
		'title': '',
		'imageId': '69420102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420103&x=5512',
		'title': '',
		'imageId': '69420103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420104&x=5512',
		'title': '',
		'imageId': '69420104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420105&x=5512',
		'title': '',
		'imageId': '69420105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69494627&x=5512',
		'title': '',
		'imageId': '69494627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69494626&x=5512',
		'title': '',
		'imageId': '69494626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420106&x=5512',
		'title': '',
		'imageId': '69420106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986661&docid=69420107&x=5512',
		'title': '',
		'imageId': '69420107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986661';

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