

if (((navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion.substring(0,1)) >=3))
|| ((navigator.appName == "Microsoft Internet Explorer")&&
(parseInt(navigator.appVersion.substring(0,1)) >=4)))
{var version=true}
 
/* Browserabfrage: Layer-Object bekannt? */
if (document.layers) {ns = 1; ie = 0;} else {ns = 0; ie = 1;}
 



 

 

function hidevon(name,dieid) {

var inhaltarray = new Array();
inhaltarray[1]= new Array();

merkwert=document.diebuchung.von_transfer.options[document.diebuchung.von_transfer.selectedIndex].value;


temporaer = document.getElementById(dieid);

if(temporaer.length>0)
{


dielaenge=temporaer.length;


temporaer.length = 0;			
}
var merkindex;
acount=1;
if(document.diebuchung.nach_transfer.options[document.diebuchung.nach_transfer.selectedIndex].value!=12521) { if(merkwert==12521) { merkindex=acount-1;   } inhaltarray[1][acount]=["Berlin-Schönefeld",12521,'false'];    acount++;}
if(document.diebuchung.nach_transfer.options[document.diebuchung.nach_transfer.selectedIndex].value!=13405) { if(merkwert==13405) { merkindex=acount-1;   }  inhaltarray[1][acount]=["Berlin-Tegel",13405,'false'];   acount++;}
if(document.diebuchung.nach_transfer.options[document.diebuchung.nach_transfer.selectedIndex].value!=12101) { if(merkwert==12101) { merkindex=acount-1;  alert(merkindex); } inhaltarray[1][acount]=["Berlin-Tempelhof",12101,'false'];  acount++;}


dcount=1;
for(i=0;i<inhaltarray[1].length-1;i++){
	
	
			tempOption	= new Option(inhaltarray[1][dcount][0],inhaltarray[1][dcount][1],false,false);

			temporaer[i]	= tempOption;
			dcount++;
				}
if(merkwert) document.diebuchung.von_transfer.options[merkindex].selected = true;

}

function hidenach(name,dieid) {

merkwert=document.diebuchung.nach_transfer.options[document.diebuchung.nach_transfer.selectedIndex].value;



var inhaltarray_zwei = new Array();

inhaltarray_zwei[1]= new Array();


temporaer = document.getElementById(dieid);

if(temporaer.length>0)
{


dielaenge=temporaer.length;

temporaer.length = 0;			
}
acount=1;

var merkindex;


if(document.diebuchung.von_transfer.options[document.diebuchung.von_transfer.selectedIndex].value!=12521) {if(merkwert==12521) { merkindex=acount-1;   } inhaltarray_zwei[1][acount]=["Berlin-Schönefeld",12521]; acount++; }
if(document.diebuchung.von_transfer.options[document.diebuchung.von_transfer.selectedIndex].value!=13405) { if(merkwert==13405) { merkindex=acount-1;  } inhaltarray_zwei[1][acount]=["Berlin-Tegel",13405]; acount++; }
if(document.diebuchung.von_transfer.options[document.diebuchung.von_transfer.selectedIndex].value!=12101) { if(merkwert==12101) { merkindex=acount-1;   } inhaltarray_zwei[1][acount]=["Berlin-Tempelhof",12101]; acount++; }


dcount=1;
for(i=0;i<inhaltarray_zwei[1].length-1;i++){
	
	
			tempOption	= new Option(inhaltarray_zwei[1][dcount][0],inhaltarray_zwei[1][dcount][1],false,false);

			temporaer[i]	= tempOption;
			dcount++;
				}
				
				
if(merkwert) document.diebuchung.nach_transfer.options[merkindex].selected = true;

}
 


