// JavaScript Document
function GetObj(id)
{
	return document.getElementById(id);	
}

function ShowHideDiv(id)
{	
	for(i = 0;i < 11 ; i++)
	{
		cur_id = 'nav'+i;
		obj = GetObj(cur_id);
		if(id == cur_id)
		{
			obj.style.display = 'block';
			//obj.style.padding-left = 74 * i;
		}
		else
		{
			obj.style.display = 'none';	
		}
	}	
}

function ShowHideLinkDiv(id)
{	
	for(i = 0;i < 6 ; i++)
	{
		cur_id = 'ft'+i;
		obj = GetObj(cur_id);
		if(id == cur_id)
		{
			obj.style.display = 'block';
			//obj.style.padding-left = 74 * i;
		}
		else
		{
			obj.style.display = 'none';	
		}
	}	
}

//function clockon() 
//{
//	thistime= new Date();
//	var y=thistime.getYear();
//	y = y<1900 ? (1900+y) : y;
//	var m=thistime.getMonth()+1;
//	var d=thistime.getDate();
//	var w=' 星期'+'日一二三四五六'.charAt(thistime.getDay());
//	var hours=thistime.getHours();
//	var minutes=thistime.getMinutes();
//	var seconds=thistime.getSeconds();
//	if (eval(hours) <10) {hours="0"+hours}
//	if (eval(minutes) < 10) {minutes="0"+minutes}
//	if (seconds < 10) {seconds="0"+seconds}
//	thistime = '今天是' + y + "年" + m + "月" + d + "日" + w ;
//	document.getElementById('time').innerHTML = thistime;
//}
           
