var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203594&x=811',
		'title': '',
		'imageId': '70203594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203567&x=811',
		'title': '',
		'imageId': '70203567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203623&x=811',
		'title': '',
		'imageId': '70203623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203678&x=811',
		'title': '',
		'imageId': '70203678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203681&x=811',
		'title': '',
		'imageId': '70203681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203689&x=811',
		'title': '',
		'imageId': '70203689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203586&x=811',
		'title': '',
		'imageId': '70203586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203580&x=811',
		'title': '',
		'imageId': '70203580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203589&x=811',
		'title': '',
		'imageId': '70203589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203577&x=811',
		'title': '',
		'imageId': '70203577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203556&x=811',
		'title': '',
		'imageId': '70203556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203583&x=811',
		'title': '',
		'imageId': '70203583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203698&x=811',
		'title': '',
		'imageId': '70203698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203704&x=811',
		'title': '',
		'imageId': '70203704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203709&x=811',
		'title': '',
		'imageId': '70203709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203692&x=811',
		'title': '',
		'imageId': '70203692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018955&docid=70203574&x=811',
		'title': '',
		'imageId': '70203574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018955';

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