/*
 * Modul: wws.js
 * Version: 1.0
 * Datum: 30.07.2007
 *
 * Copyright © 2007 TENSQUARE gmbh, www.tensquare.de
 */
var s={js:"1",ti:0,r:document.referrer,scrn:screen.width+"x"+screen.height+"x"+((screen.colorDepth)?screen.colorDepth:screen.pixelDepth),deskt:screen.availWidth+"x"+screen.availHeight,wini:null,plugins:null,web:{name:"default"},wws:{domain:"wws.4call.de"},options:{trackPlugins:false},init:function(_1){
this.web.name=(_1)?_1:"";
var d=this.getWinInnerDim();
this.wini=d.w+"x"+d.h;
this.ti=new Date().getTime();
if(this.options.trackPlugins){
var p=navigator.plugins;
if(p&&p.length){
var pl="";
for(var i=0;i<p.length;i++){
if(i>0){
pl+=";";
}
pl+=p[i].name;
}
this.plugins=pl;
}
}
},getWinInnerDim:function(){
if(self.innerHeight){
return {w:self.innerWidth,h:self.innerHeight};
}else{
if(document.documentElement&&document.documentElement.clientHeight){
return {w:document.documentElement.clientWidth,h:document.documentElement.clientHeight};
}else{
if(document.body){
return {w:document.body.clientWidth,h:document.body.clientHeight};
}else{
return null;
}
}
}
},itSrc:function(){
var q="";
var _7=(encodeURIComponent)?encodeURIComponent:escape;
var ti=new Date();
for(var p in this){
v=this[p];
if((typeof v=="function")||(typeof v=="undefined")||(typeof v=="object")||(v=="")||(v==null)){
continue;
}
//q+=p+"="+_7(this[p])+"&";
q+=p+"="+this[p]+"&";
}
return "http://"+this.web.name+"."+this.wws.domain+"/?"+q;
},it:function(){
return "<"+"img src=\""+this.itSrc()+"\" width=\"1\" height=\"1\" alt=\"\" style=\"position:absolute;left:0\" />";
}};
