function setPointer(theRow,action)
{
	if(action=='over'){
		theRow.cells[1].className="col_abstufung1Bg";
		theRow.cells[3].className="col_abstufung1Bg for_center text_11px";
	}
	
	if(action=='out'){
		theRow.cells[1].className="col_weissBg";
		theRow.cells[3].className="col_weissBg for_center text_11px";
	}
}

function setTdBg(theTd,action)
{
	if(action=='over'){
		theTd.className="col_abstufung2Bg";
	}
	
	if(action=='out'){
		theTd.className="";
	}
}

function OGM(gid, tu) {
  MeinFenster = window.open('/gruppen/tools/editUR.php?grupID='+gid, 'Gruppenmitgliederverwaltung', 'dependent=yes,height=300,width=500,scrollbars=yes,location=no');
  MeinFenster.focus();
}

function showGrpImges(IFel, imgID, grpID, uID){ /* 
	if(uID){
		gidEl = document.getElementById('gid');
		if(!gidEl){
			gidEl = IFel.gid;
			if(!gidEl){ 
				//alert("no gidEl: "+gidEl);
				return;
			}
		} 
		//alert(gidEl+".value = "+grpID);
		gidEl.value = grpID;
	}
	 */
	if(grpID > 9998){
		gidEl = document.getElementById('gid');
		if(!gidEl){
			gidEl = IFel.gid;
			if(!gidEl){ 
				//alert("no gidEl: "+gidEl);
				return;
			}
		} 
		//alert(gidEl+".value = "+grpID);
		gidEl.value = grpID;
	}
	iidEl = document.getElementById('iid');
	if(!iidEl){
		iidEl = IFel.iid;
		if(!iidEl){
			//alert("no iidEl");
			return;
		}
	}
	iidEl.value = imgID;
	IFel.submit();
}

function shwAktCont(id){
	expand = true;
	for(i=fSAC; i<=SAC; i++){ 
		el = document.getElementById('contnt_'+i);		
		if(!el) continue;
		if(el.style.display=="block"){
			if(i==id) expand = false;
			el.style.display="none"
			break;
		}
	}
	if(!expand) return;
	el = document.getElementById('contnt_'+id);
	if(!el) return;
	el.style.display="block"; /*
	if(el.style.display!="block") el.style.display="block";
	else el.style.display="none"; */
}

function editOverMe(id){
	if(id != imgChck) return false;
	window.open("/gruppen/tools/edit_over_me.php?g="+grpID, 
				"'Über mich' bearbeiten","width=600,height=400,left=100,top=200,dependent=yes,location=no,menubar=no,resizable=no,scrollbars=no,status=notoolbar=no");
}

