function winOpen(theURL,winName,features) 
{ 
winName = window.open(theURL,winName,features); 
if(winName == null || winName.closed){window.open(theURL,winName,features);} 
else{winName.location.href = theURL;} 
if (!winName.closed) 
winName.focus(); 
}
function setBookmark()
{
  var brty = navigator.appName;
  var brve = navigator.appVersion;
  var url=parent.document.location.href; 
  var titel = document.title; 
  if (brty.indexOf("Explorer")>-1)
  {
    // add this page to favorites for IE4+
    //window.external.AddFavorite(document.location.href, document.title);
    window.external.AddFavorite(url, unescape('CRONITEX GmbH'));
  }
  else
  {
    alert(unescape("Diese Funktion steht nur f%FCr Internet Explorer zur Verf%FCgung"));
  }
}

function Top()
{
 document.location.href="#Top";
}


function openUrl(ActValue)
{
  var Value = ActValue;
  var ArrayValue = Value.split("#####");
  var Url = ArrayValue[0];
  var Target = ArrayValue[1];
  
  switch(Target)
  {
    case "inhalt":
    {
      document.location.href = Url;
      break;
    }
    case "_top":
    {
      location.href = Url;
      break;
    }
    case "_blank":
    {
      window.open(Url);
      break;
    }
    default:
    {
      document.location.href = Url;
      break;
    }
  }
}


function click(evt) 
{
if ((navigator.appName.indexOf("Microsoft") != -1)&& (event.button==2)) 
{alert('deaktiviert');return false}
if ((navigator.appName.indexOf("Netscape") != -1)&&( evt.which == 3 )) 
{alert('deaktiviert');return false}
}
if (navigator.appName.indexOf("Netscape") != -1) {document.captureEvents( Event.MOUSEDOWN )}
document.onmousedown = click;

