loadPage = function(TargetData) { new Effect.BlindUp('PageText', {queue: 'end', limit: 1, onFinish: function() {new Effect.BlindDown('PageText');}}); Behaviour.register(style); }