
function bilderVorladen(ebene) {
	if (document.images) {
	    c = (document.images.length);
	    						//alert(c);
	    for(a=0;a<c;a++) {
	        b=document.images[a].name;
               	if(b) {
                    var vorsatz = '';
                    if (ebene >0) { vorsatz = "../";}
                    d= ''+vorsatz+'images/nav_'+b+'_a.gif';
	                (new Image()).src = d;
                }
	    }
	}
}

function showLayer(pic,x) {
    var endneu;
	if(x == 'a') { endneu = '_b'; }
	else {         endneu = '_a'; }

	var nameneu = 'nav_'+pic+endneu+'.gif';
	    // alert("nameneu:"+nameneu);
    if (document.getElementById)
         {  document.getElementById(pic).src = "images/"+nameneu;   }
}


function popnews(nr) {
 	window.open('pop_news.php?nr='+nr, 'News'+nr,'width=390px,height=550px,top=100px,left=100px,resizable=no, status=no,scrollbars=no');
}
/*
function over(pic, ebene) {
    var endneu = '_a';
	var nameneu = 'navi_'+pic+endneu+'.gif';
	var vorsatz = '';
	if (ebene >0) { vorsatz = "../";}
					//alert('ebene:'+ebene+'--'+vorsatz+nameneu);
    if (document.getElementById)
         {  document.getElementById(pic).src = ''+vorsatz+"images/navigation/"+nameneu;   }
}


function out(pic, ebene) {
    var endneu = '_n';
	var nameneu = 'navi_'+pic+endneu+'.gif';
	var vorsatz = '';
	if (ebene >0) { vorsatz = "../";}
    if (document.getElementById)
         {  document.getElementById(pic).src = ''+vorsatz+"images/navigation/"+nameneu;   }
}
  */
