var tmp; tmp = document.getElementById("news_content").getElementsByTagName("a"); for(i=0; i