vis_m=new Array(0);
a_link=0;

function mouseOver(el,master){
    el.style.color='#cc7700';x=0;
    for (i=0;i<all_m.length;i++){
	if (all_m[i]!=master){
	    if (x!=0){document.getElementById(all_m[i]).style.visibility='hidden';}
	} else {x=1;}
    } a_link=1;
}

function mouseOut(el){el.style.color='#333355'; a_link=0;}

function mouseClick(el){
    document.getElementById(el).style.visibility='visible';
    vis_m.push(el);
}

function hideAll(){
    for (i=1; i<all_m.length; i++){
	document.getElementById(all_m[i]).style.visibility='hidden';
    }
}

function showAll(){
    for (i=1; i<all_m.length; i++){
	document.getElementById(all_m[i]).style.visibility='visible';
    }
}

function mouseOverTable(){if(a_link == 0){setTimeout("hideAll();",500);}}
