
labels = new Array('home', 'what', 'coach', 'faq', 'pack', 'clients', 'articles', 'contact');


rollovers = new Array();

for (i in labels) {
    label_on = labels[i] + "_on"; 
    label_off = labels[i] + "_off";
    rollovers[label_on] = new Image(); 
    rollovers[label_off] = new Image(); 
    rollovers[label_on].src = "images/button_bar/"+ labels[i] +"2.gif"; 
    rollovers[label_off].src = "images/button_bar/"+ labels[i] +"1.gif"; 
}


function light(img, label) {
    img.src = rollovers[label + "_on"].src;
}

function dim(img, label) {
    img.src = rollovers[label + "_off"].src;
}
