    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('#');
        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" 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_strMHBW,c_strR,alt_txt;
        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_strTOP="orange_oben_mittel";
                        c_strO="hottdO";
                        c_strTR1="hottrhead";
                        c_strTR2="hottrsub";
                        c_strOL="hottdOL";
                        c_strOR="hottdOR";
                        c_strL="hottdUL";
                        c_strLHBW="hottdULHBW";
                        c_strM="hottdUM";
                        c_strM2="hottdUM2";
                        c_strM2HBW="hottdUM2HBW";
                        c_strM3="hottdatt";
                        c_strR="hottdUR";
                        c_strRU="hottabbuchen";
                        c_strRU2="hottabinfo";
                        c_strRU2HBW="hottabinfoHBW";
                        c_strLink="hotlpreis";
                        c_strBOTTOM="orange_unten_hell";
                        c_strUL2="hotHBWUL2";
                        c_strUL3="hotHBWUL3";
                        c_strUR2="hotHBWUR2";
                        alt_txt="";
                        n_TopFlag=1;
                    }
                }
                else{
                    if(n_AltFlag==0){
                        c_strTOP="green_oben_mittel";
                        c_strO="hottdOALT";
                        c_strTR1="hottrheadALT";
                        c_strTR2="hottrsubALT";
                        c_strOL="hottdOLALT";
                        c_strOR="hottdORALT";
                        c_strL="hottdULALT";
                        c_strLHBW="hottdULHBWALT";
                        c_strM="hottdUMALT";
                        c_strM2="hottdUM2ALT";
                        c_strM2HBW="hottdUM2HBWALT";
                        c_strM3="hottdattALT";
                        c_strR="hottdURALT";
                        c_strRU="hottabbuchenALT";
                        c_strRU2="hottabinfoALT";
                        c_strRU2HBW="hottabinfoHBWALT";
                        c_strLink="hotlpreisALT";
                        c_strBOTTOM="green_unten_hell";
                        c_strUL2="hotHBWUL2ALT";
                        c_strUL3="hotHBWUL3ALT";
                        c_strUR2="hotHBWUR2ALT";
                        alt_txt="&nbsp;(alternativ)";                        
                        if(nuralt!=1){
                            document.write('    <table cellspacing="0" width="750" cellpadding="0" border="0" class="hottabalt">');
							document.write('        <tr>');
                            document.write('            <td colspan="5"><img src="/images/spacer.gif" height="20"</td>');
                            document.write('        </tr>');
                            document.write('        <tr>');
                            document.write('            <td class="hottabheadALT" colspan="5">Alternative Angebote, die Ihren Urlaubswünschen nahe kommen</td>');
                            document.write('        </tr>');
							document.write('        <tr>');
                            document.write('            <td colspan="5"><img src="/images/spacer.gif" height="20"</td>');
                            document.write('        </tr>');
                            document.write('        <tr>');
                            document.write('            <td class="hottabsubheadLALT">&nbsp;</td>');
                            document.write('            <td class="hottabsubheadALT">Hotel</td>');
                            document.write('            <td class="hottabsubheadALT">'+(showHbw == 1 ? 'Hotelbewertung' : 'Merkmal')+'</td>');
                            document.write('            <td class="hottabsubheadRALT" align="right" colspan="2">Preis p.P.</td>');
                            document.write('        </tr>');
							document.write('	</table>');
                            n_AltFlag=1;
                            alt_first = 1;
                        }                        
                    }
                }    
                if(i==0){
                    if(nuralt==1){
                        document.write('    <table cellspacing="0" width="750" cellpadding="0" border="0" class="hottabalt">');
                        document.write('        <tr>');
                        document.write('            <td class="hottabheadALTf" colspan="5">Alternative Angebote, die Ihren Urlaubswünschen nahe kommen</td>');
                        document.write('        </tr>');
						document.write('        <tr>');
                        document.write('            <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="20"></td>');
                        document.write('        </tr>');
                        document.write('        <tr>');
                        document.write('            <td class="hottabsubheadLALT">&nbsp;</td>');
                        document.write('            <td class="hottabsubheadALT">Hotel</td>');
                        document.write('            <td class="hottabsubheadALT">'+(showHbw == 1 ? 'Hotelbewertung' : 'Merkmal')+'</td>');
                        document.write('            <td class="hottabsubheadRALT" align="right" colspan="2">Preis p.P.</td>');
                        document.write('        </tr>');
                        n_AltFlag=1;
                    }
                    else{
                        document.write('    <table cellspacing="0" width="750" cellpadding="0" border="0" class="hottabtref">');
                        document.write('        <tr>');
                        document.write('            <td class="hottabhead" colspan="5">Angebote, die zu 100% Ihren Urlaubswünschen entsprechen</td>');
                        document.write('        </tr>');
                        document.write('        <tr>');
                        document.write('            <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="20"></td>');
                        document.write('        </tr>');
						document.write('        <tr>');
                        document.write('            <td class="hottabsubheadL">&nbsp;</td>');
                        document.write('            <td class="hottabsubhead">Hotel</td>');
                        document.write('            <td class="hottabsubhead">'+(showHbw == 1 ? 'Hotelbewertung' : 'Merkmal')+'</td>');
                        document.write('            <td class="hottabsubheadR" align="right" colspan="2">Preis p.P.</td>');
                        document.write('        </tr>');
						document.write('		</table>');
                    }
					document.write('<table cellspacing="0" cellpadding="0" border="0" class="hottabrahm">');
					document.write('	<tr>');
					document.write('		<td class="hotrahmeol"><img src="/images/spacer.gif" alt="" border="0" width="5" height="5"></td>');
					document.write('		<td class="hotrahmom"><img src="/images/spacer.gif" height="3" alt="" border="0"></td>');
					document.write('		<td class="hotrahmeor"><img src="/images/spacer.gif" alt="" border="0" width="5" height="5"></td>');
					document.write('	</tr>');
					document.write('	<tr>');
					document.write('		<td class="hotrahmml"><img src="/images/spacer.gif" alt="" border="0" width="5" height="1"></td>');
					document.write('		<td class="hotrahmcont">')
					document.write('<table cellspacing="0" width="733" cellpadding="0" border="0" class="hottabtref">');
                    document.write('    <tr class="'+c_strTR1+'f">');
                    document.write('        <td class="'+c_strOL+'f" colspan="3">');
                    document.write(             parts[0]+'. Angebot '+alt_txt);
                    document.write('        </td>');
                    document.write('        <td colspan="2" class="'+c_strOR+'f">');
                    document.write('<a class="'+c_strLink+'" href="javascript:s_termine('+i+');">ab &euro;'+parts[1]+',-</a>');
                    document.write('        </td>');
                    document.write('    </tr>');
                }
                else{
                    document.write('<table cellspacing="0" cellpadding="0" border="0"  class="hottabrahm">');
					document.write('	<tr>');
					document.write('		<td class="hotrahmeol"><img src="/images/spacer.gif" alt="" border="0" width="5" height="5"></td>');
					document.write('		<td class="hotrahmom"><img src="/images/spacer.gif" height="3" alt="" border="0"></td>');
					document.write('		<td class="hotrahmeor"><img src="/images/spacer.gif" alt="" border="0" width="5" height="5"></td>');
					document.write('	</tr>');
					document.write('	<tr>');
					document.write('		<td class="hotrahmml"><img src="/images/spacer.gif" alt="" border="0" width="3"></td>');
					document.write('		<td class="hotrahmcont">');
					if(alt_first != '1'){
                        //Nicht das erste Angbeot                        
                        document.write('<table cellspacing="0" width="733" cellpadding="0" border="0" class="hottabtref">');
                        document.write('    <tr class="'+c_strTR1+'">');
                        document.write('        <td class="'+c_strOL+'" colspan="3">');
                        document.write(parts[0]+'. Angebot '+alt_txt);
                        document.write('        </td>');
                        document.write('        <td class="'+c_strOR+'" colspan="2">');
                    }
                    else{
                        document.write('<table cellspacing="0" width="733" cellpadding="0" border="0" class="hottabtref">');
						document.write('    <tr class="'+c_strTR1+'">');
                        document.write('        <td class="hottdOLALTf" colspan="3">');
                        document.write(parts[0]+'. Angebot '+alt_txt);
                        document.write('        </td>');
                        document.write('        <td class="'+c_strOR+'f" colspan="2">');
                    }
                    document.write('<a class="'+c_strLink+'" href="javascript:s_termine('+i+');" class="bbu">ab &euro; '+parts[1]+',-</a>');
                    document.write('</td>');
                    document.write('</tr>');
                }
                document.write('<tr class="'+c_strTR2+'">');
                //thumbnail
                document.write('<td width="144" rowspan="'+(showHbw == 1 ? '2' : '3')+'" class="'+(showHbw == 1 ? c_strLHBW : 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="beschreibungen abrufen" border="0">');
                document.write('</a></td>');    
                //name, sterne,ort,image
                document.write('<td width="226" rowspan="1" class="'+(showHbw == 1 ? c_strMHBW : c_strM)+'">');
                document.write('<span style="font-size:12px;font-weight:bold">'+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>');    
                document.write('<td width="150" rowspan="2" class="'+(showHbw == 1 ? c_strM2HBW : c_strM2)+' hottabatt" valign="top">');
                //Attribute
                var str_Hattbut="";
                if(parts[14] & 1)
                    str_Hattbut="Familie"+(showHbw == 1 && (parts[14] & 2 || parts[14] & 4 || parts[14] & 8) ? '&nbsp;-&nbsp;' : (showHbw == 1 ? '' : '<br>'));
                if(parts[14] & 2)
                    str_Hattbut+="Direkte Strandlage"+(showHbw == 1 && (parts[14] & 4 || parts[14] & 8)? '&nbsp;-&nbsp;' : (showHbw == 1 ? '' : '<br>'));
                if(parts[14] & 4)
                    str_Hattbut+="Großes Sportangebot"+(showHbw == 1 && parts[14] & 8 ? '&nbsp;-&nbsp;' : (showHbw == 1 ? '' : '<br>'));
                if(parts[14] & 8)
                    str_Hattbut+="<nobr>Wellness-Fitness</nobr>";
                if(showHbw == 1){
                    //Hbwertung
                    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('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" alt="" border="0" style="vertical-align:middle;"></a>');
                    }
                    document.write('</td>');
                    document.write('<td colspan="2" width="142" class="'+c_strM3+'">');
                    if(parts[14] & 131072)
                        document.write('<span class="fruehtx">Frühbucherangebot</span><br>');
                    if(parts[14] & 65536)
                        document.write('<span class="fruehtx">Kinderermäßigung</span>');
                    if(!(parts[14] & 65536) && !(parts[14] & 131072))
                        document.write('<span class="fruehtx"><img src="/images/spacer.gif" alt="" border="0" width="" height="37"></span>');
                    document.write('</td></tr>');                
                    document.write('<tr class="'+c_strTR2+'">');
                    document.write('    <td height="25" rowspan="1" colspan="1" class="'+(showHbw == 1 ? c_strRU2HBW : c_strRU2)+'"><a href="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'1\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\');" title="Hotel- und Leistungsbeschreibungen aufrufen" class="hotlpreis"><img src="/kunden_parameter/olimar2/ibe_v2/images/hotelinfos.gif" alt="" border="0" align="absmiddle"></a></td>');
                    document.write('    <td align="right" height="25" colspan="2" class="'+c_strRU+'"><a href="javascript:s_termine('+i+');"><img src="'+pfad_images+'/hotelinfo_buchen.gif" border="0" alt=""></a></td>');
                    document.write('</tr>');
                }
                else{
                    if(str_Hattbut=="")
                        document.write('&nbsp;');
                    else
                        document.write(str_Hattbut);
                    document.write('</td>');
                    document.write('<td colspan="2" width="142" class="'+c_strM3+'">');
                    if(parts[14] & 131072)
                        document.write('<span class="fruehtx">Frühbucherangebot</span><br>');
                    if(parts[14] & 65536)
                        document.write('<span class="fruehtx">Kinderermäßigung</span>');
                    if(!(parts[14] & 65536) && !(parts[14] & 131072))
                        document.write('<span class="fruehtx"><img src="/images/spacer.gif" alt="" border="0" width="" height="37"></span>');
                    document.write('</td></tr>');                
                    document.write('<tr class="'+c_strTR2+'">');
                    document.write('    <td height="25" rowspan="2" colspan="2" class="'+c_strRU2+'"><a href="javascript:oHIB(\''+parts[2]+'\',\''+parts[2]+'\',\''+parts[3]+'\',\'1\',\'\',\'\',\''+parts[4]+'\',\''+parts[13]+'\',\'\',\'\',\'\',\'\',\'\',\'hotel\');" title="Hotel- und Leistungsbeschreibungen aufrufen" class="hotlpreis"><img src="/kunden_parameter/olimar2/ibe_v2/images/hotelinfos.gif" alt="" border="0" align="absmiddle"></a></td>');
                    document.write('    <td align="right" height="25" colspan="2" class="'+c_strRU+'"><a href="javascript:s_termine('+i+');"><img src="'+pfad_images+'/hotelinfo_buchen.gif" border="0" alt=""></a></td>');
                    document.write('</tr>');
                    document.write('<tr class="'+c_strTR2+'">');
                    document.write('    <td class="'+c_strTR2+' '+c_strR+'"><img src="/images/spacer.gif" alt="" border="0" width="137" height="1"></td>');
                    document.write('    <td></td>');
                    document.write('</tr>');                    
                }
                if(showHbw == 1 && str_Hattbut != ''){
                    document.write('<tr class="'+c_strTR2+'">');
                    document.write('    <td class="'+c_strUL2+'">&nbsp;</td>');
                    document.write('    <td colspan="4" class="'+c_strUR2+'"><b>Merkmal</b> '+(str_Hattbut != '' ? str_Hattbut : '&nbsp;')+'</td>');
                    document.write('</tr>');
                }
                if(showHbw == 1){
                    document.write('<tr>');
                    document.write('    <td colspan="4" class="'+c_strTR2+' '+c_strR+' '+c_strUL3+'"><img src="/images/spacer.gif" alt="" border="0" width="1" height="1"></td>');
                    document.write('    <td>');
                    document.write('        <table border="0" cellspacing="0" cellpadding="0" width="100%">');
                    document.write('            <tr>');
                    document.write('                <td width="137" class="'+c_strTR2+' '+c_strR+'"><img src="/images/spacer.gif" alt="" border="0" width="1" height="1"></td>');
                    document.write('                <td></td>');
                    document.write('            </tr>');
                    document.write('        </table>');
                    document.write('    </td>');
                    document.write('</tr>');
                }
                if(i!=(regionen_2.length-1)){
                    document.write('<tr>');
                    document.write('    <td colspan="5" style="background-color:#ffffff;"><img src="/images/spacer.gif" alt="" border="0" width="1" height="10"></td>');
                    document.write('</tr>');    
                }    
				document.write('</table></td><td align="right" class="hotrahmmr"><img src="/images/spacer.gif" alt="" border="0" width="3"></td></tr><tr>');
				document.write('		<td class="hotrahmeul"><img src="/images/spacer.gif" alt="" border="0" width="5" height="5"></td>');
				document.write('		<td class="hotrahmum"><img src="/images/spacer.gif" alt="" border="0" height="3"></td>');
				document.write('		<td class="hotrahmeur"><img src="/images/spacer.gif" alt="" border="0" width="5" height="5"></td></tr></table>');
            }
        }
    }
    //_________________________________________________________________________
    
    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>');
        }
    }