//字号
try{
function SetCookie(name,value)
{
    var Days = 30*12*100; 
    var exp  = new Date();
    exp.setTime(exp.getTime() + Days*24*60*60*1000);
    // document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";path=/;domain=<%=ConfigurationManager.AppSettings[\"Domain\"]%>";
    document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";path=/";
}
function getCookie(name)//取cookies函数        
{
     var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
     if(arr != null) return unescape(arr[2]);
	return null;

}

function doZoom(size) {

    document.getElementById('the_content').style.fontSize = size + 'px';
   
    SetCookie("FontSizeCookie", size);

}
if(getCookie("FontSizeCookie") != null){
     document.getElementById('the_content').style.fontSize = getCookie("FontSizeCookie") + 'px';
}
}catch(e){}



//显示隐藏
function show(id){
dom1=document.getElementById(id);	
dom1.style.display="block";
	}
function hide(id){
dom1=document.getElementById(id);	
dom1.style.display="none";
	}
