var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848221&x=614',
		'title': '',
		'imageId': '70848221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848223&x=614',
		'title': '',
		'imageId': '70848223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848224&x=614',
		'title': '',
		'imageId': '70848224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848228&x=614',
		'title': '',
		'imageId': '70848228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848243&x=614',
		'title': '',
		'imageId': '70848243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848250&x=614',
		'title': '',
		'imageId': '70848250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848246&x=614',
		'title': '',
		'imageId': '70848246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848256&x=614',
		'title': '',
		'imageId': '70848256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848225&x=614',
		'title': '',
		'imageId': '70848225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848236&x=614',
		'title': '',
		'imageId': '70848236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848240&x=614',
		'title': '',
		'imageId': '70848240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848241&x=614',
		'title': '',
		'imageId': '70848241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848242&x=614',
		'title': '',
		'imageId': '70848242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848257&x=614',
		'title': '',
		'imageId': '70848257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848258&x=614',
		'title': '',
		'imageId': '70848258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848220&x=614',
		'title': '',
		'imageId': '70848220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044343&docid=70848222&x=614',
		'title': '',
		'imageId': '70848222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044343';

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