rem: document.getElementById('pwsymbols').setAttribute("value",numsymbols); 
context: function setPasswordStrength(){// Here is how we weigh the quality of the password// number of characters// numbers// non-alpha-numeric chars// upper and lower case characters  var pw=document.getElementById('pw1').value;//  alert("password='" + pw +"'");//length of the password  var pwlength=(pw.length);  if (pwlength>5)    pwlength=5;  document.getElementById('pwchars').setAttribute("value",pw.length);//use of numbers in the password  var numnumeric = pw.replace (/[0-9]/g, "");  var numeric=(pw.length - numnumeric.length);  document.getElementById('pwnumbers').setAttribute("value",numeric);  if (numeric>3)    numeric=3;//use of symbols in the password  var symbols = pw.replace (/\W/g, "");  var numsymbols=(pw.length - symbols.length);  document.getElementById('pwsymbols').setAttribute("value",numsymbols);  if (numsymbols>3)    numsymbols=3;//use of uppercase in the password  var numupper = pw.replace (/[A-Z]/g, "");  var upper=(pw.length - numupper.length);  document.getElementById('pwupper').setAttribute("value",upper);  if (upper>3)    upper=3;  var pwstrength=((pwlength*10)-20) + (numeric*10) + (numsymbols*15) + (upper*10);  var mymeter=document.getElementById('pwmeter');  mymeter.setAttribute("value",pwstrength);  return;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a6bdb25cde329609e1c8217e43db339f431bee6d/password.js/buggy/security/manager/pki/resources/content/password.js