| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -14,12 +14,14 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    my_protocol = location.protocol; | 
					 | 
					 | 
					 | 
					    my_protocol = location.protocol; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    my_pathname=location.pathname; | 
					 | 
					 | 
					 | 
					    my_pathname=location.pathname; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    work_path = my_pathname.substr(0,my_pathname.indexOf('/courses/')); | 
					 | 
					 | 
					 | 
					    work_path = my_pathname.substr(0,my_pathname.indexOf('/courses/')); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    var glossaryAjaxUrl = my_protocol+"//"+location.host+work_path+"/main/glossary/glossary_ajax_request.php"; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    var mainUrl = my_protocol+"//"+location.host+work_path+"/main/"; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    $.ajax({ | 
					 | 
					 | 
					 | 
					    $.ajax({ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        contentType: "application/x-www-form-urlencoded", | 
					 | 
					 | 
					 | 
					        contentType: "application/x-www-form-urlencoded", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        beforeSend: function(content_object) {}, | 
					 | 
					 | 
					 | 
					        beforeSend: function(content_object) {}, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        type: "POST", | 
					 | 
					 | 
					 | 
					        type: "POST", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        url: my_protocol+"//"+location.host+work_path+"/main/glossary/glossary_ajax_request.php", | 
					 | 
					 | 
					 | 
					        url: glossaryAjaxUrl, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        data: "glossary_data=true", | 
					 | 
					 | 
					 | 
					        data: "glossary_data=true", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        success: function(datas) { | 
					 | 
					 | 
					 | 
					        success: function(datas) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (datas.length==0) { | 
					 | 
					 | 
					 | 
					            if (datas.length==0) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -99,10 +101,10 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                $.ajax({ | 
					 | 
					 | 
					 | 
					                $.ajax({ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    contentType: "application/x-www-form-urlencoded", | 
					 | 
					 | 
					 | 
					                    contentType: "application/x-www-form-urlencoded", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    beforeSend: function(content_object) { | 
					 | 
					 | 
					 | 
					                    beforeSend: function(content_object) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        $("div#"+div_content_id).html("<img src='../../../../../../../main/inc/lib/javascript/indicator.gif' />"); | 
					 | 
					 | 
					 | 
					                        $("div#"+div_content_id).html("<img src='"+mainUrl+"inc/lib/javascript/indicator.gif' />"); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    }, | 
					 | 
					 | 
					 | 
					                    }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    type: "POST", | 
					 | 
					 | 
					 | 
					                    type: "POST", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    url: "../../../../../../../main/glossary/glossary_ajax_request.php", | 
					 | 
					 | 
					 | 
					                    url: glossaryAjaxUrl, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    data: "glossary_id="+my_glossary_id, | 
					 | 
					 | 
					 | 
					                    data: "glossary_id="+my_glossary_id, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    success: function(datas) { | 
					 | 
					 | 
					 | 
					                    success: function(datas) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        $("div#"+div_content_id).html(datas); | 
					 | 
					 | 
					 | 
					                        $("div#"+div_content_id).html(datas); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |