<!-- cloak


function startup(){
    db = new Array()
db[0] = new link("../customers/adventureattic/index.html","/images/paying_logo/adventureattic_logo_sm.gif","Westdale Hamilton","Outdoor Clothing and Equipment")
db[1] = new link("../customers/fergusbrewhouse/index.html","/images/paying_logo/fergusbrewhouse_logo_sm.gif","Fergus","Fergus Brew House")
db[2] = new link("../customers/boardwalksport/index.html","/images/paying_logo/boardwalksport_logo_sm.gif","UPtown Waterloo","Mens and Womens Name Brand Designer Clothing")
db[3] = new link("../customers/sherwoodmusic/index.html","/images/paying_logo/sherwoodmusic_logo_sm.gif","Kitchener","We carry it")
db[4] = new link("../customers/greenwaybloom/index.html","/images/paying_logo/greenwaybloom_logo_sm.gif","Breslau","Come visit us for something exotic and different")
db[5] = new link("../customers/worldofhottubs/index.html","/images/paying_logo/worldofhottubs_logo_sm.gif","Guelph","Your Spa and Hot Tub Experts!!!")
db[6] = new link("../customers/landscape-plus/index.html","/images/paying_logo/landscape-plus_logo_sm.gif","Ariss","Landscape Plus Depot and Supplies")
db[7] = new link("../customers/kennedycatering/index.html","/images/paying_logo/kennedycatering_logo_sm.gif","St Agatha","A Gathering place for Friends since 1857")
db[8] = new link("../customers/cafe13/index.html","/images/paying_logo/cafe13_logo_sm.gif","Cambridge","Cafe 13 Main Street Grill")
}

function link(where,title,address,name) {
    this.where = where;
    this.title = title;
    this.address = address;
    this.name = name;
    return this
}

function RanNum(r) {
    today = new Date();
    startup();
    num = Math.floor(Math.abs(Math.sin(today.getSeconds()) * 1000 % db.length));
    return (num);
}

function getRandomLink1() {

    n= RanNum(0);

    document.write('<a href=' + db[n].where + ' target=new>' + '<img src=' + db[n].title + ' border=0>'  +  '</a><br>' + '<font face=tahoma size=1 color=white>' + db[n].name  + '<br>' + db[n].address)

}

function getRandomLink2() {

      r=1;

    n= RanNum(r);
    n = n + r;

    if (n >= db.length){
        n = n - db.length;
    }


if (db.length==1 || db.length==0)
{
    n=0;
}
    document.write('<a href=' + db[n].where + ' target=new>' + '<img src=' + db[n].title + ' border=0>'  +  '</a><br>' + '<font face=tahoma size=1 color=white>' + db[n].name  + '<br>' + db[n].address)
}


function getRandomLink3() {

      r=2;

    n= RanNum(r);
    n = n + r;

    if (n >= db.length){
        n = n - db.length;
    }


if (db.length==1 || db.length==0)
{
    n=0;
}
    document.write('<a href=' + db[n].where + ' target=new>' + '<img src=' + db[n].title + ' border=0>'  +  '</a><br>' + '<font face=tahoma size=1 color=white>' + db[n].name  + '<br>' + db[n].address)
}


function getRandomLink4() {

      r=3;

    n= RanNum(r);
    n = n + r;

    if (n >= db.length){
        n = n - db.length;
    }


if (db.length==1 || db.length==0)
{
    n=0;
}
    document.write('<a href=' + db[n].where + ' target=new>' + '<img src=' + db[n].title + ' border=0>'  +  '</a><br>' + '<font face=tahoma size=1 color=white>' + db[n].name  + '<br>' + db[n].address)
}


function getRandomLink5() {

      r=4;

    n= RanNum(r);
    n = n + r;

    if (n >= db.length){
        n = n - db.length;
    }


if (db.length==1 || db.length==0)
{
    n=0;
}
    document.write('<a href=' + db[n].where + ' target=new>' + '<img src=' + db[n].title + ' border=0>'  +  '</a><br>' + '<font face=tahoma size=1 color=white>' + db[n].name  + '<br>' + db[n].address)
}


function getRandomLink6() {

      r=5;

    n= RanNum(r);
    n = n + r;

    if (n >= db.length){
        n = n - db.length;
    }


if (db.length==1 || db.length==0)
{
    n=0;
}
    document.write('<a href=' + db[n].where + ' target=new>' + '<img src=' + db[n].title + ' border=0>'  +  '</a><br>' + '<font face=tahoma size=1 color=white>' + db[n].name  + '<br>' + db[n].address)
}


function getRandomLink7() {

      r=6;

    n= RanNum(r);
    n = n + r;

    if (n >= db.length){
        n = n - db.length;
    }


if (db.length==1 || db.length==0)
{
    n=0;
}
    document.write('<a href=' + db[n].where + ' target=new>' + '<img src=' + db[n].title + ' border=0>'  +  '</a><br>' + '<font face=tahoma size=1 color=white>' + db[n].name  + '<br>' + db[n].address)
}


             function getBannerAd1() {
                 r=2;}
             function getBannerAd2() {
                 r=2;}


function rightsidebar1() {
    document.write("<center><font color=red face=tahoma size=2><b>LOCAL BIA's</b></font><BR><BR>")}
