    function featlink(where,smallpic,city,phone,name,desc,bigpic,line1,line2) {
    
    this.where = where;
    this.city = city;
    this.phone = phone;
    this.name = name;
    this.desc = desc;
    this.bigpic = bigpic;
    this.smallpic = smallpic;
    this.line1 = line1;
    this.line2 = line2;
    return this
}

    function GetNum(length) {
    today = new Date();
    num = (today.getDate());
    num--;

    num = num % length ;
    return (num);
}

    function pubs(){
    db = new Array()
        db[0] = new featlink("../customers/goldenkiwi/index.html","../images/paying_logo/goldenkiwi_logo_sm.gif","Cambridge","(519) 522-0830","Golden Kiwi","Cambridge's New Zealand Style Oasis. Enjoy our elegant and eclectic decor while sampling our excellent food. Customers also rave about the music; world, jazz, eclectic; the large selection of single malt scotches (over 50); and service. Enjoy the separate bar (which seats up to 40 people), sexy, sultry, decorated with New Zealand carvings and pictures.","../images/featured_logo/goldenkiwi_logo_big.gif","Golden Kiwi Pub and Grill","Cambridge")
        db[1] = new featlink("../customers/whaleandale/index.html","../images/paying_logo/whaleandale_logo_sm.gif","Kitchener","(519) 570-3033","Whale and Ale","Located at 1120 Victoria St. Kitchener, the Whale and Ale offers a little taste of Britain without the 6 hour plane ride.. Known for its exquisite, flavorful dishes, The Whale and Ale is excellent for a quick bite to eat at lunch or as a great place to go for a family meal or banquet. You're sure to be impressed.","../images/featured_logo/whaleandale_logo_big.gif","Near Bingemans","Kitchener")
        db[2] = new featlink("../customers/dukeofwellingtonpub/index.html","../images/paying_logo/dukeofwellingtonpub_logo_sm.gif","Waterloo","(519) 886-9370","Duke of Wellington","The Duke of Wellington","../images/featured_logo/dukeofwellingtonpub_logo_big.gif","Duke of Wellington","Waterloo")
        db[3] = new featlink("../customers/mcmullansonking/index.html","../images/paying_logo/mcmullansonking_logo_sm.gif","Waterloo","(519) 886-8383","McMullans on King","A fabulous pub and bar all in one. If it's great food, service or the best atmosphere in town, then we've got it! Check us out at the corner of King and Princess.","../images/featured_logo/mcmullansonking_logo_big.gif","The best pub in town","Waterloo")
        db[4] = new featlink("../customers/williamsburgarms/index.html","../images/paying_logo/williamsburgarms_logo_sm.gif","Kitchener","(519) 745-6460","Williamsburg Arms","Williamsburg Arms - Kitchener, Ontario - 519-745-6460","../images/featured_logo/williamsburgarms_logo_big.gif","Williamsburg Arms","Kitchener")
        db[5] = new featlink("../customers/dukeandduchess/index.html","../images/paying_logo/dukeandduchess_logo_sm.gif","Cambridge","(519) 654-2224","Duke and Duchess","Duke and Duchess - Cambridge, Ontario - 519-654-2224","../images/featured_logo/dukeandduchess_logo_big.gif","Duke & Duchess","Cambridge")
    }

    function getfeatpubs() {

    pubs();
    n= GetNum(db.length);
    document.write("<img border=1 src=" + db[n].bigpic + " alt='" + db[n].name + "' align='left'></a>");
    document.write("</p><p valign=top align=left><font size='4' color='#000000'><BR><b><a href=" + db[n].where + " target=new><font color=black>");
    document.write(db[n].name + "</font></a></b><BR><BR><font size=2>" + db[n].desc);
}

    function gethomepubs() {

    pubs();
    n= GetNum(db.length);
    document.write("<a href=" + db[n].where + " target=new><font size=2 color=#954E19 face=tahoma>" + db[n].name + "</font></a></b></td><td width=20% align=center>");
    document.write("<a href=" + db[n].where + " target=new><img src='" + db[n].smallpic + "' border=0></a><BR><center>");
    document.write("<font face=tahoma size=1 color=black><b>" + db[n].line1 + "<BR>" + db[n].line2 + "</b>");
}
    function clubs(){
    db = new Array()
        db[0] = new featlink("../customers/seventyseven/index.html","../images/paying_logo/seventyseven_logo_sm.gif","Downtown Hamilton","(905) 527-7488","77","Party 2 nights a week at Seventy-Seven. Hamilton's premier nightclub and entertainment complex. Bringing you the best Canadian and International DJ's and Live shows in the area. What you want is what we have at Seventy Seven. Experience 77.","../images/featured_logo/seventyseven_logo_big.gif","Experience 77","Downtown Hamilton")
    }

    function getfeatclubs() {

    clubs();
    n= GetNum(db.length);
    document.write("<img border=1 src=" + db[n].bigpic + " alt='" + db[n].name + "' align='left'></a>");
    document.write("</p><p valign=top align=left><font size='4' color='#000000'><BR><b><a href=" + db[n].where + " target=new><font color=black>");
    document.write(db[n].name + "</font></a></b><BR><BR><font size=2>" + db[n].desc);
}

    function gethomeclubs() {

    clubs();
    n= GetNum(db.length);
    document.write("<a href=" + db[n].where + " target=new><font size=2 color=#954E19 face=tahoma>" + db[n].name + "</font></a></b></td><td width=20% align=center>");
    document.write("<a href=" + db[n].where + " target=new><img src='" + db[n].smallpic + "' border=0></a><BR><center>");
    document.write("<font face=tahoma size=1 color=black><b>" + db[n].line1 + "<BR>" + db[n].line2 + "</b>");
}
    function nseasonal(){
    db = new Array()
        db[0] = new featlink("../customers/goldenkiwi/index.html","../images/paying_logo/goldenkiwi_logo_sm.gif","Cambridge","(519) 522-0830","Golden Kiwi","Cambridge's New Zealand Style Oasis. Enjoy our elegant and eclectic decor while sampling our excellent food. Customers also rave about the music; world, jazz, eclectic; the large selection of single malt scotches (over 50); and service. Enjoy the separate bar (which seats up to 40 people), sexy, sultry, decorated with New Zealand carvings and pictures.","../images/featured_logo/goldenkiwi_logo_big.gif","Golden Kiwi Pub and Grill","Cambridge")
        db[1] = new featlink("../customers/mcmullansonking/index.html","../images/paying_logo/mcmullansonking_logo_sm.gif","Waterloo","(519) 886-8383","McMullans on King","A fabulous pub and bar all in one. If it's great food, service or the best atmosphere in town, then we've got it! Check us out at the corner of King and Princess.","../images/featured_logo/mcmullansonking_logo_big.gif","The best pub in town","Waterloo")
        db[2] = new featlink("../customers/dukeofwellingtonpub/index.html","../images/paying_logo/dukeofwellingtonpub_logo_sm.gif","Waterloo","(519) 886-9370","Duke of Wellington","The Duke of Wellington","../images/featured_logo/dukeofwellingtonpub_logo_big.gif","Duke of Wellington","Waterloo")
    }

    function getfeatnseasonal() {

    nseasonal();
    n= GetNum(db.length);
    document.write("<img border=1 src=" + db[n].bigpic + " alt='" + db[n].name + "' align='left'></a>");
    document.write("</p><p valign=top align=left><font size='4' color='#000000'><BR><b><a href=" + db[n].where + " target=new><font color=black>");
    document.write(db[n].name + "</font></a></b><BR><BR><font size=2>" + db[n].desc);
}

    function gethomenseasonal() {

    nseasonal();
    n= GetNum(db.length);
    document.write("<a href=" + db[n].where + " target=new><font size=2 color=#954E19 face=tahoma>" + db[n].name + "</font></a></b></td><td width=20% align=center>");
    document.write("<a href=" + db[n].where + " target=new><img src='" + db[n].smallpic + "' border=0></a><BR><center>");
    document.write("<font face=tahoma size=1 color=black><b>" + db[n].line1 + "<BR>" + db[n].line2 + "</b>");
}
    function cafes(){
    db = new Array()
        db[0] = new featlink("../customers/cafe13/index.html","../images/paying_logo/cafe13_logo_sm.gif","Cambridge","(519) 622-1799","Café 13","Cafe 13 Main Street Grill, located along the Grand River at the corner of Water and Main Streets, in the historic downtown core of Galt, Cambridge hosts this hidden pleasure to be discovered by all. Housed in an original bank building dating back to 1893, Cafe 13 has been a fixture in this community since 1980, offering an alternative to the prevalent roadhouse and sports bar settings of today. Upon entering and approaching the 141 year old bar from Philadelphia; to being seated by the impressive stained glass peacock in the dining room, Cafe 13 offers a charm, unique to its settings and surroundings. In addition to the darkly wooded main dining area is a second floor featuring The Galt Club, an impressive separate dining room and bar area ideal for hosting private functions of all styles. The new owners of Cafe 13 Cambridge, bring together their expertise and work experiences in restaurants not only in Canada, but also the Caribbean, Europe, and Asia to provide a well matched balance of ambience, cuisine, and service designed to be enjoyed by all.","../images/featured_logo/cafe13_logo_big.gif","Cafe 13 Main Street Grill","Cambridge")
        db[1] = new featlink("../customers/uptown21/index.html","../images/paying_logo/uptown21_logo_sm.gif","Waterloo","(519) 883-1100","Uptown 21",".the concept. .an opportunity to enjoy an interactive  dining experience with  proprietor/head chef, nick benninger and his wife, proprietor/manager, natalie; whether seated at the lively chef's table, or in a more private location, our relaxed atmosphere revolves around indulging in the finest food and drinks waterloo has to offer.<br><br>.the food. .each evening, enjoy your choice of our daily lunch and dinner prix-fixe menu, ever-changing based on available seasonal local ingredients, or find your favourites on nick's house signature menu.  .uptown 21 endorses freshness and a local first ideal, wherein we will strive to support our local farmers, local wine & beer producers, area businesses, and community wherever possible.","../images/featured_logo/uptown21_logo_big.gif","Uptown 21","Waterloo")
    }

    function getfeatcafes() {

    cafes();
    n= GetNum(db.length);
    document.write("<img border=1 src=" + db[n].bigpic + " alt='" + db[n].name + "' align='left'></a>");
    document.write("</p><p valign=top align=left><font size='4' color='#000000'><BR><b><a href=" + db[n].where + " target=new><font color=black>");
    document.write(db[n].name + "</font></a></b><BR><BR><font size=2>" + db[n].desc);
}

    function gethomecafes() {

    cafes();
    n= GetNum(db.length);
    document.write("<a href=" + db[n].where + " target=new><font size=2 color=#954E19 face=tahoma>" + db[n].name + "</font></a></b></td><td width=20% align=center>");
    document.write("<a href=" + db[n].where + " target=new><img src='" + db[n].smallpic + "' border=0></a><BR><center>");
    document.write("<font face=tahoma size=1 color=black><b>" + db[n].line1 + "<BR>" + db[n].line2 + "</b>");
}
    function sportsbars(){
    db = new Array()
        db[0] = new featlink("../customers/whaleandale/index.html","../images/paying_logo/whaleandale_logo_sm.gif","Kitchener","(519) 570-3033","Whale and Ale","Located at 1120 Victoria St. Kitchener, the Whale and Ale offers a little taste of Britain without the 6 hour plane ride.. Known for its exquisite, flavorful dishes, The Whale and Ale is excellent for a quick bite to eat at lunch or as a great place to go for a family meal or banquet. You're sure to be impressed.","../images/featured_logo/whaleandale_logo_big.gif","Near Bingemans","Kitchener")
        db[1] = new featlink("../customers/kennedycatering/index.html","../images/paying_logo/kennedycatering_logo_sm.gif","St Agatha","(519) 747-1313","Kennedy Catering","Take a visit to Kennedy's and savour the delicious rolled ribs that have made them famous. We also feature a big selection of local specialties including fresh fish, wiener schnitzel, and of course the famous pigtail. You can always stop in to quench your thirst with one of our many beers or spirits. You can also trace your Irish roots on the historical map of Ireland. Or, kick back and relax and enjoy your favourite old time tune on or beautiful antique player piano.","../images/featured_logo/kennedycatering_logo_big.gif","A Gathering place for Friends since 1857","St Agatha")
    }

    function getfeatsportsbars() {

    sportsbars();
    n= GetNum(db.length);
    document.write("<img border=1 src=" + db[n].bigpic + " alt='" + db[n].name + "' align='left'></a>");
    document.write("</p><p valign=top align=left><font size='4' color='#000000'><BR><b><a href=" + db[n].where + " target=new><font color=black>");
    document.write(db[n].name + "</font></a></b><BR><BR><font size=2>" + db[n].desc);
}

    function gethomesportsbars() {

    sportsbars();
    n= GetNum(db.length);
    document.write("<a href=" + db[n].where + " target=new><font size=2 color=#954E19 face=tahoma>" + db[n].name + "</font></a></b></td><td width=20% align=center>");
    document.write("<a href=" + db[n].where + " target=new><img src='" + db[n].smallpic + "' border=0></a><BR><center>");
    document.write("<font face=tahoma size=1 color=black><b>" + db[n].line1 + "<BR>" + db[n].line2 + "</b>");
}
    function musicvenues(){
    db = new Array()
        db[0] = new featlink("../customers/kingstreettrio/index.html","../images/paying_logo/kingstreettrio_logo_sm.gif","Waterloo","(519) 884-1507","King Street Trio","King Street Trio was originally located in downtown Kitchener and opened in July 1996. In February of 2000, we moved our restaurant to our current location at 65 University Ave. E. in Waterloo and adopted the named King Street Trio on University. The restaurant was named King Street Trio for two reasons. In our original location we had a cafe dining lounge and a bar. Second, we featured a live jazz trio every Friday and Saturday evening.","../images/featured_logo/kingstreettrio_logo_big.gif","Live Dinner Entertainment","Waterloo")
        db[1] = new featlink("../customers/dukeofwellingtonpub/index.html","../images/paying_logo/dukeofwellingtonpub_logo_sm.gif","Waterloo","(519) 886-9370","Duke of Wellington","The Duke of Wellington","../images/featured_logo/dukeofwellingtonpub_logo_big.gif","Duke of Wellington","Waterloo")
        db[2] = new featlink("../customers/williamsburgarms/index.html","../images/paying_logo/williamsburgarms_logo_sm.gif","Kitchener","(519) 745-6460","Williamsburg Arms","Williamsburg Arms - Kitchener, Ontario - 519-745-6460","../images/featured_logo/williamsburgarms_logo_big.gif","Williamsburg Arms","Kitchener")
        db[3] = new featlink("../customers/whaleandale/index.html","../images/paying_logo/whaleandale_logo_sm.gif","Kitchener","(519) 570-3033","Whale and Ale","Located at 1120 Victoria St. Kitchener, the Whale and Ale offers a little taste of Britain without the 6 hour plane ride.. Known for its exquisite, flavorful dishes, The Whale and Ale is excellent for a quick bite to eat at lunch or as a great place to go for a family meal or banquet. You're sure to be impressed.","../images/featured_logo/whaleandale_logo_big.gif","Near Bingemans","Kitchener")
        db[4] = new featlink("../customers/dukeandduchess/index.html","../images/paying_logo/dukeandduchess_logo_sm.gif","Cambridge","(519) 654-2224","Duke and Duchess","Duke and Duchess - Cambridge, Ontario - 519-654-2224","../images/featured_logo/dukeandduchess_logo_big.gif","Duke & Duchess","Cambridge")
        db[5] = new featlink("../customers/embassygrillandbar/index.html","../images/paying_logo/embassygrillandbar_logo_sm.gif","Waterloo","(519) 954-8111","Embassy Grill and Bar","Embassy Grill and Bar - Waterloo, Ontario - 519-954-8111","../images/featured_logo/embassygrillandbar_logo_big.gif","The Embassy Grill & Bar","Waterloo")
    }

    function getfeatmusicvenues() {

    musicvenues();
    n= GetNum(db.length);
    document.write("<img border=1 src=" + db[n].bigpic + " alt='" + db[n].name + "' align='left'></a>");
    document.write("</p><p valign=top align=left><font size='4' color='#000000'><BR><b><a href=" + db[n].where + " target=new><font color=black>");
    document.write(db[n].name + "</font></a></b><BR><BR><font size=2>" + db[n].desc);
}

    function gethomemusicvenues() {

    musicvenues();
    n= GetNum(db.length);
    document.write("<a href=" + db[n].where + " target=new><font size=2 color=#954E19 face=tahoma>" + db[n].name + "</font></a></b></td><td width=20% align=center>");
    document.write("<a href=" + db[n].where + " target=new><img src='" + db[n].smallpic + "' border=0></a><BR><center>");
    document.write("<font face=tahoma size=1 color=black><b>" + db[n].line1 + "<BR>" + db[n].line2 + "</b>");
}

