
function hidebld(){
var xbild = document.getElementsByTagName('img');
	for (i = 0; i < xbild.length; i++) {
		var curid = xbild[i].id;
		if(curid.substr(0,6)=='buland' || curid.substr(0,6)=='bpbild'){
			document.getElementById(curid).style.display='none';
			}
		}
}



function zeigbld(divnam){
var mbld=divnam.substr(6,3);
var xbild = document.getElementsByTagName('img');
	for (i = 0; i < xbild.length; i++) {
		var curid = xbild[i].id;
		if(curid==divnam || curid.substr(0,9)=='bpbild'+mbld){
			document.getElementById(curid).style.display='block';
			}
		}
}

function hideinhalt(){
document.getElementById('projekttext').innerHTML='';	
}

var url = "getintro.asp?id=";
function handleHttpResponse() {
  if (http.readyState == 4) {
    results = http.responseText;
    document.getElementById('projekttext').innerHTML = results;
  }
}
function zeiginhalt(contid) {
  http.open("GET", url + escape(contid), true);
  http.onreadystatechange = handleHttpResponse;
  http.send(null);
 }
function getHTTPObject() {
  var xmlhttp;
  /*@cc_on
  @if (@_jscript_version >= 5)
    try {
      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (E) {
        xmlhttp = false;
      }
    }
  @else
  xmlhttp = false;
  @end @*/
  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
    try {
      xmlhttp = new XMLHttpRequest();
    } catch (e) {
      xmlhttp = false;
    }
  }
  return xmlhttp;
}
var http = getHTTPObject(); // We create the HTTP Object
