var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917673&x=4244',
		'title': '',
		'imageId': '69917673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917675&x=4244',
		'title': '',
		'imageId': '69917675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917676&x=4244',
		'title': '',
		'imageId': '69917676',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917677&x=4244',
		'title': '',
		'imageId': '69917677',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917678&x=4244',
		'title': '',
		'imageId': '69917678',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917679&x=4244',
		'title': '',
		'imageId': '69917679',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917680&x=4244',
		'title': '',
		'imageId': '69917680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917681&x=4244',
		'title': '',
		'imageId': '69917681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917682&x=4244',
		'title': '',
		'imageId': '69917682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917683&x=4244',
		'title': '',
		'imageId': '69917683',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917684&x=4244',
		'title': '',
		'imageId': '69917684',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917685&x=4244',
		'title': '',
		'imageId': '69917685',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917686&x=4244',
		'title': '',
		'imageId': '69917686',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917687&x=4244',
		'title': '',
		'imageId': '69917687',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917688&x=4244',
		'title': '',
		'imageId': '69917688',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917689&x=4244',
		'title': '',
		'imageId': '69917689',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917690&x=4244',
		'title': '',
		'imageId': '69917690',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917691&x=4244',
		'title': '',
		'imageId': '69917691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917692&x=4244',
		'title': '',
		'imageId': '69917692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008318&docid=69917693&x=4244',
		'title': '',
		'imageId': '69917693',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008318';

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