function SetFont(iSel)
{
	 switch (iSel)
		{
			  case 1:
					  	//字体功能一  新闻内容的上面
		      var strFont1="【字体：<a class=ffun onClick='ChangeShow(1);'>大</a> <a class=ffun onClick=ChangeShow(2)>中</a> <a class=ffun onClick=ChangeShow(3)>小</a>】 【<a href=http://bbs.cnstock.com/Index.asp class=ffun target=_blank>论坛</a>】 【<a href=http://blog.cnstock.com class=ffun target=_blank>博客</a>】";
     	 	document.getElementById("dv_font1").innerHTML=strFont1;								
					  break;
					case 2:
							//字体功能二　新闻内容的下面
							var strFont2="【字体：<a class=ffun onClick=ChangeShow(1)>大</a> <a class=ffun onClick=ChangeShow(2)>中</a> <a class=ffun onClick=ChangeShow(3)>小</a>】 【<a onclick=window.external.AddFavorite(document.location.href,document.title) class=ffun>收藏本页</a>】  【<a onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.cnstock.com');\" class=ffun>设为首页</a>】 【<a class=ffun onclick=window.print()>打印</a>】 【<a class=ffun onclick=window.close();>关闭</a>】";
							document.getElementById("dv_font2").innerHTML=strFont2;							
							break;
							}
}
//设置字体的大小
function ChangeShow(x)
{
  switch (x){
    case 1:
      document.getElementById("IDNewsDtail").className="fbig";
      break;
    case 2:
      document.getElementById("IDNewsDtail").className="fnomal";
      break;
    case 3:
      document.getElementById("IDNewsDtail").className="fsmall";
      break;
  }
}





