var NEWS_TIME=4000;var TEXT_TIME=50;var newsi=0;var txti=0;var txttimer;var newstimer;var newstitle=new Array();newstitle[0]="Adversity makes a man wise, not rich...I'm using proxy";newstitle[1]="A faithful friend is hard to find...I'm using proxy";newstitle[2]="A good book is a good friend...I'm using proxy";newstitle[3]="A joke never gains an enemy but loses a friend...I'm using proxy";function showphrase(){var A="_";hwnewstr=newstitle[newsi];if(txti==(hwnewstr.length-1)){A=""}if(txti>=hwnewstr.length){clearInterval(txttimer);clearInterval(newstimer);newsi++;if(newsi>=newstitle.length){newsi=0}newstimer=setInterval("showphrase()",NEWS_TIME);txti=0;return }clearInterval(txttimer);document.getElementById("phrase").innerHTML=hwnewstr.substring(0,txti+1)+A;txti++;txttimer=setInterval("showphrase()",TEXT_TIME)}$(document).ready(function(){setTimeout(showphrase,3000)});
