    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];
    }
    
    //___________________________________________________________________________________
    
    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('#');
        if ( typeof(ibeLocation) != 'undefined' || ibeLocation != '' ) {
            window.location.href = ibeLocation+uebergabe+'&sortierung='+sortierung+'&detail=hotel&startposition=0&zielgebiets_kenner='+part[10]+'&showresult='+part[11]+'&s_ort='+escape(ort);
        } else {
            window.location.href = uebergabe+'&sortierung='+sortierung+'&detail=hotel&startposition=0&zielgebiets_kenner='+part[10]+'&showresult='+part[11]+'&s_ort='+escape(ort);
        }
    
        //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="'+spezial_ordner+'forms/'+((nStars>5)?'1stern':'stern_halb')+'.gif" border="0">';
            nStars-=10;
        }
        return strStars;
    }    
    
    //___________________________________________________________________________________
    
    function s_hotel_tabelle(pfad_images,nuralt){
       var n_AltFlag=0; var n_TopFlag=0;
       var alt_first;
       var c_strOL,c_strOR,c_strL,c_strM,c_strR;
       if(regionen_2.length <= 0) {}
       else{
            for(i=0;i<regionen_2.length;i++){
                alt_first = 0;
                parts=regionen_2[i].split("#");
                if(parts[9]==0){
                    if(n_TopFlag==0){
                        c_strTR2="hottrsub";
                        c_strOL="hottdOL";
                        c_strOR="hottdOR";
                        c_strL="hottdUL";
                        c_strM="hottdUM";
                        c_strM2="hottdUM2";
                        c_strM3="hottdUM3";
                        c_strR="hottdUR";
                        c_strRU="hottdUR2";
                        n_TopFlag=1;
                    }
                }
                else{
                    if(n_AltFlag==0){
                        c_strTR2="hottrsubALT";
                        c_strOL="hottdOL";
                        c_strOR="hottdOR";
                        c_strL="hottdULALT";
                        c_strM="hottdUMALT";
                        c_strM2="hottdUM2ALT";
                        c_strM3="hottdUM3ALT";
                        c_strR="hottdURALT";
                        c_strRU="hottdUR2ALT";
                        if(nuralt!=1){
                            document.write('<tr>');
                            document.write('    <td class="hottabheadALT" colspan="5">Alternative Angebote, die Ihren Urlaubsw&uuml;nschen nahe kommen</td>');
                            document.write('</tr>');
                            n_AltFlag=1;
                            alt_first = 1;
                        }                        
                    }
                }
    
                if(i==0){
                    if(nuralt==1){
                        document.write('<tr>');
                        document.write('    <td class="hottabhead" colspan="5">Alternative Angebote, die Ihren Urlaubsw&uuml;nschen nahe kommen</td>');
                        document.write('</tr>');
                        n_AltFlag=1;
                    }
                    else{
                        document.write('<tr>');
                        document.write('    <td class="hottabhead" colspan="5">Angebote, die zu 100% Ihren Urlaubsw&uuml;nschen entsprechen</td>');
                        document.write('</tr>');
                    }
                }
                document.write('<tr>');
                document.write('    <td><img src="/images/spacer.gif" alt="" border="0" width="106" height="1"></td>');
                document.write('    <td><img src="/images/spacer.gif" alt="" border="0" width="148" height="1"></td>');
                document.write('    <td><img src="/images/spacer.gif" alt="" border="0" width="147" height="1"></td>');
                document.write('    <td><img src="/images/spacer.gif" alt="" border="0" width="5" height="1"></td>');
                document.write('    <td><img src="/images/spacer.gif" alt="" border="0" width="105" height="1"></td>');
                document.write('</tr>');
                document.write('<tr>');
                document.write('    <td class="'+c_strOL+'" colspan="3">');
                document.write(parts[0]+'. Angebot');
                document.write('    </td>');
                document.write('    <td class="hottabBorderTop">');
                document.write('&nbsp;');
                document.write('    </td>');
                document.write('    <td class="'+c_strOR+'">');
                document.write('&nbsp;');
                document.write('    </td>');
                document.write('</tr>');
                document.write('<tr class="'+c_strTR2+'">');
                //thumbnail
                document.write('    <td rowspan="2" 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 Leistungsbeschreibungen abrufen" border="0">');
                document.write('</a></td>');    
                //name, sterne,ort,image
                document.write('    <td class="'+c_strM+'">');
                document.write('<span class="hottdhotelname">'+parts[6]+'</span>');
                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>');    
                // HBW
                document.write('    <td rowspan="2" class="'+c_strR+'" valign="top">');
                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\');" title="Hotelbewertungen anzeigen">');
                        document.write('<span class="hbwEmpfehlung">'+hbw_details[0]+'</span> '+str_hbw_txt+' <span class="hothbwlesen">jetzt lesen</span><br />');
                        document.write('<p class="hbwImgline"><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"><span class="hbwScaletxt">'+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 '+hbw_details[1]/10+'%</span>');
                        }
                        document.write('</div>');
                    }
                    else{
                        document.write('<div class="hbwtdlink2">Es liegt noch keine<br />Hotelbewertung der<br />Gä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" style="vertical-align:middle;" alt="" border="0"></a></div>');
                    }
                }
                //--- Buchvorteile ------------------------
                if(parts[14] & 131072 || parts[14] & 65536){                    
                    if(parts[14] & 65536){
                        document.write('<div class="fruehtx'+(parts[14] & 131072 ? 'Kind' : '2')+'">Kinderermäßigung</div>');
                    }
                    if(parts[14] & 131072){
                        document.write('<div class="fruehtx'+(parts[14] & 65536 ? 'Frueh' : '2')+'">Frühbucherangebot</div>');                    
                    }
                }
                document.write('    </td>');
                document.write('    <td rowspan="2" style="background-color:#fff;">');
                document.write('&nbsp;');
                document.write('    </td>');
                document.write('    <td rowspan="2" class="'+c_strRU+' hottabBorderRight">');
                document.write('        <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">');
                document.write('            <tr>');
                document.write('                <td height="34" valign="top">');
                document.write('p.P. schon ab<br /><a href="javascript:s_termine('+i+');" class="hotpreis">'+parts[1]+',-&euro; </a>');
                document.write('                </td>');
                document.write('            </tr>');
                document.write('            <tr>');
                document.write('                <td valign="top">');
                //--- Hotelattribute ----------------------
                if(parts[14] & 1 || parts[14] & 2 || parts[14] & 4 || parts[14] & 8){
                    var str_Hattbut = "";
                    if(parts[14] & 1)
                        str_Hattbut = "Familienfreundlich<br />";
                    if(parts[14] & 2)
                        str_Hattbut += "Direkte Strandlage<br />";
                    if(parts[14] & 4)
                        str_Hattbut += "Gr. Sportangebot<br />";
                    if(parts[14] & 8)
                        str_Hattbut += "Wellness-Fitness";
                    document.write('<div class="hottdAttr">'+str_Hattbut+'</div>');
                }
                document.write('                </td>');
                document.write('            </tr>');
                document.write('        </table>');
                document.write('    </td>');
                document.write('</tr>');
                document.write('<tr class="'+c_strTR2+'">');
                document.write('    <td class="'+c_strM2+'">');
                document.write('<a href="javascript:s_termine('+i+');"><img src="'+spezial_ordner+'hotelinfo_buchen.gif" border="0" alt=""></a>');
                document.write('</td>');
                document.write('</tr>');
                if(i < regionen_2.length - 1){
                    document.write('<tr>');
                    document.write('    <td colspan="5" class="hottabtrenner"><img src="/images/spacer.gif" alt="" border="0" width="1" height="1"></td>');
                    document.write('</tr>');
                }
                else{
                    document.write('<tr>');
                    document.write('    <td colspan="5" class="hottabtrennerBottom"><img src="/images/spacer.gif" alt="" border="0" width="1" height="1"></td>');
                    document.write('</tr>');
                }
            }
        }
    }    
    
    //___________________________________________________________________________________
    
    function select_iff_ort(){
        var infowin = window.open("http://www.vidado.com/maps/google/select_iff_ort_google.php?url="+encodeURIComponent(url)+"&mTStartMod=3&parent_url="+parent_url+"&KID="+KID+"&ORTE="+ortsliste,"Kartenansicht","width=730,height=428,scrollbars=no");
        //var infowin = window.open("http://dev.vidado.com/dev-hennes/maps/google/select_iff_ort_google.php?url="+encodeURIComponent(url)+"&mTStartMod=3&KID="+KID+"&ORTE="+ortsliste,"Kartenansicht","width=730,height=428,scrollbars=no");
        
        infowin.focus();
    }
    
    function SearchOrtKarteByIff(ort, code) {
        if (typeof(ort) != 'undefined') {
            ortsucher(ort,'');
        }
    }
    
    function pageSkip(seiten,apage,sortierung){
        for (t=1;t<=seiten;t++){
            zaehler=(t-1)*10;
            if(t!=apage)
               document.write('<a href="javascript:skippen('+zaehler+',\''+sortierung+'\');" class="pageskip" title="Angebote der Seite '+t+' abrufen">'+t+'</a>&nbsp;&nbsp;');
            else
                document.write('<span class="pageaktive">'+t+'</span>&nbsp;&nbsp;');
        }
    }    
    
    //___________________________________________________________________________________
    
    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>');
        }
    }
