﻿//$(document).ready(function () {
//    $('.bts-ch2-medio-mhc-btAlerta_Abajo').click(function () {

//        var TituloOTAlert = $('#TituloOTAlert');
//        var id_oportunity = $(this).attr('title').split(']')[0].replace("[", "");
//        var TituloOT = $(this).attr('title').split(']')[1];


//        //        var strURL = '../Handlers/GetOTDetailsByID.ashx?id_oportunity=' + id_oportunity + '';
//        //        $.getJSON(strURL, function (Info) {
//        //            if (this['TituloOT'] != undefined) {
//        //                TituloOTAlert.html(this['TituloOT']);
//        //            }
//        //        });

//        //alert(id_oportunity);
//        TituloOTAlert.html(TituloOT);
//        $.blockUI({ message: $('#loginForm') });
//        $('.blockOverlay').attr('title', 'Click to unblock').click($.unblockUI);
//    });


//    $('[id$=\'btnConfirmarAlerta\']').click(function () {
//        // update the block message 
//        var strURL = '../Handlers/ManejoAlertas.ashx?id_oportunity=' + id_oportunity + '';
//        $.getJSON(strURL, function (Info) {
//            //if (this['TituloOT'] != undefined) {
//               //TituloOTAlert.html(this['TituloOT']);
//            //}
//        });

//        $.blockUI({ message: '<h1><img src="~/images_HomeCaida/busy.gif" /> Procesando..</h1>' });
//    });
//}); 
//        
