var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433716&x=2823',
		'title': '',
		'imageId': '70433716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433717&x=2823',
		'title': '',
		'imageId': '70433717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433719&x=2823',
		'title': '',
		'imageId': '70433719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433718&x=2823',
		'title': '',
		'imageId': '70433718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433721&x=2823',
		'title': '',
		'imageId': '70433721',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433720&x=2823',
		'title': '',
		'imageId': '70433720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433726&x=2823',
		'title': '',
		'imageId': '70433726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433727&x=2823',
		'title': '',
		'imageId': '70433727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433730&x=2823',
		'title': '',
		'imageId': '70433730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70431404&x=2823',
		'title': '',
		'imageId': '70431404',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029164&docid=70433733&x=2823',
		'title': '',
		'imageId': '70433733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029164';

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