var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204344&x=847',
		'title': '',
		'imageId': '70204344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204352&x=847',
		'title': '',
		'imageId': '70204352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204361&x=847',
		'title': '',
		'imageId': '70204361',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204345&x=847',
		'title': '',
		'imageId': '70204345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204349&x=847',
		'title': '',
		'imageId': '70204349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204348&x=847',
		'title': '',
		'imageId': '70204348',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204356&x=847',
		'title': '',
		'imageId': '70204356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204353&x=847',
		'title': '',
		'imageId': '70204353',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204359&x=847',
		'title': '',
		'imageId': '70204359',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204358&x=847',
		'title': '',
		'imageId': '70204358',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204360&x=847',
		'title': '',
		'imageId': '70204360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204346&x=847',
		'title': '',
		'imageId': '70204346',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204351&x=847',
		'title': '',
		'imageId': '70204351',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204350&x=847',
		'title': '',
		'imageId': '70204350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204362&x=847',
		'title': '',
		'imageId': '70204362',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204355&x=847',
		'title': '',
		'imageId': '70204355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204357&x=847',
		'title': '',
		'imageId': '70204357',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204354&x=847',
		'title': '',
		'imageId': '70204354',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019018&docid=70204347&x=847',
		'title': '',
		'imageId': '70204347',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019018';

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