var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662099&x=3259',
		'title': '',
		'imageId': '69662099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662100&x=3259',
		'title': '',
		'imageId': '69662100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662101&x=3259',
		'title': '',
		'imageId': '69662101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662102&x=3259',
		'title': '',
		'imageId': '69662102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662103&x=3259',
		'title': '',
		'imageId': '69662103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662104&x=3259',
		'title': '',
		'imageId': '69662104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662105&x=3259',
		'title': '',
		'imageId': '69662105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662106&x=3259',
		'title': '',
		'imageId': '69662106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662107&x=3259',
		'title': '',
		'imageId': '69662107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662108&x=3259',
		'title': '',
		'imageId': '69662108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998198&docid=69662109&x=3259',
		'title': '',
		'imageId': '69662109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998198';

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