<!-- 


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 popxxl(x,y,w,h,d,p) {
		$term1="./pop_xxl.php?artikelbezeichnung="+y+"&x="+w+"&y="+h+"&bilddatei="+x+"&titel="+d+"&preis="+p;
		$term2="width=" + w + ",height="+h+",screenX=90,screenY=90,menubar=no,scrollbars=1,toolbar=0,dependent=yes";
		zoomansicht = window.open($term1,d,$term2);
	}

	function poppreisgutschein (x) {
		$term="./pop_preisgutschein.php?artikelnummer="+x;
		gutschein = window.open($term,"Preisgutschein","width=508,height=733,screenX=150,screenY=80,menubar=yes,scrollbars=yes,toolbar=0");
	}
	function popmarke (x) {
		$term="./pop_marke.php?marken_id="+x;
		gutschein = window.open($term,"Marke","width=620,height=400,screenX=150,screenY=80,menubar=yes,scrollbars=yes,toolbar=0");
	}
	function popbewerbung (x) {
		$term="./pop_bewerbung.php?showjob="+x;
		gutschein = window.open($term,"Bewerbung","width=630,height=560,screenX=150,screenY=80,menubar=yes,scrollbars=yes,toolbar=0");
	}
	function popsignet (x) {
		$term="./pop_signet.php?signet_id="+x;
		signet = window.open($term,"Signet","width=395,height=220,screenX=150,screenY=80,menubar=no,scrollbars=yes,toolbar=0");
	}
	function popanfahrt () {
		$term="./pop_anfahrt.php";
		gutschein = window.open($term,"Anfahrt","width=650,height=710,screenX=50,screenY=40,menubar=no,scrollbars=no,toolbar=0");
	}
	function popkreditrechner () {
		$term="http://www.dresdner-cetelem.de/kreditrechner/faces/WEB-INF/jsp/creditoffering/entry.jsp?resetSession=true&/AuthentificationData/vendorID=2191906&/CreditCalculator/materialcode=320000&/CreditCalculator/creditName=Rechner%20POS%209,9";
		gutschein = window.open($term,"Anfahrt","width=350,height=480,screenX=50,screenY=40,menubar=no,scrollbars=no,toolbar=0");
	}
	function popgruppe () {
		$term="./pop_gruppe.php";
		gutschein = window.open($term,"Anfahrt","width=780,height=650,screenX=50,screenY=40,menubar=no,scrollbars=no,toolbar=0");
	}
	function pophilfe (x) {
		$term="./pop_hilfe.php?welchedenn="+x;
		Hilfe = window.open($term,"Hilfe","width=750,height=580,screenX=150,screenY=120,menubar=no,scrollbars=yes,toolbar=0");
	}
	function popempfehlen (x,y) {
		$term="./pop_empfehlung.php?artikelnummer="+x+"&artikelbezeichnung="+y;
		empfehlen = window.open($term,"Empfehlen","width=480,height=550,screenX=150,screenY=80,menubar=no,scrollbars=yes,toolbar=0");
	}
  var popup_tejo02 = null;
  function reisekat(URL,x,y,z) {
    popup_tejo02 = window.open(URL,'PopupTejo02','width='+x+',height='+y+',top=280,left=520,scrollbars='+z+',resizable=0,menubar=no,toolbar=0,dependent=yes');
    popup_tejo02.focus();
  }

//navilayerdef:
navil= new Array();
navil[0]="home";
navil[1]="produkte";
navil[2]="angebote";
navil[3]="prospekte";
navil[4]="unternehmen";


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");
	}


  var popup_tejo01 = null;

  function popup_open(URL,x,y,z) {
    if(popup_tejo01 != null && !popup_tejo01.closed) {
      popup_tejo01.close();
    }
    popup_tejo01 = window.open(URL,'PopupTejo01','width='+x+',height='+y+',top=180,left=220,scrollbars='+z+',resizable=0,menubar=no,toolbar=0,dependent=yes');
    popup_tejo01.focus();
  }
	
  function popup_close() {
    if(popup_tejo01 != null && !popup_tejo01.closed) {
      popup_tejo01.close();
    }
  }



function gehezu(adresse) {
 if (!window.opener){
	self.open(adresse)
 } else if (window.opener.closed){
	window.open(adresse);
	window.close();
 } else {
	window.opener.location.href = adresse;
	window.close();
 }
}
function drucken () {
this.window.print();
}






















 -->
