var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512017&x=5613',
		'title': '',
		'imageId': '69512017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512018&x=5613',
		'title': '',
		'imageId': '69512018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512020&x=5613',
		'title': '',
		'imageId': '69512020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512011&x=5613',
		'title': '',
		'imageId': '69512011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512012&x=5613',
		'title': '',
		'imageId': '69512012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512021&x=5613',
		'title': '',
		'imageId': '69512021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512022&x=5613',
		'title': '',
		'imageId': '69512022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512014&x=5613',
		'title': '',
		'imageId': '69512014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512015&x=5613',
		'title': '',
		'imageId': '69512015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512010&x=5613',
		'title': '',
		'imageId': '69512010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512013&x=5613',
		'title': '',
		'imageId': '69512013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991075&docid=69512016&x=5613',
		'title': '',
		'imageId': '69512016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991075';

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