    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/winkingjudge/index.html","../images/paying_logo/winkingjudge_logo_sm.gif","In the South Side","(905) 524-5626","The Winking Judge","Greetings and a warm welcome from Augusta's Winking Judge, Hamilton's only Pub specializing in Micro Breweries. We have 16 taps offering many brands and styles of beers. Our customers have their favorites which are always offered, plus several guest beers regularly rotated. To date, over 160 different beers have been on tap hailing from Ontario, Quebec and Alberta.","../images/featured_logo/winkingjudge_logo_big.gif","Micro beers Galore","In the South Side")
        db[1] = new featlink("../customers/oxfordcircus/index.html","../images/paying_logo/oxfordcircus_logo_sm.gif","Brantford","(519) 753-6609","Oxford Circus","Oxford Circus - 61 Lynden Rd. - Brantford - 519-753-6609","../images/featured_logo/oxfordcircus_logo_big.gif","Oxford Circus","Brantford")
        db[2] = new featlink("../customers/vicarsvice/index.html","../images/paying_logo/vicarsvice_logo_sm.gif","a good habit to get into.","(905) 578-4500","Vicars Vice","Vicars Vice Restaurant Pub - A Good Habit to get into - 2251 Rymal Rd. E. - Hamilton - (905) 578-4500","../images/featured_logo/vicarsvice_logo_big.gif","Vicars Vice Restaurant Pub","a good habit to get into.")
        db[3] = new featlink("../customers/pheasantplucker/index.html","../images/paying_logo/pheasantplucker_logo_sm.gif","In the South Side","(905) 529-9000","Pheasant Plucker","Try to say that three times fast!  Cozy, warm, homey and a great place to visit, this location is waiting to welcome you to their humble abode.  Come on in for a game of pool or darts, a bite to eat from their fantastic menu or an afternoon or evening on the patio.  You will be back again!","../images/featured_logo/pheasantplucker_logo_big.gif","International Soccer Source","In the South Side")
        db[4] = new featlink("../customers/corktownpub/index.html","../images/paying_logo/corktownpub_logo_sm.gif","Hamilton","(905) 572-9242","Corktown Pub","The Corktown Pub. Come in and check out our new look.","../images/featured_logo/corktownpub_logo_big.gif","The Corktown","Hamilton")
        db[5] = new featlink("../customers/thirstycactus/index.html","../images/paying_logo/thirstycactus_logo_sm.gif","Downtown Dundas","(905) 627-8488","Thirsty Cactus","Expansive Tex Mex Menu served UP in a warm, friendly, casual atmosphere. Full menu available for lunch, dinner, late night and in-between something for everyone, including vegetarian options and a children's menu. Tried and true Cactus specialties include fajitas, steaks, ribs and more. While you whet your appetite, wet your whistle with a choice from our selection of domestic and imported beers, or a margarita (Of Course!).","../images/featured_logo/thirstycactus_logo_big.gif","Expansive Tex Mex Menu","Downtown Dundas")
        db[6] = new featlink("../customers/judgeandjester/index.html","../images/paying_logo/judgeandjester_logo_sm.gif","Grimsby","(905) 945-9744","Judge & Jester","Grimsby's cozy little pub nestled in the heart of the of the downtown core at 17 Main Street East. Our menu consists of Traditional Pub Fare with a flare sure to satisfy any appetite. We offer 15 varieties of beer on tap as well as a large selection of Niagara Region Wines available by both the glass and the bottle. we welcome groups and parties of all sizes, so be sure to call ahead for reservations at 905-945-8744. The Court is always in session, so join us for Time Well Served. Take Out Always available. Dine with us, in our busy Courtroom or enjoy a quieter setting in the Judge’s Chambers. Parties of any size are always welcome, but be sure to call ahead for reserved seating. Inquire about private parties, meetings or gatherings in our cosy Judge’s Chambers. We always look forward to your visit and hope to see you again very soon. Thank you for your business.","../images/featured_logo/judgeandjester_logo_big.gif","Judge & Jester","Grimsby")
        db[7] = new featlink("../customers/snootyfox/index.html","../images/paying_logo/snootyfox_logo_sm.gif","Westdale Village","(905) 546-0000","Snooty Fox","An English pub at its best!   Once a historic building it has been altered to form one of the most popular gathering spots in the area.   A cozy and welcoming atmosphere, great staff, and delicious food is what makes The Snooty Fox the hot spot that it is","../images/featured_logo/snootyfox_logo_big.gif","The PUB that ROCKS","Westdale Village")
        db[8] = new featlink("../customers/butcherandbanker/index.html","../images/paying_logo/butcherandbanker_logo_sm.gif","Beamsville","(905) 563-3777","Butcher and Banker","The Butcher and Banker, the best little British Pub in Beamsville. Located conveniently at 4520 Ontario street, just off of the Qew, the Butcher and Banker is a must stop for all that are passing by. Offering a wide variety of menu items and beers on Tap, the Butcher and Banker accommodates tastes of every palate. We also have a large patio for those who like to take advantage of the great outdoors. Live music on the weekends and specials all week long will only entice you more to visit the Butcher and Banker, a 'beautifully built British pub'.","../images/featured_logo/butcherandbanker_logo_big.gif","Butcher and Banker","Beamsville")
        db[9] = new featlink("../customers/slainteirishpub/index.html","../images/paying_logo/slainteirishpub_logo_sm.gif","Downtown Hamilton","(905) 528-8000","Slainte Irish Pub","This truly authentic Irish pub is a touch of Ireland right in your backyard.  Well, actually more than just a touch.  Slainte's very own bar and wooden décor was shipped over directly from the Emerald Isles. To complement the authentic décor are the wonderful sounds of Celtic music, friendly staff kilts and all, delicious Irish food and a large variety of imported beers.  Also, don't miss the upstairs of this rare gem as it is home to nights of live music and a cigar lounge.  So come in, huddle around the fireplace, nurse a pint of Guinness and become Irish for a day, a night of whatever the length of your stay.  And, don't forget to raise your glass for a toast, SLAINTE.","../images/featured_logo/slainteirishpub_logo_big.gif","A little taste of Ireland","Downtown Hamilton")
        db[10] = new featlink("../customers/theargylestreetgrill/index.html","../images/paying_logo/theargylestreetgrill_logo_sm.gif","Caledonia","(905) 765-9622","The Argyle Street Grill","The Argyle Street Grill - 345 Argyle St. S. - Caledonia - 905-765-9622","../images/featured_logo/theargylestreetgrill_logo_big.gif","The Argyle Street Grill","Caledonia")
        db[11] = new featlink("../customers/rebelsrock/index.html","../images/paying_logo/rebelsrock_logo_sm.gif","Hamilton","(905) 777-1771","Rebels Rock Irish Pub","Rebels Rock Irish Pub - 537 King St. E. - Hamilton, Ontario - 905-777-1771","../images/featured_logo/rebelsrock_logo_big.gif","Rebels Rock Irish Pub","Hamilton")
        db[12] = new featlink("../customers/royalcoachman/index.html","../images/paying_logo/royalcoachman_logo_sm.gif","Waterdown","(905) 689-5952","Royal Coachman","Royal Coachman","../images/featured_logo/royalcoachman_logo_big.gif","Royal Coachman","Waterdown")
        db[13] = new featlink("../customers/theecagneyspub/index.html","../images/paying_logo/theecagneyspub_logo_sm.gif","Hamilton Mountain","(905) 387-5721","Thee Cagneys Pub","Thee Cagneys Pub","../images/featured_logo/theecagneyspub_logo_big.gif","Thee Cagneys Pub","Hamilton Mountain")
        db[14] = new featlink("../customers/gallaghersbar/index.html","../images/paying_logo/gallaghersbar_logo_sm.gif","Hamilton","(905) 577-6900","Gallaghers Bar and Lounge","Gallaghers Bar and Lounge","../images/featured_logo/gallaghersbar_logo_big.gif","Gallaghers Bar and Lounge","Hamilton")
        db[15] = new featlink("../customers/coachandlantern/index.html","../images/paying_logo/coachandlantern_logo_sm.gif","Ancaster","(905) 304-7822","Coach and Lantern","Located in Ancaster's Village in a 175 year old stone building, this wonderful pub can hardly be duplicated. It's a true British pub with great food, great beer and great people! It's no wonder we are chosen as the Best Pub by Reader's Choice.<br><br>The Upper Coach boasts a huge room with a cozy fireplace, private bar, flat screen tvs, stage, full audio/visual equipment and comfy leather chairs…<br><br>And you can rent it for FREE! Ask about booking your next event with us!<br><br>The best live entertainment in the area every Friday and Saturday night!<br><br>Now with 12 beers on tap, the Coach and Lantern has the best beer line-up in town!","../images/featured_logo/coachandlantern_logo_big.gif","Coach and Lantern","Ancaster")
    }

    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/dirtydogsaloon/index.html","../images/paying_logo/dirtydogsaloon_logo_sm.gif","Downtown Hamilton","(905) 527-7488","Dirty Dog Saloon","Ontario's ONLY 'Coyote Ugly' Style Bar","../images/featured_logo/dirtydogsaloon_logo_big.gif","Dirty Dog Saloon","Downtown Hamilton")
        db[1] = new featlink("../customers/tailgatecharlies/index.html","../images/paying_logo/tailgatecharlies_logo_sm.gif","69 John Street","(905) 526-1882","Tailgate Charlie's","Friendly staff and a wooden décor top off this fantastic combination.  For those looking for the sports bar browse through autographed sportswear, watch the game on the big screen TVs and play pool or NTN.  For those more interested in dining on some great","../images/featured_logo/tailgatecharlies_logo_big.gif","Tailgate Charlie's","69 John Street")
        db[2] = 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/barangas/index.html","../images/paying_logo/barangas_logo_sm.gif","Hamilton","(905) 544-7122","Barangas on the Beach","Baranga's on the Beach - Q.E.W. to Highway # 20 North  - Hamilton, Ontario - 905-544-7122","../images/featured_logo/barangas_logo_big.gif","Baranga's on the Beach","Hamilton")
        db[1] = new featlink("../customers/oneduke/index.html","../images/paying_logo/oneduke_logo_sm.gif","In the South Side","(905) 522-6222","One Duke Restaurant","One Duke in the 'South Side' Meet Neal as he creates and hosts a meal made for kings or Dukes that matter.","../images/featured_logo/oneduke_logo_big.gif","Fine Dining yet Casual","In the South Side")
        db[2] = new featlink("../customers/rebelsrock/index.html","../images/paying_logo/rebelsrock_logo_sm.gif","Hamilton","(905) 777-1771","Rebels Rock Irish Pub","Rebels Rock Irish Pub - 537 King St. E. - Hamilton, Ontario - 905-777-1771","../images/featured_logo/rebelsrock_logo_big.gif","Rebels Rock Irish Pub","Hamilton")
    }

    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/liquidkitty/index.html","../images/paying_logo/liquidkitty_logo_sm.gif","Downtown Hamilton","(905) 526-6666","Liquid Kitty","Downtown Hamilton has a new destination spot, Liquid Kitty. Our mission is to provide a new innovation in live music for the Hamilton core as well as an establishment where one can relax, groove and mingle. With a specialized martini bar, fine wine bar and draft bar featuring Labatt products Liquid Kitty is dedicated to serving you well and providing you with more! The music is the first element that sets Liquid Kitty apart from any other bar or lounge. Downtown Hamilton has not had a venue, in some time, that caters (though not exclusively) to the over 30 crowd. Bands such as the Tom Barlow Band, The Lincolns and Downstroke are popular bands that play music that people want to hear. The music is always good and you’ll never be disappointed. These bands are making a living of doing what they love to do; play music. When you add in special nights, such as the themed 'Awesome Powers and the Shagadelics' night, the bar is certain to provide a good time for everyone.","../images/featured_logo/liquidkitty_logo_big.gif","Lounge, Music, Martinis","Downtown Hamilton")
        db[1] = new featlink("../customers/gallaghersbar/index.html","../images/paying_logo/gallaghersbar_logo_sm.gif","Hamilton","(905) 577-6900","Gallaghers Bar and Lounge","Gallaghers Bar and Lounge","../images/featured_logo/gallaghersbar_logo_big.gif","Gallaghers Bar and Lounge","Hamilton")
        db[2] = new featlink("../customers/ninosristorante/index.html","../images/paying_logo/ninosristorante_logo_sm.gif","Hamilton","(289) 389-2103","Ninos Ristorante","Ninos Ristorante","../images/featured_logo/ninosristorante_logo_big.gif","Ninos Ristorante","Hamilton")
    }

    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/theliquidlounge/index.html","../images/paying_logo/theliquidlounge_logo_sm.gif","Brantford","(519) 756-3939","The Liquid Lounge - Brantford","The Liquid Lounge - Brantford","../images/featured_logo/theliquidlounge_logo_big.gif","The Liquid Lounge","Brantford")
        db[1] = new featlink("../customers/tailgatecharlies/index.html","../images/paying_logo/tailgatecharlies_logo_sm.gif","69 John Street","(905) 526-1882","Tailgate Charlie's","Friendly staff and a wooden décor top off this fantastic combination.  For those looking for the sports bar browse through autographed sportswear, watch the game on the big screen TVs and play pool or NTN.  For those more interested in dining on some great","../images/featured_logo/tailgatecharlies_logo_big.gif","Tailgate Charlie's","69 John Street")
        db[2] = new featlink("../customers/raysplacetheboathouse/index.html","../images/paying_logo/raysplacetheboathouse_logo_sm.gif","Hamilton","(905) 522-4800","Ray's Place","Rays Place The Boathouse - 303 Dundurn St. S. - Hamilton, Ontario - 905-522-4800","../images/featured_logo/raysplacetheboathouse_logo_big.gif","Ray's Place","Hamilton")
    }

    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/rebelsrock/index.html","../images/paying_logo/rebelsrock_logo_sm.gif","Hamilton","(905) 777-1771","Rebels Rock Irish Pub","Rebels Rock Irish Pub - 537 King St. E. - Hamilton, Ontario - 905-777-1771","../images/featured_logo/rebelsrock_logo_big.gif","Rebels Rock Irish Pub","Hamilton")
        db[1] = new featlink("../customers/theliquidlounge/index.html","../images/paying_logo/theliquidlounge_logo_sm.gif","Brantford","(519) 756-3939","The Liquid Lounge - Brantford","The Liquid Lounge - Brantford","../images/featured_logo/theliquidlounge_logo_big.gif","The Liquid Lounge","Brantford")
        db[2] = new featlink("../customers/liquidkitty/index.html","../images/paying_logo/liquidkitty_logo_sm.gif","Downtown Hamilton","(905) 526-6666","Liquid Kitty","Downtown Hamilton has a new destination spot, Liquid Kitty. Our mission is to provide a new innovation in live music for the Hamilton core as well as an establishment where one can relax, groove and mingle. With a specialized martini bar, fine wine bar and draft bar featuring Labatt products Liquid Kitty is dedicated to serving you well and providing you with more! The music is the first element that sets Liquid Kitty apart from any other bar or lounge. Downtown Hamilton has not had a venue, in some time, that caters (though not exclusively) to the over 30 crowd. Bands such as the Tom Barlow Band, The Lincolns and Downstroke are popular bands that play music that people want to hear. The music is always good and you’ll never be disappointed. These bands are making a living of doing what they love to do; play music. When you add in special nights, such as the themed 'Awesome Powers and the Shagadelics' night, the bar is certain to provide a good time for everyone.","../images/featured_logo/liquidkitty_logo_big.gif","Lounge, Music, Martinis","Downtown Hamilton")
    }

    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>");
}

