			function addNet(url,titel)
				{
					if((typeof window.sidebar=="object") && (typeof window.sidebar.addPanel=="function"))
						{window.sidebar.addPanel(titel,url,"");}
					else{alert("Sie Nutzen eine veralterte Netscape Version!\nLesezeichen hinzufügen ist nicht möglich!");}}

			function lesezeichen(){
				var url=window.location.href,t=document.title,ap=navigator.appName;
				if(ap=="Microsoft Internet Explorer")
					{window.external.AddFavorite(url,t);}
				else{
				if(ap=="Netscape"){
					addNet(url,t);}
				else{alert("Mit ihren Browser ist kein Lesezeichen über Javascript möglich.\nBitte legen sie das Lesezeichnen manuel an.\nURL:"+url);};}};

function toggleMe(a){
  var e=document.getElementById(a);
  if(!e)return true;
  if(e.style.display=="none"){
    e.style.display="block"
  } else {
    e.style.display="none"
  }
  return true;
}
      function GetParam(name)
      {
          var match = new RegExp(name + "=(.+)[&]","i").exec(location.search);
          if (match==null)
          {
              match = new RegExp(name + "=(.+)","i").exec(location.search);
          }

          if (match==null)
          {
              return null;
          }

          match = match + "";
          result = match.split(",");
          return result[1];
      }


      function google_afs_request_done(google_ads)
      {
          /*
           * Verify that there are actually ads to display.
           */
          var google_num_ads = google_ads.length;
          if (google_num_ads <= 0)
          {
              return;
          }

          var wideAds = "";   // wide ad unit html text
          var narrowAds = "";   // narrow ad unit html text

          for(i = 0; i < google_num_ads; i++)
          {
              if (google_ads[i].type=="text/wide")
              {

                  // render a wide ad
                  wideAds+='<div class="google_afs_bigsize" style="padding-top:3px;padding-bottom:5px" onmouseover="this.style.backgroundColor=\'#FFFFBB\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" nowrap><span class="ad_text">' +
                          '<a target="_blank" onmouseover="javascript:window.status=\'' +
                          google_ads[i].url + '\';return true;" ' +
                          'onmouseout="javascript:window.status=\'\';return true;" ' +
                          'href="' + google_ads[i].url + '"><span style="padding-bottom:2px;font-size:18px">' +
                          google_ads[i].line1 + '</span>&nbsp;';
                  wideAds+='<span class="txt">' + google_ads[i].line2 + '</span>&nbsp;<span class="visible_url">' + google_ads[i].visible_url + '</span></a>';
                  wideAds+='</div>';
              }

              else
              {
                  // render a narrow ad
                  narrowAds+='<span class="ad_line1">' +
                          '<a style="text-decoration:none" onmouseover="javascript:window.status=\'' +
                          google_ads[i].url + '\';return true;" ' +
                          'onmouseout="javascript:window.status=\'\';return true;" ' +
                          'href="' + google_ads[i].url + '">' +
                          google_ads[i].line1 + '</span><br>';
                  narrowAds+='<span class="ad_text">' + google_ads[i].line2 + '</span><br>';
                  narrowAds+='<span class="ad_text">' + google_ads[i].line3 + '</span><br>';
                  narrowAds+='<div class="ad_url">' + google_ads[i].visible_url + '</a></div>';
              }
          }

          if (narrowAds != "")
          {
              narrowAds = '<div class="ad_header" style="text-align:left">' +
                        '<a class="small_gray" style="font-size:11px;cursor:pointer;cursor:hand;text-decoration:none" ' +
                        ' href="http://services.google.com/feedback/online_hws_feedback">' +
                        'Google-Anzeigen</a></div>' + narrowAds;
          }

          if (wideAds != "")
          {
              wideAds = '<div class="ad_header" style="text-align:left">' +
                        '<a class="small_gray" style="font-size:11px;cursor:pointer;cursor:hand;text-decoration:none" ' +
                        'href="http://services.google.com/feedback/online_hws_feedback">' +
                        'Google-Anzeigen</a></div>' + wideAds;
          }

          // Write HTML for wide and narrow ads to the proper <div> elements
          document.getElementById("wide_ad_unit").innerHTML = wideAds;
          // document.getElementById("narrow_ad_unit").innerHTML = narrowAds;
      }