function SetTab( tab_id, mode ){
	var e = document.getElementById( "but"+tab_id );
	if(e) e.style.backgroundPosition = "0px "+ ((mode==true) ? "-32px" : "0px" );
}
function afftab( n ){ SetTab( n, true );}
function hidtab( n ){ SetTab( n, false ); }