//######################################################################
//                           
//                              +Mouseover+
//
//######################################################################



bild_active = "";



function mouse_click(bild){

     eval("document." + bild + ".src='bilder/' + bild + '_on.jpg'");

	 if(bild_active!="" && bild_active!=bild){ 

       eval("document." + bild_active + ".src='bilder/' + bild_active + '.jpg'");	 

	 }

	 bild_active = bild;

}


function mouse_out(bild){

   if(bild_active!=bild){

     eval("document." + bild + ".src='bilder/' + bild + '.jpg'");

   }

}



function mouse_over(bild){

   if(bild_active!=bild){

     eval("document." + bild + ".src='bilder/' + bild + '_on.jpg'");

   }	 

}


//######################################################################
//                           
//                           +Fenster öffnen+
//
//######################################################################


function open_window(url,height,width,scroll)
{

    Jetzt = new Date();

    Stunden  = Jetzt.getHours();
    Minuten  = Jetzt.getMinutes();
    Sekunden = Jetzt.getSeconds();
						  
    Zeitstring = Stunden + Minuten + Sekunden;


    link = url + '&' + Zeitstring;

    window.open(link,'fenster','height='+height+',width='+width+',screenX=230,screenY=2,left=120,top=1,scrollbars='+scroll)

}

//######################################################################
//                           
//                           +Windows-Scroller+
//
//######################################################################

var speed1, currentpos1=curpos1_1=0,alt1=1,curpos1_2=-1

function startscroll(){

    setInterval("initialize1()",10)

}


function initialize1(){
   if (window.parent.scrollspeed1!=0){
       speed1=window.parent.scrollspeed1
       scrollwindow1()
   }
}

function scrollwindow1(){
   temp1=(document.all)? document.body.scrollLeft : window.pageXOffset
   alt1=(alt1==0)? 1 : 0
   
   if (alt1==0){
       curpos1_1=temp1
   } else {
       curpos1_2=temp1
   }

   window.scrollBy(speed1,0)
}

//######################################################################
//                           
//                           +Bestätigung+
//
//######################################################################

function check(msg,link){

   check_abfrage = confirm(msg);
   
   if(check_abfrage == true){
   
      window.open(link,'_self');
   
   }

}


