function preload(obj, path) {obj = new Image(); obj.src = path;}
function m1_ovr(id) {
    current = document.getElementById('m1'+id);
    next = document.getElementById('m1'+(id+1));
    current.style.backgroundPosition = next != null ? '100% -98px' : '100% -147px';
}
function m1_out(id) {
    current = document.getElementById('m1'+id);
    prev = document.getElementById('m1'+(id-1));
    if (prev != null && prev.className != 'a') prev.style.backgroundPosition = '100% 0';
    current.style.backgroundPosition = (current.className == 'last' || current.className == 'pa') ? '-1000px 0' : '100% 0';
}
