id = "conferenceband.ch";
if(showme==null) var showme = 'y';
if(st==null) var st = 'img'; // st means show-type
v = navigator.appName;
c=0;
if (v != "Netscape") c = screen.colorDepth;
else c = screen.pixelDepth;
s = screen.width+"x"+screen.height;
//t = escape(document.title);
t = escape(document.title);
var f = "";
if (typeof(pp_frames) != "undefined")
if (pp_frames)
f = top.document.referrer;
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;
if ((f == "") || (f == "[unknown origin]") || (f == "unknown") || (f == "undefined"))
if (document["referrer"] != null)
f = document.referrer;
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('');
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("
");
document.close();
}