var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611201&x=259',
		'title': '',
		'imageId': '67611201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611252&x=259',
		'title': '',
		'imageId': '67611252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611196&x=259',
		'title': '',
		'imageId': '67611196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611191&x=259',
		'title': '',
		'imageId': '67611191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611200&x=259',
		'title': '',
		'imageId': '67611200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611189&x=259',
		'title': '',
		'imageId': '67611189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611203&x=259',
		'title': '',
		'imageId': '67611203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611192&x=259',
		'title': '',
		'imageId': '67611192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611199&x=259',
		'title': '',
		'imageId': '67611199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611202&x=259',
		'title': '',
		'imageId': '67611202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611198&x=259',
		'title': '',
		'imageId': '67611198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611193&x=259',
		'title': '',
		'imageId': '67611193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611194&x=259',
		'title': '',
		'imageId': '67611194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611204&x=259',
		'title': '',
		'imageId': '67611204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611195&x=259',
		'title': '',
		'imageId': '67611195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611190&x=259',
		'title': '',
		'imageId': '67611190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611197&x=259',
		'title': '',
		'imageId': '67611197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611217&x=259',
		'title': '',
		'imageId': '67611217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922909&docid=67611240&x=259',
		'title': '',
		'imageId': '67611240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922909';

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