﻿function addfavoritos() {
    if ((navigator.appName == "Microsoft Internet Explorer") &&
         (parseInt(navigator.appVersion) >= 4)) {
                
        var titulo = "Multimedia Repsol";
        window.external.AddFavorite(location.href,  titulo);
    } else {
        if (navigator.appName == "Netscape")
            alert("Presione Crtl+D para agregar este sitio en sus Bookmarks");
    }
}


$(document).ready(function() {

    $("#print").click(function() { print(); return false; });
    $(".txt").click(function() { this.value = ""; return false; });


    $("#descargar .enlacedescarga").click(function() {
    if ($(".icodescarga").is(":hidden")) {
        $(".icodescarga").slideDown("slow");
        } else {
        $(".icodescarga").slideUp("slow");
        }
    });








   //ultimos registros

    $('#ult-items').cycle({

        fx: 'scrollLeft',
        speed: 'slow',
        timeout: 0,
        next: '#nextHome'
    });

    $('#ult-items2').cycle({

        fx: 'scrollLeft',
        speed: 'slow',
        timeout: 0,
        next: '#nextHome2'
    });

    $('#ult-items3').cycle({

        fx: 'scrollLeft',
        speed: 'slow',
        timeout: 0,
        next: '#nextHome3'
    });


});


