var adrprt = new Array() // Hier beliebige  Emailaccounts angeben. Der Emailaccount ist der Name der Emailadresse vor dem "@" Zeichen.

adrprt[0]= "kanzlei";
var adrdmn = "pillig.de";  // Hier Ihren Domainnamen eingeben (ohne www)
var txt = "kanzlei@pillig.de"; // Hier den Text angeben, der als klickbarer Emaillink erscheinen soll!
var adr = new Array();
for(i=0;i<adrprt.length;i++)
{adr[i]  = "%3Ca%20href%3D%22mailto%3A" + adrprt[i]+ "&#64;" + adrdmn + "%22%20class%3D%22maillink%22%3E" + txt + "%3C/a%3E";}


//*** ***//

// Navigation Hover Script 

var originalId;
var isTimeout = false;



function K7DoHover(e)
{

if(e=="theSelectedItem"){}
else 

	{
	 
	 try
		{
		if(document.getElementById("theSelectedItem")){throw 1;}
		else {throw 0;}
		}
		
		catch(a)
		{
		if(a==1)
		
			{
			document.getElementById("theSelectedItem").id = originalId;
			
			}
		
		}
 
	  
	 originalId = document.getElementById(e).id;
	 document.getElementById(e).id = "theSelectedItem";
	
	}



	try
	{
	if(K7WaitUndoHover){throw 1;}
	}
	
	catch(i)
	{
	if(i==1){window.clearTimeout(K7WaitUndoHover);}
	}
	

}

function K7FadeHover()
{
K7WaitUndoHover = window.setTimeout("K7UndoHover()",1500);
}

function K7UndoHover()
{
window.clearTimeout(K7WaitUndoHover);
document.getElementById("theSelectedItem").id = originalId;
}

//*** Steuert die Druckversion an
function k7printversion()
{

	if(document.layers)
	{alert("Diese Funktion steht bei Netscape Browsern leider erst ab der Version 6 zur Verfügung")}
	else
	{printwindow = window.open('/printcontainer.htm','printwindow','menubar=yes,scrollbars=yes,width=800,height=600,left=0,top=0,resizable=yes');printwindow.focus();}

}

//*** Klick auf Navigation-Table

function k7goUrl(id)
{
if(!id){id="navselected";}


try 
{
if(document.getElementById(id).firstChild.href){throw true;}
else {throw false;}
}

catch(e)
{
if(e==true){location.href = document.getElementById(id).firstChild.href;}
else {window.status = "Hinweis: Nicht DOM fähiger Browser oder ID: "+id+" unbekannt";}
}

 
}

//*** Open Window

function k7openwindow()
{
var showimprint = window.open('impressum.htm','showimprint','width=340,height=500,left=250,top=200,resizable=yes');
showimprint.focus();
}


//******** Move

function move(wohin)
{
window.location.replace(wohin);
}


//* *************************** GA ***********************************************

//  var _gaq = _gaq || [];
//  _gaq.push(['_setAccount', 'UA-1418957-4']);
//  _gaq.push(['_gat._anonymizeIp']);
//  _gaq.push(['_trackPageview']);

//  (function() {
//    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
//    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
//    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
//  })();





//**************************************** End all









