// tpager -- Javascript functions used by the tpager helper
//
// 2007-12-25 - swh original version
//
function selectAll(){
    // use prototype to select all elements in an array
    $$('input:[type=checkbox]').each(function(e){ e.checked = true;});
}
function deselectAll(){
    // use prototype to select all elements in an array
    var inputs = $$('input:[type=checkbox]');
    inputs.each(function(e){ e.checked = false;});
}
// used by onmouse over
function mark(v) {
    v.addClassName('marked');
}
function unmark(v) {
    v.removeClassName('marked');
}

