var twhTimer;
jQuery(document).ready(function() {
getSearch();
});
function getSearch()
{
clearTimeout(twhTimer);
var newText = "
";
jQuery.get("http://unsummit.org/wp-content/plugins/Twitter-Search/getSearch.php", function(xml){
jQuery('entry',xml).each(function(i){
newText = newText + "- ";
var twh_title = jQuery(this).find("title").text();
var twh_url = jQuery(this).find("link").attr("href");
newText = newText + twh_title + " view";
newText = newText + "
";
});
jQuery("#twhContainer").html(newText);
});
jQuery("#twhContainer").animate({'opacity': 'show'}, 500);
twhTimer = setTimeout('getSearch()', 10000);
}