document.forms[0].wiki_page.value = text; 
function init() {    var text = tinyMCE.getWindowArg('text').toString();    var href = tinyMCE.getWindowArg('href').toString();    var target = tinyMCE.getWindowArg('target').toString();    document.forms[0].wiki_text.value = text;    document.forms[0].web_text.value = text;    document.forms[0].file_text.value = text;    document.forms[0].attach_text.value = text;    document.forms[0].email_text.value = text;    if ((href != null) && (href != "")) {	    if (href.search(/(https?|ftp):\/\/[-a-zA-Z0-9+&@#\/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#\/%=~_|]/gi)>-1) {           mcTabs.displayTab('web_tab','web_panel');           document.forms[0].web_page.value = href;           document.forms[0].web_target.value = target;        } else if (href.search(/wikiattachment:-:(.*?)/gi) > -1) {            mcTabs.displayTab('attachments_tab','attachments_panel');            document.forms[0].attach_file.value = href.replace(/wikiattachment:-:/gi, "").replace(/%20/gi, " ");        } else if (href.search(/mailto:(.*?)/gi) > -1) {            mcTabs.displayTab('email_tab','email_panel')            document.forms[0].email.value = href.replace(/mailto:/gi, "");        } else if (href.search(/file:(\/\/\/\/\/)(.*?)/gi) > -1) {            mcTabs.displayTab('file_tab','file_panel');        } else if (href.search(/file:(\/\/)(.*?)/gi) > -1) {            mcTabs.displayTab('file_tab','file_panel');        } else {            mcTabs.displayTab('wiki_tab','wiki_panel');            var space = "", whref = href;            if (href.indexOf(".") > -1) {                space = href.substring(0, href.indexOf("."));                whref = href.substring(href.indexOf(".") + 1, href.length);            }            document.forms[0].wiki_space.value = space;            document.forms[0].wiki_page.value = whref;            document.forms[0].wiki_target.value = target;        }    }    document.forms[0].insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true);    var className = tinyMCE.getWindowArg('className');    var editor_id = tinyMCE.getWindowArg('editor_id');}
6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6184/c8442342f591da80557614aeb4415a232625a78e/link.js/clean/xwiki-platform-web/standard/src/main/webapp/tiny_mce/themes/wikieditor/jscripts/link.js