//  gallery javascript for White Knight's Tavern
//  created by Rob Watson - last modified 02/22/02

function picture(name, status

// pre-load images
if (is_nav4up || is_ie4up)  {
    off = new Image(); off.src = 'img/gallery_none.jpg';
    life = new Image(); life.src = 'img/gallery_life.jpg';
    scifi = new Image(); scifi.src = 'img/gallery_scifi.jpg';
    stills = new Image(); stills.src = 'img/gallery_stills.jpg';
    creepy = new Image(); creepy.src = 'img/gallery_creepy.jpg';

    wsoff = '';
    wslife = 'Life Goes On';
    wsscifi = 'Out Of This World';
    wsstills = 'Still Life';
    wscreepy = 'Bring In The Clown';
}

// image swap function
function imgSwap(p) {
    if (is_nav4up || is_ie4up) {
         document['gcircle'].src = eval(p + ".src");
         window.status = eval("ws" + p);
    }
}
