ndatum = new Array();
nfoto = new Array();
ntitel = new Array();
ntext = new Array();
this.ndatum[1] = "733103";
this.ntitel[1] = "Carneval - 21.02. - 28.02.2009";
this.ntext[1] = "Euro: 512,00<br>7 days half board, 6-day ski pass and free transfers to the lift station in the valley.Children under 6 pay nothing, children ages 6 to 12 pay half price (in parents’ room).";
this.ndatum[2] = "733235";
this.ntitel[2] = "";
this.ntext[2] = "";
this.ndatum[3] = "733498";
this.ntitel[3] = "";
this.ntext[3] = "";
this.ndatum[4] = "733513";
this.ntitel[4] = "";
this.ntext[4] = "";
this.ndatum[5] = "733590";
this.ntitel[5] = "";
this.ntext[5] = "";
this.ndatum[6] = "733605";
this.ntitel[6] = "";
this.ntext[6] = "";
this.ndatum[7] = "733612";
this.nfoto[7] = "http://www.media-world.it/cms/news/rainer/Cordula_067.jpg";
this.ntitel[7] = "Active & Culinary - 10.10.09 - 17.10.09";
this.ntext[7] = "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[8] = "733658";
this.nfoto[8] = "http://www.media-world.it/cms/news/rainer/klein_207.jpg";
this.ntitel[8] = "";
this.ntext[8] = "";
this.ndatum[9] = "733682";
this.ntitel[9] = "";
this.ntext[9] = "";
this.ndatum[10] = "733718";
this.ntitel[10] = "Ulten Week";
this.ntext[10] = "";
this.ndatum[11] = "733750";
this.ntitel[11] = "";
this.ntext[11] = "";
this.ndatum[12] = "733884";
this.ntitel[12] = "";
this.ntext[12] = "";
this.ndatum[13] = "733905";
this.nfoto[13] = "http://www.media-world.it/cms/news/rainer/wawandern_2008_.jpg";
this.ntitel[13] = "";
this.ntext[13] = "";
this.ndatum[14] = "733962";
this.nfoto[14] = "http://www.media-world.it/cms/news/rainer/Wanderungen_jul_august_2009_014.jpg";
this.ntitel[14] = "";
this.ntext[14] = "";
this.ndatum[15] = "733969";
this.nfoto[15] = "http://www.media-world.it/cms/news/rainer/weissbrunn.jpg";
this.ntitel[15] = "";
this.ntext[15] = "";
this.ndatum[16] = "733976";
this.nfoto[16] = "http://www.media-world.it/cms/news/rainer/Backen_Bar_Fasching_007.jpg";
this.ntitel[16] = "";
this.ntext[16] = "";
this.ndatum[17] = "733983";
this.nfoto[17] = "http://www.media-world.it/cms/news/rainer/Baerengaudi_2009_005.jpg";
this.ntitel[17] = "";
this.ntext[17] = "";
this.ndatum[18] = "733998";
this.nfoto[18] = "http://www.media-world.it/cms/news/rainer/Wandern_08_023.jpg";
this.ntitel[18] = "";
this.ntext[18] = "";
this.ndatum[19] = "734076";
this.nfoto[19] = "http://www.media-world.it/cms/news/rainer/Skifahren_1.jpg";
this.ntitel[19] = "White Weeks";
this.ntext[19] = "";
this.ndatum[20] = "734134";
this.nfoto[20] = "http://www.media-world.it/cms/news/rainer/Skifahren.jpg";
this.ntitel[20] = "";
this.ntext[20] = "";
this.link_newsseite = "angebote_uk.shtml";
this.link_text = "more...";


this.nanzahl = "20";
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

