
/*
must be this
<script language="JavaScript" src="in_dateien/functions.js" type="text/javascript"></script>
*/

// default status
    window.defaultStatus = 'emitel +++ meet the expert' ;

// bilderwechsel

         buttonN = new Image();
          buttonN.src = "bildmaterial/juke_boxx/button1.gif";

        buttonH = new Image();
          buttonH.src = "bildmaterial/juke_boxx/button2.gif";


        // funktion bildwechsel

        function Bildwechsel(Bildname,Bildobjekt)  {
                   window.document.images[Bildname].src = Bildobjekt.src;
        }


// neue seite  ########## goTo(x) ##########

        function goTo(x) {
                window.location.href = x;
                                // alt. window.open();
        }

        // ein frame

 function einFrame(URL1,F1) {
  parent.frames[F1].location.href=URL1;

}

// zwei frames

 function ZweiFrames(URL1,F1,URL2,F2) {
  parent.frames[F1].location.href=URL1;
  parent.frames[F2].location.href=URL2;
 }

// drei frames

function DreiFrames(URL1,F1,URL2,F2,URL3,F3)
 {
  parent.frames[F1].location.href=URL1;
  parent.frames[F2].location.href=URL2;
  parent.frames[F3].location.href=URL3;
 }



// popup windows

function popUpWin(url,name,width,height,scrolling) {
    attr = "resizable=yes,location=no,menubar=no,toolbar=no,status=no,top=2,left="+((screen.width-width-10)/2) ;
    if (scrolling) attr = attr+",scrollbars=yes" ;
    if (width) attr = attr+",width="+width ;
    if (height) attr = attr+",height="+height ;
    var w = window.open(url,name,attr) ;
    w.focus() ;
}

