    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/sweetsmoke/index.html","../images/paying_logo/sweetsmoke_logo_sm.gif","Oakville","(905) 465-0335","Sweet Smoke","Sweet Smoke","../images/featured_logo/sweetsmoke_logo_big.gif","Sweet Smoke","Oakville")
        db[1] = new featlink("../customers/pepperwoodcatering/index.html","../images/paying_logo/pepperwoodcatering_logo_sm.gif","Social Functions at Home","(905) 632-7096","Pepperwood Catering","If you are planning your wedding or having a meeting, anniversary reception or is it that special day in your life?  Let Pepperwood take care of your every need. Pepperwood is proud to offer full service customized catering and event planning from 10 people to as large as 2000 people. Pepperwood’s catering allows you the opportunity to entertain in the comfort of your own home or exchange your vows in one of Burlington’s six favourite wedding venues. Imagine the memorable experience being married overlooking the 18th hole in the Beverly Golf and Country Club, overlooking the lake at the Travelodge Hotel or the Burlington Art Center or in one of the fabulous venues at the Royal Botanical Gardens. Whatever your menu choice will be, we would be honoured in making your event a memorable occasion! Be sure to check out our fast, easy on-line booking service, for your convenience and total satisfaction.","../images/featured_logo/pepperwoodcatering_logo_big.gif","Catering for Weddings, Corporate Functions","Social Functions at Home")
        db[2] = new featlink("../customers/twistedlemon/index.html","../images/paying_logo/twistedlemon_logo_sm.gif","Cayuga","(905) 772-6636","Twisted Lemon","Take away the mystique and pretention of the fine dining world, and you will find twistedlemon serving up fresh, flavourful gourmet dishes, with attentive service and an infectious feel-good attitude. With fourty years of experience in the hospitality industry at every level, twistedlemon is equipped with a plateful of culinary knowledge, entertaining stories, and tips and techniques on how to prepare some of the finest cuisines, with a sense of humour and relaxed manner.","../images/featured_logo/twistedlemon_logo_big.gif","Twisted Lemon","Cayuga")
    }

    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/cucci/index.html","../images/paying_logo/cucci_logo_sm.gif","Bronte Village","","Cucci","Cucci Fine Dining - 119 Jones St. - Oakville, Ontario - L6L 1H6","../images/featured_logo/cucci_logo_big.gif","Cucci Fine Dining","Bronte Village")
        db[1] = new featlink("../customers/lacosta/index.html","../images/paying_logo/lacosta_logo_sm.gif","Burlington Downtown","(905) 634-7421","La Costa","Our intent is to become Burlington's premiere venue for casual fine dining. We believe we have truly achieved a 'symphony of pleasures.' The food is outstanding, the array of wines will suit every taste, and both are accompanied by excellent service and a comfortable and upscale décor. With our private dining rooms, La Costa Nuova is also the perfect venue for a private function for ten, twenty, thirty or even a party of ninety. Our Mediterranean menu focuses on familiar food – such as pasta, pizza, risotto, seafood and beef -- with an innovative twist. Enjoy a pizza made with roast lamb, ratatouille, oregano pesto and feta. Or perhaps you're interested in a grilled gold AAA top sirloin with roast garlic Yukon gold mashed potatoes and lemon-roasted asparagus. Our beef dishes are cooked to your taste on the hottest grill available, which is perfect to seal in the juices. Finish your meal with a delightful dessert, always made fresh daily on the premises by our pastry chef. Our wine list offers the best available from private importers. Many of the vintages may be new to you, so we will be happy to help you select the appropriate wine for your meal. The wines we've chosen emphasize Italy and California, but we've also included top selections from the New World and Ontario's own Niagara region. Have a favourite wine that's not on our list? Then store your wine in your private locker in our wine cellar, so we'll always have it on hand for you. Ask us for details on this innovative service.","../images/featured_logo/lacosta_logo_big.gif","Exotic Italian, Great Mediterranean, Incredible Wines","Burlington Downtown")
    }

    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/viamia/index.html","../images/paying_logo/viamia_logo_sm.gif","Oakville","(905)901-9090","Via Mia","Italian Cuisine at Via Mia","../images/featured_logo/viamia_logo_big.gif","Via Mia","Oakville")
        db[1] = new featlink("../customers/kingsarmsoakville/index.html","../images/paying_logo/kingsarmsoakville_logo_sm.gif","Oakville","(905) 845-1010","The Kings Arms Oakville","The King's Arms is a Pub in the classic English Tradition. Within its historic walls one can find everyone from the working class to the wealthy. The King's Arms is a quite literally a 'Public House', for parts of the building which houses The King’s Arms is almost as old as the town itself and started life as just that, a house as shown in the 1863 plan of the Town of Oakville as the property of Captain William Wilson, whose family were among the first settlers. The foundations, basement, and some sections of the old house still form part of The King’s Arms to this day. The transformation into a pub happened in the mid-1970’s under the name of “The Duke of Bedford”. The Duke Of Bedford would be the first 'pub' to be established in Oakville, a town that now boasts many. Several years and changes later, 'The King’s Arms' as we now know it, would occupy the building. The name 'The King's Arms' is a popular one around the world, the first being in England that was founded in the middle ages, but 'King's Arms' have been seen everywhere from Australia, USA and even South Africa, none of them are related, however. Today, the King's Arms has a very diverse and friendly British Pub atmosphere.  We cater to families, businesses and  a mature crowd during the lunch, cocktail and dinner hours.  During the later hours, younger patrons such as college students and people from the hospitality industry frequent us.  Being the oldest Pub in Oakville, and the only one that stays open daily from 11:30 am to 02:30 am it has become somewhat of a tradition for the people of Oakville and the surrounding areas to stop by to get a 'bite' from our large menu and or have a traditional 'pint' of beer, enjoy a glass of wine or a cocktail. The King's Arms is a vibrant and exciting place to be featuring modern amenities such as a large projection-screen television with satellite reception, beautiful shaded patio, live music, a games room complete with pool table, and a private dining room for parties and receptions all within a clean and maintained building. Although there have been many changes over the years, the character and atmosphere of a British pub has remained, making it the favourite “local” of generations of patrons in the Town of Oakville. We are proud to be part of the rich history of the building, the King's Arms name, and that of the town in which we reside, and hope to maintain it – providing welcome hospitality to the patrons of today. Our motto accurately describes our attitude towards our patrons: 'Where you're a stranger but once.'","../images/featured_logo/kingsarmsoakville_logo_big.gif","The Kings Arms","Oakville")
        db[2] = new featlink("../customers/queensheadoakville/index.html","../images/paying_logo/queensheadoakville_logo_sm.gif","Oakville","(905) 842-3070","Queenshead Oakville","Queenshead Oakville","../images/featured_logo/queensheadoakville_logo_big.gif","The Queenshead","Oakville")
        db[3] = new featlink("../customers/sweetsmoke/index.html","../images/paying_logo/sweetsmoke_logo_sm.gif","Oakville","(905) 465-0335","Sweet Smoke","Sweet Smoke","../images/featured_logo/sweetsmoke_logo_big.gif","Sweet Smoke","Oakville")
        db[4] = new featlink("../customers/lacosta/index.html","../images/paying_logo/lacosta_logo_sm.gif","Burlington Downtown","(905) 634-7421","La Costa","Our intent is to become Burlington's premiere venue for casual fine dining. We believe we have truly achieved a 'symphony of pleasures.' The food is outstanding, the array of wines will suit every taste, and both are accompanied by excellent service and a comfortable and upscale décor. With our private dining rooms, La Costa Nuova is also the perfect venue for a private function for ten, twenty, thirty or even a party of ninety. Our Mediterranean menu focuses on familiar food – such as pasta, pizza, risotto, seafood and beef -- with an innovative twist. Enjoy a pizza made with roast lamb, ratatouille, oregano pesto and feta. Or perhaps you're interested in a grilled gold AAA top sirloin with roast garlic Yukon gold mashed potatoes and lemon-roasted asparagus. Our beef dishes are cooked to your taste on the hottest grill available, which is perfect to seal in the juices. Finish your meal with a delightful dessert, always made fresh daily on the premises by our pastry chef. Our wine list offers the best available from private importers. Many of the vintages may be new to you, so we will be happy to help you select the appropriate wine for your meal. The wines we've chosen emphasize Italy and California, but we've also included top selections from the New World and Ontario's own Niagara region. Have a favourite wine that's not on our list? Then store your wine in your private locker in our wine cellar, so we'll always have it on hand for you. Ask us for details on this innovative service.","../images/featured_logo/lacosta_logo_big.gif","Exotic Italian, Great Mediterranean, Incredible Wines","Burlington Downtown")
        db[5] = new featlink("../customers/tincupsportsgrill/index.html","../images/paying_logo/tincupsportsgrill_logo_sm.gif","Oakville","(905) 469-1441","Tin Cup - Oakville","Nestled at the south end of Glen Abbey in Oakville, Tin Cup Sports Grill offers savory menu items, a vibrant spirit and something for friends and family for any occasion. <br>Whether you are getting together to catch the game, taking in a live band, or simply enjoying a glass of one of our exquisite wines, Tin Cup is your neighborhood enjoyment destination.<br>Join us! Join the atmosphere!","../images/featured_logo/tincupsportsgrill_logo_big.gif","Tin Cup Sports Grill","Oakville")
    }

    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/tincupsportsgrill/index.html","../images/paying_logo/tincupsportsgrill_logo_sm.gif","Oakville","(905) 469-1441","Tin Cup - Oakville","Nestled at the south end of Glen Abbey in Oakville, Tin Cup Sports Grill offers savory menu items, a vibrant spirit and something for friends and family for any occasion. <br>Whether you are getting together to catch the game, taking in a live band, or simply enjoying a glass of one of our exquisite wines, Tin Cup is your neighborhood enjoyment destination.<br>Join us! Join the atmosphere!","../images/featured_logo/tincupsportsgrill_logo_big.gif","Tin Cup Sports Grill","Oakville")
    }

    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/sweetsmoke/index.html","../images/paying_logo/sweetsmoke_logo_sm.gif","Oakville","(905) 465-0335","Sweet Smoke","Sweet Smoke","../images/featured_logo/sweetsmoke_logo_big.gif","Sweet Smoke","Oakville")
        db[1] = new featlink("../customers/viamia/index.html","../images/paying_logo/viamia_logo_sm.gif","Oakville","(905)901-9090","Via Mia","Italian Cuisine at Via Mia","../images/featured_logo/viamia_logo_big.gif","Via Mia","Oakville")
        db[2] = new featlink("../customers/lacapannina/index.html","../images/paying_logo/lacapannina_logo_sm.gif","Brampton","(905) 457-6661","La Capannina","Authentic Italian Cuisine In the Heart of Brampton.","../images/featured_logo/lacapannina_logo_big.gif","La Capannina","Brampton")
        db[3] = new featlink("../customers/karbouzi/index.html","../images/paying_logo/karbouzi_logo_sm.gif","Toronto","(416) 483-3846","Karbouzi Restaurant","Karbouzi Restaurant - 2048 Avenue Rd. - Toronto - (416) 483-3846","../images/featured_logo/karbouzi_logo_big.gif","Karbouzi Restaurant","Toronto")
    }

    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/palermopublichouse/index.html","../images/paying_logo/palermopublichouse_logo_sm.gif","Oakville","(905) 469-7552","Palermo Public House","Palermo Public House","../images/featured_logo/palermopublichouse_logo_big.gif","Palermo Public House","Oakville")
        db[1] = new featlink("../customers/quiznosburlington/index.html","../images/paying_logo/quiznosburlington_logo_sm.gif","Burlington","(905) 340-0434","Quiznos Burlington","Quiznos - 675 Appleby Line - Burlington - (905) 340-0434","../images/featured_logo/quiznosburlington_logo_big.gif","Quiznos","Burlington")
    }

    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/sweetsmoke/index.html","../images/paying_logo/sweetsmoke_logo_sm.gif","Oakville","(905) 465-0335","Sweet Smoke","Sweet Smoke","../images/featured_logo/sweetsmoke_logo_big.gif","Sweet Smoke","Oakville")
        db[1] = new featlink("../customers/coastbarandgrill/index.html","../images/paying_logo/coastbarandgrill_logo_sm.gif","Oakville","(905) 849-9898","Coast Bar and Grill","Coast Bar and Grill","../images/featured_logo/coastbarandgrill_logo_big.gif","Coast Bar and Grill","Oakville")
        db[2] = new featlink("../customers/walkersfishmarket-burlington/index.html","../images/paying_logo/walkersfishmarket-burlington_logo_sm.gif","Burlington","(905) 633-9929","Walkers - Burlington","At Walkers Fish Market our commitment and passion to fresh seafood is a way of life. Fish any fresher has yet to be caught. The ever-changing menu printed twice daily at Walkers Fish Market puts the freshest seafood from every coastline on your table. Chilean Coast, Chesapeake Bay, Gulf of Mexico, Great Lakes, Cape Cod, Atlantic, Pacific. Only the freshest seafood is considered for the fabulous variety of our chef-driven dishes and tried-and-true seafood favorites featured by Chef Michael Levins. Walkers Fish Market can be described as sophisticated, fresh, and dynamic. Walkers Fish Market offers casual dining and tremendous socializing in a stunning setting. Whether dining fireside in the dining room, socializing at the island bar or dining by candlelight on the outdoor patio, you will be impressed by the standards of service, freshness and quality. See you soon!","../images/featured_logo/walkersfishmarket-burlington_logo_big.gif","Walkers Fish Market","Burlington")
    }

    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>");
}
