2 * include a script -- normaly used for testing..
8 Pman.Include = function(sp) {
10 Pman.Include.script(sp, true);
14 Pman.Include.cached = function(sp) {
15 Pman.Include.script(sp, false);
19 Pman.Include.script = function(sp,cached) {
20 var head = document.getElementsByTagName("head")[0];
23 var script = document.createElement("script");
24 script.setAttribute("src", rootURL + sp +
25 ( cached ? '' : '?ts=' + Math.random() )
27 script.setAttribute("type", "text/javascript");
28 //script.setAttribute("id", trans.scriptId);
29 head.appendChild(script);