	var idTab=1000;	
	
	function onOver(id){
		var target=document.getElementById(idTab).getElementsByTagName("TD");
		
		for(i=2;i<18;i+=2){
			if(i==id){
				target[i-1].style.backgroundColor="#C1211A";
				target[i-1].style.backgroundImage="url()";
				document.getElementById(i).style.backgroundColor="#ffffff";
				target[i+1].style.backgroundImage="url()";
				document.getElementById(i*1000).style.display="block";	
			}
			else{
				target[i-1].style.backgroundColor="#EFD08A";
				target[i-1].style.backgroundImage="url(/images/line.gif)";
				document.getElementById(i).style.backgroundColor="";
				target[i+1].style.backgroundImage="url(/images/line.gif)";
				document.getElementById(i*1000).style.display="none";
			}
		}	
		document.getElementById("alpha1").style.display="none";
		document.getElementById("alpha2").style.display="none";
		document.getElementById("alpha3").style.display="none";
		document.getElementById("alpha4").style.display="none";
	}
	
	function allBack(){
		var target=document.getElementById(idTab).getElementsByTagName("TD");
	
		for(i=2;i<18;i+=2){
			target[i-1].style.backgroundColor="#EFD08A";
			target[i-1].style.backgroundImage="url(/images/line.gif)";
			document.getElementById(i).style.backgroundColor="";
			target[i+1].style.backgroundImage="url(/images/line.gif)";
			document.getElementById(i*1000).style.display="none";
		}
		
		document.getElementById("alpha1").style.display="none";
		document.getElementById("alpha2").style.display="none";
		document.getElementById("alpha3").style.display="none";
		document.getElementById("alpha4").style.display="none";
	}
	function subover1(id){
		document.getElementById(id).style.display="block";
	}
	function subover2en(id){
		if(id==4){document.getElementById(id*1000).style.marginLeft="40px";}
		else if(id==6){document.getElementById(id*1000).style.marginLeft="108px";}
		else if(id==8){document.getElementById(id*1000).style.marginLeft="198px";}
		else if(id==10){document.getElementById(id*1000).style.marginLeft="284px";}
	}
	function subover2fr(id){
		if(id==4){document.getElementById(id*1000).style.marginLeft="42px";}
		else if(id==6){document.getElementById(id*1000).style.marginLeft="134px";}
		else if(id==8){document.getElementById(id*1000).style.marginLeft="222px";}
		else if(id==10){document.getElementById(id*1000).style.marginLeft="292px";}
	}
	
	/*var flag=0;
	function change(id){
		var idTab=1000;
		var target=document.getElementById(idTab).getElementsByTagName("TD");
		if(id==222){		
			target[3].style.backgroundImage="url(images/line.gif)";
			target[3].style.borderBottom="1px solid #D5A84A";
			target[3].style.backgroundColor="";
			target[4].style.backgroundColor="";
			target[5].style.backgroundImage="url(images/line.gif)";
			flag=1;
		}
		else if(id==111){		
			target[1].style.borderBottom="1px solid #D5A84A";
			target[1].style.backgroundColor="";
			target[2].style.backgroundColor="";
			target[3].style.backgroundImage="url(images/line.gif)";
			flag=1;
		}
	}
	function remove(idDiv){
		document.getElementById(idDiv).style.display="none";
		if(flag==0){change(idDiv);}
	}
	function onOver(x){
		var idTab=1000;				
		var target=document.getElementById(idTab).getElementsByTagName("TD");
		
		target[x-1].style.backgroundColor="#C1211A";
		
		if((x-1)!=1){
			target[x-1].style.backgroundImage="url()";
			target[x-1].style.borderBottom="";
		}
		
		document.getElementById(x).style.backgroundColor="#ffffff";
		
		if((x+1)!=15){
			target[x+1].style.backgroundImage="url()";
		}	
		
		if(x==4){
			document.getElementById(222).style.display="block";
			flag=0;
			remove(111);
		}
		else if(x==2){
			document.getElementById(111).style.display="block";
			flag=0;
			remove(222);
		}
		else{
			remove(111);
			remove(222);
		}
		
	}
	function onOut(x){
		var idTab=1000;				
		var target=document.getElementById(idTab).getElementsByTagName("TD");
		
		if(x!=4 && x!=2){
			target[x-1].style.backgroundColor="";
			if((x-1)!=1){
				target[x-1].style.backgroundImage="url(images/line.gif)";
				target[x-1].style.borderBottom="1px solid #D5A84A";
			}
			target[x].style.backgroundColor="";
			if((x+1)!=15){
				target[x+1].style.backgroundImage="url(images/line.gif)";
			}
			remove(111);
			remove(222);
		}
	}
	/*function checkBr(){
		var count;
		if(navigator.appName.indexOf("Explorer")!=-1){
			count=79;
		}
		else{
			count=79;
		}
		document.getElementById("222").style.marginLeft=count;
	}*/