// pics and information on navigation of page index
// C by MaKno in 2000 applied for baeckerei-pesl.at

// off

var view = new Image();
view.src = "../img/buttons/view_off.gif";

var credo = new Image();
credo.src = "../img/buttons/credo_off.gif";

var allergy = new Image();
allergy.src = "../img/buttons/allergy_off.gif";

var tradition = new Image();
tradition.src = "../img/buttons/tradition_off.gif";

var special = new Image();
special.src = "../img/buttons/special_off.gif";

var links = new Image();
links.src = "../img/buttons/links_off.gif";

// on

var viewon = new Image();
viewon.src = "../img/buttons/view_on.gif";

var credoon = new Image();
credoon.src = "../img/buttons/credo_on.gif";

var allergyon = new Image();
allergyon.src = "../img/buttons/allergy_on.gif";

var traditionon = new Image();
traditionon.src = "../img/buttons/tradition_on.gif";

var specialon = new Image();
specialon.src = "../img/buttons/special_on.gif";

var linkson = new Image();
linkson.src = "../img/buttons/links_on.gif";

// -----------------------------------------------------------------------
function setOn(name){
    document[name].src = eval(name + "on.src");
}
// -----------------------------------------------------------------------
function setOff(name){
    document[name].src = eval(name + ".src");
}
// -----------------------------------------------------------------------
