<!-- cloak


function startup(){
    db = new Array()
db[0] = new link("../customers/artbar/index.html","/images/paying_logo/artbar_logo_sm.gif","In the Centre in the Square","Creative dining and wines")
db[1] = new link("../customers/blackbadger/index.html","/images/paying_logo/blackbadger_logo_sm.gif","Cambridge","Authentic Tudor style pub")
db[2] = new link("../customers/mcmullansonking/index.html","/images/paying_logo/mcmullansonking_logo_sm.gif","Waterloo","The best pub in town")
db[3] = new link("../customers/adventureattic/index.html","/images/paying_logo/adventureattic_logo_sm.gif","Westdale Hamilton","Outdoor Clothing and Equipment")
db[4] = new link("../customers/whaleandale/index.html","/images/paying_logo/whaleandale_logo_sm.gif","Kitchener","Near Bingemans")
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/headkuarters/index.html","/images/paying_logo/headkuarters_logo_sm.gif","Waterloo","Headkuarters Hair Design")
db[7] = new link("../customers/kennedycatering/index.html","/images/paying_logo/kennedycatering_logo_sm.gif","St Agatha","A Gathering place for Friends since 1857")
}

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>")}

