var num = 15;
// LET OP: num moet gelijk zijn aan het aantal tips dat in de selectie zit, ofwel tipid = n + 1

var today = new Date();
tipid=Math.floor(today/(24*60*60*1000))-(Math.floor(today/(24*60*60*1000)/num)*num);

if (tipid==0) tip = "<a href='../sexinthecity.html' class='homesub'>Sex in the city<br>Amsterdam</a>";
if (tipid==1) tip = "<a href='../villadevierjaargetijden.html' class='homesub'>Villa de Vier Jaargetijden</a>";
if (tipid==2) tip = "<a href='../abel.html' class='homesub'>Abel. grand café restaurant</a>";
if (tipid==3) tip = "<a href='../telfje.html' class='homesub'>'t Elfje</a>";
if (tipid==4) tip = "<a href='../lacloche.html' class='homesub'>La Cloche Party &<br>Event Catering</a>";
if (tipid==5) tip = "<a href='../baantjermuseum.html' class='homesub'>Baantjer Museum</a>";
if (tipid==6) tip = "<a href='../josdroog.html' class='homesub'>Combifoto Jos Droog</a>";
if (tipid==7) tip = "<a href='../koetshuis.html' class='homesub'>Het Koetshuis</a>"
if (tipid==8) tip = "<a href='../dubonheur.html' class='homesub'>Auberge du Bonheur</a>";
if (tipid==9) tip = "<a href='../mery.html' class='homesub'>MeRy Fotografie</a>";
if (tipid==10) tip = "<a href='../philadelphia.html' class='homesub'>Grand Hotel Philadelphia</a>";
if (tipid==11) tip = "<a href='../robertgovers.html' class='homesub'>Fotodesign Robert Govers</a>";
if (tipid==12) tip = "<a href='../weddingpastors.html' class='homesub'>Weddingpastors</a>";
if (tipid==13) tip = "<a href='../riddershof.html' class='homesub'>Riddershof Tilburg</a>";
if (tipid==14) tip = "<a href='../driving4u.html' class='homesub'>Driving4u</a>";




