
function ss_page(theUrl)
{
  // Copyright (c) 2000 by Stephan Struck. Copying permitted, if you keep this comment

  var aPart;

  aPart = theUrl;
  aLastIndex = aPart.lastIndexOf('?');
  if (aLastIndex == -1)
  {
    aLastIndex = aPart.lastIndexOf('#');
    if (aLastIndex == -1){aLastIndex = aPart.length};
  };
  aPart = aPart.substring(0,aLastIndex);
  aLastIndex = aPart.lastIndexOf('/');
  (aLastIndex == -1)? aLastIndex = aPart.length :aLastIndex++;
  aPart = aPart.substring(aLastIndex);
  return(aPart);
}

function checkFrames()
{td = ss_page(top.location.href);
 if ((td !='index.html') && (td !=''))
  {
    document.writeln('<a target="_top" href="http://www.zorak.de"><img src="http://www.zorak.de/images/rn-home-button.gif" width="74" height="30" border="0" alt=""></a>');
    document.writeln('<br>');
  };
  document.close();
}