var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879609&x=5027',
		'title': '',
		'imageId': '66879609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879614&x=5027',
		'title': '',
		'imageId': '66879614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879606&x=5027',
		'title': '',
		'imageId': '66879606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879605&x=5027',
		'title': '',
		'imageId': '66879605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879618&x=5027',
		'title': '',
		'imageId': '66879618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879615&x=5027',
		'title': '',
		'imageId': '66879615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879602&x=5027',
		'title': '',
		'imageId': '66879602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879607&x=5027',
		'title': '',
		'imageId': '66879607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879603&x=5027',
		'title': '',
		'imageId': '66879603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879620&x=5027',
		'title': '',
		'imageId': '66879620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879611&x=5027',
		'title': '',
		'imageId': '66879611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879613&x=5027',
		'title': '',
		'imageId': '66879613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879604&x=5027',
		'title': '',
		'imageId': '66879604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879610&x=5027',
		'title': '',
		'imageId': '66879610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879621&x=5027',
		'title': '',
		'imageId': '66879621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879608&x=5027',
		'title': '',
		'imageId': '66879608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879617&x=5027',
		'title': '',
		'imageId': '66879617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879619&x=5027',
		'title': '',
		'imageId': '66879619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879616&x=5027',
		'title': '',
		'imageId': '66879616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967063&docid=66879612&x=5027',
		'title': '',
		'imageId': '66879612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967063';

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