function titledown1(a,b)
{
    switch(a)
	{
		case 1:
		    tableshow1(b);
  			bt1.background='ZrCollEngine/Res/title_back1.gif';
			formTable1.style.display='';	
			break;
		case 2:
		    tableshow1(b);
  			bt2.background='ZrCollEngine/Res/title_back1.gif';
			formTable2.style.display='';	
			break;
		case 3:
		    tableshow1(b);
  			bt3.background='ZrCollEngine/Res/title_back1.gif';
			formTable3.style.display='';	
			break;
		case 4:
		    tableshow1(b);
  			bt4.background='ZrCollEngine/Res/title_back1.gif';
			formTable4.style.display='';	
			break;
		case 5:
		    tableshow1(b);
  			bt5.background='ZrCollEngine/Res/title_back1.gif';
			formTable5.style.display='';	
			break;
		case 6:
		    tableshow1(b);
  			bt6.background='ZrCollEngine/Res/title_back1.gif';
			formTable6.style.display='';	
			break;
		case 7:
		    tableshow1(b);
  			bt7.background='ZrCollEngine/Res/title_back1.gif';
			formTable7.style.display='';	
                        break;
		case 8:
		    tableshow1(b);
  			bt8.background='ZrCollEngine/Res/title_back1.gif';
			formTable8.style.display='';	
			break;
		case 9:
		    tableshow1(b);
  			bt9.background='ZrCollEngine/Res/title_back1.gif';
			formTable9.style.display='';	
			break;
		case 10:
		    tableshow1(b);
  			bt10.background='ZrCollEngine/Res/title_back1.gif';
			formTable10.style.display='';
                        break;
	}
}
function tableshow1(b)
{
switch(b)
	{
		case 1:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
			break;
		case 2:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
			break;
		case 3:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
			break;
		case 4:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
			break;
		case 5:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
			break;
		case 6:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
			break;
		case 7:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
	 	    bt7.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable7.style.display='none';
			break;
	    case 8:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
	 	    bt7.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable7.style.display='none';
	 	    bt8.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable8.style.display='none';
			break;
		case 9:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
	 	    bt7.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable7.style.display='none';
	 	    bt8.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable8.style.display='none';
	 	    bt9.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable9.style.display='none';
			break;
        case 10:
  			bt1.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable1.style.display='none';
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
	 	    bt7.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable7.style.display='none';
	 	    bt8.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable8.style.display='none';
	 	    bt9.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable9.style.display='none';
	 	    bt10.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable10.style.display='none';
			break;
	 }
}
function init(b)
{
switch(b)
	{
		case 1:
  	        break;
		case 2:  			
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
			break;
		case 3:
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
			break;
		case 4:
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
			break;
		case 5:
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
			break;
		case 6:
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
			break;
		case 7:
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
	 	    bt7.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable7.style.display='none';
			break;
	    case 8:
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
	 	    bt7.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable7.style.display='none';
	 	    bt8.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable8.style.display='none';
			break;
		case 9:
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
	 	    bt7.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable7.style.display='none';
	 	    bt8.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable8.style.display='none';
	 	    bt9.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable9.style.display='none';
			break;
        case 10:
            bt2.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable2.style.display='none';
	 	    bt3.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable3.style.display='none';
	 	    bt4.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable4.style.display='none';
	 	    bt5.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable5.style.display='none';
	 	    bt6.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable6.style.display='none';
	 	    bt7.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable7.style.display='none';
	 	    bt8.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable8.style.display='none';
	 	    bt9.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable9.style.display='none';
	 	    bt10.background= 'ZrCollEngine/Res/title_back2.gif';
	 	    formTable10.style.display='none';
			break;
	 
      }
}
