function Func1Delay()
{
setTimeout("Func1()", 9000);
}
Element.implement({
fadeAndDestroy: function(duration) {
duration = duration || 5000;
var el = this;
this.set('tween', {
duration: duration
}).fade('out').get('tween').chain(function() {
el.dispose();
});
}});
window.addEvent('domready',function()
{
$('killme').fadeAndDestroy();});
Time to create page: 0.042 seconds