home *** CD-ROM | disk | FTP | other *** search
- ie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
- ns4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4 ));
-
- var mac = navigator.appVersion.lastIndexOf("Macintosh"); // Abfrage fuer Mac mit IE
- if (ns4)
- document.write("<link rel=stylesheet href=stylens.css type=text/css>");
- if (ie4)
- document.write("<link rel=stylesheet href=style.css type=text/css>");
-
- function changeScrollbarColor() {
- if (ie4){
- if (document.all) {
- document.body.style.scrollbarBaseColor = "#4A4A4A";
- }
- }
- }
-
- function legende(){
- if (ns4)
- document.write("<img src=legende_ns.gif>");
- if (ie4)
- document.write("<img src=legende.gif>");
- }
-
- function fillup(){
- if (ns4) {
- document.write("<img src=platzhalter.gif height=10 width=10 vspace=0 hspace=0 border=0><br><img src=platzhalter.gif height=14 width=43 align=left vspace=0 hspace=0 border=0><table width=296 border=0 cellspacing=0 cellpadding=1>");
- document.write("<tr>");
- document.write("<td align=center colspan=2><form name=form1>");
- document.write("<textarea name=textfield cols=22 rows=13 wrap=VIRTUAL>");
- }
- if (ie4) {
- document.write("<img src=platzhalter.gif height=12 width=10 vspace=0 hspace=0 border=0><br><img src=platzhalter.gif height=14 width=40 align=left vspace=0 hspace=0 border=0><table width=297 border=0 cellspacing=0 cellpadding=1 background=bildramen.gif>");
- document.write("<tr>");
- document.write("<td align=center colspan=2 valign=middle><form name=form1>");
- document.write("<textarea name=textfield cols=39 rows=13 wrap=VIRTUAL>");
- }
- }
-
- function fillup_lang(){
- if (ns4) {
- document.write("<img src=platzhalter.gif height=12 width=10 vspace=0 hspace=0 border=0><br><img src=platzhalter.gif height=14 width=44 align=left vspace=0 hspace=0 border=0><table width=296 border=0 cellspacing=0 cellpadding=1>");
- document.write("<tr>");
- document.write("<td align=center colspan=2><form name=form1>");
- document.write("<textarea name=textfield cols=22 rows=8 wrap=VIRTUAL>");
- }
- if (ie4) {
- document.write("<img src=platzhalter.gif height=12 width=10 vspace=0 hspace=0 border=0><br><img src=platzhalter.gif height=14 width=40 align=left vspace=0 hspace=0 border=0><table width=297 border=0 cellspacing=0 cellpadding=1 background=bildramen.gif>");
- document.write("<tr>");
- document.write("<td align=center colspan=2 valign=middle><form name=form1>");
- document.write("<textarea name=textfield cols=39 rows=8 wrap=VIRTUAL>");
- }
- }
-
- function fillup_quer(){
- if (ns4) {
- document.write("<img src=platzhalter.gif height=14 width=10 align=left vspace=0 hspace=0 border=0><table width=296 border=0 cellspacing=0 cellpadding=1>");
- document.write("<tr>");
- document.write("<td align=center colspan=2><form name=form1>");
- document.write("<textarea name=textfield cols=22 rows=20 wrap=VIRTUAL>");
- }
- if (ie4) {
- document.write("<img src=platzhalter.gif height=14 width=13 align=left vspace=0 hspace=0 border=0><table border=0 cellspacing=0 cellpadding=1 background=bildramen.gif>");
- document.write("<tr>");
- document.write("<td align=center colspan=2 valign=middle><form name=form1>");
- document.write("<textarea name=textfield cols=38 rows=20 wrap=VIRTUAL>");
- }
- }
-
-
- function abstand_lang(){
- if (ie4)
- document.write("<tr bgcolor=#FFF2BE><td colspan=2><img src=platzhalter.gif height=3 width=10 vspace=0 hspace=0 border=0></td></tr>");
- }
-
- function abstand(){
- if (ns4) {
- document.write("<img src=platzhalter.gif height=14 width=10 vspace=0 hspace=0 border=0>");
- }
- if (ie4) {
- document.write("<img src=platzhalter.gif height=11 width=10 vspace=0 hspace=0 border=0>");
- }
- }
-
- function abstand1(){
- if (ns4) {
- document.write("<img src=platzhalter.gif height=10 width=10 vspace=0 hspace=0 border=0>");
- }
- if (ie4) {
- document.write("<img src=platzhalter.gif height=12 width=10 vspace=0 hspace=0 border=0>");
- }
- }
-
-
- function changesize() {
- abstandlinks = (screen.availWidth - 654) / 2;
- abstandoben = (screen.availHeight - 595) / 2;
- abstandlinks1= abstandlinks /4;
- abstandoben1 = abstandoben /4;
- self.moveTo(abstandlinks,abstandoben);
- self.resizeTo(644,585);
- }
-
- function liste_open(){
- var abstandL1 = (screen.availWidth - 654) / 2;
- var abstandT1 = (screen.availHeight - 595) / 2;
- popitup = window.open('liste.htm','liste','status=no,scrollbars=no,width=180,height=230,resizable=no,top='+abstandT1+',left='+abstandL1+'');
- if (popitup != null) {
- if (popitup.opener == null) {
- popitup.opener = self;
- }
- popitup.location.href = "liste.htm";
- setTimeout("if (popitup) popitup.focus();",10);
- }
- }
-
- function stadt(id){
- city = "1_" + id + ".htm";
- opener.parent.location.href=city;
- self.close();
- }
-
- function laden(seiten) {
- parent.header.location.href=seiten + "_kopf.htm";
- parent.ipix.location.href=seiten + ".htm";
- parent.texte.location.href=seiten + "_text.htm";
- }
-
- function MM_preloadImages() { //v3.0
- var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
- var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
- if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
- }
-
- function MM_swapImgRestore() { //v3.0
- var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
- }
-
- function MM_findObj(n, d) { //v4.0
- 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<d.forms.length;i++) x=d.forms[i][n];
- for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
- if(!x && document.getElementById) x=document.getElementById(n); return x;
- }
-
- function MM_swapImage() { //v3.0
- var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
- if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
- }