var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916994&x=1820',
		'title': '',
		'imageId': '70916994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916988&x=1820',
		'title': '',
		'imageId': '70916988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916987&x=1820',
		'title': '',
		'imageId': '70916987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916986&x=1820',
		'title': '',
		'imageId': '70916986',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916989&x=1820',
		'title': '',
		'imageId': '70916989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916993&x=1820',
		'title': '',
		'imageId': '70916993',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916996&x=1820',
		'title': '',
		'imageId': '70916996',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916990&x=1820',
		'title': '',
		'imageId': '70916990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916991&x=1820',
		'title': '',
		'imageId': '70916991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916992&x=1820',
		'title': '',
		'imageId': '70916992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046962&docid=70916995&x=1820',
		'title': '',
		'imageId': '70916995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4046962';

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