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 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 = "t1menuOff";
GetObj("t1m"+i).style.background = 'url(images/dtmenu_2.jpg)';
//GetObj("t1m"+i).style.color = '#000000';
}
}
if(GetObj("t1con"+index)&&GetObj("t1m"+index)){
GetObj("t1con"+index).style.display = 'block';
GetObj("t1m"+index).className = "t1menuOn";
GetObj("t1m"+index).style.background = 'url(images/dtmenu_1.jpg)';
//GetObj("t1m"+index).style.color = '#ffffff';
}
}

function t2Menu(index,flag){
for(var i=0;i<4;i++){
if(GetObj("t2con"+i)&&GetObj("t2m"+i)){
GetObj("t2con"+i).style.display = 'none';
GetObj("t2m"+i).className = "t2menuOff";
GetObj("t2m"+i).style.background = 'url(images/dtmenu_4.jpg)';
//GetObj("t1m"+i).style.color = '#000000';
}
}
if(GetObj("t2con"+index)&&GetObj("t2m"+index)){
GetObj("t2con"+index).style.display = 'block';
GetObj("t2m"+index).className = "t2menuOn";
GetObj("t2m"+index).style.background = 'url(images/dtmenu_3.jpg)';
//GetObj("t1m"+index).style.color = '#ffffff';
}
}

function t3Menu(index,flag){
for(var i=0;i<6;i++){
if(GetObj("t3con"+i)&&GetObj("t3m"+i)){
GetObj("t3con"+i).style.display = 'none';
GetObj("t3m"+i).className = "t3menuOff";
//GetObj("t3m"+i).style.background = 'url(images/dtmenu_2.jpg)';
GetObj("t3m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t3con"+index)&&GetObj("t3m"+index)){
GetObj("t3con"+index).style.display = 'block';
GetObj("t3m"+index).className = "t3menuOn";
//GetObj("t3m"+index).style.background = 'url(images/dtmenu_1.jpg)';
GetObj("t3m"+index).style.color = '#000000';
}
}

function t4Menu(index,flag){
for(var i=0;i<2;i++){
if(GetObj("t4con"+i)&&GetObj("t4m"+i)){
GetObj("t4con"+i).style.display = 'none';
GetObj("t4m"+i).className = "t4menuOff";
GetObj("t4m"+i).style.background = 'url(images/t4menu_2.jpg)';
//GetObj("t4m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t4con"+index)&&GetObj("t4m"+index)){
GetObj("t4con"+index).style.display = 'block';
GetObj("t4m"+index).className = "t4menuOn";
GetObj("t4m"+index).style.background = 'url(images/t4menu_1.jpg)';
//GetObj("t4m"+index).style.color = '#000000';
}
}

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 = "t5menuOff";
//GetObj("t5m"+i).style.background = 'url("images/t5'+i+'_2.jpg")';
//GetObj("t4m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t5con"+index)&&GetObj("t5m"+index)){
GetObj("t5con"+index).style.display = 'block';
GetObj("t5m"+index).className = "t5menuOn";
//GetObj("t5m"+index).style.background = 'url("images/t5'+t+'_1.jpg")';
//GetObj("t4m"+index).style.color = '#000000';
}
}

function t6Menu(index,flag){
for(var i=0;i<3;i++){
if(GetObj("t6con"+i)&&GetObj("t6m"+i)){
GetObj("t6con"+i).style.display = 'none';
GetObj("t6m"+i).className = "t6menuOff";
GetObj("t6m"+i).style.background = 'url(images/t6_2.jpg)';
//GetObj("t4m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t6con"+index)&&GetObj("t6m"+index)){
GetObj("t6con"+index).style.display = 'block';
GetObj("t6m"+index).className = "t6menuOn";
GetObj("t6m"+index).style.background = 'url(images/t6_1.jpg)';
//GetObj("t4m"+index).style.color = '#000000';
}
}

function t7Menu(index,flag){
for(var i=0;i<5;i++){
if(GetObj("t7con"+i)&&GetObj("t7m"+i)){
GetObj("t7con"+i).style.display = 'none';
GetObj("t7m"+i).className = "t7menuOff";
GetObj("t7m"+i).style.background = 'url(images/t71_2.jpg)';
//GetObj("t4m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t7con"+index)&&GetObj("t7m"+index)){
GetObj("t7con"+index).style.display = 'block';
GetObj("t7m"+index).className = "t7menuOn";
GetObj("t7m"+index).style.background = 'url(images/t71_1.jpg)';
//GetObj("t4m"+index).style.color = '#000000';
}
}

function t8Menu(index,flag){
for(var i=0;i<7;i++){
if(GetObj("t8con"+i)&&GetObj("t8m"+i)){
GetObj("t8con"+i).style.display = 'none';
//GetObj("t8m"+i).className = "t8menuOff";
//GetObj("t8m"+i).style.background = 'url(images/t71_2.jpg)';
//GetObj("t4m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t8con"+index)&&GetObj("t8m"+index)){
GetObj("t8con"+index).style.display = 'block';
//GetObj("t8m"+index).className = "t8menuOn";
//GetObj("t8m"+index).style.background = 'url(images/t71_1.jpg)';
//GetObj("t4m"+index).style.color = '#000000';
}
}

function t9Menu(index,flag){
for(var i=0;i<3;i++){
if(GetObj("t9con"+i)&&GetObj("t9m"+i)){
GetObj("t9con"+i).style.display = 'none';
GetObj("t9m"+i).className = "t9menuOff";
GetObj("t9m"+i).style.background = 'url(images/dtmenu_4.jpg)';
//GetObj("t4m"+i).style.color = '#EA6B35';
}
}
if(GetObj("t9con"+index)&&GetObj("t9m"+index)){
GetObj("t9con"+index).style.display = 'block';
GetObj("t9m"+index).className = "t9menuOn";
GetObj("t9m"+index).style.background = 'url(images/dtmenu_3.jpg)';
//GetObj("t4m"+index).style.color = '#000000';
}
}

function tsqtMenu(index,flag){
for(var i=0;i<4;i++){
if(GetObj("tsqtcon"+i)&&GetObj("tsqtm"+i)){
GetObj("tsqtcon"+i).style.display = 'none';
//GetObj("tsqtm"+i).className = "tsqtmenuOff";
//GetObj("t4m"+i).style.background = 'url(images/t4menu_2.jpg)';
//GetObj("t4m"+i).style.color = '#EA6B35';
}
}
if(GetObj("tsqtcon"+index)&&GetObj("tsqtm"+index)){
GetObj("tsqtcon"+index).style.display = 'block';
//GetObj("tsqtm"+index).className = "tsqtmenuOn";
//GetObj("t4m"+index).style.background = 'url(images/t4menu_1.jpg)';
//GetObj("t4m"+index).style.color = '#000000';
}
}


