// JavaScript Document
function showcontent(module_id,point_id)
{
	var url  = getpagename();
	var pars = 'action=class&todo=content&m='+module_id+'&a='+point_id+'&timesamp='+timestamp();
	var option = new Object();
	option.method = 'get';
	option.parameters = pars;
	option.onSuccess  = changeContent;
	var myajax = new Ajax.Request(url,option);
	$('coursecontent').innerHTML = '正在读取数据,请稍等.....';

}


function changeContent(xmlhttp) {
	$('coursecontent').innerHTML = xmlhttp.responseText;
}


function doZoom(size) 
{ 
var zoom=document.all?document.all['Zoom']:document.getElementById('Zoom'); 
zoom.style.fontSize=size+'px'; 
} 
function g(o){return document.getElementById(o);} 
function HoverLi(n){ 
//如果有N个标签,就将i<=N; 
//本功能非常OK,兼容IE7,FF,IE6
     
     for(var i=0;i<=7;i++){
		 g('tb_'+i).className='normaltab';
		 g('tbc_'+i).className='btlink1 indexnav';
	}
	 g('tbc_'+n).className='btlink1h';
	 g('tb_'+n).className='hovertab'; 
} 
