$.noConflict()

/**********************************************************************
 * Menú desplegable
 **********************************************************************/
 
jQuery(function () {
    jQuery('.dropdownMenu')
        .each(function () {
            jQuery(this).children('.subMenu').hide().css('position', 'relative')
            jQuery(this).children('.subMenu').children('ul').css({position: 'absolute', left: 0, top: 0})
        })
        .hover(function () {
            jQuery(this).children('.subMenu').show()
        }, function () {
            jQuery(this).children('.subMenu').hide()
        })
})

/**********************************************************************
 * Rellotge
 **********************************************************************/

function mueveReloj(){

    if (! document.form_reloj || !  document.form_reloj.reloj) return

    momentoActual = new Date()
    hora = momentoActual.getHours()
    minuto = momentoActual.getMinutes()
    segundo = momentoActual.getSeconds()

    str_segundo = new String (segundo)
    if (str_segundo.length == 1)
       segundo = "0" + segundo

    str_minuto = new String (minuto)
    if (str_minuto.length == 1)
       minuto = "0" + minuto

    str_hora = new String (hora)
    if (str_hora.length == 1)
       hora = "0" + hora

    horaImprimible = hora + "." + minuto + " h"

    document.form_reloj.reloj.value = horaImprimible

    setTimeout("mueveReloj()",1000)
}

mueveReloj()