var text1=" my l0ve f0r y0u* " comeback=0 cometo=0 function dis(){ window.status=text1.substring(0,cometo) if(comeback==1){ cometo--; if(cometo==0){comeback=0} } else {cometo++;if(cometo==text1.length){comeback=1}} window.status=text1.substring(0,cometo)+" has c0me to an end. if(cometo==text1.length){window.setTimeout("dis()",500);} else {window.setTimeout("dis()",50);} } dis() Get awesome blog templates like this one from BlogSkins.com