// JavaScript TABS


var hoooo=document.getElementById("tab0").getElementsByTagName("h3");
function go_to(eo){
	for(var i=0;i<hoooo.length;i++){
		e=i+1;
		if(eo-1==i){
		hoooo[i].className="up";
		document.getElementById("cp"+e).className="block";
		}
		else {
		hoooo[i].className="";
		document.getElementById("cp"+e).className="none";
		}
	}
}



var ho=document.getElementById("tab2").getElementsByTagName("h3");
function go_tob(bo){
	for(var i=0;i<ho.length;i++){
		c=i+1;
		if(bo-1==i){
		ho[i].className="upb";
		document.getElementById("cpb"+c).className="block";
		}
		else {
		ho[i].className="";
		document.getElementById("cpb"+c).className="none";
		}
	}
}

var hoo=document.getElementById("tab3").getElementsByTagName("h3");
function go_toc(co){
	for(var i=0;i<hoo.length;i++){
		d=i+1;
		if(co-1==i){
		hoo[i].className="upc";
		document.getElementById("cpc"+d).className="block";
		}
		else {
		hoo[i].className="";
		document.getElementById("cpc"+d).className="none";
		}
	}
}


window.onload=function () { go_to(1); go_tob(1); go_toc(1);}
