function g(o){return document.getElementById(o);}function HoverLi(n){for(var i=1;i<=8;i++){g('tb_'+i).className='normaltab';g('tbc_0'+i).className='undis';}g('tbc_0'+n).className='dis';g('tb_'+n).className='hovertab';}function g2(o){return document.getElementById(o);}function HoverLi2(n){for(var i=1;i<=3;i++){g2('tb2_'+i).className='normaltab2';g2('tbc2_0'+i).className='undis2';}g2('tbc2_0'+n).className='dis2';g2('tb2_'+n).className='hovertab2';}function g3(o){return document.getElementById(o);}function HoverLi3(n){for(var i=1;i<=2;i++){g3('tb3_'+i).className='normaltab2';g3('tbc3_0'+i).className='undis3';}g3('tbc3_0'+n).className='dis3';g3('tb3_'+n).className='hovertab3';}
function switchStyle(turnon){
	switch(turnon){
		case 'small':
		document.getElementById("article_content").className='style_p1';
		break;
		case 'medium':
		document.getElementById("article_content").className='style_p2';
		break;
		case 'large':
		document.getElementById("article_content").className='style_p3';
		break;
	}
};
function resizepic(thispic)
{
	if(thispic.width>500) thispic.width=500;
}
function bbimg(o)
{
	var zoom=parseInt(o.style.zoom, 10)||100;
	zoom+=event.wheelDelta/12;
	if (zoom>0) o.style.zoom=zoom+'%';
	return false;
}

