
function showThickerbox(action,title,inpage){
		 if(action =="open"){
		 	$("#baslik").html(title);
			$("#icerik").html(inpage);
		 	$("#thickerbox-blackoverlay").show();
		 	$("#thickerbox-modalcontainer").fadeIn('slow');

		 }else{
			$("#thickerbox-modalcontainer").fadeOut('slow',function(){
			$("#thickerbox-blackoverlay").hide();   
			});
		 }
	 }

function tbescClose(evt) {
		 if (evt.keyCode == 27) {
			 showThickerbox('close');
		 }
		}


/*function showThickerbox(action,title,inpage){
if(action =="open"){
	$("#thickerbox-blackoverlay").show();
	$("#thickerbox-modalcontainer-load").show();
	$("#tb_title").html(title);
	$("#tb_content").load(inpage,function(){
		$(this).oneTime(2000,function(){
		$("#thickerbox-modalcontainer-load").hide();
		$("#thickerbox-modalcontainer").show();
		});
	});
}else{
 $("#thickerbox-modalcontainer").hide();
$("#thickerbox-blackoverlay").hide();
     
 }
}

function showModalContent(){

clearTimeout(loadModal);
}*/