$(document).ready(function(){
	var basicCkeditorUI = {
			toolbar :
		        [
					['Source'],['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'],
		            ['Styles','Format','Font','FontSize'],'/',
		            ['TextColor','BGColor'],['Table'],						            
		            ['Bold', 'Italic', 'Underline', '-','Outdent','Indent','-', 'NumberedList', 'BulletedList', '-', 'Link','-','Image'],
		            ['HorizontalRule','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],['About']
		        ],
		       filebrowserImageBrowseUrl : 'http://'+window.location.host+'/js/ckfinder/ckfinder.html?type=Images',
		       filebrowserBrowseUrl : 'http://'+window.location.host+'/js/ckfinder/ckfinder.html?type=Images',
		       
		     filebrowserUploadUrl : 'http://'+window.location.host+'/drainase/upload_saluran_ckeditor',
		     filebrowserImageUploadUrl : 'http://'+window.location.host+'/drainase/upload_saluran_ckeditor'//,
		     //filebrowserBrowseUrl : 'http://'+window.location.host+'/drainase/upload_saluran_ckeditor/keterangan/1/en',
		     //filebrowserImageBrowseUrl : 'http://'+window.location.host+'/drainase/upload_saluran_ckeditor/keterangan/1/en'
		
    };
    

    
    $('.ckeditorContener').ckeditor(basicCkeditorUI);
    //CKFinder.setupCKEditor( basicCkeditorUI/*, 'js/ckfinder/' */) ;
});