function rtrim(str,charlist){charlist=!charlist?' \s\xA0':(charlist+'').replace(/([\[\]\(\)\.\?\/\*\{\}\+\$\^\:])/g,'\$1');var re=new RegExp('['+ charlist+']+$','g');return(str+'').replace(re,'');}
var trimFromPatha="/jspathto.js";var jsPathtoa=rtrim(rwPathto,trimFromPatha);var trimFromPathb="scripts";var jsPathto=rtrim(jsPathtoa,trimFromPathb)+"/";
