var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285943&x=4214',
		'title': '',
		'imageId': '70285943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285934&x=4214',
		'title': '',
		'imageId': '70285934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285932&x=4214',
		'title': '',
		'imageId': '70285932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285933&x=4214',
		'title': '',
		'imageId': '70285933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285935&x=4214',
		'title': '',
		'imageId': '70285935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285936&x=4214',
		'title': '',
		'imageId': '70285936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285937&x=4214',
		'title': '',
		'imageId': '70285937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285938&x=4214',
		'title': '',
		'imageId': '70285938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285939&x=4214',
		'title': '',
		'imageId': '70285939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285940&x=4214',
		'title': '',
		'imageId': '70285940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285941&x=4214',
		'title': '',
		'imageId': '70285941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022426&docid=70285942&x=4214',
		'title': '',
		'imageId': '70285942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4022426';

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