sp; }else{
Global.selectedNode.locked = false;
}
}
}else{
sid = id;
//判断id是否是锁定的
}
var s= readContent(sid);
changeModel(2,false);
writeDate(document.frames.fraPreview,s);
writeDate(document.frames.fraGeneral,s);
document.getElementById("editBox").innerText = s;
}
/*
* 关于
*/
function about(){
var doc = new CLASS_XML("xml\\autoupdate.xml");
var info= doc.selectNodes("//UpdateInfo");
var ab = doc.selectSingleNode("//About");
var ns = doc.selectSingleNode("//nextversion");
var s = "";
if(doc.error==false){
if(ab!=null){
s += ab.childNodes[0].text;
}
for(var i=0;i<info.length;i++){
//s += "<xmp>" + info[i].childNodes[0].text + "</xmp><br>";
s += info[i].childNodes[0].text + "";
}
if(ns!=null){
s += ns.childNodes[0].text;
}
}else{
s = "读配置文件失败!";
}
doc.dispose();
//切换浏览模式
changeModel(2,false);
//写正文
writeDate(document.frames.fraPreview,s);
writeDate(document.frames.fraGeneral,s);
document.getElementById("editBox").innerText = s;
}
/*
* 写框价数据
*/
functi