// AutoFramer v0.1 (C) Marc Bufe NyLoN
// http://www.airport1.de

onerror = stopError;
function stopError() {
  return true;
}

s1="airport1.de";
s2="~bufemc";
s3="localhost";
s4="kuhlimuh.com";
s5="handysms.de";
s6="unimut.fsk.uni-heidelberg.de";

embedPage = self.location.pathname;

foreignRef = false;
d = document.referrer;
if ((d != "") && ((d.indexOf(s1)+d.indexOf(s2)+d.indexOf(s3)+d.indexOf(s4)+d.indexOf(s5)+d.indexOf(s6)) < 0))
  foreignRef = true;

foreignFrameset = false;
if (top.frames.length > 0) {
  par = parent.window.location.href;
  if ((par.indexOf(s1)+par.indexOf(s2)+par.indexOf(s3)+par.indexOf(s4)+par.indexOf(s5)+d.indexOf(s6)) < 0)
    foreignFrameset = true;
}

if ((document.location.protocol.indexOf("http") >= 0) && (foreignRef || foreignFrameset)) {
  top.location.href="http://www.Airport1.de/fs.php?"+embedPage;
}
  
document.write('<div align=right><a href="http://www.Airport1.de/fs.php?' + embedPage + '" class="tiny">http://www.Airport1.de/fs.php?' + embedPage + '</a><a href=/dieb style="visibility:hidden;">.</a></div><img src="http://www.airport1.de/phpmodul/counter.php?hide=1" width=1 height=1>');  

chkContentRipOff();

function chkContentRipOff() {
  if ((window.location.protocol=="file:") & (location.href.indexOf("www-a1") < 1)) { // warn content thieves
    top.location.href="http://www.airport1.de/fs.php?ripoff1.htm?www-copy?" + self.location.pathname;
    bSend = confirm ("Potenzielle Urheberrechtsverletzung nach §4 Abs.1 UrhG! Diese Dateien wurden von www.Airport1.de kopiert.\r\n\r\nWird Content der Airport1.de – WebSite ohne mit dem Urheber getroffene Vereinbarung von anderen auf deren WebSite benützt, so wird durch diese rechtswidrige Nutzung in das Urheberrecht und Eigentumsrecht des Urhebers eingegriffen. In diesen Fällen mißbräuchlicher Verwendung der WebSite hat der Urheber, insbesondere nach den Bestimmungen des Urheberrechtsgesetzes, Anspruch auf Unterlassung und Schadensersatz.\r\n\r\nUnerlaubte Vervielfältigung ist untersagt und wird zivilrechtlich verfolgt!\r\n\r\nFragen? Mit Klick auf OK ist das Verfassen einer eMail möglich.");
    if (bSend) location.href="mailto:" + getEncryptedMail('119|119|119|64|97|105|114|112|111|114|116|49|46|100|101') + "?subject=WebsiteCopy";
  }
}

function getEncryptedMail(EncryptedAddress) {
  var StringArray = EncryptedAddress.split("|");
  var RealMailAddress = "";
  for (var i = 0; i <= StringArray.length - 1; i++) {
    RealMailAddress = RealMailAddress + String.fromCharCode(StringArray[i]);
  }
  return RealMailAddress;
}

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
if (typeof _gat != 'undefined') {
  var pageTracker = _gat._getTracker("UA-264944-1");
  pageTracker._initData();
  pageTracker._trackPageview();
}