/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$(document).ready(function(){
    $("#calendar").datepicker({
        onSelect: function(dateText, inst) { 
            window.location.href="?fecha="+dateText
        },
        showOn: "button",
        buttonImage: "images/main/calendarico.jpg",
        buttonImageOnly: true,
        maxDate:new Date()
    }); 
    $(".youtube").colorbox({
        iframe:true, 
        innerWidth:425, 
        innerHeight:344
    });
//$("ul.demo1").ytplaylist({addThumbs:true, autoPlay: false});
})

