    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].split('#');
        window.location.href=uebergabe+'&IFF='+part[2]+'&zielgebiets_kenner='+part[10]+'&detail=termine&showresult='+part[11]+'&startposition_hotel='+part[12]+'&VBit='+part[16];
    }

    //_______________________________________________________________________________

    function skippen(zaehler,sortierung){
        part=regionen_2[0].split('#');
        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].split('#');
        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].split('#');
        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+'/'+((nStars>5)?'1stern':'stern_halb')+'.gif" 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_strL,c_strM,alt_txt;
        if(regionen_2.length <= 0) {}
        else{
            for(i=0;i<regionen_2.length;i++){
                parts=regionen_2[i].split("#");
                if(parts[9]==0){
                    if(n_TopFlag==0){
                c_strL="hottdUL";
                c_strUM="hottdUM";
                c_strUM2="hottdUM2";
                c_strUR2="hottdUR2";
                c_strUM3="hottdUM3";
                c_strUM3a="hottdUM3a";
                c_strUM3b="hottdUM3b";
                c_strUM3c="hottdUM3c";
                c_strLink="hotlpreis";
                        c_strS="hottrsub";
                        alt_txt="";
                        document.write('<tr>');
                        document.write('    <td colspan="4" class="hottab2head">');
                        document.write('        Angebote, die zu 100% Ihren Suchkriterien entsprechen');
                        document.write('    </td>');
                        document.write('</tr>');
                        n_TopFlag=1;
                        document.write('<tr>');
                        document.write('    <td colspan="3" class="hottab2subhead">');
                        document.write('        Angebot');
                        document.write('    </td>');
                        document.write('    <td style="text-align:right;" class="hottab2subhead">');
                        document.write('        &nbsp;');
                        document.write('    </td>');
                        document.write('</tr>');
                    }
                }
                else{
                    if(n_AltFlag==0){
                c_strL="hottdULALT";
                c_strUM="hottdUMALT";
                c_strUM2="hottdUM2ALT";
                c_strUR2="hottdUR2ALT";
                c_strUM3="hottdUM3ALT";
                c_strUM3a="hottdUM3ALTa";
                c_strUM3b="hottdUM3ALTb";
                c_strUM3c="hottdUM3ALTc";
                c_strLink="hotlpreisALT";
                        c_strS="hottrsubALT";
                        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 nahe kommen');
                            document.write('    </td>');
                            document.write('</tr>');
                            n_AltFlag=1;
                        }
                    document.write('<tr>');
                    document.write('    <td colspan="3" class="hottab2subheadALT">');
                    document.write('        Angebot');
                    document.write('    </td>');
                    document.write('    <td style="text-align:right;" class="hottab2subheadALT">');
                    document.write('        Preis p.P.');
                    document.write('    </td>');
                    document.write('</tr>');
                    }
                }
                document.write('<tr class="'+c_strS+'">');
                //---Thumbnail------------------------------
                                                                                //         1                2                 3          4     5   6          7                8           9     10  11   12   13     14      15   16   17          18          19                   
                document.write('    <td class="'+c_strL+'"><a href="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'1\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\',\'\',\'\',\'\',\'' + engine + '\',\'\');" 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 Leistungsbeschreibungen abrufen" class="tt_hotel_img" /></a>');
                document.write('    </td>');
                //---Name, Sterne, Ort, Image---------------
                document.write('<td class="'+c_strUM+'">');
                                                    //         1                2                 3          4     5     6          7                8           9   10   11   12   13     14      15   16   17         18           19
                document.write('<a href="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'1\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\',\'\',\'\',\'\',\'' + engine + '\',\'\');" title="Hotel- und Leistungsbeschreibungen aufrufen" class="hotlreg">'+parts[6]+'</a>');
                document.write('<br />');
                nSterne=Math.floor(parts[4]*10);
                document.write(MakeStars(nSterne,pfad_images));
                document.write('<br />'+parts[7]+parts[8]);
                document.write('    </td>');
                document.write('    <td class="'+c_strUM2+'" style="position:relative;">');
                //Hbwertung
                if(showHbw==1){
                    if(parts[17]!=''){
                        hbw_details=parts[17].split("_");
                        if(hbw_details[0]>1){
                            str_hbw_txt='Hotelbewertungen <br />der Gäste';
                        }
                        else{
                            str_hbw_txt='Hotelbewertung <br />des Gastes';
                        }
                        document.write('<div class="hbwtdlink" onClick="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'9\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\',\'\',\'\',\'\',\'' + engine + '\',\'\');" title="Hotelbewertungen anzeigen">');
                        // '+hbw_details[2]+'
                        var  scaledivwidth = hbw_details[2]*(81/60);
                        document.write('<span class="hbwEmpfehlung">'+hbw_details[0]+'</span> '+str_hbw_txt+' <span class="hothbwlesen">jetzt lesen</span><br>');
                        document.write('<p class="hbwImgline"><div class="hbwScaleTopDiv"><div class="hbwScaleDiv" style="width:'+scaledivwidth+'px;"><img src="/images/spacer.gif" alt="" border="0" width="1" height="1" /></div><img src="'+pfad_images+'/hbw/scale_small/statusbalken.gif" border="0" alt="Gesamtbewertung" title="Gesamtbewertung '+hbw_details[2].substring(0,1)+'.'+hbw_details[2].substring(1,2)+' von 6" class="hbwScaleImg" width="81" height="8" /></div><span class="hbwStx">'+hbw_details[2].substring(0,1)+'.'+hbw_details[2].substring(1,2)+'</span></p>');
                        if(hbw_details[0]>1){
                            document.write('<span class="hbwEmpfehlung">Weiterempfehlung <span>'+hbw_details[1]/10+'%</span></span>');
                        }
                        document.write('</div>');
                    }
                    else{
                        document.write('Es liegt noch keine<br>Hotelbewertung der<br>G&auml;ste 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>');
                    }
                }
                else {
                    document.write('&nbsp;');
                }
                document.write('    </td>');
                document.write('    <td class="'+c_strUR2+'" rowspan="2"><div class="preisHotInfDiv">');
                    //---Preis----------------------------------
                    document.write('<a href="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'1\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\',\'\',\'\',\'\',\'' + engine + '\',\'\');" title="Hotel- und Leistungsbeschreibungen aufrufen" class="regHinfo"><img src="'+pfad_images+'/hotelinfo_gross.gif" alt="Hotelinfos" /></a>&nbsp;&nbsp;<span class="tt_hottdpreis"><a href="javascript:s_termine('+i+');" class="hotlpreis">ab '+parts[1]+',- &euro;</span></a></div>');
                    document.write('<a href="javascript:s_termine('+i+');" class="hotlpreis"><img src="'+pfad_images+'/hotelinfo_buchen.gif" class="tt_hotWeiterBut" alt="" /></a><br />');
                    //---Frühbucher, Kinderermaessigung---------
                        var tmp_marg_k = ' style="margin-top:4px;"';
                        if(parts[14] & 131072) {
                            document.write('<p class="tt_pAttr" style="margin-top:4px;">Fr&uuml;hbucherangebot</p>');
                            tmp_marg_k = '';
                        }
                        if(parts[14] & 65536) {
                            document.write('<p class="tt_pAttr"'+tmp_marg_k+'>Kindererm&auml;&szlig;igung</p>');    
                        }
                document.write('    </td>');
                document.write('</tr>');
                document.write('<tr>');
                    document.write('<td colspan="3" class="'+c_strUM3c+'">');
                        //---Hotelattribute-------------------------
                        str_Hattbut='';
                        if(parts[14] & 1)
                            str_Hattbut+='Familienfreundlich';
                        if(parts[14] & 1 && parts[14] & 2)
                            str_Hattbut+=', ';
                        if(parts[14] & 2)
                            str_Hattbut+='Direkte Strandlage';
                        if((parts[14] & 1 || parts[14] & 2) && parts[14] & 4)
                            str_Hattbut+=', ';
                        if(parts[14] & 4)
                            str_Hattbut+='Großes Sportangebot';
                        if((parts[14] & 1||parts[14] & 2||parts[14] & 4) && parts[14] & 8)
                            str_Hattbut+=', ';
                        if(parts[14] & 8)
                            str_Hattbut+='Wellness-Fitness';
                        if (str_Hattbut == '')
                            str_Hattbut+='<p>&nbsp;</p>';
                        document.write(str_Hattbut);
                    document.write('</td>');
                document.write('</tr>');
            }
        }
    }
    //_______________________________________________________________________________

    function pageSkip(seiten,apage,sortierung){
        document.write(apage);
        if(seiten > 1)
            document.write(' von '+seiten);
        document.write('</span>');
        if(apage!=1)
            document.write('<a href="javascript:skippen(0,\''+sortierung+'\');" class="nextPage" style="text-decoration:none;" title="Angebote der Seite 1 abrufen">&laquo;</a>&nbsp;');
        else
            document.write('&nbsp;&nbsp;');
        if(apage>10)
        {
            t=11;
        }
        else
        {
            t=1;
        }
        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;|&nbsp;</span>');
                }
            }
            else{
                if(t > 1 && t!=11){
                    document.write('<span class="nextPage_thin">&nbsp;|&nbsp;</span>');
                }
                document.write('<span class="aktpage">'+t+'</span>');
                if(t < seiten && t!=10){
                    document.write('<span class="nextPage_thin">&nbsp;|&nbsp;</span>');
                }
            }
            if(t==10)
                break;
        }
        if(apage!=seiten)
            document.write('<a href="javascript:skippen('+(seiten-1)*10+',\''+sortierung+'\');" style="text-decoration:none;" class="nextPage" title="Angebote der Seite '+seiten+' abrufen">&nbsp;&raquo;</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>');
        }
    }
