var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226303&x=016',
		'title': '',
		'imageId': '69226303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226308&x=016',
		'title': '',
		'imageId': '69226308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226312&x=016',
		'title': '',
		'imageId': '69226312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226319&x=016',
		'title': '',
		'imageId': '69226319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226321&x=016',
		'title': '',
		'imageId': '69226321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226320&x=016',
		'title': '',
		'imageId': '69226320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226313&x=016',
		'title': '',
		'imageId': '69226313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226315&x=016',
		'title': '',
		'imageId': '69226315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226317&x=016',
		'title': '',
		'imageId': '69226317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226304&x=016',
		'title': '',
		'imageId': '69226304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226309&x=016',
		'title': '',
		'imageId': '69226309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226310&x=016',
		'title': '',
		'imageId': '69226310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226307&x=016',
		'title': '',
		'imageId': '69226307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226314&x=016',
		'title': '',
		'imageId': '69226314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226318&x=016',
		'title': '',
		'imageId': '69226318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226305&x=016',
		'title': '',
		'imageId': '69226305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226311&x=016',
		'title': '',
		'imageId': '69226311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226306&x=016',
		'title': '',
		'imageId': '69226306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226316&x=016',
		'title': '',
		'imageId': '69226316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978620&docid=69226302&x=016',
		'title': '',
		'imageId': '69226302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978620';

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