    function zur_suche(){
        window.location.href=uebergabe+'&showresult=2';
    }

    //_______________________________________________________________________________

    function zurueck_suche(showresult){
        window.location.href=uebergabe_zursuche+'&showresult='+showresult;
    }

    //_______________________________________________________________________________

    function zum_zielgebiet(){
        window.location.href=uebergabe+'&detail=zielgebiet&showresult=1';
    }

    //_______________________________________________________________________________

    function s_termine(kenner_id){
        part=regionen_2[kenner_id];
        window.location.href=uebergabe+'&IFF='+part[2]+'&zielgebiets_kenner='+part[10]+'&detail=termine&showresult='+part[11]+'&startposition_hotel='+part[12]+'&VBit='+part[16]+'&abpr='+part[1];
    }

    //_______________________________________________________________________________

    function skippen(zaehler,sortierung){
        part=regionen_2[0];
        window.location.href=uebergabe+'&sortierung='+sortierung+'&detail=hotel&startposition='+zaehler+'&zielgebiets_kenner='+part[10]+'&showresult='+part[11];
    }

    //_______________________________________________________________________________

    function ortsucher(ort,sortierung){
        part=regionen_2[0];
        window.location.href=uebergabe+'&sortierung='+sortierung+'&detail=hotel&startposition=0&zielgebiets_kenner='+part[10]+'&showresult='+part[11]+'&s_ort='+escape(ort);
    }

    //_______________________________________________________________________________

    function horder(sortierung){
        part=regionen_2[0];
        window.location.href=uebergabe+'&sortierung='+sortierung+'&detail=hotel&startposition=0&zielgebiets_kenner='+part[10]+'&showresult='+part[11];
    }

    //_______________________________________________________________________________

    function MakeStars(nStars,pfad_images){
        var strStars="";
        while(nStars>0){
            strStars+='<img src="'+pfad_images+'/forms/'+((nStars>5)?'1stern':'stern_halb')+'.gif" border="0" class="tt_hot_stars" />';
            nStars-=10;
        }
        return strStars;
    }

    //_______________________________________________________________________________

    function s_hotel_tabelle(pfad_images,nuralt){
        var n_AltFlag=0; var n_TopFlag=0;
        var c_strOL,c_strOR,c_strL,c_strM,c_strR,alt_txt;
        if(regionen_2.length <= 0) {}
        else{
            for(i=0;i<regionen_2.length;i++){
                parts=regionen_2[i];
                if(parts[9]==0){
                    if(n_TopFlag==0){
                c_strL="hottdL";
                c_strUName = "hottdName";
                c_strOL="hottdOL";
                c_strOM="hottdOM";
                c_strOR="hottdOR";
                c_strBOT="hottdBottom";
                c_strRESpacer = "hottdRESpacer";
                c_backgroundColorLD = "#FFFFFF";
                
                c_altEnd = "";
                        alt_txt="";
                        n_TopFlag=1;
                    }
                }
                else{
                    if(n_AltFlag==0){
                c_strL="hottdLALT";
                c_strUName = "hottdNameALT";
                c_strOL="hottdOLALT";
                c_strOM="hottdOMALT";
                c_strOR="hottdORALT";
                c_strBOT="hottdBottomALT";
                c_strRESpacer = "hottdRESpacerALT";
                c_backgroundColorLD = "#f00";
                
                c_altEnd = "_alt";
                        alt_txt="&nbsp;(alternativ)";
                        if(nuralt!=1){
                            document.write('<tr>');
                            document.write('    <td colspan="4" class="hottab2headALT">');
                            document.write('        Alternative Angebote, die Ihren W&uuml;nschen nahekommen');
                            document.write('    </td>');
                            document.write('</tr>');
                            n_AltFlag=1;
                        }
                    }
                }
                document.write('<tr>');
                document.write('<td colspan="4" class="tt_hotZeileHead">'+parts[0]+'. Angebot <a href="javascript:void(0);" onclick="javascript:writeToMZ(\'hotel\','+parts[0]+');" class="tt_hotZeileHead">auf den Merkzettel</a></td>');
                document.write('</tr>');
                document.write('<tr>');
                //---Thumbnail------------------------------
                document.write('    <td class="'+c_strL+'"><a href="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'1\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\',\'\',\'\',\'\',\'\');" title="Hotel- und Leistungsbeschreibungen aufrufen">');
                np=String(parseInt(parts[2]/5000)*5000);
                while(np.length<5)np="0"+np;
                document.write('<img src="'+imgservPfad+'/images/content/booking_thumbs/'+np+'/THB_999_H'+parts[2]+'.jpg" height="65" width="100" alt="Hotel- und Leistungs- beschreibungen abrufen" class="tt_hotel_img" style="margin-right:0px;" /></a>');
                document.write('    </td>');
                //---Name, Sterne, Ort, Image---------------
                document.write('<td class="'+c_strUName+'">');
                document.write('<p>');
                document.write('<a href="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'1\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\',\'\',\'\',\'\',\'\');" title="Hotel- und Leistungsbeschreibungen aufrufen" class="hotlreg">'+parts[6]+'</a>');
                document.write('</p>');
                 nSterne=Math.floor(parts[4]*10);
                 document.write('<p>');
                document.write('<b>Sterne:&nbsp;</b>');
                document.write(MakeStars(nSterne,pfad_images));
                document.write('</p>');
                document.write('<p><b>Ort:&nbsp;</b>'+parts[7]+parts[8]+'</p>');
                document.write('    </td>');
                
                document.write('    <td class="'+c_strOM+'">');
                    //Hbwertung
                    if(showHbw==1){
                        if(parts[17]!=''){
                            hbw_details=parts[17].split("_");
                            if(hbw_details[0]>1){
                                str_hbw_txt='Hotelbewertungen:';
                            }
                            else{
                                str_hbw_txt='Hotelbewertung:';
                            }
                            document.write('<div class="hbwtdlink" onClick="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'9\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\');" title="Hotelbewertungen anzeigen">');
                            document.write('<div><span class="hbwEmpfehlung">'+hbw_details[0]+' '+str_hbw_txt+'</span></div>');
                            if(hbw_details[0]>1){
                                document.write('<div class="">Empfehlung <span class="hbwEmpfehlung2">'+hbw_details[1]/10+'%</span></div>');
                            }  
                            document.write('<p class="hbwImgline"><span class="hbwScaletxt">'+hbw_details[2].substring(0,1)+'.'+hbw_details[2].substring(1,2)+'</span><img src="'+pfad_images+'/hbw/scale_small/small_scale_'+hbw_details[2]+'.gif" border="0" alt="Gesamtbewertung" title="Gesamtbewertung '+hbw_details[2].substring(0,1)+','+hbw_details[2].substring(1,2)+' von 6"></p>');
                            document.write('<div style="margin:10px 0 0 0";>Hotelbewertung<br /><u><b>hier lesen</b></u></div>');
                            document.write('</div>');
                        }
                        else{
                            document.write('<span class="hbwEmpfehlung">Hotelbewertung:</span><br />Es liegt noch keine<br>Bewertungen vor.<a href="javascript:void(0);" onmouseover="Tip(hbwTt_infotext,BGIMG,hbwTt_BGIMG,BGCOLOR,hbwTt_BGCOLOR,BORDERWIDTH,hbwTt_BORDERWIDTH,WIDTH,hbwTt_WIDTH,PADDING,hbwTt_PADDING,FONTSIZE,hbwTt_FONTSIZE,FONTFACE,hbwTt_FONTFACE,FONTCOLOR,hbwTt_FONTCOLOR);"><img src="'+pfad_images+'/hbw/info_hotelbewertung.gif" alt="" border="0"></a>');
                        }
                    }
                document.write('    </td>');
                document.write('    <td class="'+c_strOR+'">');
                         //---Hotelattribute-------------------------
                        str_Hattbut='';
                        if(parts[14] & 1||parts[14] & 2||parts[14] & 4||parts[14] & 8||parts[14] & 65536||parts[14] & 131072)
                        {
                            document.write('<b>Besonderheiten:</b><br />');
                        }
                        if(parts[14] & 1)
                            document.write('<p class="tt_pAttr">Kinderfreundlich</p>');
                        if(parts[14] & 2)
                            document.write('<p class="tt_pAttr">Direkte Strandlage</p>');
                        if(parts[14] & 4)
                            document.write('<p class="tt_pAttr">Großes Sportangebot</p>');
                        if(parts[14] & 8)
                            document.write('<p class="tt_pAttr">Wellness und Fitness</p>');
                        //---Frühbucher, Kinderermaessigung---------
                        if(parts[14] & 65536) {
                            document.write('<p class="tt_pAttr">Kindererm&auml;&szlig;igung</p>');
                            tmp_marg_k = '';
                        }
                        if(parts[14] & 131072) {
                            document.write('<p class="tt_pAttr">Fr&uuml;hbucher</p>');
                        }
                document.write('    </td>');    
                document.write('</tr>');
                document.write('<tr>');
                document.write('    <td colspan="4" class="'+c_strBOT+'">');
                                document.write('<div class="div3"><a href="javascript:s_termine('+i+');" style="text-decoration:none;border:none;"><img src="'+pfad_images+'/weiter_reiseziel.gif" class="tt_hotWeiterBut" alt="" /></a></div><div class="div2"><a href="javascript:s_termine('+i+');" class="hotlpreis">ab '+parts[1]+',- &euro;</a></div><div class="div1"><a href="javascript:s_termine('+i+');" style="text-decoration:none;border:none;"><img src="'+pfad_images+'/hotelinfo_buchen.gif" class="tt_hotWeiterBut" alt="" /></div>');
                document.write('    </td>');    
                document.write('</tr>');
                document.write('<tr>');
                document.write('    <td colspan="4" class="hottdTrenner">');
                document.write('<img src="/images/spacer.gif" alt="" border="0" width="1" height="10" />');
                document.write('    </td>');
                document.write('</tr>');
            }
        }
    }
    //_______________________________________________________________________________
function pageSkip(seiten,apage,sortierung){
        if(apage>10)
        {
            t=11;
        }
        else
        {
            t=1;
        }
        document.write('<div class="tt_skiprow">');
        document.write('<span class="pageSkp">Seite:</span>');
        for (;t<=seiten;t++){
            zaehler=(t-1)*10;
            if(t!=apage){
                document.write('<a href="javascript:skippen('+zaehler+',\''+sortierung+'\');" class="nextPage" title="Angebote der Seite '+t+' abrufen">'+t+'</a>');
                if(t < seiten && t+1!=apage&&t!=10){
                    document.write('<span class="nextPage_thin">&nbsp;</span>');
                }
            }
            else{
                if(t > 1 && t!=11){
                    document.write('<span class="nextPage_thin">&nbsp;</span>');
                }
                document.write('<span class="aktpage">'+t+'</span>');
                if(t < seiten && t!=10){
                    document.write('<span class="nextPage_thin">&nbsp;</span>');
                }
            }
            if(t==10)
                break;
        }
        document.write('</div>');
        if(apage!=seiten) {
            var naechste_seite = apage*10;
            if(apage == seiten) naechste_seite = 0;
            document.write('<a href="javascript:skippen('+naechste_seite+',\''+sortierung+'\');" style="text-decoration:none;" class="nextPage_button" title="Angebote der Seite '+seiten+' abrufen"><img src="/kunden_parameter/tourinaut2/ibe_v2/images/weiter.gif" alt="" /></a>');
            }
}

    //_______________________________________________________________________________

    function fillOrte(s_ort){
        for (t=0;t<anzahl_treffer_orte;t++)
        {
           if(s_ort!=escape(Orte[t]))
               document.write('<option value="'+Orte[t]+'">'+Orte[t]+'</option>');
           else
               document.write('<option value="'+Orte[t]+'" SELECTED>'+Orte[t]+'</option>');
        }
    }
