var TTWnd=null; function tooltip_init(){ var a = document.getElementsByTagName("a"); for(i=0; ipw) x = pw-w; if((h+y)>ph) y = ph-h; sp_moveTo(TTWnd,x, y); return false; } function sp_closeTT(){ if(TTWnd!=null){ sp_hide(TTWnd); TTWnd=null; } }