if(top==self)
 {   var  pfad = window.location.pathname  ; 
//  var search = window.location.search ; 
//  top.location.href = "index.php?" + pfad + search ; 
}

function chgTxt(obj , txt , alt) {
 if ( document.getElementById( obj ) ) {
      document.getElementById( obj ).firstChild.nodeValue= txt ;
  } else {
      document.write(alt) ;
  }
}

function bookmark(title ,url , url2 ){
            
		if (title == null ) {
			var title = document.title;
		}
		if (url == null ) {
			var url = location.href;

		}
		if (url2 == null ) {
			var url2 = "";
		}

        if (window.sidebar) {
			window.sidebar.addPanel(title, url, url2);
			
		} else if (window.opera && window.print) {
				var mbm = document.createElement('a');
				mbm.setAttribute('rel', 'sidebar');
				mbm.setAttribute('href', url);
				mbm.setAttribute('title', title);
				mbm.click();
				
		} else if (document.all) {
				window.external.AddFavorite(url, title);
		} else {
				alert( "Sorry: unsupported Browser for this script ... "); 
		}
} 


