var msg="Are you sure you want to logout as " + username + " ?";
/* redirect to /logout, see urls.py */
if (confirm(msg)) window.location="/logout/";
var msg="Are you sure you want to logout as " + username + " ?";
/* redirect to /logout, see urls.py */
if (confirm(msg)) window.location="/logout/";