function hbrarsiv(id,menuid){
//alert(disid);
$.ajax({
    url: 'class/ajx_lawoffice.php',
    type: 'POST',
    dataType: 'html',
   //timeout: 1000,
	data: "tur=6&id="+id+"&menuid="+menuid,
    error: function(){
        alert('Bir Hata Olustu');
    },
	success: function(html){
	//alert(html);
	$("#icerik_alan").slideUp("slow",function(){
    $("#icerik_alan").html(html);
	});
	$("#icerik_alan").slideDown("slow",function(){
    $("#icerik_alan").html(html);});
    }
});
//yukleniyor("gizle");
}

function kicerik(id,tip){
//alert(disid);
$.ajax({
    url: 'class/ajx_lawoffice.php',
    type: 'POST',
    dataType: 'html',
   //timeout: 1000,
	data: "tur=5&id="+id+"&tip="+tip,
    error: function(){
        alert('Bir Hata Olustu');
    },
	success: function(html){
	//alert(html);
	$("#icerik_alan").slideUp("slow",function(){
    $("#icerik_alan").html(html);
	});
	$("#icerik_alan").slideDown("slow",function(){
    $("#icerik_alan").html(html);});
    }
});
//yukleniyor("gizle");
}

function icerik(id)
{
//document.getElementById(123).style.visibility='visible';
$.ajax({
    url: 'class/ajx_lawoffice.php',
    type: 'POST',
    dataType: 'html',
   //timeout: 1000,
	data: "tur=0&id="+id,
    error: function(){
        alert('Hata Olustu.Baglantinizda Sikinti Olabilir!!!');
    },
	success: function(html){
	//alert(html);
	$("#icerik_alan").slideUp("slow",function(){
    $("#icerik_alan").html(html);
	});
	$("#icerik_alan").slideDown("slow",function(){
    $("#icerik_alan").html(html);});
    }
});
//document.getElementById(123).style.visibility='hidden';
//yukleniyor("gizle");
}
function ac(yol){
	window.open(yol, "", "width=500px, height=300px,left=0px,top=0px, resizable")
}
function ac2(yol){
	window.open(yol, "", "width=800px, height=600px,left=0px,top=0px,scrollbars=1")
}
function arastir()
{
	if (document.getElementById(123).value!="")
	{
		$.ajax({
    url: 'class/ajx_lawoffice.php',
    type: 'POST',
    dataType: 'html',
   //timeout: 1000,
	data: "tur=1&kriter="+document.getElementById(123).value,
    error: function(){
        alert('Hata Olustu.Baglantinizda Sikinti Olabilir!!!');
    },
	success: function(html){
	//alert(html);
	$("#icerik_alan").slideUp("slow",function(){
    $("#icerik_alan").html(html);
	});
	$("#icerik_alan").slideDown("slow",function(){
    $("#icerik_alan").html(html);});
    }
});
	}else
	{
		alert('Lütfen Arama Yapabilmek İçin Kriter Giriniz');
	}
}
