    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 fitnesscentres(){
    db = new Array()
        db[0] = new featlink("../customers/sportszonecanada/index.html","../images/paying_logo/sportszonecanada_logo_sm.gif","Waterloo","(519) 725-8643","Sport Zone","Sport Zone - Hockey Equipment, Figure Skating Outfits and Skates, Baseball Equipment, Golf Clubs and Accessories in Waterloo. Buy and Test all equipment in our huge facility.","../images/featured_logo/sportszonecanada_logo_big.gif","Sport Zone","Waterloo")
    }

    function getfeatfitnesscentres() {

    fitnesscentres();
    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 gethomefitnesscentres() {

    fitnesscentres();
    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 sportsstores(){
    db = new Array()
        db[0] = new featlink("../customers/sportszonecanada/index.html","../images/paying_logo/sportszonecanada_logo_sm.gif","Waterloo","(519) 725-8643","Sport Zone","Sport Zone - Hockey Equipment, Figure Skating Outfits and Skates, Baseball Equipment, Golf Clubs and Accessories in Waterloo. Buy and Test all equipment in our huge facility.","../images/featured_logo/sportszonecanada_logo_big.gif","Sport Zone","Waterloo")
    }

    function getfeatsportsstores() {

    sportsstores();
    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 gethomesportsstores() {

    sportsstores();
    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 minidriving(){
    db = new Array()
        db[0] = new featlink("../customers/grandvalleygolf/index.html","../images/paying_logo/grandvalleygolf_logo_sm.gif","Cambridge","(519) 623-8811","Grand Valley Golf","Conveniently located a short drive from both Kitchener and Cambridge, Grand Valley Golf and Country Club has been a popular course with area golfers since it first opened for play in 1981.  Grand Valley Golf Course offers a mature, challenging round of golf that is relatively inexpensive (fees range from $27 - $34).  Whether it is after your game of golf or you just crave a home cooked meal, come visit our casual dining full service restaurant where our friendly staff and full plates of food results in satisfaction guarenteed.  Banquet facilities that can accomodate up to 350 people are also available for special events.","../images/featured_logo/grandvalleygolf_logo_big.gif","Grand Valley Golf","Cambridge")
    }

    function getfeatminidriving() {

    minidriving();
    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 gethomeminidriving() {

    minidriving();
    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 golfequipment(){
    db = new Array()
        db[0] = new featlink("../customers/grandvalleygolf/index.html","../images/paying_logo/grandvalleygolf_logo_sm.gif","Cambridge","(519) 623-8811","Grand Valley Golf","Conveniently located a short drive from both Kitchener and Cambridge, Grand Valley Golf and Country Club has been a popular course with area golfers since it first opened for play in 1981.  Grand Valley Golf Course offers a mature, challenging round of golf that is relatively inexpensive (fees range from $27 - $34).  Whether it is after your game of golf or you just crave a home cooked meal, come visit our casual dining full service restaurant where our friendly staff and full plates of food results in satisfaction guarenteed.  Banquet facilities that can accomodate up to 350 people are also available for special events.","../images/featured_logo/grandvalleygolf_logo_big.gif","Grand Valley Golf","Cambridge")
        db[1] = new featlink("../customers/thegolfshops-guelph/index.html","../images/paying_logo/thegolfshops-guelph_logo_sm.gif","Guelph","(519) 823-8453","The Golf Shop - Guelph","At the Golf Shop our sole intention is to make the game more enjoyable for the mass. Which means that regardless of your skill level we will be able to put you into the equipment that would best suit your needs. Custom fitting is a big part of what we do, it is too easy to walk into a store and just buy, but in reality not everyone can or should play with clubs right off the rack. Custom fitting on regular priced clubs does not incur any extra charges the only thing extra from the customer that we require is the time to properly fit you.","../images/featured_logo/thegolfshops-guelph_logo_big.gif","The Golf Shop","Guelph")
        db[2] = new featlink("../customers/sportszonecanada/index.html","../images/paying_logo/sportszonecanada_logo_sm.gif","Waterloo","(519) 725-8643","Sport Zone","Sport Zone - Hockey Equipment, Figure Skating Outfits and Skates, Baseball Equipment, Golf Clubs and Accessories in Waterloo. Buy and Test all equipment in our huge facility.","../images/featured_logo/sportszonecanada_logo_big.gif","Sport Zone","Waterloo")
    }

    function getfeatgolfequipment() {

    golfequipment();
    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 gethomegolfequipment() {

    golfequipment();
    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 golfcourses(){
    db = new Array()
        db[0] = new featlink("../customers/grandvalleygolf/index.html","../images/paying_logo/grandvalleygolf_logo_sm.gif","Cambridge","(519) 623-8811","Grand Valley Golf","Conveniently located a short drive from both Kitchener and Cambridge, Grand Valley Golf and Country Club has been a popular course with area golfers since it first opened for play in 1981.  Grand Valley Golf Course offers a mature, challenging round of golf that is relatively inexpensive (fees range from $27 - $34).  Whether it is after your game of golf or you just crave a home cooked meal, come visit our casual dining full service restaurant where our friendly staff and full plates of food results in satisfaction guarenteed.  Banquet facilities that can accomodate up to 350 people are also available for special events.","../images/featured_logo/grandvalleygolf_logo_big.gif","Grand Valley Golf","Cambridge")
    }

    function getfeatgolfcourses() {

    golfcourses();
    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 gethomegolfcourses() {

    golfcourses();
    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 skisnow(){
    db = new Array()
        db[0] = new featlink("../customers/harringtonsport/index.html","../images/paying_logo/harringtonsport_logo_sm.gif","Simcoe","(519) 426-0614","Harrington Sport","Harrington Sport - 31 North Folk St. N. - Simcoe - (519) 426-0614","../images/featured_logo/harringtonsport_logo_big.gif","Harrington Sport","Simcoe")
    }

    function getfeatskisnow() {

    skisnow();
    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 gethomeskisnow() {

    skisnow();
    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 cycling(){
    db = new Array()
        db[0] = new featlink("../customers/cyclecambridge/index.html","../images/paying_logo/cyclecambridge_logo_sm.gif","Cambridge","(519) 740-8766","Cycle Cambridge","The Bikes...It's what we're all about. All the accessories and cool parts mean nothing without a bike. Our goal is to look at all the brands available and choose the bikes that are the best combination of great ride and outstanding value. We know bikes, so it's our job to offer you options that guarantee your getting a great bike for your investment. We take that very seriously, so come in and find your new ride.","../images/featured_logo/cyclecambridge_logo_big.gif","Bikes. It's what we do","Cambridge")
    }

    function getfeatcycling() {

    cycling();
    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 gethomecycling() {

    cycling();
    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>");
}
