function setup(){ 
	 j$("#vis_chart td").mouseover(
		 function(){
			 popit(this);
		 }
	 );
}

 function popit(cell){
	 jcell = j$(cell);
	 if (jcell.hasClass('city')) return;
	 popup = j$('#pop')
	 if (!popup.length) popup = j$(j$('body').append('<div id="pop" style="z-index:1000; position:absolute"><div>')).find('#pop')
	 info = jcell.attr('num');
	 if(!info) return;
	 info = info.split(',')
	 city = j$(j$('#vis_chart tr')[parseInt(info[0])].cells[0]).text();
	 percent = Math.round(parseFloat(info[2]) * 100 * 1000) / 1000;
	 popup.html('<b>' + percent + '%</b> of all ' + info[3] + ' groups about <b>' + topics[parseInt(info[1])] + '</b> are located in <b>' + city + '</b>');
	 popup.css('top',(jcell.offset()['top']+25)+'px');
	 popup.css('left',(jcell.offset()['left']+25)+'px');
 }   
