

function hiderabatt()

{
document.getElementById('RabattLayer').style.visibility='hidden';
}





function P7_autoLayers()

{



//v1.4 by PVII
 var g,b,k,f,args=P7_autoLayers.arguments;a=parseInt(args[0]);if(isNaN(a))a=0;
 if(!document.p7setc){p7c=new Array();document.p7setc=true;for(var u=0;u<10;u++){
 p7c[u]=new Array();}}for(k=0;k<p7c[a].length;k++){if((g=MM_findObj(p7c[a][k]))!=null){
 b=(document.layers)?g:g.style;b.visibility="hidden";}}for(k=1;k<args.length;k++){
 if((g=MM_findObj(args[k]))!=null){b=(document.layers)?g:g.style;b.visibility="visible";f=false;
 for(var j=0;j<p7c[a].length;j++){if(args[k]==p7c[a][j]) {f=true;}}
 if(!f){p7c[a][p7c[a].length++]=args[k];}}}


}















function anpassen()
{
  





if  (window.location.pathname  =='/')
 {    
document.getElementById('Rabattaktion').style.visibility='hidden';
   document.getElementById('NidaplastAdvert').style.visibility='visible';
 flashdiv = document.getElementById('NidaplastAdvert');
content='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="199" height="155"><param name="movie" value="nidaplast_banner.swf?clickTAG=http://www.eternit-flachdach.de/index.php?id=185&clickTARGET=_self"><param name="quality" value="high">  <embed src="nidaplast_banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="199" height="155"></embed></object>';
  flashdiv.innerHTML = content;
 }






  var  ref2        = document.getElementById("content_oben");
  var   miny = 100;
    
if  (Number(ref2.offsetHeight)  < Number(miny))   
 {    
    
    document.getElementById("content_unten").style.height='495px';

 }

 

  var   miny = 60;
    
if  (Number(ref2.offsetHeight)  < Number(miny))   
 {    
    
    document.getElementById("content_unten").style.height='575px';

 }

   
}

function Go(x)
   {

var test  = x.substr(x.length-3,3);

if (test == 'pdf') 
{window.open( x );}


if (test != 'pdf' )
{window.location.href = x;}



  }


function ausdrucken() {

window.print();
  
}