function s_hliste(kenner_id,nurflug)
{
    parts=regionen_2[kenner_id].split('#');
    detail=(nurflug==1)?'termine':'hotel';
    window.location.href=uebergabe_hotel+'&zielgebiets_kenner='+parts[1]+'&detail='+detail+'&showresult=1';
}
function zur_suche(showresult)
{
    window.location.href=uebergabe_hotel+'&showresult='+showresult;
}
var str_glhotel = '<b>Was bedeutet "Glückshotel"?</b><br>Bei "Glückshotel"-Angeboten bestimmen Sie Abflughafen, Reisetermin, Ziel und die Ho- telkategorie Ihrer Reise. Den Namen Ihres Hotels erfahren<br>Sie am Urlaubsort.';
function s_liste_tabelle(nurflug,pfad_images)
{
    var str_glhotelTitel="";
    for(i=0;i<regionen_2.length;i++)
    {
        parts_2=regionen_2[i].split("#");

       if(parts_2[1]>=10000) str_glhotelTitel="";
       if(parts_2[1]==10032){
           str_glhotelTitel='title="Der Hotelname wird Ihnen nach Ankunft im Zielgebiet mitgeteilt"';
       }
       var pointerGlHotel = parts_2[0].search(/Glückshotel.+/);

        if(parts_2[3]==''){
            document.write('<tr>');
            document.write('<td class="regtab2tdreg" colspan="4">');
            if(nurflug!=1){
                document.write('<a href="javascript:s_hliste('+i+',0);" class="reglreg" '+str_glhotelTitel+'>'+parts_2[0]+'</a>');
            }
            else {
                document.write(parts_2[0]);
            }
            document.write('</td>');
            document.write('</tr>');
        }
        else{
            document.write('<tr>');
            document.write('<td class="regtab2td regtab2tdziel">');
            if (pointerGlHotel == false) {
                document.write('<a href="javascript:s_hliste('+i+','+nurflug+');" class="reglziel" onMouseover="showhint(str_glhotel, tip_link_'+i+', event,\'190px\')" onMouseOut="hidetip();">'+parts_2[0]+'</a><img id="tip_link_'+i+'" onMouseover="showhint(str_glhotel, this, event,\'190px\')" style="vertical-align: middle; margin: 0 0 0 3px;" src="/kunden_parameter/weg_payback/ibe_v2/images/info_glh.gif" alt="" border="0">');
            } else {
                document.write('<a href="javascript:s_hliste('+i+','+nurflug+');" class="reglziel" '+str_glhotelTitel+'>'+parts_2[0]+'</a>');
            }
            document.write('</td>');
            document.write('<td class="regtab2td regtab2tdziel" align="center">');
            document.write('<a href="javascript:oHIB(\'\',\'\',\''+parts_2[2]+'\',\'\',\'\',\'0|0|0|1|0|0\',\'\',\'\',\'\',\'\',\'\',\'\',\'\',\'region\');"><img src="'+pfad_images+'/info.gif" border="0" align="absmiddle" class="reginfo" alt="Länderinfo für diese Region aufrufen"></a>');
            document.write('</td>');
            document.write('<td class="regtab2tdziel">');
            if(parts_2[4]!=""){
                document.write('<a href="javascript:oHIB(\'\',\'\',\''+parts_2[2]+'\',\'5\',\'\',\'0|0|0|0|1|0\',\'\',\'\',\'\',\'\',\'\',\'\',\'\',\'region\',\'\',\'\',\''+parts_2[6]+'\');"><img src="'+pfad_images+'/sonne.gif" alt="Lufttemperatur" width="15" height="15" border="0" align="absmiddle" hspace="2">'+parts_2[4]+'&deg;C</a>');
            }
            if(parts_2[5]!=""){
                document.write('<a href="javascript:oHIB(\'\',\'\',\''+parts_2[2]+'\',\'5\',\'\',\'0|0|0|0|1|0\',\'\',\'\',\'\',\'\',\'\',\'\',\'\',\'region\',\'\',\'\',\''+parts_2[6]+'\');"><img src="'+pfad_images+'/wasser.gif" alt="Wassertemperatur" width="15" height="9" border="0" align="absmiddle" hspace="2">'+parts_2[5]+'&deg;C</a>');
            }
            document.write('<img src="/images/spacer.gif" width="1" height="1" alt="" border="0"></td>');
            document.write('<td class="regtab2tdziel" align="right">');
            document.write('<a href="javascript:s_hliste('+i+','+nurflug+');" class="reglpreis">ab '+parts_2[3]+',-&euro;</a>');
            document.write('&nbsp;&nbsp;</td>');
            document.write('</tr>');
        }
    }
}
function openwebox(ab)
{
    var infowin = window.open(hib_url+"content_page/index.php3?KID="+HID+"&ZF="+ab+"&START=5&Kenner_Nav=0|0|0|0|1|0",ab,"width=685,height=610,scrollbars=yes");
    infowin.focus();
}
