
//window.defaultStatus="Praxis";
var newwin;

var is_ns4up = true;
var is_ie4up = false;

is_ns4up = (document.layers)? true:false;
is_ie4up = (document.all)? true:false;

if (is_ns4up)
	{
	HIDDEN="hide";
	VISIBLE="show";
	}
else if (is_ie4up)
	{
	HIDDEN="hidden";
	VISIBLE="visible";
	}
else
	{
	HIDDEN="hidden";
	VISIBLE="visible";
	}

var timer1 = null;



function hideAll()
{
document.getElementById("grund").style.visibility=HIDDEN;
document.getElementById("mittel").style.visibility=HIDDEN;
/*
if (is_ns4up)
	{
	//document.grund.visibility="hide";
	//document.mittel.visibility="hide";
	document.gramm.visibility="hide";
	}
else if (is_ie4up)
	{
	grund.style.visibility="hidden";
	mittel.style.visibility="hidden";
	//gramm.style.visibility="hidden";
	}
*/
}


function grundf()
{
hideAll();
document.getElementById("grund").style.visibility=VISIBLE;
//if (is_ns4up) document.grund.visibility="show";
//else if (is_ie4up) grund.style.visibility="visible";
}

function mittelf()
{
hideAll();
document.getElementById("mittel").style.visibility=VISIBLE;
//if (is_ns4up) document.mittel.visibility="show";
//else if (is_ie4up) mittel.style.visibility="visible";
}

function grammf()
{
hideAll();
document.getElementById("gramm").style.visibility=VISIBLE;
//if (is_ns4up) document.gramm.visibility="show";
//else if (is_ie4up) gramm.style.visibility="visible";
}






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) { //v4.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);
  if(!x && document.getElementById) x=document.getElementById(n); 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 tmt_findObj(n){
	var x,t; if((n.indexOf("?"))>0&&parent.frames.length){t=n.split("?");
	x=eval("parent.frames['"+t[1]+"'].document.getElementById('"+t[0]+"')");
	}else{x=document.getElementById(n)}return x;
}

function MM_openBrWindow(theURL,winName,features, myWidth, myHeight,
isCenter) { file://v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
popwin=window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth
+',height='+myHeight);
}


function popThis(url)
{
MM_openBrWindow('./pops/'+url,'popwindow','scrollbars=no','500','336','false');
popwin.focus();
}

function sampleThis(url)
{
MM_openBrWindow('./samples/'+url,'samplewindow','scrollbars=no','500','410','false');
popwin.focus();
}

function preloadAll()
{
MM_preloadImages(
'./pics/bar.jpg',
'./pics/clear.gif',
'./pics/fade.jpg',
'./pics/fill.gif',
'./pics/logo1.jpg',
'./pics/logo2.jpg',
'./pics/logo3.jpg',
'./pics/p-bott.gif',
'./pics/popbott.gif',
'./pics/poptop.gif',
'./pics/p-top.gif',
'./menu/fill.gif',
'./menu/m1.gif',
'./menu/m10.gif',
'./menu/m10o.gif',
'./menu/m1o.gif',
'./menu/m2.gif',
'./menu/m2o.gif',
'./menu/m3o.gif',
'./menu/m4.gif',
'./menu/m4o.gif',
'./menu/m5.gif',
'./menu/m5o.gif',
'./menu/m6.gif',
'./menu/m6o.gif',
'./menu/m7.gif',
'./menu/m7o.gif',
'./menu/m8.gif',
'./menu/m8o.gif',
'./menu/bestellen.gif',
'./menu/bestellen-o.gif',
'./menu/kontakt.gif',
'./menu/kontakt-o.gif'

)
}


preloadAll();