var js = new Array();

function incJS(fn) {

 fn = fn.split('&amp;').join('&');

 js[fn] = document.createElement('SCRIPT');
 js[fn].setAttribute('type', 'text/javascript');
 js[fn].setAttribute('src', fn);
 document.getElementsByTagName('head').item(0).appendChild(js[fn]);
 return false;

}
