//=== setzen des DefaultStatus in der Statusbar
function swapImg( id, src )
{
  if ( document.getElementById( id ) )
  {
    document.getElementById( id ).src = src;
  }
}

function swapClass( id, newClass )
{
  if ( document.getElementById( id ) )
  {
    document.getElementById( id ).className = newClass;
  }
}

function view_and_scroll( url, width, height, name ) {
  if( !name ) {
    name = 'popupWin';
  }
  popupWin = window.open( url, name, 'scrollbars=yes,menubar=1,resizable=1,toolbar=no,width='+ width +',height='+ height +',left=50,top=50' );
}

function view_and_noscroll( url, width, height, name ) {
  if( !name ) {
    name = 'popupWin';
  }
  popupWin = window.open( url, name, 'scrollbars=no,menubar=no,resizable=no,toolbar=no,width='+ width +',height='+ height +',left=0,top=0' );
}