function rand(range)
{
    return Math.ceil(Math.random() * 1000) % range +1;
}

function tsc_ps(row,portal)
{
    document.write("<table width=\"400px\">");
    document.write("<colgroup><col width=\"199px\"><col width=\"2px\"><col width=\"199px\"></colgroup>");
    document.write("<tr height=\"25px\"><th colspan=\"3\" style=\"text-align:left; color: #666; font-family:arial; font-size: 12px; font-weight: bold\">Top Suchen T-Online Portal:</th></tr>");

    keywordlist="Adressbuch,Aktien,analog,Bildschirmschoner,Billigflieger,Brettspiele,Browser,Chat,Download,Downloads,DSL,DSL Tarife,DSL Telefonie,DSL Treiber,DSL Verf&uuml;gbarkeit,Email,Fussball,Geb&uuml;hren,Handball,Handy,Handy Logos,Handy Tarife,Hilfe,Horoskop,Internetzugang,ISDN,Kachelmann Wetter,King Kong,Kinotickets,Klingelt&ouml;ne,Kundencenter,Mitbenutzer,MMS,Moorhuhn,Musik,Nachrichten,News,Online-Banking,Pop 3 Zugang,Pop3 Server,Preisvergleich,Reisen,Routenplaner,Schlagzeilen,Sicherheit,Simlock,SMS,SMS verschicken,Software,Software 6.0,Spiele,Stauinfos,Steuererkl&auml;rung,Tetris,T-Mobile,T-Online Outlook,T-Online Server,T-Online Service,T-Online Software,T-Online Update,T-Online Vision,T-Online Webmail,Trojaner,Unwetter,Verliebt In Berlin,Video,Virenschutz,Webhosting,Wetter";
	
	if(portal=='Reisen')keywordlist="Badeurlaub,Bahnreisen,Dubai,Ferienwohnung,Fl&uuml;ge,Flugreisen,G&uuml;nstige Fl&uuml;ge,Hotel,Hotelbewertung,Ibiza,Kreuzfahrten,Last Minute Reisen,London,Los Angeles,Madrid,Mailand,Mallorca,New York,Paris,Pauschalreise,Reisen,Reiseveranstalter,Rom,Routenplaner,St&auml;dtereisen,Urlaub,Wellness";
	
	if(portal=='insider')keywordlist="LCD Fernseher,Navigationssysteme,WLAN Ratgeber,Kopieren und Brennen,Freeware,Office Tools,Notebooks,Tipps und Tricks,Treiber Update,Digitalkameras";


    keywordarray=keywordlist.split(",");
    anzahl=keywordarray.length;

    for(i=0; i<row;i++)
    {
        document.write("<tr height=\"20px\"><td style=\"background-color: #efeff7;\">");
        keyword=keywordarray.splice(rand(anzahl)-1,1);
        document.write("<span style=\"padding-left: 8px; font-family: arial; font-size: 12px; list-style-type: circle;\"> - &nbsp;<a href=\"/toi/html/de/portal/?context="+portal+"&q="+keyword[0]+"\" target=\"_self\">"+keyword[0]+"</a></span>");
        anzahl=anzahl-1;
        document.write("</td><td></td><td style=\"background-color: #efeff7;\">");
        keyword=keywordarray.splice(rand(anzahl)-1,1);
        document.write("<span style=\"padding-left: 8px; font-family: arial; font-size: 12px; list-style-type: circle;\"> - &nbsp;<a href=\"/toi/html/de/portal/?context="+portal+"&q="+keyword[0]+"&lang=any\" target=\"_self\">"+keyword[0]+"</a></span>");
        anzahl=anzahl-1;
        document.write("</td></tr>");
    }
    document.write("</table>")
}





