function showLogin()
{
}

function doLogin()
{
}

function doLogout()
{
}

function showNoLogin()
{
  var ePopup;
  var el;
  var iNum;
  var sHtmlLinks;
  var sHtmlText;
  var ch;
  var cw;
  var h;
  var w;
  var x;
  var y;
  var cx;
  var mw;
  var mh;
  
  undoWait();
  if ( bConfiguration )
    return;

  if ( bActiveLogin )
  {
    openWindow( 'http://derStandardDigital.at/standard.asp?page=cooplogin&cp=digital&target=' + sBase + sRoot + 'standard/forms/login.asp&frame=_top&close=false', 'Special', 525, 450 );
    return;
  }

  hideNoLogin();
  cx = 0;
  if ( ie && bNavProtect )
  {
    el = getElement( 'navigator' );
    cx = getWidth( el );
  }  
  ch = getClientHeight();
  cw = getClientWidth();
  mw = cw;
  mh = ch;
  ePopup = getElement( 'lock' );
  w = getWidth( ePopup );
  h = getHeight( ePopup );
  x = mouseX - w / 2 - poX;
  y = mouseY - h - poY;
  if ( x + w > mw )
    x = mw - w - ( ie ? 0 : 2 );
  if ( x < cx )
    x = cx;
  if ( y + h > mh )
    y = mh - h - ( ie ? 0 : 2 );
  if ( y < 0 )
    y = 0;
  setLeft( ePopup, x + poX );
  setTop( ePopup, y + poY );
  if ( !ie )
    setVisible( ePopup, false );
  setVisible( ePopup, true );
  if ( oTimer != null )
    clearTimeout( oTimer );   
  oTimer = setTimeout( 'hideNoLogin();', 20000 );
}

function hideNoLogin()
{
  if ( bActiveLogin )
    return;
  displayElement( 'lock', false );
  if ( oTimer != null )
    clearTimeout( oTimer );   
  oTimer = null;
}

function doDemo()
{
  iAdvice = 0;
  displayElement( 'lock', false );
  displayElement( 'advice', false );
  setUser( 'Demo' );
  setError( '' );
  setAllowedEditions( '' );
  setLastCommand( '' );
  if ( parent.getDemoUrl )
    setStartEPaper( parent.getDemoUrl() );
  startEPaper( 1 );
}


