类似这样:
         // window.setTimeout扩展(一般不用修改)
_setTimeout = function( t, fn, args, o ){
var f = function(){
if( args )
{
fn.apply( o, args );
}
else
{
fn.call( o );
}
};
return window.setTimeout( f, t );
};function Start( div )
{
 _setTimeout( 15, Display, [ div, "block" ] );
}function Display( div, str )
{
 div.style.display = str;//"block"|""和"none"
 if( str.toLowerCase != "none" )
 {
  _setTimeout( 30, [ div, "none" ] );
 }
}<div id="div1"/>
<input type="button" onclick="Start( div1 )"/>// 以上内空是我凭想象写出来的,没测试过,你试下,有问题找我。