var $pfad =  'buttons/';
function bbon($picname)
  {document.images[$picname].src = $pfad + $picname + '_on.gif';}
function bboff($picname)
  {document.images[$picname].src = $pfad + $picname + '_off.gif';
  }

function shiny($picname,$mode)
  {document.images[$picname].src = $pfad + $picname + '_'  + $mode + '.gif';
  }


function picswitch($picname,$mode)
  {document.images[$picname].src = 'inlays/' + $picname  + $mode + '.jpg';
  }

function neuzeichnen(pagename)
{
//top.location.href = '/index.php';
//top.location.href = 'testkarriere3.php';	// IE mag keinen leeren Eintrag!
top.location.href = pagename;
//top.location.href = '#';	// Kein echter Reload bei Firefox
}



function framezeichnen(framename)
{
 var hoehe = 0;
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement &&
      ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
//  window.alert( 'Width = ' + myWidth );
//  window.alert( 'Height = ' + myHeight );
var hoehe = myHeight - 308;
//  window.alert( 'Height = ' + hoehe );

document.write('<div style="width:100%; height:' + hoehe + 'px;"><iframe src="' + framename + '" name="inhalt" width="100%" height="' +  hoehe + '"align="left" scrolling="auto" marginheight="0" marginwidth="0" frameborder="0">');

}