function oninitchangepw(){}
function onshowchangepw(){var b=getBG();$("#body").css("background","#fff");document.getElementById("changepwtld").innerHTML=g_changepwtld;var e=document.getElementById("changepwsites").contentWindow.document,c='<link rel="stylesheet" type="text/css" href="general.css"><table cellspacing="2">',a=b.getsites(g_changepwtld,true),f=[],d;for(d in a)f[f.length]=b.g_sites[d];f.sort(b.lp_sort_case_insensitive_name);for(a=0;a<f.length;a++){d=f[a].aid;var g=b.g_sites[d].name,h=b.getusernamefromacct(b.g_sites[d]);if(h!=
"")g+=" ("+h+")";c+='<tr><td valign="middle"><input type="checkbox" id="aid'+d+'" name="aid'+d+'"></td><td style="color: #123272;"><label for="aid'+d+'">'+g+"</label></td></tr>"}c+="</table>";e.body.innerHTML=c}function onhidechangepw(){}
function dochangepw(){for(var b=getBG(),e=[],c=document.getElementById("changepwsites").contentWindow.document.getElementsByTagName("input"),a=0;a<c.length;a++)if(c[a].type=="checkbox"&&c[a].checked&&c[a].name.indexOf("aid")==0)e[e.length]=c[a].name.substring(3);if(!(typeof b.checkmultiplefolders=="function"&&!b.checkmultiplefolders(e))){b.changePassword(g_changepwnewpw,e);closemole()}};
