var step = 0;
 var txt = document.title;
 function titleWink(){
     step++;
     if(step==3){step=1}
     if(step==1){document.title='【   '+txt+'   】'}
     if(step==2){document.title='【新消息】'+txt}
     setTimeout("titleWink()",200);
 }
 titleWink();