var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638284&x=5351',
		'title': '',
		'imageId': '69638284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638287&x=5351',
		'title': '',
		'imageId': '69638287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638290&x=5351',
		'title': '',
		'imageId': '69638290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638293&x=5351',
		'title': '',
		'imageId': '69638293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638294&x=5351',
		'title': '',
		'imageId': '69638294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638299&x=5351',
		'title': '',
		'imageId': '69638299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638302&x=5351',
		'title': '',
		'imageId': '69638302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638305&x=5351',
		'title': '',
		'imageId': '69638305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638309&x=5351',
		'title': '',
		'imageId': '69638309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997006&docid=69638314&x=5351',
		'title': '',
		'imageId': '69638314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997006';

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