            }
                        if ( (link_text == null) || (link_text == '') ) {
                                link_text = link_url;
                        }
                        str = '[url='+link_url+']'+link_text+'[/url]';

                        insertAtCaret(theform, str);
                        theform.focus();
                }
        }

       // Insert Style Tags
        function ins_style_dropdown(theform, sb_code) {
                // Insert [sb_code]xxx[/sb_code] sty