function doZoom(size)
{
var zoom=document.all?document.all['contenttxt']:document.getElementById('contenttxt');
zoom.style.fontSize=size+'px';
}

function save(title, url){ if (document.all) window.external.AddFavorite(url, title); else if (window.sidebar) window.sidebar.addPanel(title, url, "") }

function clickit2(c,d)
{
    if(document.getElementById(c).className=="nowtab")
    {
        document.getElementById(d).style.height="80px";
        document.getElementById(c).className = "";
    }
    else
    {
        for (i=1;i<=3; i++)
        {
            tagname="tabtag"+i;
            listname="news"+i;
            document.getElementById(tagname).className=" ";
            document.getElementById(c).className="nowtab";
            document.getElementById(listname).style.height="80px";
            document.getElementById(d).style.height="auto";
        }
    }
}

//字体大中小，加入收藏
function doZoomPage(size) 
{ 
var zoom=document.all?document.all['Zoom']:document.getElementById('Zoom'); 
zoom.style.fontSize=size+'px'; 
}
function doZoomPage1(size) 
{ 
var zoom=document.all?document.all['Zoom2']:document.getElementById('Zoom2'); 
zoom.style.fontSize=size+'px'; 
}
function addfavorite()
{
   if (document.all)
   {
      window.external.addFavorite("http://www.***.com","21世纪教育");
   }
   else if (window.sidebar)
   {
      window.sidebar.addPanel("21世纪教育", "http://www.***.com", "");
   }
}
function setColor(targID)
{
    var targ_txt = parseInt(document.getElementById("linkCount").value);
    for(var i=0; i <targ_txt; i++)  
    {
        document.getElementById("txtlink" + i).className = "";
        document.getElementById("piclink" + i).className = "";
    }
    document.getElementById("txtlink" + targID).className = "aSelect";
    document.getElementById("piclink" + targID).className = "aSelect";  
}