var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658450&x=465',
		'title': '',
		'imageId': '69658450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658451&x=465',
		'title': '',
		'imageId': '69658451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658452&x=465',
		'title': '',
		'imageId': '69658452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658453&x=465',
		'title': '',
		'imageId': '69658453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658454&x=465',
		'title': '',
		'imageId': '69658454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658455&x=465',
		'title': '',
		'imageId': '69658455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658456&x=465',
		'title': '',
		'imageId': '69658456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658457&x=465',
		'title': '',
		'imageId': '69658457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658458&x=465',
		'title': '',
		'imageId': '69658458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658459&x=465',
		'title': '',
		'imageId': '69658459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997983&docid=69658460&x=465',
		'title': '',
		'imageId': '69658460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997983';

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