function fontZoom(size)
{
	document.getElementById('News_Content').style.fontSize=size+'px'
}

var iCheck = 0 ;
function SelectAll(theForm)
{
	if (iCheck==0)
	{
		for (var i=0;i<theForm.elements.length;i++)
		{
			theForm.elements[i].checked = true ;
			iCheck = 1 ;
			theForm.selectall.value = "È¡ Ïû" ;
		}
	}
	else
	{
		for (var i=0;i<theForm.elements.length;i++)
		{
			theForm.elements[i].checked = false ;
			iCheck = 0 ;
			theForm.selectall.value = "È« Ñ¡" ;
		}
	}
}

function SwitchMenu(SortCount,AllCount)
{
var ss;
for (i=1;i<=AllCount;i++)
{
	ss=eval("Sort1_"+i);
	if (SortCount==i)
	{
		ss.style.display ="";
	}
	else
		ss.style.display ="none";
}
}

function SwitchMenu1(SortCount,SortCount1,AllCount1)
{
var ss,bts;
ss=eval("Sort1_"+SortCount);
ss.style.display ="";
for (i=1;i<=AllCount1;i++)
{
	ss1=eval("Sort_"+SortCount+"_"+i);
	if (SortCount1==i)
	{
		ss1.style.display ="";
	}
	else
		ss1.style.display ="none";
}
}

function SwitchMenuBBS(SortCount,AllCount){
var ss;
for (i=1;i<=AllCount;i++)
{
	ss=eval("aa"+i);
	if (SortCount==i)
	{
		if (ss.style.display =="")
			ss.style.display ="none";
		else 
			ss.style.display ="";
	}
	else
		ss.style.display ="none";
}
}


function PopPage(strURL,name,strWidth,strHeight)
{
    temp = 'left='+(screen.width-strWidth)/2+',Top='+(screen.height-strHeight)/2+',height='+ strHeight +',width='+ strWidth +',toolbar=no,menubar=no,scrollbars=auto,resizable=no,location=no,status=no';
    w = window.open(strURL,name,temp);
    w.focus();
}