
function preloading(){
    var myimages = new Array();
    for (x=0; x<preloading.arguments.length; x++){
        myimages[x] = new Image();
        myimages[x].src = "/images/" + preloading.arguments[x];
    }
}

function swapMenuImg(id) {
    document.getElementById("menu_img_" + id).src = "/images/menu" + id + "_hover.png";
}

function swapMenuImgBack(id) {
    document.getElementById("menu_img_" + id).src = "/images/menu" + id + "_normal.png";
}

var h;
var m;
var s;

function pontos_ido() {

    if (m<10) m_ = "0" + m; else m_ = m;
    if (s<10) s_ = "0" + s; else s_ = s;

    document.getElementById('pontos_ido').innerHTML = h + ":" + m_ + ":" + s_;
    s++;
    if (s >= 60) {s=0;m++;}
    if (m >= 60) {m=0;h++;}
    if (h >= 24) {h=0;}

    var t = setTimeout('pontos_ido()', 1000);
}

function start_ora() {
    h = startH;
    m = startM;
    s = startS;

    pontos_ido();
}
