<!-- 

// ============================================================================== 

if(top.frames.length > 0) { top.location.href = self.location; } 

// ============================================================================== 

window.defaultStatus = 'Blue Cheer HomePage - Design by Frank Oberländer in association with Dickie Peterson & Eric Albronda.'; 

// ============================================================================== 

var popupHeight; var popupWidth; 
function popUpWindow(popupUrl, popupName, popupHeight, popupWidth) { NewWin = window.open(popupUrl, popupName, 'height=320,width=640,scrollbars=1,resizable=1,directories=0,location=1,menubar=0,personalbar=0,status=1,toolbar=1'); NewWin.focus(); } 

// ============================================================================== 

function popUpWindowII(popupUrl, popupName, popupHeight, popupWidth) { NewWin = window.open(popupUrl, popupName, 'height=320,width=640,scrollbars=1,resizable=1,directories=0,location=0,menubar=0,personalbar=0,status=0,toolbar=0'); NewWin.focus(); } 

// ============================================================================== 

function open_window(popupUrl, popupName, popupHeight, popupWidth)   { NewWin = window.open(popupUrl, popupName, "height="+popupHeight+",width="+popupWidth+",scrollbars=0,resizable=0,directories=0,location=0,menubar=0,personalbar=0,status=0,toolbar=0"); NewWin.focus(); }

// ============================================================================== 

var NewWin = null; 
   function launchWindow(url, name, features) { if (NewWin) { if (navigator.userAgent.indexOf("Netscape") < 0) { if (navigator.userAgent.indexOf("Opera") < 0) { NewWin.close(); }}} NewWin = window.open(url, name , features); NewWin.focus(); }

// function launchWindow(url, name, features) { var NewWin; if (NewWin) { NewWin.close(); } NewWin = window.open(url, name , features); NewWin.focus(); }
// function launchWindow(url, name, features) { var NewWin; if (NewWin != null) { NewWin.close(); } NewWin = window.open(url, name , features); if (NewWin != null) { if (NewWin.opener == null) NewWin.opener = self; } NewWin.focus(); }

// features: alwaysRaised=yes,dependent=yes,resizable=yes,scrollbars=yes,directories=no,fullscreen=no,location=no,menubar=no,personalbar=no,status=no,toolbar=no,titlebar=no

function XopenWindow(popupUrl,popupName,w,h,features)
{  
  if (NewWin) { if (NewWin.window.closed != true) { NewWin.window.close(); } } 
  if(screen.width)
  { var winl = (screen.width-w)/2; var wint = (screen.height-h)/2; }
  else
  { winl = 0;wint =0; }
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  NewWin = window.open(popupUrl,popupName,settings); NewWin.window.focus();
}

function openWindow(url,name,width,height,features)
 { 
  var settings;
  if (features == '') features = 'resizable=1,scrollbars=1,directories=1,location=1,menubar=1,status=1,titlebar=1,toolbar=1';  
  if (screen.width)  { var winl = (screen.width-width)/2; var wint = (screen.height-height)/2 - 40; } 
  else               { winl = 0; wint = 0; } 
  if (winl < 0) { winl = 0; }
  if (wint < 0) { wint = 0; }  
  settings = 'height=' + height + ',innerHeight=' + height + ','; 
  settings += 'width=' + width + ',innerWidth=' + width + ','; 
  settings += 'top=' + wint + ',screenY=' + wint + ','; 
  settings += 'left=' + winl + ',screenX=' + winl + ','; 
  settings += features; 
  if (NewWin && NewWin.open && !NewWin.closed) NewWin.close(); 
  NewWin = window.open(url,name,settings); NewWin.focus(); 
 }
//  if (NewWin) { if (NewWin.window.closed == true)  alert("Fenster wurde geschlossen");  } 

var InfoWin;

function infofenster(name)
{ 

 if (InfoWin)
   {
    if (InfoWin.closed == true)      { InfoWin=window.open(name,"InfoWin","width=700,height=550,resizable=yes,scrollbars=yes"); }
    else                             { InfoWin.location.href=name; }
   }
 else
  { InfoWin=window.open(name,"InfoWin","width=500,height=250,resizable=yes,scrollbars=yes"); }
 InfoWin.focus();
}


function CheckOpen() { if(NewWin.closed == true) alert("Fenster wurde geschlossen"); else alert("Fenster noch offen"); }

var winpopup = null;
function popup(filename,feature) { winpopup=window.open(filename, "bpconnect", feature); if (winpopup != null) { if (winpopup.opener == null) winpopup.opener = self; }} 
function closetip() { if (winpopup != null) { winpopup.close();	}}

function checkCSS() {
if (navigator.userAgent.indexOf("Mac") != -1) {	strStyleSheet = "mac"; }
else 
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >=4)) { strStyleSheet = "ns"; }
else 
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >=4)) { strStyleSheet = "ie"; }
else 
{ strStyleSheet = "ie";	}
document.write("<LINK REL=\"STYLESHEET\" HREF=\"css/" + strStyleSheet + "_bpstyle.css\" TYPE=\"text/css\">"); 
                    }

//-->