//Funktion zum Verlinken von Teaserflaechen

function changeFrames() {

   parent.frames.main.src = "mc_sxcup.htm";
   parent.frames.main.src = "mc_jackpot.htm";
   parent.frames.main.src = "mc_finanz.htm";
   parent.frames.main.src = "ev_cruiserfest.htm";
   parent.frames.main.src = "ev_greentour.htm";
   parent.frames.main.src = "ev_oscher.htm";
   parent.frames.main.src = "ev_intermot.htm";
   parent.frames.main.src = "mc_motocwm.htm";
   parent.frames.main.src = "ev_boot2003.htm";
   parent.frames.main.src = "mc_messen.htm";
   
}


// This script was written by Nathan Wenneker
// naw@3eagles.com
// http://www.geocities.com/SiliconValley/Pines/7183
// http://www.geocities.com/SiliconValley/Lakes/3595


// This script is free to use as long as you keep
// these comments with it.

// This script scrolls a message through a text box.
// the box can be any size  and cen be put anywhere
// on your page.  Set "speedtogo" higher to go slower 
// and lower to go faster.  Replace the second "f" with
// your text.

// Enjoy.


var temp
var f = "                              "
var f = f + "Ladies and Gentlemen we wish you a very nice day and good luck"
var speedtogo = 100

var counter


function scrollon() {
        
   temp  = f.substring(0,1);
   f += temp
   f    = f.substring(1,f.length);
   document.wow.display.value = f.substring(0,55);
  
  counter    = setTimeout("scrollon()",speedtogo);

 }

//Funktion zum Oeffnen eines neuen Fensters
function openWin (url,mwidth,mheight)
        {
         var NewsWin = window.open(url,"hersteller","toolbar=no,status=yes,scrollbars=no,resizable=no,width=" + mwidth + ",height=" + mheight) 
        }


//Funktion zum Verlinken von Pulldown Menues 
function GMForm20ad5bLink(){ if(document.GMForm20ad5b.GoMenu.options[document.GMForm20ad5b.GoMenu.selectedIndex].value != ''){location.href = document.GMForm20ad5b.GoMenu.options[document.GMForm20ad5b.GoMenu.selectedIndex].value; document.GMForm20ad5b.GoMenu.selectedIndex=0; 
} }


//Funktion zum Verlinken von Pulldown Menues NewsTop
function GMForm10ad5bLink(){  if(document.GMForm10ad5b.GoMenu.options[document.GMForm10ad5b.GoMenu.selectedIndex].value != ''){parent.top.location.href = document.GMForm10ad5b.GoMenu.options[document.GMForm10ad5b.GoMenu.selectedIndex].value; document.GMForm10ad5b.GoMenu.selectedIndex=0; 
} } 
 
 
 
//Rollover Funktion  --- 
 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_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_findObj(n, d) { //v3.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); 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];}
}


//Funktion zum &Ouml;ffnen eines neuen grossen Fensters mit dem Aufruf --- openpopup_foto('Pfad + Dateiname', 'Name des Fensters', 'Breite des Fensters', 'H&ouml;he des Fensters') ---
var temp;
function openpopup_foto (myfile, myname, breite, hoehe)
{
        if((navigator.appName.indexOf("Explorer")!=-1)&&(parseInt(navigator.appVersion.substring(0,1))<4))
                {
                params = "width=" + breite + ",height=" + hoehe + ",resizable=0,status=0,scrollbars=0,toolbar=0,location=0,directories=0,menubar=0,top=10,left=90";
        newwin = window.open( myfile , myname , params) ;
                }
        else
                {
                        if(temp)
                        {
                                if(!temp.closed)
                                        {
                                        temp.close();temp="";
                                        }
                        }
                
        params = "width=" + breite + ",height=" + hoehe + ",resizable=0,status=0,scrollbars=0,toolbar=0,location=0,directories=0,menubar=0,top=10,left=90";
        newwin = window.open( myfile , myname , params) ;
                temp = newwin;
                temp.name = "temp";
                newwin="";
                }
}

//Funktion zum &Ouml;ffnen eines neuen grossen Fensters mit dem Aufruf --- openpopup_gross('Pfad + Dateiname', 'Name des Fensters', 'Breite des Fensters', 'H&ouml;he des Fensters') ---
var temp;
function openpopup_gross (myfile, myname, breite, hoehe)
{
        if((navigator.appName.indexOf("Explorer")!=-1)&&(parseInt(navigator.appVersion.substring(0,1))<4))
                {
                params = "width=" + breite + ",height=" + hoehe + ",resizable=0,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,top=0,left=0";
        newwin = window.open( myfile , myname , params) ;
                }
        else
                {
                        if(temp)
                        {
                                if(!temp.closed)
                                        {
                                        temp.close();temp="";
                                        }
                        }
                
        params = "width=" + breite + ",height=" + hoehe + ",resizable=0,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,top=0,left=0";
        newwin = window.open( myfile , myname , params) ;
                temp = newwin;
                temp.name = "temp";
                newwin="";
                }
}


//Funktion zum &Ouml;ffnen eines neuen grossen Fensters mit dem Aufruf --- openpopup_haendler('Pfad + Dateiname', 'Name des Fensters', 'Breite des Fensters', 'H&ouml;he des Fensters') ---
var temp;
function openpopup_haendler (myfile, myname, breite, hoehe)
{
        if((navigator.appName.indexOf("Explorer")!=-1)&&(parseInt(navigator.appVersion.substring(0,1))<4))
                {
                params = "width=" + breite + ",height=" + hoehe + ",resizable=0,status=0,scrollbars=1,toolbar=1,location=0,directories=0,menubar=0,top=0,left=100";
        newwin = window.open( myfile , myname , params) ;
                }
        else
                {
                        if(temp)
                        {
                                if(!temp.closed)
                                        {
                                        temp.close();temp="";
                                        }
                        }
                
        params = "width=" + breite + ",height=" + hoehe + ",resizable=0,status=0,scrollbars=1,toolbar=1,location=0,directories=0,menubar=0,top=0,left=100";
        newwin = window.open( myfile , myname , params) ;
                temp = newwin;
                temp.name = "temp";
                newwin="";
                }
}


