var status0='';
var curfontsize=10;
var curlineheight=11;
function fontZoomA(){ //缩小字体
if(curfontsize>8){
   document.getElementById('fontzoom').style.fontSize=(--curfontsize)+'pt';
   document.getElementById('fontzoom').style.lineHeight=(--curlineheight)+'pt';
}
}

function fontZoomB(){ //放大字体
if(curfontsize<64){
   document.getElementById('fontzoom').style.fontSize=(++curfontsize)+'pt';
   document.getElementById('fontzoom').style.lineHeight=(++curlineheight)+'pt';
}
}

document.body.oncopy = function () { 
 setTimeout( function () { 
  var text = clipboardData.getData("text");
  if (text) { 
   text = text + "\r\n资料来源：新手电子网，原始网址："+location.href; clipboardData.setData("text", text);
  } 
    }, 100 ) 
}

function addfavorite()
{
   if (document.all)
   {
      window.external.addFavorite('http://www.xinsho.com','新手电子网');
   }
   else if (window.sidebar)
   {
      window.sidebar.addPanel('新手电子网', 'http://www.xinsho.com', "");
   }
} 

/* <a href="#" onclick="addfavorite()">加入收藏</a> */
