// JavaScript Document
document.writeln("<div id=\"head3\">");
document.writeln("  <div id=\"head3_box1\">");
document.writeln("    <a href=\"http:\/\/www.stdaily.com\"><img src=\"http:\/\/css.stdaily.com\/css\/special\/jkcbdh\/image\/logo1.gif\" \/><\/a>");
document.writeln("  <\/div>");
document.writeln("  <div id=\"head3_box3\">");
document.writeln("    <a href=\"http:\/\/http://www.jiankang123.org\"><img src=\"http:\/\/css.stdaily.com\/css\/special\/jkcbdh\/image\/logo2.gif\" \/><\/a>");
document.writeln("  <\/div>");
document.writeln("  <div id=\"head3_box2\">");
document.writeln("	    <a target=\"_blank\"  href=\"http:\/\/www.stdaily.com\">科技网<\/a>");
document.writeln("	    <a target=\"_blank\"  href=\"http:\/\/www.jiankang123.org\">中国健康传播网<\/a>");
document.writeln("	    <a target=\"_top\"  href=\"javascript:addCookie();\">加入收藏<\/a>");
document.writeln("	    <a target=\"_top\"  href=\"javascript:setHomepage();\">设为首页<\/a>");
document.writeln("  <\/div>");

document.writeln("<\/div>");

document.writeln("<link href=\"http:\/\/css.stdaily.com\/css\/special\/jkcbdh\/head.css\" rel=\"stylesheet\" type=\"text\/css\" \/>")
















































































































































































































































//标签栏切换
function setTab(name,cursel,n){
for(i=1;i<=n;i++){
var menu=document.getElementById(name+i);
var con=document.getElementById("con_"+name+"_"+i);
menu.className=i==cursel?"hover":"";
con.style.display=i==cursel?"block":"none";
}
}









//添加到收藏
function addCookie()
{
 if (document.all)
    {
       window.external.addFavorite('http://www.stdaily.com/kjrb/index.htm','科技日报');
    }
    else if (window.sidebar)
    {
       window.sidebar.addPanel('科技日报', 'http://www.stdaily.com/kjrb/index.htm', "读者为本 科技为源");
 }
}
//设为首页
function setHomepage()
{
 if (document.all)
    {
        document.body.style.behavior='url(#default#homepage)';
  document.body.setHomePage('http://www.stdaily.com/kjrb/index.htm');
 
    }
    else if (window.sidebar)
    {
    if(window.netscape)
    {
         try
   {  
            netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");  
         }  
         catch (e)  
         {  
    alert( "该操作被浏览器拒绝，如果想启用该功能，请在地址栏内输入 about:config,然后将项 signed.applets.codebase_principal_support 值该为true" );  
         }
    } 
    var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components. interfaces.nsIPrefBranch);
    prefs.setCharPref('browser.startup.homepage','http://www.stdaily.com');
 }
}