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) { //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];}
}
function morenews(pfad) {
  window.open(pfad,"","width=550,height=430,resizable=yes,scrollbars=yes");
}

function showtenneck(pfad) {
  window.open(pfad,"","screenX=10,screenY=10,width=870,height=460,resizable=yes,scrollbars=no");
}

function showenv1() {
  window.open("env1.html","","screenX=10,screenY=10,width=520,height=410,resizable=yes,scrollbars=no");
}

function showenv2() {
  window.open("env2.html","","screenX=10,screenY=10,width=650,height=530,resizable=yes,scrollbars=no");
}

function showenvdiag() {
  window.open("envdiag.html","","screenX=10,screenY=10,width=775,height=445,resizable=yes,scrollbars=no");
}

function showq1() {
  window.open("q1.html","","screenX=10,screenY=10,width=470,height=310,resizable=yes,scrollbars=no");
}
function showq2() {
  window.open("q2.html","","screenX=10,screenY=10,width=460,height=370,resizable=yes,scrollbars=no");
}

function showq3() {
  window.open("q3.html","","screenX=10,screenY=10,width=670,height=460,resizable=yes,scrollbars=no");
}

function showq4() {
  window.open("q4.html","","screenX=10,screenY=10,width=690,height=510,resizable=yes,scrollbars=no");
}

function showq5() {
  window.open("q5.html","","screenX=10,screenY=10,width=670,height=360,resizable=yes,scrollbars=no");
}

function showq6() {
  window.open("q6.html","","screenX=10,screenY=10,width=650,height=580,resizable=yes,scrollbars=no");
}

function showq7() {
  window.open("q7.html","","screenX=10,screenY=10,width=690,height=510,resizable=yes,scrollbars=no");
}

function showhistpic(pfad) {
  window.open(pfad,"","screenX=10,screenY=10,width=670,height=463,resizable=yes,scrollbars=no");
}

function showsite(pfad) {
  window.open(pfad,"","width=400,height=400,resizable=yes,scrollbars=yes");
}

function showcontacts(pfad) {
  window.open(pfad,"","width=450,height=460,resizable=yes,scrollbars=no");
}

function showimpressum(pfad) {
  window.open(pfad,"","width=580,height=460,resizable=yes,scrollbars=no");
}

function showjobs(pfad) {
  window.open(pfad,"","width=550,height=490,resizable=yes,scrollbars=yes");
}

function showcert(pfad) {
  window.open(pfad,"","screenX=10,screenY=10,width=550,height=580,resizable=yes,scrollbars=yes");
}

function printnews() {
  window.print();
}

function Golanguage(x) {

    loc=parent.frames[1].document.URL;
    Ergebnis = x.search(/german/); 
    if(Ergebnis == -1)  
    {
    	loc = loc.replace(/german/,"english");
        parent.footer.location.href = "../english/footer.php";   
    }
    else
    {
	loc = loc.replace(/english/,"german");
        parent.footer.location.href = "../german/footer.php";
    } 

    if(x == "nothing")
    {
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
      return;
    }
    else if(x == "end") top.location.href = parent.frames[0].location;
    else
    {
      //parent.frames[0].location.href = x+"menu.html";
      parent.frames[1].location.href = loc;
      //document.forms[0].reset();
      document.forms[0].elements[0].blur();
    }
}

function golangmenu(x) {

    loc=top.frame3.document.URL;
    Ergebnis = x.search(/german/);
    if(Ergebnis == -1)  
    {
    	loc = loc.replace(/german/,"english");
        parent.footer.location.href = "../english/footer.php";
        top.frame3.location.href = loc;   
    }
    else
    {
	loc = loc.replace(/english/,"german");
        parent.footer.location.href = "../german/footer.php";
	top.frame3.location.href = loc;
    }
}

function Gomenu(x) {
    if(x == "nothing")
    {
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
      return;
    }
    else if(x == "end") top.location.href = parent.frames[0].location;
    else
    {
      parent.frames[1].location.href = x;
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
    }
}

function Gocountry(x) {
    if(x == "nothing")
    {
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
      return;
    }
    else if(x == "end") top.location.href = parent.frames[0].location;
    else
    {
      parent.frames[1].location.href = x;
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
    }
}

function onloadevent() {

//parent.footer.location.href = "footer.php";
}

function onloaddown() {

parent.frame3.location.href = "download.html";
}

function onloadprodfac() {

parent.frame3.location.href = "prodfac.html";
}

function onloadmenu() {
 parent.menu.location.href = "menu.html";
}

function loadmenu_cp() {
 parent.menu.location.href = "menu_cp.html";
}

function loadmenu_prod() {
 parent.menu.location.href = "menu_prod.html";
}

function loadmenu_sales() {
 parent.menu.location.href = "menu_sales.html";
}

function loadmenu_down() {
 parent.menu.location.href = "menu_down.html";
}

function loadmenu_prodfac() {
 parent.menu.location.href = "menu_prodfac.html";
}

function loadmenu_loc() {
 parent.menu.location.href = "menu_loc.html";
}

function loadmenu_hist() {
 parent.menu.location.href = "menu_hist.html";
}

function loadmenu_whoweare() {
 parent.menu.location.href = "menu_whoweare.html";
}

function loadmenu_executives() {
 parent.menu.location.href = "menu_executives.html";
}

function loadmenu_keyfigures() {
 parent.menu.location.href = "menu_keyfigures.html";
}

function loadmenu_env() {
 parent.menu.location.href = "menu_env.html";
}

function loadmenu_produ() {
 parent.menu.location.href = "menu_produ.html";
}

function loadmenu_qual() {
 parent.menu.location.href = "menu_qual.html";
}

function loadmenu_team() {
 parent.menu.location.href = "menu_team.html";
}

function loadmenu_reg() {
 parent.menu.location.href = "menu_reg.html";
}
function gohome() {
	parent.menu.location.href = "menu.html";
	parent.frames[1].location.href = "main.html";
}

function printzert(image) {
NewWindow = window.open(image,"","screenX=10,screenY=10,width=450,height=580,resizable=yes,scrollbars=no");
NewWindow.focus();
NewWindow.print();
//NewWindow.close();
}


