<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<PRE>/* -----------------------------------------------
   POWER PHLOGGER - v.2.2.4
   (c) 2000-2003 www.phpee.com
   contact: webmaster@phpee.com
  ------------------------------------------------ */</PRE>
<PRE>// ----------------------------------------------------------
// SETTINGS:
// here should be your username you received from kostenloser-besucherzaehler.ranking-konzept.de
// Do not edit this file manually!! Use the one you got in your
// confirmation-email or the one from PowerPhlogger's settings
// section.
id = &quot;travel2earth&quot;;

// If you're using a frameset and are not getting correct 
// referrers, please uncomment the following line:
pp_frames = true;
// ----------------------------------------------------------
</PRE>
<PRE>// define some defaults -------------------------------------
if(showme==null) var showme='n';
if(st==null)     var st='js';    // st means show-type
</PRE>
<PRE>// get the user agent name ----------------------------------
v = navigator.appName;</PRE>
<PRE>// get the screen resolution --------------------------------
c=0;
if (v != &quot;Netscape&quot;) c = screen.colorDepth;
else c = screen.pixelDepth;</PRE>
<PRE>// get the screen size --------------------------------------
s = screen.width+&quot;x&quot;+screen.height;</PRE>
<PRE>// get the document's title ---------------------------------
t = escape(document.title);</PRE>
<PRE>// get the document's referrer -------------------------------
var f = &quot;&quot;;</PRE>
<PRE>// if pp_frames is true then try getting the framed referral (without error checking)
if (typeof(pp_frames) != &quot;undefined&quot;)
	if (pp_frames)
		f = top.document.referrer;</PRE>
<PRE>// get the referral for non-multi-domained-framed sites using a Netscape browser
if ((f == &quot;&quot;) || (f == &quot;[unknown origin]&quot;) || (f == &quot;unknown&quot;) || (f == &quot;undefined&quot;))
	if (document[&quot;parent&quot;] != null) 
		if (parent[&quot;document&quot;] != null) // ACCESS ERROR HERE!
			if (parent.document[&quot;referrer&quot;] != null) 
				if (typeof(parent.document) == &quot;object&quot;)
					f = parent.document.referrer; </PRE>
<PRE>// get the referral for the current document if a framed referral wasn't found
if ((f == &quot;&quot;) || (f == &quot;[unknown origin]&quot;) || (f == &quot;unknown&quot;) || (f == &quot;undefined&quot;))
	if (document[&quot;referrer&quot;] != null) 
		f = document.referrer;</PRE>
<PRE>// convert all the unknown's into blank
if ((f == &quot;&quot;) || (f == &quot;[unknown origin]&quot;) || (f == &quot;unknown&quot;) || (f == &quot;undefined&quot;))
	f = &quot;&quot;;</PRE>
<PRE>// escape the referral
f = escape(f);</PRE>
<PRE>// getting data ready to send -------------------------------
r=&quot;?id=&quot;+id+&quot;&amp;referer=&quot;+f+&quot;&amp;r=&quot;+s+&quot;&amp;c=&quot;+c+&quot;&amp;showme=&quot;+showme+&quot;&amp;st=&quot;+st+&quot;&amp;title=&quot;+t;</PRE>
<PRE>// adding logid if called by st='phpjs'
if(jslogid==null) var jslogid = 0;
else r = r + &quot;&amp;jslogid=&quot;+jslogid;
</PRE>
<PRE>if (st=='js') { // calling PowerPhlogger by JavaScript-tag
	if (v != &quot;Microsoft Internet Explorer&quot;) {
		r = r+&quot;&amp;url=&quot;+document.URL; // $HTTP_REFERER problem with NS,...
	}
	document.open();
	document.write(&quot;&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;http://kostenloser-besucherzaehler.ranking-konzept.de/pphlogger.php&quot;+r+&quot;\&quot;&gt;&lt;/script&gt;&quot;);
	document.close();
} else { // calling PowerPhlogger by IMG-tag
	rand = Math.round(1000*Math.random());
	r = r+&quot;&amp;b=&quot;+rand;  //force the page to load the IMG
	document.open();
	document.write(&quot;&lt;img src=\&quot;http://kostenloser-besucherzaehler.ranking-konzept.de/pphlogger.php&quot;+r+&quot;\&quot; alt=\&quot;\&quot; border=\&quot;0\&quot;&gt;&quot;);
	document.close();
}</PRE>
