// ehtools 2008-06-11 17:06:00

function reserve_en(w,hid,rid,typ)
{
quick = window.open("20_01_03_01_en.php3?hid="+hid+"&webres="+w+"&rid="+rid+"&typ="+typ,"pop","resizable=yes,left=200,top=100,width=780,height=580,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1");
if ( me.nc ) { quick.focus(); }
}


function youtube_win( hid )
{
yt = window.open('yt_popup.php?hid=' + hid,'yt','resizable=yes,width=460,height=380,resizable=yes,left=50,top=50');
if ( me.nc ) { yt.focus(); }
}

function elios_win( hid )
{
ew = window.open('ew_popup.php?hid=' + hid,'yt','resizable=yes,width=825,height=380,resizable=yes,left=50,top=50');
if ( me.nc ) { ew.focus(); }
}



function doReplace(nav,fStr,rStr,dStr)
{
fStr2="";
for (i=0; i<fStr.length; i++)
  {
  c=fStr.substr( i, 1 );
  ( c == " " ) ? fStr2 += "&nbsp;" : fStr2 += c;
  }
e0=-1;
e1=-1;
// nur ebene 1 erste einmal...
for ( i = 0; i<nav.childs.length; i++ )
   {
   childs0 = nav.childs[ i ].numChild;
   for ( j=0; j < childs0; j++ )
      {
      if ( ( nav.childs[ i ].childs[ j ].caption == fStr ) || ( nav.childs[ i ].childs[ j ].caption == fStr2 ) )
         {
         e0=i;
         e1=j;
         break;
         }
      }
   }

if (( e0>=0 ) && (e1>=0))
   {
   lm.childs[ e0 ].childs[ e1 ].caption = rStr + " - Info";
   }

u=nav.childs.length-1;
nav.childs[u].link=dStr+nav.childs[u].link;
}