资 源 简 介
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i")!=-1){
si = si.substring(si.indexOf(">")+1,si.length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=" " && strx.indexOf(" ",chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+"...";
}
function createSummaryAndThumb(pID){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = sum