//
// Neues Fenster öffnen mit der Breite 400 Pixel
//
function empfehlen() {
  var width = 400;

  var args = empfehlen.arguments;

  var theURL   = args[0];
  var height   = (args[1] ? args[1] : 400);
  var toolbar  = (args[2] == 1 ? "yes" : "no");
  var location = (args[3] == 1 ? "yes" : "no");

  var param = "scrollbars=no,width=" + width + ",height=" + height + ",toolbar=" + toolbar + ",location=" + location;
  var win = window.open(theURL,'coll',param);

  win.moveTo((screen.width-width)/2,(screen.height-height)/2);

  win.focus();
}

//
// Neues Fenster öffnen mit der Breite 400 Pixel
//
function vorschau() {
  var width = 500;

  var args = vorschau.arguments;

  var theURL   = args[0];
  var height   = (args[1] ? args[1] : 500);
  var toolbar  = (args[2] == 1 ? "yes" : "no");
  var location = (args[3] == 1 ? "yes" : "no");

  var param = "scrollbars=no,width=" + width + ",height=" + height + ",toolbar=" + toolbar + ",location=" + location;
  var win = window.open(theURL,'coll',param);

  win.moveTo((screen.width-width)/2,(screen.height-height)/2);

  win.focus();
}

function show() {
  var width = 700;

  var args = show.arguments;

  var theURL   = args[0];
  var height   = (args[1] ? args[1] : 700);
  var toolbar  = (args[2] == 1 ? "yes" : "no");
  var location = (args[3] == 1 ? "yes" : "no");

  var param = "scrollbars=no,width=" + width + ",height=" + height + ",toolbar=" + toolbar + ",location=" + location;
  var win = window.open(theURL,'coll',param);

  win.moveTo((screen.width-width)/2,(screen.height-height)/2);

  win.focus();
}


//
// Neues Fenster öffnen mit der Breite 400 Pixel
//
function agb() {
  var width = 800;

  var args = agb.arguments;

  var theURL   = args[0];
  var height   = (args[1] ? args[1] : 500);
  var toolbar  = (args[2] == 1 ? "yes" : "no");
  var location = (args[3] == 1 ? "yes" : "no");

  var param = "scrollbars=yes,width=" + width + ",height=" + height + ",toolbar=" + toolbar + ",location=" + location;
  var win = window.open(theURL,'coll',param);

  win.moveTo((screen.width-width)/2,(screen.height-height)/2);

  win.focus();
}
//
// Dreamweaver-Funktionen
//


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 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_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}






