var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089824&x=3948',
		'title': '',
		'imageId': '69089824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089821&x=3948',
		'title': '',
		'imageId': '69089821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089811&x=3948',
		'title': '',
		'imageId': '69089811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089818&x=3948',
		'title': '',
		'imageId': '69089818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089823&x=3948',
		'title': '',
		'imageId': '69089823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089810&x=3948',
		'title': '',
		'imageId': '69089810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089817&x=3948',
		'title': '',
		'imageId': '69089817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089809&x=3948',
		'title': '',
		'imageId': '69089809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089815&x=3948',
		'title': '',
		'imageId': '69089815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089814&x=3948',
		'title': '',
		'imageId': '69089814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089827&x=3948',
		'title': '',
		'imageId': '69089827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089816&x=3948',
		'title': '',
		'imageId': '69089816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089828&x=3948',
		'title': '',
		'imageId': '69089828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089813&x=3948',
		'title': '',
		'imageId': '69089813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089820&x=3948',
		'title': '',
		'imageId': '69089820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089825&x=3948',
		'title': '',
		'imageId': '69089825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089826&x=3948',
		'title': '',
		'imageId': '69089826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089812&x=3948',
		'title': '',
		'imageId': '69089812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089822&x=3948',
		'title': '',
		'imageId': '69089822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982505&docid=69089819&x=3948',
		'title': '',
		'imageId': '69089819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982505';

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