function hilite(ele, trueFalse) {
	//alert("hiliteBildli "+ele+" "+trueFalse);
	var cat = ele.id.split("_")[1];
	//alert(cat);
	var table = document.getElementById("thumbTable");
	var titelEle = document.getElementById("titel_" + cat);
	if (trueFalse == true) {
		var textColor = "#f63";
		var backgroundColor = "#000000";
		var opacity = 99;
	} else {
		var textColor = "#ffffff";
		var backgroundColor = "#333333";
		var opacity = 60;
	}
	//alert(opacity);
	titelEle.style.color = textColor;
	
	var td = document.getElementById("td_" + cat);
	//alert(td.id);
	//var td = table.getElementById("td_" + cat);
	
	var out = "";
	var images = td.getElementsByTagName("IMG");
	for (var i=0; i<images.length; i++) {
		var image = images[i];
		
		//out += image + "\n";
		//images.alpha(opacity=100));
		//image.borderWidth = 2;
		
		image.KhtmlOpacity = opacity/100;
		image.style.opacity = opacity/100;
		image.style.filter = "alpha(opacity:"+opacity+")";
		image.style.MozOpacity = opacity/100;
		
		image.borderWidth = 2;
		image.borderColor = "#0000ff";
		
	}
	//alert(out);
}

function popText(path) {
	var newWin = window.open(path, "newwin", "dependent=yes,location=no,width=595,innerWidth=795,height=739,innerHeight=539,left=100,top=100,menubar=no,location=no,status=no,scrollbars=yes");
	if (newWin.scrollbars) {
		newWin.scrollbars.visible = true;
	}
	newWin.focus();
}

