gloader.load(["glow","1","glow.dom","glow.events","glow.anim","glow.net","glow.widgets.Carousel"],{async:true,onLoad:function(E){var D=E.dom,C=E.dom.get,A=E.events,B=E.anim;if(!E.isSupported){document.documentElement.className=""}(function(){E.ready(function(){var F="http://"+location.hostname+"/nature/wildlife/by/latest.ssi";E.dom.get("#latest-promo").append('<p id="loading-latest">Loading latest wildlife</p>');request=E.net.get(F,{onLoad:function(G){E.dom.get("#latest-promo").remove();E.dom.get("#latest").append(G.text());latestCount=E.dom.get("#latest-promo-carousel li").length;lastItem=E.dom.get("#latest-promo-carousel li.nth-child-"+latestCount).html();E.dom.get("ol#latest-promo-carousel").prepend("<li>"+lastItem+"</li>");E.dom.get("#latest-promo-carousel li.nth-child-"+latestCount).remove();E.dom.get("#blq-content").addClass("latest-added");carousel=new E.widgets.Carousel("#latest-promo-carousel",{loop:true,size:3,theme:"dark",id:"latestCarousel",pageNav:true});E.dom.get("ul.pageNav").css("margin-left","0px");E.dom.get("div.carousel-window").css("height","330px");E.dom.create('<a href="#" id="carousel-left" title="previous"></a>').appendTo(E.dom.get(".carousel-dark"));E.dom.create('<a href="#" id="carousel-right" title="next"></a>').appendTo(E.dom.get(".carousel-dark"));E.events.addListener("#carousel-left","click",function(){carousel.moveBy(-1,true);return false});E.events.addListener("#carousel-right","click",function(){carousel.moveBy(+1,true);return false});var H=Math.ceil(10*Math.random());setTimeout("carousel.moveBy("+H+")",500)}})})})()}});