setTimout help
<p>I have a small piece of javascript that I would like to use but need a delay before it's activated.</p>

<pre><code>function sglClick(url) {
    window.setTimeout('location.href="http://'"+url",1500);
}
</code></pre>

<p>This is not working and I'm really stuck here. Wish I knew a bit more javascript. Can someone please help?</p>

<p>Thanks</p>

<p><hr /></p>

<p>Here is what I now have</p>

<pre><code>function send(){

}

function sglClick(url) {
//    window.location.href="http://"+url;
    setTimeout(function send() { location.href = "http://" + url; },1500);
}
</code></pre>
