function getCheckedValuesByName(checkboxname) { var e=document.getElementsByName(checkboxname); var p=""; for (var j=0;j 0) url=url.substring(0,url.indexOf('&')+1); var filename=url.substring(url.lastIndexOf('/')+1); if (filename.indexOf('.') > 0) filename=filename.substring(0,filename.indexOf('.')); if (filename.lastIndexOf('-') > 0) { var version=filename.substring(filename.lastIndexOf('-')+1); filename=filename.substring(0,filename.lastIndexOf('-')).toLowerCase(); } document.getElementById("speccreateurl").value=url; document.getElementById("speccreatename").value=filename; document.getElementById("speccreateversion").value=version; if (filename) { document.getElementById("speccreatebutton").disabled=false; } else { document.getElementById("speccreatebutton").disabled=true; } if (filename.search("perl-") >= 0) { for (var j=0;j= 0) { for (var j=0;j