// ############################## START FUNC ############################################ // The function "transfer_and_mod" is similar to "function transfer" but does also replace // all feature strings by their corresponding numbers (which are defined in the file "feature_list"). // If frame_ID > 90 (=99 by default) the content will not be taken from any frame but from the // text area itself, and reinserted with all features replaced by numbers. function transfer_and_mod(frame_ID, replacements) { frame_ID--; if(frame_ID<90){ text_read_write=parent.right.frames[frame_ID].document.all[3].innerHTML; text_read_write=text_read_write.replace("",""); text_read_write=text_read_write.replace("",""); text_read_write=text_read_write.replace("
","");
text_read_write=text_read_write.replace("
",""); } else{ text_read_write=document.form1.text1.value; } var au=text_read_write.split("\n"); text_read_write=au.join("#&#"); var au=text_read_write.split(" "); text_read_write=au.join("#£#"); for(n=0;n