$(function(){
    $("#MsgError").dialog({autoOpen:false, modal:true,width: 400,maxWidth:600,show:'slide',
                                                      buttons: {
                                                            Cerrar: function() {
                                                                 $( this ).dialog( "close" );
                                                                }
                                                          }
 
                                    });
});

$(function() {
		$( "#tabs" ).tabs();
});

///*Funcion para efecto de imagenes*/
//$(window).load(function() {
//        $('#slider').nivoSlider();
//});

/* Cambio en TOP de Logo y banner*/
$(function() {
    var $container = $('#DivTop').cycle({
        fx: 'fade',
        speed: 1000,
        timeout: 5000
    });
});

/* Código de imágenes rotando, parte inferior  */
$(function() {
    var $container = $('#container').cycle({
        fx: 'turnUp',
        speed: 1000,
        timeout: 3000
    });
});

//$(function(){
//    $("#Mensaje").dialog({autoOpen:false, modal:true,width: 400,maxWidth:600,show:'slide',
//    			                                    buttons: {
//				                                    Aceptar: function() {
//					                                    window.location = "Index.aspx"
//				                                        }
//			                                        },
//			                                        close: function(event, ui) { 
//			                                            window.location = "Index.aspx";
//			                                        }


//                                    });
//});


//$(function(){
//    $("#MsgNuevoTks").dialog({autoOpen:false, closeOnEscape: false, modal:true,width: 400,maxWidth:600,show:'slide',
//                                                      buttons: {
//                                                            Cerrar: function() {
//                                                                 window.location = "QMisTickets.aspx";
//                                                                }
//                                                          }
// 
//                                    });
//});

