function doPageNotFound(pageNr, TShopSID, TUserID, TKey1ID, TPar1ID, TTempID)
   { 
     var tmpAnsw = "NONE"; 
     var tmpMsg = BKMsg;
     tmpMsg = tmpMsg.replace('[PAGE]', pageNr);
     var tmpURL = BKMsg_URL; 
     tmpURL = tmpURL.replace('[PAGE]', pageNr);
     
     var progpath1 = window.location.href; 
     var temp = progpath1.toLowerCase(); 
     var temp2; 
     // Hat es Parameter ?xxx Zuerst entfernen
     if (temp.indexOf("?") > 1) {
     temp2  = temp.substr(temp.indexOf("?"));
     temp = temp.replace(temp2, ''); 
     var progurl = temp;             }
     //progurl = progurl.replace("#", "");      	 
  
     tmpURL= tmpURL + "&bklang=" + ProgLang + "&sid="   + TShopSID + "&userid=" + TUserID + "&key1id=" + TKey1ID + "&par1id=" + TPar1ID + "&tempid=" + TTempID +  "&progurl=" + progurl; 
   
     if (BKMsg_Search)
       {	
        if (BKMsg_Web) 
          {
           //alert("Such: " + pageNr);     
     	   tmpAnsw = "NONE"; 
           //tmpAnsw = "XX?goto=true&startpage=1.3&subcat=038&inline=1"; 
           tmpAnsw = getHttpRequest(tmpURL);
           if (tmpAnsw == "NONE") 
             {
              if (BKMsg_Show) alert(tmpMsg);
             }
           else
             {
              gotoURL(tmpAnsw); 	   			
             }
          }
        else
          {  
           //alert("OPEN: " + tmpURL); 
           var tmpResult = window.open(tmpURL, "tmp_Window", "resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,height=80,width=400"); 
           tmpResult.focus(); 
           tmpAnsw = "NONE"; 			 		
          }	    
       }
     else
       {
        if (BKMsg_Show) alert(tmpMsg);
       }
   }


////////////////////////////////////////////////////////////////////////////////
   function getHttpRequest(TURL) { 
    
    var xmlhttp = null; 
	var strTemp = ""; 
	var strAnsw = "NONE"; 
	
    // Mozilla 
    if (window.XMLHttpRequest) { 
        xmlhttp = new XMLHttpRequest();		
    } 
    // IE 
    else if (window.ActiveXObject) { 
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); 		
    } 
    
    xmlhttp.open("GET", TURL, true); 
    xmlhttp.onreadystatechange = function() { 
        if(xmlhttp.readyState != 4) { 
            //document.getElementById('ergebnis').innerHTML = 'Seite wird geladen ...'; 
        } 
        if(xmlhttp.readyState == 4 && xmlhttp.status == 200) { 
            //document.getElementById('ergebnis').innerHTML = xmlhttp.responseText; 
			strAnsw = xmlhttp.responseText; 
        } 
    } 
    xmlhttp.send(null); 
	return strAnsw; 
}
