function showImg(URL,breite,hoehe) {
	bildfenster = window.open(URL, "bild", "scrollbars=no,width="+breite+",height="+hoehe+",resizable=no,menubar=no,toolbar=no");
	bildfenster.focus();
}
/*function showSubnav(id,subnav) {
	var GECKO = document.getElementById? 1:0 ;
  	var NS = document.layers? 1:0 ;
  	var IE = document.all? 1:0 ;
	
	var li = "";
	var arr_tmp = subnav.split("_li_url_");
	
	for ( t=0; t<arr_tmp.length; t++ ) {
		if ( arr_tmp[t] != "" ) {
			var arr2_tmp = arr_tmp[t].split("_li_name_");
			var url = arr2_tmp[0];
			var name = arr2_tmp[1];
			li = li + "<li><a href="+url+">"+name+"</a></li>";
		}
	}

 	if (GECKO) {
		//document.getElementById(id).style.display=(document.getElementById(id).style.display=='block') ? 'none' : 'block';
		document.getElementById("sub"+id).innerHTML = '<ul onMouseOut="" onMouseOver="">'+li+'</ul>';
	} else if (NS) {
		//document.layers[id].display=(document.layers[id].display=='block') ? 'none' : 'block';
		document.layers["sub"+id].innerHTML = "<ul>"+li+"</ul>";
	} else if (IE) {
		//document.all[id].style.display=(document.all[id].style.display=='block') ? 'none' : 'block';
		document.all["sub"+id].innerHTML = "<ul>"+li+"</ul>";
	}
}
function hideSubnav(id) {
	var GECKO = document.getElementById? 1:0 ;
  	var NS = document.layers? 1:0 ;
  	var IE = document.all? 1:0 ;
	
	if (GECKO) {
		document.getElementById("sub"+id).innerHTML = "";
	} else if (NS) {
		document.layers["sub"+id].innerHTML = "";
	} else if (IE) {
		document.all["sub"+id].innerHTML = "";
	}
}*/

function enable_menues_for_ie() {
	if (document.all) {
        //uls = document.getElementsByTagName('ul');
		ul = document.getElementById('mainnav');
        
		//for(i = 0; i < uls.length; i++) {
            //if (uls[i].className == 'dropdown') {
                //var lis = uls[i].getElementsByTagName('li');
				var lis = ul.getElementsByTagName('li');
				
                for (i = 0; i < lis.length; i++) {
                    if(lis[i].lastChild.tagName == 'UL') {
                        lis[i].onmouseover = function() {
							this.lastChild.style.display = 'block';
							this.firstChild.style.color = '#FFCC32';
							this.firstChild.style.margin = '0';
						}
                        lis[i].onmouseout = function() {
							this.lastChild.style.display = 'none';
							this.firstChild.style.color = '#fff';
							this.firstChild.style.margin = '0 0 2px 0';
						}
                    }
                }
            //}
        //}
    }
}

