ok, now we're back to the original error, this is what I get when I click the button to open kid.php:
Error: arg is undefined
Source File: http://127.0.0.1/test/cuteeditor_files/Scripts/Dialog/Dialog_TagHead.js
Line: 1
Error: editor is undefined
Source File: http://127.0.0.1/test/cuteeditor_files/Scripts/Dialog/Dialog_Tag_A.js
Line: 102