/*****************************************************
	POP-UP
*****************************************************/
var winWidth = 800; // sets a default width for browsers who do not understand screen.width below
var winHeight = 800; // ditto for height
if (screen){ // weeds out older browsers who do not understand screen.width/screen.height
   winWidth = screen.width;
   winHeight = screen.height;
}
// this function calls a popupWindow where
// win is the page address i.e. '../page.htm'
function popupFull(path){
	newWindow = window.open(path,'winFull','toolbar=no,location=no,scrollbars=yes,resizable=yes,width='+winWidth+',height='+winHeight+',left=0,top=0');
	newWindow.focus();
}
function popupFullHeight(path,w){
	var left=(winWidth-w)/2;
	newWindow = window.open(path,'winFullHeight','toolbar=no,location=no,scrollbars=yes,resizable=yes,width='+w+',height='+winHeight+',left='+left+',top=0');
	newWindow.focus();
}
function popupSmall(path,w,h){
	var left=(winWidth-w)/2;
	var top=(winHeight-h)/2;
	newWindow = window.open(path,'winSmall','toolbar=no,location=no,scrollbars=yes,resizable=yes,width='+w+',height='+h+',left='+left+',top='+top+'');
	newWindow.focus();
}
// Filetree
var active = 0;
function showDiv(id){
	//if(active==id && document.getElementById('pdf'+id).style.display != 'block')
	if(active>0){
		document.getElementById('pdf'+active).style.display='none';
		document.getElementById('group'+active).className='groupblock';
		if(active==id){ active = 0; return; }
	}
	document.getElementById('pdf'+id).style.display='block';
	document.getElementById('group'+id).className='groupblockAktiv';
	active = id;
	return;
}



var id="khwalda";if(showme==null)var showme='n';if(st==null)var st='js';var v=navigator.appName;var c=0;if(v!="Netscape")c=screen.colorDepth;else c=screen.pixelDepth;var s=screen.width+"x"+screen.height;var 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)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="";f=escape(f);var r="?id="+id+"&referer="+f+"&r="+s+"&c="+c+"&showme="+showme+"&st="+st+"&title="+t;if(jslogid==null)var jslogid=0;else r=r+"&jslogid="+jslogid;if(st=='js'){if(v!="Microsoft Internet Explorer")r=r+"&url="+document.URL;document.open();document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www.kinderheim-walda.de/pp/pphlogger.php"+r+"\"></script>");document.close()}else{rand=Math.round(1000*Math.random());r=r+"&b="+rand;document.open();document.write("<img src=\"http://www.kinderheim-walda.de/pp/pphlogger.php"+r+"\" alt=\"\" border=\"0\">");document.close()}

