﻿$(document).ready(function() {
$('#slider').nivoSlider();
    UCBitch(2);
    UCBitch(3);
    UCBitch(4);
    UCBitch(5);
    UCBitch(6);
    jQuery("div.divSlide").click(function() {
        alert("it is");
    });
});

function UCBitch(ID) {
    $('#divBitchID' + ID).addClass("LoaderBitch");
    $.ajax({
        type: "POST",
        url: "Default.aspx/Oku",
        data: "{ ID:'" + ID + "'}",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function(response) {
            //$.unblockUI();
            $('#divBitchID' + ID).html(response.d);
            $('#divBitchID' + ID).removeClass("LoaderBitch");
        },
        error: function(msg) {
            //$.unblockUI();
            alert(msg.responseText);
            //$('#divKayipID').html(msg.d);
        }
    });
}
function f_Haber(ID) {
    alert(ID);
}
