function InnerDialogLoaded() { var B=new window.frames[0].FCKToolbarButton(\'Templates\',window.frames[0].FCKLang.Templates); return B.ClickFrame(); }; var temp=false; var temp2=false; var use_document_title='.api_get_setting('use_document_title').'; var load_default_template = true; function launch_templates() { //document.getElementById(\'frmModel\').style.display="block"; //document.getElementById(\'content___Frame\').width=\'70%\'; //window.frames[0].FCKToolbarItems.GetItem("Template").Click; } function FCKeditor_OnComplete( editorInstance ) { editorInstance.Events.AttachEvent( \'OnSelectionChange\', check_for_title ) ; document.getElementById(\'frmModel\').innerHTML = "