ndatum = new Array();
nfoto = new Array();
ntitel = new Array();
ntext = new Array();
this.ndatum[1] = "733603";
this.nfoto[1] = "http://www.media-world.it/cms/news/rainer/Cordula_067.jpg";
this.ntitel[1] = "Active & Culinary - 10.10.09 - 17.10.09";
this.ntext[1] = "Active Week from 315.00 Euro per person including 7 days half board and all of our listed amenities:<br><br>Saturday: Welcome Aperitif Sunday: Baking – together with Joachim, or own baking genius, we will bake traditional breads, then get together and enjoy our own bread rolls with weisswurst sausage and wheat beer.Monday: Hike guided by your host and hiking guide, Paul. Includes a traditional country meal.Tuesday: World of Wine: In the evening, an introduction to the world of South Tyrolean wines with our sommelier, Gertraud, followed by a wine tasting.Wednesday: Leisurely hike led by Paul     In the afternoon, baking:We will prepare pizza and tarte flambé, then sit down together and enjoy our delicious creations. Thursday: South Tyrol Evening  incl. wines carefully matched to the South Tyrolean dishes we serve on the menu.Friday: Baking “from grandma’s kitchen” in the afternoon: We will bake sweet flat-cakes, cheese cake and other treats made of yeast dough.";
this.ndatum[2] = "733658";
this.nfoto[2] = "http://www.media-world.it/cms/news/rainer/klein_207.jpg";
this.ntitel[2] = "";
this.ntext[2] = "";
this.ndatum[3] = "733718";
this.ntitel[3] = "Ulten Week";
this.ntext[3] = "";
this.ndatum[4] = "733750";
this.ntitel[4] = "";
this.ntext[4] = "";
this.ndatum[5] = "733884";
this.ntitel[5] = "";
this.ntext[5] = "";
this.ndatum[6] = "733905";
this.nfoto[6] = "http://www.media-world.it/cms/news/rainer/wawandern_2008_.jpg";
this.ntitel[6] = "";
this.ntext[6] = "";
this.ndatum[7] = "733962";
this.nfoto[7] = "http://www.media-world.it/cms/news/rainer/Wanderungen_jul_august_2009_014.jpg";
this.ntitel[7] = "";
this.ntext[7] = "";
this.ndatum[8] = "733969";
this.nfoto[8] = "http://www.media-world.it/cms/news/rainer/weissbrunn.jpg";
this.ntitel[8] = "";
this.ntext[8] = "";
this.ndatum[9] = "734340";
this.nfoto[9] = "http://www.media-world.it/cms/news/rainer/Wein.jpg";
this.ntitel[9] = "";
this.ntext[9] = "";
this.ndatum[10] = "734412";
this.ntitel[10] = "";
this.ntext[10] = "";
this.ndatum[11] = "734441";
this.nfoto[11] = "http://www.media-world.it/cms/news/rainer/Rosen.jpg";
this.ntitel[11] = "";
this.ntext[11] = "";
this.ndatum[12] = "734491";
this.nfoto[12] = "http://www.media-world.it/cms/news/rainer/Ultner_Badl.jpg";
this.ntitel[12] = "";
this.ntext[12] = "";
this.ndatum[13] = "734503";
this.nfoto[13] = "http://www.media-world.it/cms/news/rainer/Skifahren.jpg";
this.ntitel[13] = "";
this.ntext[13] = "";
this.ndatum[14] = "734504";
this.nfoto[14] = "http://www.media-world.it/cms/news/rainer/Skifahren_1.jpg";
this.ntitel[14] = "White Weeks";
this.ntext[14] = "";
this.ndatum[15] = "734583";
this.nfoto[15] = "http://www.media-world.it/cms/news/rainer/Alpenrose_aus_dem_Web.jpg";
this.ntitel[15] = "";
this.ntext[15] = "";
this.ndatum[16] = "734697";
this.nfoto[16] = "http://www.media-world.it/cms/news/rainer/Wein.jpg";
this.ntitel[16] = "";
this.ntext[16] = "";
this.ndatum[17] = "734704";
this.nfoto[17] = "http://www.media-world.it/cms/news/rainer/Toerggelen.jpg";
this.ntitel[17] = "";
this.ntext[17] = "";
this.ndatum[18] = "734722";
this.nfoto[18] = "http://www.media-world.it/cms/news/rainer/Rosen.jpg";
this.ntitel[18] = "";
this.ntext[18] = "";
this.link_newsseite = "angebote_uk.shtml";
this.link_text = "more...";


this.nanzahl = "18";
this.nlaenge = "100";
ndatum_aktuell =1000000; // var definieren = jahr 2739
news_aktuell = 0; // var definieren, derzeit aktuelles news
var Jetzt = new Date();
var Tag = Jetzt.getDate();
var Monat = Jetzt.getMonth()+1;
var Jahr = Jetzt.getYear();
if (Jahr < 2000){Jahr=Jahr+1900}; // bei Firefox muß 1900 addiert werden
var Zeit = Tag+Monat*31+Jahr*365; //heutiges datum umgerechnet auf tage
for (i=1;i<nanzahl+1;i++){
if (Zeit <= ndatum[i]){ // sonst ist es ein bereits abgelaufenes news
if (ndatum[i] <= ndatum_aktuell){ ndatum_aktuell=ndatum[i]; news_aktuell=i}; // aktuellstes news (kleinstes datum) suchen
};
}
// ausgabe news aktuell
if (news_aktuell >= 1){
document.write("<font size=2 color=#52331F>");
if (nfoto[news_aktuell]){ document.write("<img src="+nfoto[news_aktuell]+" width=100 align=left>") };
if (ntitel[news_aktuell]){ document.write("<strong>"+ntitel[news_aktuell]+"</strong><br>") };
if (ntext[news_aktuell]){ document.write(ntext[news_aktuell].slice(0,nlaenge)) };
if (ntext[news_aktuell].length > 100) { document.write("...") };
if (link_newsseite) {document.write("<br><font size=1><a href="+link_newsseite+">"+link_text+"</a></font>") };
document.write("</font>");
}; // nur wenn zukuenftiges news vorhanden


