var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040826&x=4522',
		'title': '',
		'imageId': '69040826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040828&x=4522',
		'title': '',
		'imageId': '69040828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040832&x=4522',
		'title': '',
		'imageId': '69040832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040829&x=4522',
		'title': '',
		'imageId': '69040829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040822&x=4522',
		'title': '',
		'imageId': '69040822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040833&x=4522',
		'title': '',
		'imageId': '69040833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040824&x=4522',
		'title': '',
		'imageId': '69040824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040831&x=4522',
		'title': '',
		'imageId': '69040831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040825&x=4522',
		'title': '',
		'imageId': '69040825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040830&x=4522',
		'title': '',
		'imageId': '69040830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040823&x=4522',
		'title': '',
		'imageId': '69040823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970838&docid=69040827&x=4522',
		'title': '',
		'imageId': '69040827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970838';

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