function none(){changetab_1(2);}
function none_1(){changetab_2(2)}
function none_2(){bg_3(2)}
function none_4(){bg_3(1)}
function none_3(){changetab_6(1);}
function none_5(){changetab_6_1(1);}



function changetab_1(tab)
{
   for(i=1; i <5; i++)        
  {
	if (i==tab)
    {document.getElementById("tab_"+i).style.backgroundColor="#F35A22";document.getElementById("N"+i).style.display="block";}
    else  
    {document.getElementById("tab_"+i).style.backgroundColor="#959595";document.getElementById("N"+i).style.display="none";}
  }
  if(tab==2)
	{document.getElementById("index_1_3").style.backgroundImage = "url(/images/s_1_9.gif)";}
    if(tab==3)
	{document.getElementById("index_1_3").style.backgroundImage = "url(/images/s_1_10.gif)";}
	if(tab==1)
	{document.getElementById("index_1_3").style.backgroundImage = "url(/images/s_1_11.gif)";}
	
	if(tab==4)
	{document.getElementById("index_1_3").style.backgroundImage = "url(/images/s_1_12.gif)";}

}

function changetab_2(tab)
{
   for(i=1; i <4; i++)        
  {
	if (i==tab)
    {document.getElementById("tab_"+i).style.backgroundColor="#F35A22";document.getElementById("tab_"+i).style.backgroundImage = "";document.getElementById("N"+i).style.display="block";}
    else  
    {document.getElementById("tab_"+i).style.backgroundColor="#959595";document.getElementById("tab_"+i).style.backgroundImage = "url(/images/s_2_2.jpg)";document.getElementById("N"+i).style.display="none";}
  }
}

/*function changetab_3(tab)
{
   for(i=1; i <11; i++)        
  {
	if (i==tab)
    {document.getElementById("tab_"+i).style.backgroundColor="#F35A22";document.getElementById("tab_"+i).style.backgroundImage = "";document.getElementById("N"+i).style.display="block";}
    else  
    {document.getElementById("tab_"+i).style.backgroundColor="#959595";document.getElementById("tab_"+i).style.backgroundImage = "url(/images/s_2_2.jpg)";document.getElementById("N"+i).style.display="none";}
  }
}*/

function changetab_4(tab)
{
   for(i=1; i <4; i++)        
  {
	if (i==tab)
    {document.getElementById("tab_"+i).style.backgroundColor="#F35A22";document.getElementById("tab_"+i).style.backgroundImage = "";document.getElementById("N"+i).style.display="block";}
    else  
    {document.getElementById("tab_"+i).style.backgroundColor="#959595";document.getElementById("tab_"+i).style.backgroundImage = "url(/images/s_2_2.jpg)";document.getElementById("N"+i).style.display="none";}
  }
}

function changetab_6(tab)
{
   for(i=1; i <6; i++)        
  {
	if (i==tab)
    {document.getElementById("M_"+i).style.color = "#F35A22";
	document.getElementById("I_"+i).style.backgroundImage = "url(/images/s_4_6.jpg)";
	document.getElementById("D_"+i).style.backgroundColor = "#F35A22";
	}
    else  
    {document.getElementById("M_"+i).style.color = "#999999";
	document.getElementById("I_"+i).style.backgroundImage = "url(/images/s_4_7.jpg)";
	document.getElementById("D_"+i).style.backgroundColor = "#999999";
	}
	   for(x=1; x <4; x++)   
	   {
		   if (i==tab)
		    {document.getElementById("L_"+i+"_"+x).style.borderColor = "#F35A22";}	
	       else
	        {document.getElementById("L_"+i+"_"+x).style.borderColor = "#999999";}
		}
      
  }
}

function changetab_6_1(tab)
{
   for(i=1; i <4; i++)        
  {
	if (i==tab)
    {document.getElementById("M_"+i).style.color = "#F35A22";
	document.getElementById("I_"+i).style.backgroundImage = "url(/images/s_4_6.jpg)";
	document.getElementById("D_"+i).style.backgroundColor = "#F35A22";
	}
    else  
    {document.getElementById("M_"+i).style.color = "#999999";
	document.getElementById("I_"+i).style.backgroundImage = "url(/images/s_4_7.jpg)";
	document.getElementById("D_"+i).style.backgroundColor = "#999999";
	}
	   for(x=1; x <4; x++)   
	   {
		   if (i==tab)
		    {document.getElementById("L_"+i+"_"+x).style.borderColor = "#F35A22";}	
	       else
	        {document.getElementById("L_"+i+"_"+x).style.borderColor = "#999999";}
		}
      
  }
}

function changetab_7(tab)
{
   if(tab==1){location.href = "#one";}
   if(tab==2){location.href = "#two";}
   if(tab==3){location.href = "#three";}
   if(tab==4){location.href = "#four";}
   if(tab==5){location.href = "#five";}
   for(i=1; i <6; i++)        
  {
	if (i==tab)
    {document.getElementById("M_"+i).style.color = "#F35A22";
	document.getElementById("I_"+i).style.backgroundImage = "url(/images/s_4_6.jpg)";
	document.getElementById("D_"+i).style.backgroundColor = "#F35A22";
	}
    else  
    {document.getElementById("M_"+i).style.color = "#999999";
	document.getElementById("I_"+i).style.backgroundImage = "url(/images/s_4_7.jpg)";
	document.getElementById("D_"+i).style.backgroundColor = "#999999";
	}
	   for(x=1; x <4; x++)   
	   {
		   if (i==tab)
		    {document.getElementById("L_"+i+"_"+x).style.borderColor = "#F35A22";}	
	       else
	        {document.getElementById("L_"+i+"_"+x).style.borderColor = "#999999";}
		}
      
  }
}

function changetab_8(tab)
{
   if(tab==1){location.href = "#one";}
   if(tab==2){location.href = "#two";}
   if(tab==3){location.href = "#three";}
   if(tab==4){location.href = "#four";}
   if(tab==5){location.href = "#five";}
   for(i=1; i <4; i++)        
  {
	if (i==tab)
    {document.getElementById("M_"+i).style.color = "#F35A22";
	document.getElementById("I_"+i).style.backgroundImage = "url(/images/s_4_6.jpg)";
	document.getElementById("D_"+i).style.backgroundColor = "#F35A22";
	}
    else  
    {document.getElementById("M_"+i).style.color = "#999999";
	document.getElementById("I_"+i).style.backgroundImage = "url(/images/s_4_7.jpg)";
	document.getElementById("D_"+i).style.backgroundColor = "#999999";
	}
	   for(x=1; x <4; x++)   
	   {
		   if (i==tab)
		    {document.getElementById("L_"+i+"_"+x).style.borderColor = "#F35A22";}	
	       else
	        {document.getElementById("L_"+i+"_"+x).style.borderColor = "#999999";}
		}
      
  }
}
function bg_1(tab)
{
   for(i=1; i <13; i++)        
  {
	if (i==tab)
    {document.getElementById("K_"+i).style.backgroundColor="#F35A22";document.getElementById("J_"+i).style.color="#FFFFFF";}
    else  
    {document.getElementById("K_"+i).style.backgroundColor="#CCCCCC";document.getElementById("J_"+i).style.color="#666666";}
  }
}

function bg_2()
{
  /*  for(i=1; i <13; i++)        
  {  
	document.getElementById("K_"+i).style.backgroundColor="#CCCCCC";document.getElementById("J_"+i).style.color="#666666";
  }*/
}

function bg_3(tab)
{
   for(i=1; i <5; i++)        
  {
	if (i==tab)
    {document.getElementById("K_"+i).style.backgroundColor="#F35A22";document.getElementById("J_"+i).style.color="#FFFFFF";}
    else  
    {document.getElementById("K_"+i).style.backgroundColor="#CCCCCC";document.getElementById("J_"+i).style.color="#666666";}
  }
}

function bg_4()
{
  /* for(i=1; i <5; i++)        
  {  
	document.getElementById("K_"+i).style.backgroundColor="#CCCCCC";document.getElementById("J_"+i).style.color="#666666";
  }*/
}
