rem: window.open('chrome: 'chrome,width=500,height=400,resizable=1'); 
add: var ca_tab = document.getElementById("ca_tab"); if (ca_tab.selected) { window.open('chrome: 'chrome,width=500,height=400,resizable=1'); } else { window.open('chrome: 'chrome,width=500,height=400,resizable=1'); } 
context: function editCerts(){  getSelectedCerts();  var numcerts = selected_certs.length;  for (var t=0; t<numcerts; t++) {    var cert = selected_certs[t];    var certkey = cert.dbKey;    window.open('chrome://pippki/content/editcerts.xul', certkey,                'chrome,width=500,height=400,resizable=1');  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/02f6597d09a1712e943c1553d5d9a3bd3a6d39cb/certManager.js/clean/security/manager/pki/resources/content/certManager.js