function setBookmark()
{
  var brty = navigator.appName;
  var brve = navigator.appVersion;
  var url=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,'Kinder-in Not' +  ' - ' + titel);
  }
  else
  {
    //alert("Diese Funktion steht nur f?r Internet Explorer zur Verf?gung");
    //alert(unescape("Diese Funktion steht nur f%FCr Internet Explorer zur Verf%FCgung"));
window.sidebar.addPanel(titel, url, "");
  }
}

function Top()
{
 document.location.href="#Top";
}

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 Print()
{
    var Url = encodeURI(parent.Haupt.document.location.href);
    window.open("/module/print/Print.aspx?url=" +Url, "Drucken","width=800,height=600,scrollbars=yes,toolbar=yes,menubar=yes");
}

function openUrl(ActValue)
{

  var Value = ActValue;
  var ArrayValue = Value.split("#####");
  var Url = ArrayValue[0];
  var Target = ArrayValue[1];
  
  switch(Target)
  {
    case "inhalt":
    {
      parent.inhalt.document.location.href = Url;
      break;
    }
    case "_top":
    {
      parent.location.href = Url;
      break;
    }
    case "_blank":
    {
      window.open(Url);
      break;
    }
    default:
    {
      parent.inhalt.document.location.href = Url;
      break;
    }
  }
}


<!-- 

	win2=null;
		function zeigen(bild)
		{
		 grafik = bild
		 var Pfad = grafik.split("/"); 
		 var nPfad = "https:";
		 var curLen = Pfad.length-1;
			for (var i = 1; i < Pfad.length-1; ++i) {
				nPfad = nPfad + "/"+Pfad[i];
			}
			nPfad = nPfad + "/gross/"+ Pfad[curLen];
			grafik = nPfad;	
			zu();
			setTimeout("oeffnen()",200);
		}//zeigen
	//*** ?ffnet das neue fenster und schreibe HTML
	function oeffnen()
	{
	 win2=window.open('','Bild','resizable=1,scrollbars=0,status=0,width=380,height=300,');
	
	 with (win2)
	 {
	  document.open();
	  document.clear();
	  document.writeln('<html><title>VIP</title><body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onLoad="javascript:self.resizeTo(document.images[0].width + 100, document.images[0].height+ 100);"><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 height="100%" align="center"><TR><TD ALIGN=center VALIGN=middle><img name="bild" src="' + grafik + '" ></TD></TR></TABLE></body></html>');
	  document.close();
	  focus();
	 }
	}
	//zeigen
	//*** ?berpr?ft, ob fenster schon existiert
	function zu()
	{
	   if (win2 != null)
		 if (!win2.closed)
			if (win2.close)
			   win2.close();
	}
	//zu
	// -->


function showMovie(Filename, Width, Height, Flash)
{
  if (Flash)
  {
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ Width +'" height="' + Height + '" align="middle">\n');
    document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="movie" value="' + Filename + '" />\n');
    document.write('<param name="play" value="true" />\n');
    document.write('<param name="swliveconnect" VALUE="true" />\n');
    document.write('<param name="loop" value="false" />\n');
    document.write('<param name="menu" value="false" />\n');
    document.write('<param name="quality" value="high" />\n');
    document.write('<param name="bgcolor" value="#ffffff" />\n');
    document.write('<embed src="' + Filename + '" play="true" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="' + Width + '" height="' + Height + '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flashpluginspage="https://www.macromedia.com/go/getflashplayer" />\n');
    document.write('</object>\n');
  }
  else
    document.write('<embed src="' + Filename + '" width="' + Width + '" height="' + Height + '" />\n');
}

