function _showtable(tablename,tableorder,num)
{
	var table_id=tablename+'_'+tableorder;
	var showtable=document.getElementById(table_id);
	for(var i=1;i<=num;i++)
	{
		var temp=tablename+'_'+i;
		var temptable=document.getElementById(temp);
		temptable.style.display='none';
	}
	showtable.style.display='block';
}
function _hidetable(tablename,tableorder,num)
{
	var table_id=tablename+'_'+tableorder;
	var showtable=document.getElementById(table_id);
	for(var i=1;i<=num;i++)
	{
		var temp=tablename+'_'+i;
		var temptable=document.getElementById(temp);
		temptable.style.display='none';
	}
}
function _changeimg(tdname,tdorder,imgpath,num,type)
{
	var td_id=tdname+'_'+tdorder;
	var showtd=document.getElementById(td_id);
	if(type=='bk')
	{
		for(var i=1;i<=num;i++)
		{
			var temp=tdname+'_'+i;
			var temptd=document.getElementById(temp);
			temptd.background=imgpath+tdname+'_'+'off.jpg';
		}
		showtd.background=imgpath+tdname+'_'+'on.jpg';
	}
	else if(type=='img')
	{
		for(var i=1;i<=num;i++)
		{
			var temp=tdname+'_'+i;
			var temptd=document.getElementById(temp);
			temptd.src=imgpath+tdname+'_'+'off_'+i+'.jpg';
		}
		showtd.src=imgpath+tdname+'_'+'on_'+tdorder+'.jpg';
	}
}



function GetObj(objName){
if(document.getElementById){
return eval('document.getElementById("' + objName + '")');
}else if(document.layers){
return eval("document.layers['" + objName +"']");
}else{
return eval('document.all.' + objName);
}
}
function t0Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t0con"+i)&&GetObj("t0m"+i)){
GetObj("t0con"+i).style.display = 'none';
GetObj("t0m"+i).className = "qieh2";
GetObj("t0m"+i).style.background = 'url("images/baoy_127.jpg")';
//GetObj("t9m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t0con"+index)&&GetObj("t0m"+index)){
GetObj("t0con"+index).style.display = 'block';
GetObj("t0m"+index).className = "qieh";
GetObj("t0m"+index).style.background = 'url("images/baoy_126.jpg")';
//GetObj("t9m"+index).style.color = '#000000';
}
}
function t1Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t1con"+i)&&GetObj("t1m"+i)){
GetObj("t1con"+i).style.display = 'none';
GetObj("t1m"+i).className = "nrbt";
GetObj("t1m"+i).style.background = 'url(images/baoy_65.jpg)';
//GetObj("t1m"+i).style.color = '#000000';
}
}
if(GetObj("t1con"+index)&&GetObj("t1m"+index)){
GetObj("t1con"+index).style.display = 'block';
GetObj("t1m"+index).className = "unrbt-b";
GetObj("t1m"+index).style.background = 'url(images/baoy_63.jpg)';
//GetObj("t1m"+index).style.color = '#ffffff';
}
}



function t2Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t2con"+i)&&GetObj("t2m"+i)){
GetObj("t2con"+i).style.display = 'none';
GetObj("t2m"+i).className = "qieh2";
GetObj("t2m"+i).style.background = 'url(images/baoy_111.gif)';
//GetObj("t2m"+i).style.color = '#000000';
}
}
if(GetObj("t2con"+index)&&GetObj("t2m"+index)){
GetObj("t2con"+index).style.display = 'block';
GetObj("t2m"+index).className = "qieh";
GetObj("t2m"+index).style.background = 'url(images/baoy_110.gif)';
//GetObj("t2m"+index).style.color = '#ffffff';
}
}
function t3Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t3con"+i)&&GetObj("t3m"+i)){
GetObj("t3con"+i).style.display = 'none';
GetObj("t3m"+i).className = "qh_out";
GetObj("t3m"+i).style.background = 'url(images/baoy_30.jpg)';
//GetObj("t1m"+i).style.color = '#000000';
}
}
if(GetObj("t3con"+index)&&GetObj("t3m"+index)){
GetObj("t3con"+index).style.display = 'block';
GetObj("t3m"+index).className = "qh_over";
GetObj("t3m"+index).style.background = 'url(images/baoy_29.gif)';
//GetObj("t1m"+index).style.color = '#ffffff';
}
}


function t4Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t4con"+i)&&GetObj("t4m"+i)){
GetObj("t4con"+i).style.display = 'none';
GetObj("t4m"+i).className = "qieh2";
//GetObj("t4m"+i).style.background = 'url(images/baoy_30.jpg)';
//GetObj("t1m"+i).style.color = '#000000';
}
}
if(GetObj("t4con"+index)&&GetObj("t4m"+index)){
GetObj("t4con"+index).style.display = 'block';
GetObj("t4m"+index).className = "ybt";
//GetObj("t4m"+index).style.background = 'url(images/baoy_29.gif)';
//GetObj("t1m"+index).style.color = '#ffffff';
}
}

function t5Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t5con"+i)&&GetObj("t5m"+i)){
GetObj("t5con"+i).style.display = 'none';
GetObj("t5m"+i).className = "qieh2";
GetObj("t5m"+i).style.background = 'url(images/baoy_86.jpg)';
//GetObj("t5m"+i).style.color = '#000000';
}
}
if(GetObj("t5con"+index)&&GetObj("t5m"+index)){
GetObj("t5con"+index).style.display = 'block';
GetObj("t5m"+index).className = "qieh";
GetObj("t5m"+index).style.background = 'url(images/baoy_85.jpg)';
//GetObj("t5m"+index).style.color = '#ffffff';
}
}


function t6Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t6con"+i)&&GetObj("t6m"+i)){
GetObj("t6con"+i).style.display = 'none';
GetObj("t6m"+i).className = "qieh2";
GetObj("t6m"+i).style.background = 'url(images/baoy_86.jpg)';
//GetObj("t6m"+i).style.color = '#000000';
}
}
if(GetObj("t6con"+index)&&GetObj("t6m"+index)){
GetObj("t6con"+index).style.display = 'block';
GetObj("t6m"+index).className = "qieh";
GetObj("t6m"+index).style.background = 'url(images/baoy_85.jpg)';
//GetObj("t6m"+index).style.color = '#ffffff';
}
}


function t7Menu(index,flag){
for(var i=0;i<7;i++){
if(GetObj("t7con"+i)&&GetObj("t7m"+i)){
GetObj("t7con"+i).style.display = 'none';
GetObj("t7m"+i).className = "qieh2";
GetObj("t7m"+i).style.background = 'url(images/baoy_111.gif)';
//GetObj("t7m"+i).style.color = '#000000';
}
}
if(GetObj("t7con"+index)&&GetObj("t7m"+index)){
GetObj("t7con"+index).style.display = 'block';
GetObj("t7m"+index).className = "qieh";
GetObj("t7m"+index).style.background = 'url(images/baoy_110.gif)';
//GetObj("t7m"+index).style.color = '#ffffff';
}
}

function t8Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t8con"+i)&&GetObj("t8m"+i)){
GetObj("t8con"+i).style.display = 'none';
GetObj("t8m"+i).className = "nrbt";
GetObj("t8m"+i).style.background = 'url(images/baoy_65.jpg)';
//GetObj("t1m"+i).style.color = '#000000';
}
}
if(GetObj("t8con"+index)&&GetObj("t8m"+index)){
GetObj("t8con"+index).style.display = 'block';
GetObj("t8m"+index).className = "unrbt-b";
GetObj("t8m"+index).style.background = 'url(images/baoy_63.jpg)';
//GetObj("t1m"+index).style.color = '#ffffff';
}
}
function t9Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t9con"+i)&&GetObj("t9m"+i)){
GetObj("t9con"+i).style.display = 'none';
GetObj("t9m"+i).className = "qieh2";
GetObj("t9m"+i).style.background = 'url("images/baoy_127.jpg")';
//GetObj("t9m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t9con"+index)&&GetObj("t9m"+index)){
GetObj("t9con"+index).style.display = 'block';
GetObj("t9m"+index).className = "qieh";
GetObj("t9m"+index).style.background = 'url("images/baoy_126.jpg")';
//GetObj("t9m"+index).style.color = '#000000';
}
}

function t11Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t11con"+i)&&GetObj("t11m"+i)){
GetObj("t11con"+i).style.display = 'none';
GetObj("t11m"+i).className = "t11menuOff";
GetObj("t11m"+i).style.background = 'url(images2008/left2_off.gif)';
//GetObj("t11m"+i).style.color = '#000000';
}
}
if(GetObj("t11con"+index)&&GetObj("t11m"+index)){
GetObj("t11con"+index).style.display = 'block';
GetObj("t11m"+index).className = "t11menuOn";
GetObj("t11m"+index).style.background = 'url(images2008/left2_on.gif)';
//GetObj("t11m"+index).style.color = '#ffffff';
}
}


function t12Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t12con"+i)&&GetObj("t12m"+i)){
GetObj("t12con"+i).style.display = 'none';
GetObj("t12m"+i).className = "qieh2";
GetObj("t12m"+i).style.background = 'url(images/baoy_86.jpg)';
//GetObj("t5m"+i).style.color = '#000000';
}
}
if(GetObj("t12con"+index)&&GetObj("t12m"+index)){
GetObj("t12con"+index).style.display = 'block';
GetObj("t12m"+index).className = "qieh";
GetObj("t12m"+index).style.background = 'url(images/baoy_85.jpg)';
//GetObj("t5m"+index).style.color = '#ffffff';
}
}
