var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031613&x=2641',
		'title': '',
		'imageId': '69031613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031616&x=2641',
		'title': '',
		'imageId': '69031616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031617&x=2641',
		'title': '',
		'imageId': '69031617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031611&x=2641',
		'title': '',
		'imageId': '69031611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031612&x=2641',
		'title': '',
		'imageId': '69031612',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031618&x=2641',
		'title': '',
		'imageId': '69031618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031615&x=2641',
		'title': '',
		'imageId': '69031615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031607&x=2641',
		'title': '',
		'imageId': '69031607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031610&x=2641',
		'title': '',
		'imageId': '69031610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031604&x=2641',
		'title': '',
		'imageId': '69031604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031620&x=2641',
		'title': '',
		'imageId': '69031620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031619&x=2641',
		'title': '',
		'imageId': '69031619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031608&x=2641',
		'title': '',
		'imageId': '69031608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031606&x=2641',
		'title': '',
		'imageId': '69031606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031605&x=2641',
		'title': '',
		'imageId': '69031605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031614&x=2641',
		'title': '',
		'imageId': '69031614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970577&docid=69031609&x=2641',
		'title': '',
		'imageId': '69031609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970577';

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