日期:2013-12-21  浏览次数:20491 次

function outputFolderLink() {
    if(this.hreference && this.target) {
        doc.write("<A HREF='" + this.hreference + "' TARGET=\""+this.target.name+"\" ")

        if(browserVersion > 0) {
            doc.write(" TARGET="+target;//显示在target窗体中
        else
            fullLink = "";
    }
    index++; //当前节点编号

    linkItem = new Item(description, linkData, fullLink, itemImg,parentid)
    return linkItem
}


function insFldr(parentFolder, childFolder,target,hreference) {
        var child;
        var desc;
        parentid=parentFolder.id;
        child=gFldr(childFolder,hreference,parentid,target);
    return(parentFolder.addChild(child));
}


function insDoc(parentFolder,target, description, linkData, itemImg) {
        var document;
        var itemImg;
        itemImg=imageURL+"bu.gif";
        var desc;
        parentid=parentFolder.id;
        document=gLnk(target, description, linkData, itemImg,parentid);
    parentFolder.addChild(document);
}

function setObjDocument(msg){
if (msg!=null){
   objDocument=msg;
}
}

//设置展开、收缩图片路径
function setImageURL(msg){
if (msg==null){
     imageURL="../leftfiles/images/";
}else imageURL=msg;
}

//设置超链接文本颜色
function setLinkColor(msg){
   linkColor=msg;
}
function setFloderColor(msg){
   floderColor=msg;
}
// Global variables

USETEXTLINKS = 1;
indexOfEntries = new Array;
nEntries = 0;
index=-1;   //节点编号
doc = document;
browserVersion = 0;
selectedFolder = 0;
selectfile=new Array;
fEntries=0;
var objDocument,imageURL;
var linkColor="#085dde";
var floderColor="#292c08";
var type1=typeof top.logo;

if (type1=="undefined"){
    objDocument=null;
}

if(imageURL==null){
   setImageURL(imageURL);
}