window.onload = function(){
	$$('.external').addEvent('click', function(ev){
			window.open(this.href); new Event(ev).stop(); return; });
	
	$$('.search').addEvent('click', function(ev){
		new Event(ev).stop();
		$('search').value='';
	});
}

  window.addEvent('domready', function() {
                
          var moostick = new Moostick($('moostick'));

          // make it extra quick (fades 1.5 seconds)
          moostick.interval = 500000;
          
          // get in fast mode, since we're sure about the id
          moostick.trust4Speed = false;
          
          // start moostick
          moostick.startTick();
	
    
          // NOTE: you could the "delay chaining" for more control, but I wanted
	// to keep the example clear, since the logic would have been inversed.

 });