rem: str = "{img src=\"img/wiki_up/" + filename + "\" }"; 
add:         str = "{img src=img/wiki_up/" + filename + "}"; 
context: function insertImg(elementId, fileId, oldfileId) {    textarea = getElementById(elementId);    fileup   = getElementById(fileId);        oldfile  = getElementById(oldfileId);        prefixEl = getElementById("prefix");        prefix   = "img/wiki_up/";    if (!textarea || ! fileup) 	return;    if ( prefixEl) { prefix= prefixEl.value; }    filename = fileup.value;    oldfilename = oldfile.value;    if (filename == oldfilename ||	filename == "" ) { // insert only if name really changed	return;    }    oldfile.value = filename;    if (filename.indexOf("/")>=0) { // unix	dirs = filename.split("/"); 	filename = dirs[dirs.length-1];    }    if (filename.indexOf("\\")>=0) { // dos	dirs = filename.split("\\"); 	filename = dirs[dirs.length-1];    }    if (filename.indexOf(":")>=0) { // mac	dirs = filename.split(":"); 	filename = dirs[dirs.length-1];    }    // @todo - here's a hack: we know its ending up in img/wiki_up.     //      replace with dyn. variable once in a while to respect the tikidomain     str = "{img src=\"img/wiki_up/" + filename + "\" }";    insertAt(elementId, str);}
meta: 1064	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1064/28bb8574f7a6c7eb9b529ccd0fbd07deb16e7194/tiki-js.js/buggy/tiki/lib/tiki-js.js