<!--

var flags=new Array();
var group=new Array();

function CreateGroup(gname){
	args=CreateGroup.arguments;
	GroupName=args[0];
	group[GroupName]=new Array();
	group[GroupName][0]=args[0];
}

function SetFlag(GroupName,flag){
	for(i=0;i<group[GroupName].length;i++){
		flags[group[GroupName][i]]=flag;
	}
}

function ShowOrHide(who, what){
	if(what=='hidden'){
		SetFlag(who,0);
	}else{
		SetFlag(who,1);
	}	
	eval ("setTimeout(\"ShowHide('"+ who + "','" + what+"');\",150)");
}
		
function ShowHide(who_to,what_to){
	//do not hide image above menu if highlited

	if (who_to.indexOf('divTopMenuImg'+pageUrl) == -1 ) {
		if(( (flags[who_to]==1) && (what_to=='visible') ) || ( (flags[who_to]==0) && (what_to=='hidden') )){
			divel = findObj(who_to);
			//alert(divel);
			if(divel) divel.style.visibility = what_to;
		}
	}
}

//-->
