var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028486&x=4214',
		'title': '',
		'imageId': '69028486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028494&x=4214',
		'title': '',
		'imageId': '69028494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028490&x=4214',
		'title': '',
		'imageId': '69028490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028489&x=4214',
		'title': '',
		'imageId': '69028489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028487&x=4214',
		'title': '',
		'imageId': '69028487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028488&x=4214',
		'title': '',
		'imageId': '69028488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028491&x=4214',
		'title': '',
		'imageId': '69028491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028492&x=4214',
		'title': '',
		'imageId': '69028492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028502&x=4214',
		'title': '',
		'imageId': '69028502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028493&x=4214',
		'title': '',
		'imageId': '69028493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028496&x=4214',
		'title': '',
		'imageId': '69028496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028500&x=4214',
		'title': '',
		'imageId': '69028500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028495&x=4214',
		'title': '',
		'imageId': '69028495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028497&x=4214',
		'title': '',
		'imageId': '69028497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028499&x=4214',
		'title': '',
		'imageId': '69028499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970422&docid=69028501&x=4214',
		'title': '',
		'imageId': '69028501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970422';

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