var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440056&x=3259',
		'title': '',
		'imageId': '69440056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440055&x=3259',
		'title': '',
		'imageId': '69440055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440058&x=3259',
		'title': '',
		'imageId': '69440058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440053&x=3259',
		'title': '',
		'imageId': '69440053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440054&x=3259',
		'title': '',
		'imageId': '69440054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440061&x=3259',
		'title': '',
		'imageId': '69440061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440063&x=3259',
		'title': '',
		'imageId': '69440063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440059&x=3259',
		'title': '',
		'imageId': '69440059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440060&x=3259',
		'title': '',
		'imageId': '69440060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440057&x=3259',
		'title': '',
		'imageId': '69440057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987586&docid=69440062&x=3259',
		'title': '',
		'imageId': '69440062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987586';

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