return HTML_AJAX.grab(encodeURI('rpc.php?action=what_to_do'));
}
-function init_phpfspot()
+function init_phpfspot(mode)
{
+ /* always load list of available tags */
refreshAvailableTags();
+ /* ask the server what we are currently displaying */
whattodo = AskServerWhatToDo();
if(whattodo == 'showpi' || whattodo == 'showpi_date') {
refreshSelectedTags();
}
}
-}
+} // init_phpfspot()
function setBackGrdColor(item, color)
{