var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028858&x=5221',
		'title': '',
		'imageId': '59028858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028859&x=5221',
		'title': '',
		'imageId': '59028859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028860&x=5221',
		'title': '',
		'imageId': '59028860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028861&x=5221',
		'title': '',
		'imageId': '59028861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028862&x=5221',
		'title': '',
		'imageId': '59028862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028863&x=5221',
		'title': '',
		'imageId': '59028863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028864&x=5221',
		'title': '',
		'imageId': '59028864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028865&x=5221',
		'title': '',
		'imageId': '59028865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028866&x=5221',
		'title': '',
		'imageId': '59028866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028867&x=5221',
		'title': '',
		'imageId': '59028867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028868&x=5221',
		'title': '',
		'imageId': '59028868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028869&x=5221',
		'title': '',
		'imageId': '59028869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028870&x=5221',
		'title': '',
		'imageId': '59028870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028871&x=5221',
		'title': '',
		'imageId': '59028871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028872&x=5221',
		'title': '',
		'imageId': '59028872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028873&x=5221',
		'title': '',
		'imageId': '59028873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028874&x=5221',
		'title': '',
		'imageId': '59028874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028875&x=5221',
		'title': '',
		'imageId': '59028875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652693&docid=59028876&x=5221',
		'title': '',
		'imageId': '59028876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3652693';

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