var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269101&x=2613',
		'title': '',
		'imageId': '69269101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269099&x=2613',
		'title': '',
		'imageId': '69269099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269109&x=2613',
		'title': '',
		'imageId': '69269109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269105&x=2613',
		'title': '',
		'imageId': '69269105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269103&x=2613',
		'title': '',
		'imageId': '69269103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269106&x=2613',
		'title': '',
		'imageId': '69269106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269108&x=2613',
		'title': '',
		'imageId': '69269108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269107&x=2613',
		'title': '',
		'imageId': '69269107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269110&x=2613',
		'title': '',
		'imageId': '69269110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269100&x=2613',
		'title': '',
		'imageId': '69269100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269104&x=2613',
		'title': '',
		'imageId': '69269104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980200&docid=69269102&x=2613',
		'title': '',
		'imageId': '69269102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980200';

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