var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364938&x=4333',
		'title': '',
		'imageId': '69364938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364942&x=4333',
		'title': '',
		'imageId': '69364942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364939&x=4333',
		'title': '',
		'imageId': '69364939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364944&x=4333',
		'title': '',
		'imageId': '69364944',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364943&x=4333',
		'title': '',
		'imageId': '69364943',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364937&x=4333',
		'title': '',
		'imageId': '69364937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364936&x=4333',
		'title': '',
		'imageId': '69364936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364941&x=4333',
		'title': '',
		'imageId': '69364941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364940&x=4333',
		'title': '',
		'imageId': '69364940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364946&x=4333',
		'title': '',
		'imageId': '69364946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984485&docid=69364945&x=4333',
		'title': '',
		'imageId': '69364945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984485';

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