js文件中的js函数 
KE.plugin['image'] = { 
    click : function(id) { 
        KE.util.selection(id); 
        var dialog = new KE.dialog({ 
            id : id, 
            cmd : 'image', 
            width : 310, 
            height : 90, 
            title : KE.lang['image'], 
            yesButton : KE.lang['yes'], 
            noButton : KE.lang['no'] 
        }); 
        dialog.show(); 
    }, 
    check : function(id) { 
        var dialogDoc = KE.util.getIframeDoc(KE.g[id].dialog); 
        var type = KE.$('type', dialogDoc).value; 
        var url = ''; 
        if (type == 1) { 
            url = KE.$('imgFile', dialogDoc).value; 
        } else { 
            url = KE.$('url', dialogDoc).value; 
        } 
        var width = KE.$('imgWidth', dialogDoc).value; 
        var height = KE.$('imgHeight', dialogDoc).value; 
        var border = KE.$('imgBorder', dialogDoc).value; 
        if (!url.match(/\.(jpg|jpeg|gif|bmp|png)(\s|$)/i)) { 
            alert(KE.lang['invalidImg']); 
            window.focus(); 
            KE.g[id].yesButton.focus(); 
            return false; 
        } 
        if (width.match(/^\d+$/) == null) { 
            alert(KE.lang['invalidWidth']); 
            window.focus(); 
            KE.g[id].yesButton.focus(); 
            return false; 
        } 
        if (height.match(/^\d+$/) == null) { 
            alert(KE.lang['invalidHeight']); 
            window.focus(); 
            KE.g[id].yesButton.focus(); 
            return false; 
        } 
        if (border.match(/^\d+$/) == null) { 
            alert(KE.lang['invalidBorder']); 
            window.focus(); 
            KE.g[id].yesButton.focus(); 
            return false; 
        } 
        return true; 
    }, 
    exec : function(id) { 
        KE.util.select(id); 
        var dialogDoc = KE.util.getIframeDoc(KE.g[id].dialog); 
        var type = KE.$('type', dialogDoc).value; 
        if (!this.check(id)) return false; 
        if (type == 1) { 
            KE.$('editorId', dialogDoc).value = id; 
            dialogDoc.uploadForm.submit(); 
            return false; 
        } else { 
            var url = KE.$('url', dialogDoc).value; 
            var title = KE.$('imgTitle', dialogDoc).value; 
            var width = KE.$('imgWidth', dialogDoc).value; 
            var height = KE.$('imgHeight', dialogDoc).value; 
            var border = KE.$('imgBorder', dialogDoc).value; 
            this.insert(id, url, title, width, height, border); 
        } 
    }, 
    insert : function(id, url, title, width, height, border) { 
        var html = ' <img src="' + url + '" '; 
        if (width > 0) html += 'width="' + width + '" '; 
        if (height > 0) html += 'height="' + height + '" '; 
        if (title) html += 'title="' + title + '" '; 
        html += 'alt="' + title + '" '; 
        html += 'border="' + border + '" />'; 
        KE.util.insertHtml(id, html); 
        KE.layout.hide(id); 
        KE.util.focus(id); 
    } 
}; 
这段js中id表示什么呀??
在别的jsp页面中这样调用行吗
 
out.println(" <script type='text/javascript'>parent.KE.plugin['image'].insert("+id+", "+fileUrl+","+title+","+width+","+height+","+border+"); </script>")