// JavaScript Document

 <!--
 function abmelden(lnk)
 {
 if(confirm('Möchten Sie sich wirklich von Pflegesuche.de abmelden?'))
     {
     document.location=lnk.href;
     }
 }
 //-->

 <!--
 function loeschen(lnk)
 {
 if(confirm('Möchten Sie diesen Datensatz wirklich löschen?'))
     {
     document.location=lnk.href;
     }
 }
 //-->

 <!--
 function mailloeschen(lnk)
 {
 if(confirm('Möchten Sie diesen Nachricht wirklich löschen?'))
     {
     document.location=lnk.href;
     }
 }
 //-->
 

 <!--
 function stelleloeschen(lnk)
 {
 if(confirm('Möchten Sie dieses Stellenangebot wirklich löschen?'))
     {
     document.location=lnk.href;
     }
 }
 //-->


 
 function toggleLayerStandard(state, posTop) {
	var obj = document.getElementById("infolayer_standard");

	var xOff = 0;
	var yOff = 0;

	if(!isNaN(document.documentElement.scrollTop) && !isNaN(document.body.clientHeight)) {
		yOff = document.documentElement.scrollTop + ((document.documentElement.clientHeight - 350) / 2);
		xOff = document.documentElement.scrollLeft + ((document.documentElement.clientWidth - 500) / 2);
	} else {
		xOff = 250;
		yOff = 1000;
	}
	obj.style.top = yOff + 'px';
	obj.style.left = xOff + 'px';
	obj.style.display = (state == 1) ? "block" : "none";
}

