I am working on a small function to open a window, wait 2 seconds and then close the window, could someone tell me what they see wrong with the script. Because it is not working the right way.

function closeWin(){

function makeWin() {
newWin = window.open("http://webcast.themeetingson.com/confluence.jsp?content=joinEvent.jsp&resvNum=17605812","","HEIGHT=1,WIDTH=1,hidden");

var timeID = setTimeout("closeWin()", 2000);

// ---------- END ---------------------

This window closes but it doesn't wait 2 sec to do it.

Thanks in advance.