How do I put a time delay into my script?
<p>I want a 3 second delay in my script</p>

<p>However how can I do this, I don't know!</p>

<p>My script: </p>

<pre><code>&lt;script type="text/javascript"&gt;

    var baslik = document.title;
    $(document).ready(function () {

        document.title = '(Welcome)' + baslik; // After 3 seconds 
        document.title = '(What can i do for you ?)' + baslik; // After 3 seconds
        document.title = '(Thank u for viewing to me)' + baslik; // After 3 seconds 
        document.title = baslik;
    });         
&lt;/script&gt;
</code></pre>
