function abrir(param){window.open('ABCZ_Resource.axd?ac=telaNotas&opener=' + URLPathName() + '&' + param, 'resultados', 'scrollbars=auto,width=700,height=340,resizable');}function URLPathName(){var pn, arq;pn = window.location.pathname;if(pn.indexOf("/") != pn.lastIndexOf("/")){arq = pn.substr(pn.lastIndexOf("/") + 1);}else{arq = pn.substr(pn.indexOf("/") + 1);} return arq;}