var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371318&x=1841',
		'title': '',
		'imageId': '69371318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371319&x=1841',
		'title': '',
		'imageId': '69371319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371324&x=1841',
		'title': '',
		'imageId': '69371324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371321&x=1841',
		'title': '',
		'imageId': '69371321',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371323&x=1841',
		'title': '',
		'imageId': '69371323',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371320&x=1841',
		'title': '',
		'imageId': '69371320',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371330&x=1841',
		'title': '',
		'imageId': '69371330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371326&x=1841',
		'title': '',
		'imageId': '69371326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371328&x=1841',
		'title': '',
		'imageId': '69371328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371417&x=1841',
		'title': '',
		'imageId': '69371417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984706&docid=69371416&x=1841',
		'title': '',
		'imageId': '69371416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984706';

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