<!--


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

   function Go(x)
   {
    if(x == "void")
    {
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
      return;
    }
    else
    {
      location.href = x;
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
    }
  }




	function produktinfo(x) {
		$term="./pop_produktinfo.php?show="+x;
		druckansicht = window.open($term,"Programminfo","width=350,height=250,screenX=150,screenY=80,menubar=no,scrollbars=yes,toolbar=0");
	}

	function showagb() {
		$term="./agb.htm";
		druckansicht = window.open($term,"AGB","width=495,height=650,screenX=10,screenY=10,menubar=no,scrollbars=yes,toolbar=0");
	}

	function showki() {
		$term="./kundeninformation.htm";
		druckansicht = window.open($term,"AGB","width=495,height=650,screenX=10,screenY=10,menubar=no,scrollbars=yes,toolbar=0");
	}

	function showbezahlen() {
    $term1="./pop_bezahlen.php";
    $term2="width=806,height=800,screenX=20,screenY=20,menubar=no,scrollbars=no,toolbar=0,dependent=yes";
    bezahlansicht = window.open($term1,"Bezahloptionen",$term2);
	}

	function showhelp() {
		$term="./aktuell/hilfe/index.htm";
		druckansicht = window.open($term,"AGB","width=560,height=600,screenX=10,screenY=10,menubar=no,scrollbars=yes,toolbar=0");
	}

	function showtipp(x) {
		$term="./aktuell/service/tippsundtricks/" + x;
		druckansicht = window.open($term,"Tipp","width=560,height=600,screenX=10,screenY=10,menubar=no,scrollbars=yes,toolbar=0");
	}

	function showurl(x) {
		druckansicht = window.open(x,"Loft","width=760,height=600,screenX=10,screenY=10,menubar=no,scrollbars=yes,toolbar=0");
	}
	function showurl2(x) {
		druckansicht = window.open(x,"Loft","width=590,height=420,screenX=90,screenY=90,menubar=no,scrollbars=yes,toolbar=0");
	}

	function popxxl(x,y,w,h) {
		$term1="./pop_xxl.php?show="+x+"&bezeichnung="+y+"&width="+w+"&height="+h;
		$term2="width=" + w + ",height="+h+",screenX=40,screenY=40,menubar=no,scrollbars=auto,toolbar=0,dependent=yes";
		druckansicht = window.open($term1,"PopUp",$term2);
	}
	function popxxl2(x,y,w,h) {
		$term1="./pop_xxl2.php?show="+x+"&bezeichnung="+y+"&width="+w+"&height="+h;
		$term2="width=" + w + ",height="+h+",screenX=40,screenY=40,menubar=no,scrollbars=auto,toolbar=0,dependent=yes";
		druckansicht = window.open($term1,"PopUp",$term2);
	}

	function popwarenkorb(x,y,w,h) {
		$term1="./pop_warenkorb.php?artikelnummer="+x+"&ausfuehrung="+y+"&menge="+w+"&funktion="+h;
		$term2="width=250,height=250,screenX=150,screenY=80,menubar=no,scrollbars=auto,toolbar=0,dependent=yes";
		druckansicht = window.open($term1,"PopUp",$term2);
	}
	function popplz(x,y) {
		$term1="./pop_plz.php?plz="+x+"&funktion="+y;
		$term2="width=250,height=180,screenX=150,screenY=80,menubar=no,scrollbars=auto,toolbar=0,dependent=yes";
		druckansicht = window.open($term1,"PopUp",$term2);
	}


//navilayerdef:
navil= new Array();
navil[0]="l_produkte";
navil[1]="l_stores";
navil[2]="l_service";


function MM_findObj(n, d)
{
  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];
  }
  if ( !x && d.getElementById )
  {
   x=d.getElementById( n );
  }
  for ( var i = 0; !x && i < d.forms.length; i++)
  {
   x=d.forms[i][n];
  }
  for( var i = 0; !x && d.layers && i < d.layers.length; i++)
  {
   x=MM_findObj(n,d.layers[i].document);
  }
  return x;
}

function showLayers(obj) { //v3.5
    	if ((objloc=MM_findObj(obj))!=null)
  	{
      		if (objloc.style)
    			{
    				objloc=objloc.style;
    			}
    		objloc.visibility="visible";		//set this object visible
    		for (i=0; i<navil.length;i++)		//hide all others.
	  	{
	  		if ((navil[i]!=obj) && (MM_findObj(navil[i])!=null))
	  		{
	  			otherobj=MM_findObj(navil[i]);
	  			if (otherobj.style)
	    			{
	    				otherobj=otherobj.style;
	    			}
    				otherobj.visibility="hidden";
			}
	  	}
    }
}

function hideLayers() { //v3.5
	for (i=0; i<navil.length;i++)		//hide ALL layers (in case we forgot any).
	  	{
	  		if (MM_findObj(navil[i])!=null)
	  		{
	  			otherobj=MM_findObj(navil[i]);
	  			if (otherobj.style)
	    			{
	    				otherobj=otherobj.style;
	    			}
    				otherobj.visibility="hidden";
			}
	  	}
}

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 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 werbeaktion(x,y) {
		$term="./werbeaktion.php";
		aktion = window.open($term,"Werbeaktion","width="+x+",height="+y+",screenX=150,screenY=150,menubar=no,scrollbars=no,toolbar=0,dependent=yes");
	}


	function lieferkosten() {
		$term="./lieferkosten.php";
		aktion = window.open($term,"Lieferkosten","width=300,height=450,screenX=150,screenY=80,menubar=no,scrollbars=yes,toolbar=0");
	}



























 -->
