function Nachladen()
{    	
	var Zielverzeichnis=self.location.protocol + "//" + self.location.hostname; 
	var Zielframe="main"
	var Identifikation="Portal"; 
	var SeitenURL=self.location.href;
	
	if(!top.FramesetGeladen)                                                                                            
	{                  
		if(document.all||document.layers) 
		{
			window.name=umwandeln(Identifikation+Zielframe + "=" + SeitenURL);
			top.location.replace(Zielverzeichnis);
      		}
		else  
		{
      			ZielDatei=ZielDatei + "?" + Zielframe + "=" + SeitenURL;
      			
			if(document.images)  
        			top.location.replace(Zielverzeichnis) 
      			else 
        			top.location.href=Zielverzeichnis;

      		}  

    	}  

}  


function umwandeln(text) 
{
  	var Spezialzeichen="*+./_-@";  
  	var txt = escape(text);
  	
	for(i=0;i<txt.length;i++)
    		for (k=0;k<Spezialzeichen.length;k++)
      			if (txt.charAt(i)==Spezialzeichen.charAt(k))
        			txt=txt.substring(0,i) +"%G"+ k +txt.substring(i+1,txt.length);
  	for(i=0;i<txt.length;i++)
    		if (txt.charAt(i)=="%") 
     			 txt = txt.substring(0,i) + "_"+ txt.substring(i+1,txt.length);
  	return txt;
}