var index = 0;var n = 0;var author = document.getElementById("author");var quote  = document.getElementById("quote");function typer(){var i=quotes[index].length; n=0; author.innerHTML="";setTimeout(function setAuthor(){author.innerHTML = authors[index]; index = (index>=quotes.length-1)? 0 : index+1;}, 70*i+100);while(i>=0){setTimeout(type, 70*i--);}}function type(){quote.innerHTML = quotes[index].substr(0, n); n++;}function quoter(){setInterval(typer, 10000);typer();}


