

dom = document.layers;

function getlayer(param){
   if(dom)
       return document.layers[param];
	else{
	   if( navigator.userAgent.indexOf("MSIE 4.0") != -1)
		    return document.all[param].style;
		else{

          return document.getElementById(param).style;
       }
	}
}

function init(){

}

function pos(param,offset){
   var obj = getlayer(param);
	var a = parseInt(obj.top);
	if(offset){  
	   a += parseInt(offset);
	}

   layer_punkt.top = a;
}

function show(param){
   var obj = getlayer(param);
   obj.visibility = "visible";
}

function hide(param){
   var obj = getlayer(param);
   obj.visibility = "hidden";
}

function layer_move(param, offset){

   for(i=param; i<=11; i++){
      a = "nav" + i;
      var obj = getlayer(a);
      obj.top = parseInt(obj.top) + offset;     
   }
}


function pop_up(url){
  a = window.open(url,'test','width=550,height=530,menubar=yes,scrollbars=yes');
}

function pop_up_web(param){
   a= window.open(param,'','width=800,height=590');
}

function pop_up_weiterempfehlen(){
   a= window.open("weiterempfehlen.htm",'','width=610,height=590');
}

function print_win(){
    window.print();
}
