if (document.layers) {navigator.family = "nn4"}
if (document.all) {navigator.family = "ie4"}
if (window.navigator.userAgent.toLowerCase().match("gecko")) {navigator.family = "gecko"}
// ######### popup text
descarray = new Array(
"EXTERNAL LINK"
);
overdiv="0";
// ######### CREATES POP UP BOXES
function popLayer(a){
if(!descarray[a]){descarray[a]="This popup (#"+a+") isn't setup correctly - needs description";}
if (navigator.family == "gecko") {pad="0"; bord="0 bordercolor=black";}
else {pad="1"; bord="0";}
desc = "
";
if(navigator.family =="nn4") {
document.object1.document.write(desc);
document.object1.document.close();
document.object1.left=x+15;
document.object1.top=y-5;
}
else if(navigator.family =="ie4"){
object1.innerHTML=desc;
object1.style.pixelLeft=x+15;
object1.style.pixelTop=y-5;
}
else if(navigator.family =="gecko"){
document.getElementById("object1").innerHTML=desc;
document.getElementById("object1").style.left=x+15;
document.getElementById("object1").style.top=y-5;
}
}
function hideLayer(){
if (overdiv == "0") {
if(navigator.family =="nn4") {eval(document.object1.top="-500");}
else if(navigator.family =="ie4"){object1.innerHTML="";}
else if(navigator.family =="gecko") {document.getElementById("object1").style.top="-500";}
}
}
// ######## TRACKS MOUSE POSITION FOR POPUP PLACEMENT
var isNav = (navigator.appName.indexOf("Netscape") !=-1);
function handlerMM(e){
x = (isNav) ? e.pageX : event.clientX + document.body.scrollLeft;
y = (isNav) ? e.pageY : event.clientY + document.body.scrollTop;
}
if (isNav){document.captureEvents(Event.MOUSEMOVE);}
document.onmousemove = handlerMM;
// End -->
function popupfenster(loc,name,w,h,wintop,winleft,res,scrollb,menub,toolb,direct,locat,stat)
{
if(wincount>0 && newWin.closed!=true)
{
newWin.close();
wincount--;
}
if(!wintop) wintop=0;
if(!winleft) winleft=0;
var attributes = "";
if(loc.indexOf("online")!=-1) {
h=570;
}
attributes = attributes + "width=" + w;
attributes = attributes + ",height=" + h;
attributes = attributes + ",top=" + wintop;
attributes = attributes + ",left=" + winleft;
attributes = attributes + ",resizable=" + (res ? "no" : "yes");
attributes = attributes + ",scrollbars=" + (scrollb ? "no" : "yes");
attributes = attributes + ",menubar=" + (menub ? "yes" : "no");
attributes = attributes + ",toolbar=" + (toolb ? "yes" : "no");
attributes = attributes + ",directories=" + (direct ? "yes" : "no");
attributes = attributes + ",location=" + (locat ? "yes" : "no");
attributes = attributes + ",status=" + (stat ? "yes" : "no");
if(name=='suche')
{
loc+=document.forms[0].elements[0].value;
}
newWin=window.open(loc,name,attributes);
wincount++;
}
wincount=0;
function documentwindow(loc) {
docWin=window.open(loc,'docwindow','width=640,height=480,menubar');
}
function fenster(loc,name,w,h)
{
eval('newin=window.open("'+loc+document.forms[0].elements[0].value+'","'+name+'","scrollbars=yes,resizable=yes,width='+w+',height='+h+'")');
}
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
function downImage() {
var g7;
if ((g7=MM_findObj(g7obj))!=null) {g7.src=g7url;}
}
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i-1&&navigator.appVersion.indexOf("Mac")>-1)){
ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left);y=parseInt(g.style.top);}else{
w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10;a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b;
x=document.body.scrollLeft+event.clientX+bx;y=document.body.scrollTop+event.clientY;}}
}else if(document.layers){x=g.x;y=g.y;q0=document.layers,dd="";for(var s=0;s-1 && navigator.appVersion.indexOf("Mac")>-1){
xx+=parseInt(document.body.leftMargin);yy+=parseInt(document.body.topMargin);}
e.left=xx+pa;e.top=yy+pa;}}}
}
function P7_hideDiv(evt) { //v1.3 by PVII
var b,relT,mT=false;
if(document.layers){b=evt.target;if(b.p7aHide){
b.visibility="hidden";}else{routeEvent(evt);}
}else if(document.all&&!window.opera){b=event.srcElement;
while(b!=null){if(b.tagName=="DIV" && b.p7ahD){mT=true;break;}b=b.parentElement;}
if(!b.contains(event.toElement)){b.style.visibility="hidden";}
}else if(document.getElementById){b=evt.currentTarget;relT=evt.relatedTarget;
while(relT!=null){if(b==relT){mT=true;break;}
relT=relT.parentNode;}if(!mT){b.style.visibility="hidden";}}
}
function P7_autoHide() { //v1.3 by PVII
var i,g,args=P7_autoHide.arguments;
for(i=0;i