showResponseType = 'json';
}
-if (this.JSON )
- alert("Native JSON support");
my_paz = new pz2( { "onshow": my_onshow,
"showtime": 500, //each timer (show, stat, term, bytarget) can be specified this way
}
function loggedIn() {
var login = document.getElementById("login");
- login.innerHTML = 'Logout';
+ login.innerHTML = 'Logout(' + auth.displayName + ')';
+ document.getElementById("log").innerHTML = login.innerHTML;
}
function auth_check() {
authors = authors + "au" + "|" + data.author[i].name + "|" + data.author[i].freq + "\n";
}
termlist["authors"] = authors;
- //document.getElementById("log").innerHTML = targets + "\n" + subjects + "\n" + authors;
callback.send("termlist", "refresh");
}
{
//return renderDetails(data,marker);
-
+ if (!data)
+ return "";
var details = '<div class="details" id="det_'+data.recid+'" >'
/*
details = '<div id="header" id="det_'+data.recid+'">'