    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 catering(){
    db = new Array()
        db[0] = 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")
        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")
        db[2] = new featlink("../customers/angieseats-stagatha/index.html","../images/paying_logo/angieseats-stagatha_logo_sm.gif","St. Agatha","(519) 747-1700","Angie's Kitchen - St. Agatha","Angie's location in St. Agatha was originally an inn built in 1854. It was purchased by Michael Graham and Teresa Huegle in 1974. In 1976 it opened as Angie's Country Kitchen. The architecture of the building is unique. The original hand hewn beams offer a warm ambiance for fine dining in a quaint country atmosphere. This location seats 250 people. Angie's baking is done daily on our premises and you can always smell fresh bread when you enter our dining room. The pies are baked daily along with the strudels, muffins and Angie's famous butter tarts.  Browse through Angie's Gift Shop full of beautiful crafts by local artisans.  We are centrally located near the Drayton Festival Theatre , Waterloo Theatres (such as the Princess Cinema and and The Waterloo Stage Theatre) and Stratford Festivals. The local markets such as St. Jacobs and Waterloo Farmers Markets, and Kitchener Market are all about 10-15 minutes from either our St. Agatha or Waterloo locations. Visit the world famous Perimeter Institute for Physics in Waterloo. During Oktoberfest be sure to make Angie's your first stop for a hearty breakfast and then on to the parade which starts at King and Erb St. in Waterloo. Sunday Brunch at Angie's in St. Agatha is a must. Visit Angie's Gift Shop. Both locations serve lunch and dinner. Angie's also caters for any occasion.","../images/featured_logo/angieseats-stagatha_logo_big.gif","Angie's Kitchen","St. Agatha")
        db[3] = new featlink("../customers/angieseats-waterloo/index.html","../images/paying_logo/angieseats-waterloo_logo_sm.gif","Waterloo","(519) 886-2540","Angie's Kitchen - Waterloo","Angie's is a landmark in Waterloo County. We offer all age groups a great breakfast, lunch or dinner. Home style dining with a 50's flavour and the best food in town, so just bring your group to us and we'll do the rest. All you can eat fish and chips Thursday nights makes Angie's even more popular. Starting your day with Angie's famous breakfast is a must! Fresh baked breads, pies, strudels and much more are available daily to all our customers.  In the summer enjoy the patio out front.","../images/featured_logo/angieseats-waterloo_logo_big.gif","Angie's Kitchen","Waterloo")
    }

    function getfeatcatering() {

    catering();
    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 gethomecatering() {

    catering();
    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 finedining(){
    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/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")
        db[2] = new featlink("../customers/marblesrestaurant/index.html","../images/paying_logo/marblesrestaurant_logo_sm.gif","Waterloo","(519) 885-4390","Marbles Restaurant","Marbles Restaurant - Waterloo, Ontario - 519-885-4390","../images/featured_logo/marblesrestaurant_logo_big.gif","Marbles Restaurant","Waterloo")
    }

    function getfeatfinedining() {

    finedining();
    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 gethomefinedining() {

    finedining();
    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 casual(){
    db = new Array()
        db[0] = new featlink("../customers/angieseats-waterloo/index.html","../images/paying_logo/angieseats-waterloo_logo_sm.gif","Waterloo","(519) 886-2540","Angie's Kitchen - Waterloo","Angie's is a landmark in Waterloo County. We offer all age groups a great breakfast, lunch or dinner. Home style dining with a 50's flavour and the best food in town, so just bring your group to us and we'll do the rest. All you can eat fish and chips Thursday nights makes Angie's even more popular. Starting your day with Angie's famous breakfast is a must! Fresh baked breads, pies, strudels and much more are available daily to all our customers.  In the summer enjoy the patio out front.","../images/featured_logo/angieseats-waterloo_logo_big.gif","Angie's Kitchen","Waterloo")
        db[1] = new featlink("../customers/angieseats-stagatha/index.html","../images/paying_logo/angieseats-stagatha_logo_sm.gif","St. Agatha","(519) 747-1700","Angie's Kitchen - St. Agatha","Angie's location in St. Agatha was originally an inn built in 1854. It was purchased by Michael Graham and Teresa Huegle in 1974. In 1976 it opened as Angie's Country Kitchen. The architecture of the building is unique. The original hand hewn beams offer a warm ambiance for fine dining in a quaint country atmosphere. This location seats 250 people. Angie's baking is done daily on our premises and you can always smell fresh bread when you enter our dining room. The pies are baked daily along with the strudels, muffins and Angie's famous butter tarts.  Browse through Angie's Gift Shop full of beautiful crafts by local artisans.  We are centrally located near the Drayton Festival Theatre , Waterloo Theatres (such as the Princess Cinema and and The Waterloo Stage Theatre) and Stratford Festivals. The local markets such as St. Jacobs and Waterloo Farmers Markets, and Kitchener Market are all about 10-15 minutes from either our St. Agatha or Waterloo locations. Visit the world famous Perimeter Institute for Physics in Waterloo. During Oktoberfest be sure to make Angie's your first stop for a hearty breakfast and then on to the parade which starts at King and Erb St. in Waterloo. Sunday Brunch at Angie's in St. Agatha is a must. Visit Angie's Gift Shop. Both locations serve lunch and dinner. Angie's also caters for any occasion.","../images/featured_logo/angieseats-stagatha_logo_big.gif","Angie's Kitchen","St. Agatha")
        db[2] = 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[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/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[5] = new featlink("../customers/marblesrestaurant/index.html","../images/paying_logo/marblesrestaurant_logo_sm.gif","Waterloo","(519) 885-4390","Marbles Restaurant","Marbles Restaurant - Waterloo, Ontario - 519-885-4390","../images/featured_logo/marblesrestaurant_logo_big.gif","Marbles Restaurant","Waterloo")
        db[6] = 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 getfeatcasual() {

    casual();
    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 gethomecasual() {

    casual();
    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 seasonal(){
    db = new Array()
        db[0] = 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[1] = 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[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/angieseats-waterloo/index.html","../images/paying_logo/angieseats-waterloo_logo_sm.gif","Waterloo","(519) 886-2540","Angie's Kitchen - Waterloo","Angie's is a landmark in Waterloo County. We offer all age groups a great breakfast, lunch or dinner. Home style dining with a 50's flavour and the best food in town, so just bring your group to us and we'll do the rest. All you can eat fish and chips Thursday nights makes Angie's even more popular. Starting your day with Angie's famous breakfast is a must! Fresh baked breads, pies, strudels and much more are available daily to all our customers.  In the summer enjoy the patio out front.","../images/featured_logo/angieseats-waterloo_logo_big.gif","Angie's Kitchen","Waterloo")
    }

    function getfeatseasonal() {

    seasonal();
    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 gethomeseasonal() {

    seasonal();
    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 international(){
    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")
    }

    function getfeatinternational() {

    international();
    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 gethomeinternational() {

    international();
    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 fastfood(){
    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")
    }

    function getfeatfastfood() {

    fastfood();
    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 gethomefastfood() {

    fastfood();
    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 seafood(){
    db = new Array()
        db[0] = new featlink("../customers/kingcraboysterbar/index.html","../images/paying_logo/kingcraboysterbar_logo_sm.gif","Kitchener","(519) 744-1050","King Crab","We invite you to try our seafood restaurant. Featuring fresh seafood and fresh fish, mouth watering selections for non seafood lovers, and KING CRAB Oyster Bar & Grill sauces. Come in and experience for yourself our warm and intimate, new open concept kitchen. If you've been to KING STREET TRIO on University you know we provide a memorable dining experience.","../images/featured_logo/kingcraboysterbar_logo_big.gif","King Crab and Oyster Bar","Kitchener")
    }

    function getfeatseafood() {

    seafood();
    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 gethomeseafood() {

    seafood();
    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>");
}

