Project

General

Profile

1
<%@ page language="java"%>
2
<%
3
/**
4
 * 
5
 * '$RCSfile$'
6
 * Copyright: 2008 Regents of the University of California and the
7
 *             National Center for Ecological Analysis and Synthesis
8
 *    '$Author: leinfelder $'
9
 *      '$Date: 2011-01-06 21:28:23 -0800 (Thu, 06 Jan 2011) $'
10
 * '$Revision: 5782 $'
11
 * 
12
 * This program is free software; you can redistribute it and/or modify
13
 * it under the terms of the GNU General Public License as published by
14
 * the Free Software Foundation; either version 2 of the License, or
15
 * (at your option) any later version.
16
 * 
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 * GNU General Public License for more details.
21
     
22
 * You should have received a copy of the GNU General Public License
23
 * along with this program; if not, write to the Free Software
24
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
 */  
26
%>
27

    
28
<%@ include file="../../common/common-settings.jsp"%>
29
<%@ include file="../../common/configure-check.jsp"%>
30

    
31
<html>
32
<head>
33
<title>Semantic search</title>
34
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/semtools/semtools.css">
35
<link rel="stylesheet" type="text/css" href="<%=STYLE_COMMON_URL%>/jquery/jqueryui/css/smoothness/jquery-ui-1.8.6.custom.css">
36

    
37
<script language="javascript" type="text/javascript" src="<%=STYLE_COMMON_URL%>/jquery/jquery.js"></script>
38
<script language="javascript" type="text/javascript" src="<%=STYLE_COMMON_URL%>/jquery/jsTree/_lib/jquery.cookie.js"></script>
39
<script language="javascript" type="text/javascript" src="<%=STYLE_COMMON_URL%>/jquery/jsTree/jquery.jstree.js"></script>
40
<script language="javascript" type="text/javascript" src="<%=STYLE_COMMON_URL%>/jquery/jqueryui/js/jquery-ui-1.8.6.custom.min.js"></script>
41
<script language="javascript" type="text/javascript" src="<%=STYLE_COMMON_URL%>/jquery/busy/jquery.busy.js"></script>
42

    
43
<script language="javascript" type="text/javascript" src="<%=STYLE_SKINS_URL%>/semtools/search.js"></script>
44
<script language="javascript" type="text/javascript" src="<%=STYLE_SKINS_URL%>/semtools/semtools.js"></script>
45
<script language="javascript" type="text/javascript" src="<%=STYLE_COMMON_URL%>/branding.js"></script>
46

    
47
<script language="Javascript" type="text/JavaScript"><!--
48
function populateActiveDomain(divId, class) {
49
	// collect the filtering values we have so far
50
	// these are hidden input fields in the form for holding the selected values
51
	var entity = $("#activeEntitiesValue").val() ? $("#activeEntitiesValue").val() : "";
52
	var characteristic = $("#activeCharacteristicsValue").val() ? $("#activeCharacteristicsValue").val() : "";
53
	var protocol = $("#activeProtocolsValue").val() ? $("#activeProtocolsValue").val() : "";
54
	var measurement = $("#activeMeasurementsValue").val() ? $("#activeMeasurementsValue").val() : "";
55
	
56
	// TODO: remember the selected value for this when filtering by active domain
57
	var selectedNode = $("#" + divId).jstree("get_selected", $("#" + divId));
58
	var selectedNodeId = $(selectedNode).attr("id");
59
	//alert(divId + " selected node: " + selectedNodeId);
60
	
61
	// load the tree for the given div, passing in the other filtered values
62
	$("#" + divId).load(
63
		"<%=SERVLET_URL%>", 
64
		{
65
			'action': "getactivedomain",
66
			'class': class,
67
			'entity': entity,
68
			'characteristic': characteristic,
69
			'protocol': protocol,
70
			'measurement': measurement
71
		},
72
		// call back function when loading finishes
73
		function(response, status, xhr) {
74
			//alert("callback for: " + divId + " selected node: " + selectedNodeId);
75
			// error
76
			if (status == "error") {
77
				var msg = "Sorry but there was an error: ";
78
				$("#error").html(msg + xhr.status + " " + xhr.statusText);
79
			}
80
 
81
			// make it a js tree
82
			$(function () {
83
				$("#" + divId)
84
					//bind calls here
85
					.jstree({
86
						"ui" : {
87
							"select_limit" : 1,
88
							"select_multiple_modifier" : "alt",
89
							"selected_parent_close" : "select_parent"//,
90
							//"initially_select" : [ selectedNodeId ]
91
						},
92
						"themes" : {
93
							"theme" : "default",
94
							"dots" : true,
95
							"icons" : false
96
						},
97
						//"core" : { "initially_open" : [ selectedNodeId ] },
98
						"search" : { "case_insensitive" : true },
99
						//"cookies" : { 
100
						//		"save_opened" : "jstree_open_" + divId,
101
						//		"save_selected" : "jstree_select_" + divId,
102
						//},
103
						"plugins" : [ 
104
							"themes", 
105
							"html_data", 
106
							"ui", 
107
							//"cookies", 
108
							"search" ]
109
					});
110
			});
111

    
112
			// enable searching on it
113
			$("#" + divId + "Search").keyup(
114
				function () {
115
					var searchTerm = $("#" + divId + "Search").val();
116
					if (searchTerm.length >= 3) {
117
						// search
118
						$("#" + divId).jstree("search", searchTerm);
119
						// now prune
120
						prune(divId, "jstree-search");
121
						// is it an exact match?
122
						checkExactMatch(divId, searchTerm, "jstree-search");
123
					}
124
				});
125
			
126
			// toggle the active domain prune
127
			$("#" + divId + "Only").click(function() {
128
				doActiveDomain(divId);
129
			});	
130

    
131
			// actually prune if we should
132
			doActiveDomain(divId);
133

    
134
			// open first node always
135
			$("#" + divId).jstree("open_node", $("#" + divId).children("ul").first().children("li").first());
136
			
137
			// open to the node to last selected
138
			var nodePath = $("#" + divId).jstree("get_path", $(selectedNode));
139
			if (nodePath) {
140
				for (var index = 0; index < nodePath.length; index++) {
141
					$("#" + divId).jstree("open_node", $("#" + nodePath[index]));
142
				}
143
				// select the original node
144
				$("#" + divId).jstree("select_node", $(selectedNode), false);
145
				$("#" + divId).jstree("refresh", $(selectedNode));
146
				// TODO: scroll to selected node. 
147
				// This is supposed to be part of jsTree 1.0-rc2 but appears to be broken
148
			}
149
			
150
		});
151
}
152
/**
153
* Prunes the given tree to inlcude the given matched class 
154
**/
155
function prune(divId, matchClass) {
156

    
157
	// show all nodes (reset)
158
	$("#" + divId).find("li").show();
159
	
160
	// done if we don't have any thing to prune
161
	if (!matchClass) {
162
		return;
163
	}
164
	
165
	// get all non-matched anchor tags
166
	var nonmatches = $("#" + divId).find("a").not("." + matchClass);
167
	
168
	// get their parent nodes
169
	nonmatches = $(nonmatches).parents("li");
170

    
171
	// are there any matches under each parent node?
172
	$(nonmatches).each(
173
		function(index) {
174
			// do any chidren match?
175
			var childMatches = $(this).find("a." + matchClass);
176
			if (childMatches && childMatches.length > 0) {
177
				return true;
178
			}
179
			// parent matches?
180
			var parentMatches = $(this).parents("li").children("a." + matchClass);
181
			if (parentMatches && parentMatches.length > 0) {
182
				return true;
183
			}
184
			// hide this node if no matches under it
185
			$(this).hide();
186
		});
187
}
188
function checkExactMatch(divId, searchTerm, matchClass) {
189
	// get the current search matches
190
	var matches = $("#" + divId).find("a." + matchClass);
191
	// get their parent nodes
192
	matches = $(matches).parents("li");
193
	// check for exact matches
194
	var exactMatch = $(matches).filter("#" + searchTerm).first();
195
	if (exactMatch && exactMatch.length == 1) {
196
		//alert("exactMatch: " + exactMatch);
197
		// select in the tree, honoring the configured selection limit
198
		$("#" + divId).jstree("select_node", $(exactMatch), true);
199
		// act as those you clicked it
200
		// TODO: convert to event listeners on the tree
201
		select($(exactMatch).children("a"));
202
	}
203
}
204
function doActiveDomain(divId) {
205
	if ($("#" + divId + "Only").is(":checked")) {
206
		// prune to active
207
		prune(divId, "bold");
208
	} else {
209
		// reset
210
		prune(divId, null);
211
	}
212
}
213
function initialize(source) {
214
	// we don't want to reload the source of the filtering request
215
	// but we do want to reload the other trees for active domains
216
	// we reload all of them if no source is given - first time the page loads
217
	if (source) {
218
		source = $(source).attr("id");
219
	}
220
	if (!source) {
221
		source = "";
222
	}
223
	if (source != 'activeEntities') {
224
		populateActiveDomain('activeEntities', 'org.ecoinformatics.sms.annotation.Entity');
225
	}
226
	if (source != 'activeCharacteristics') {
227
		populateActiveDomain('activeCharacteristics', 'org.ecoinformatics.sms.annotation.Characteristic');
228
	}
229
	if (source != 'activeProtocols') {
230
		populateActiveDomain('activeProtocols', 'org.ecoinformatics.sms.annotation.Protocol');
231
	}
232
	if (source != 'activeMeasurements') {
233
		populateActiveDomain('activeMeasurements', 'org.ecoinformatics.sms.annotation.Measurement');
234
	}
235
}
236
function select(item) {
237

    
238
	// get the selected value, stored in the title attribute of the item <a> tag
239
	var value = $(item).attr("title");
240
	//alert("value: " + value);
241
	
242
	// get the parent div so we know what kind of class it is meant to filter
243
	// this is "the first parent of the class 'select'"
244
	var parent = $(item).parents("div.select:first");
245
	//alert("parent: " + parent);
246
	
247
	// set the value for the hidden input value
248
	// the input field of class "conceptValue" will hold it, this way we don't need to know the id
249
	var input = $(parent).children("input.conceptValue");
250
	$(input).val(value);
251
	//alert("input: " + input);
252
	
253
	// set it in the search field
254
	var treeInstance = $(item).parents("div.jstree:first");
255
	var shortName = $(item).parent().attr("id");
256
	$("#" + $(treeInstance).attr("id") + "Search").val(shortName)
257

    
258
	// refresh the search results
259
	doSearch($("#searchForm").get(0));
260
	
261
	// refresh the other trees for active domain after this filtering action
262
	initialize($(parent).children("div"));
263
}
264
function doSearch(formObj) {
265
	// set the hidden parameters based on the current state of the form
266
	checkSearch(formObj);
267
	
268
	// start the busy indicator
269
	$("#searchResults").busy(
270
			{
271
				position	: 'left', 
272
				offset		: -30, 
273
				hide		: true, 
274
				img			: "<%=STYLE_COMMON_URL%>/jquery/busy/busy.gif" 
275
			});
276
	
277
	//load the results
278
	$("#searchResults").load(
279
		"<%=SERVLET_URL%>" + " #content_wrapper",
280
		$(formObj).serialize(),
281
		// call back function when loading finishes
282
		function(response, status, xhr) {
283
			if (status == "error") {
284
				var msg = "Sorry but there was an error performing the search: ";
285
				$("#error").html(msg + xhr.status + " " + xhr.statusText);
286
			}
287
			// collapsible search results - show and hide the next div
288
			$(function() {
289
				$('.accordian').click(function() {
290
					var ref = $(this);
291
					$(this).parent().next().slideToggle(
292
						"slow",
293
						function() {
294
							if ($(ref).parent().next().is(":visible")) {
295
								$(ref).html("-");
296
							} else {
297
								$(ref).html("+");
298
							}
299
						});
300
					return false;
301
				}).parent().next().hide();
302
			});
303
			
304
			// stop the busy indicator
305
			$("#searchResults").busy("hide");
306
		});
307
		
308
	return false;
309
	
310
}
311
function loadCart() {
312

    
313
	// start the busy indicator
314
	$("#cartResults").busy(
315
			{
316
				position	: 'left', 
317
				offset		: -30, 
318
				hide		: true, 
319
				img			: "<%=STYLE_COMMON_URL%>/jquery/busy/busy.gif" 
320
			});
321
	
322
	// for looking up the cart
323
	var params = 
324
	{
325
		'action': 'getcart',
326
		'showAdd': 'false',
327
		'showRemove': 'true',
328
		'qformat': 'semtools'
329
	};
330
	//load the cart results
331
	$("#cartResults").load(
332
		"<%=SERVLET_URL%>" + " #content_wrapper",
333
		params,
334
		// call back function when loading finishes
335
		function(response, status, xhr) {
336
			if (status == "error") {
337
				var msg = "Sorry but there was an error performing the search: ";
338
				$("#error").html(msg + xhr.status + " " + xhr.statusText);
339
			}
340
			// collapsible search results - show and hide the next div
341
			$(function() {
342
				$('.accordian').click(function() {
343
					var ref = $(this);
344
					$(this).parent().next().slideToggle(
345
						"slow",
346
						function() {
347
							if ($(ref).parent().next().is(":visible")) {
348
								$(ref).html("-");
349
							} else {
350
								$(ref).html("+");
351
							}
352
						});
353
					return false;
354
				}).parent().next().hide();
355
			});
356
			
357
			// stop the busy indicator
358
			$("#cartResults").busy("hide");
359
		});
360
	return true;
361
}
362
function clearCart() {
363

    
364
	// for looking up the cart
365
	var params = 
366
	{
367
		'action': 'editcart',
368
		'operation': 'clear',
369
		'qformat': 'semtools'
370
	};
371
	// post the cart clear
372
	$("#cartResults").load(
373
		"<%=SERVLET_URL%>",
374
		params,
375
		// call back function when loading finishes
376
		function(response, status, xhr) {
377
			if (status == "error") {
378
				var msg = "Sorry but there was an error clearing the cart: ";
379
				$("#error").html(msg + xhr.status + " " + xhr.statusText);
380
			}
381
		});
382
	return true;
383
}
384
function clearForm() {
385
	// clear the form values
386
	$('#searchForm').get(0).reset();
387
	// clear each of the tree selections
388
	$(".jstree").each(function(index) {
389
		$(this).jstree("deselect_all");
390
	});
391
	$("input.conceptValue").each(function(index) {
392
		$(this).val("");
393
	});
394
	// reload the trees
395
	initialize();
396
	// reload the search results
397
	//alert($('#searchForm').get(0));
398
	doSearch($('#searchForm').get(0));
399
}
400
function addCurrent() {
401

    
402
	// make a container for this item
403
	var count = $("#searchCriteria").children(".searchItem").length;
404
	count++;
405
	var containerId = "searchItem_" + count;
406
	var container = "<div class='searchItem' id='" + containerId + "'/>";
407
	$("#searchCriteria").append(container);
408
	
409
	// get the current values
410
	$("input.conceptValue").each(function(index) {
411
		var title = $(this).attr("title");
412
		var value = $(this).val();
413
		var shortName = value.substr(value.lastIndexOf("#") + 1);
414
		var clone = $(this).clone();
415
		$(clone).removeClass("conceptValue");
416
		// put the value in the container
417
		$("#" + containerId).append(clone);
418
		$("#" + containerId).append("[" + title + " = " + shortName + "] ");
419
	});
420
	// get the current classes (for search to work correctly we need class+value for each entry)
421
	$("input.conceptClass").each(function(index) {
422
		var clone = $(this).clone();
423
		$(clone).removeClass("conceptClass");
424
		// put the class in the container
425
		$("#" + containerId).append(clone);
426
	});
427
	
428
	// add the remove button
429
	$("#" + containerId).append("<input type='button' value='Remove'/>").click(function() {
430
		// remove the container (includes the form objects we added)
431
		$("#" + containerId).remove();
432
		// refresh the search results now that they are less restrictive
433
		doSearch($("#searchForm").get(0));
434
	});
435
}
436
/**
437
 * Perform this when the page first loads
438
 */
439
function pageLoad() {
440
	initialize();
441
	doSearch($('#searchForm').get(0));
442
	//loadCart();
443
}
444
function donothing() {}
445
--></script>
446

    
447
</head>
448
<body onload="pageLoad()">
449
<script language="javascript">
450
	insertTemplateOpening("<%=CONTEXT_URL%>");
451
</script>
452

    
453
<div id="content_wrapper">
454
 
455
<h2>Semantic search</h2>
456

    
457
<div id="error">
458
	<!-- error messages here -->
459
</div>
460

    
461
<!-- set up the tabs -->
462
<script>
463
	$(function() {
464
		$("#searchTabs").tabs();
465
		$("#searchTabs").tabs("add", "#ecpTab", "Entity, Characteristic, Protocol");
466
		$("#searchTabs").tabs("add", "#measurementTab", "Measurement");
467
		$("#searchTabs").tabs("add", "#optionsTab", "Options");
468
		$("#searchTabs").tabs("add", "#cartTab", "Cart");
469
	});
470
</script>
471

    
472
<form method="POST" 
473
		action="<%=SERVLET_URL%>" 
474
		target="_top" 
475
		id="searchForm" 
476
		name="searchForm" 
477
		onSubmit="return doSearch(this)">
478
	<input name="query" type="hidden" />
479
	<input name="qformat" value="semtools" type="hidden" />
480
	<input name="includeHeader" value="false" type="hidden" />
481
	<input name="showAdd" value="true" type="hidden" />
482
	<input name="showRemove" value="false" type="hidden" />
483
	<input name="action" value="semquery" type="hidden" />
484

    
485
	<!-- tabs for the search interface -->		
486
	<div id="searchTabs">
487
		<!-- place holder for ui tabs -->
488
		<ul></ul>
489
	
490
		<!-- other criteria tabs -->
491
		<div id="ecpTab">
492
			<table>
493
				<tr>
494
					<td>
495
						<table class="subGroup subGroup_border">
496
							
497
							<tr>
498
								<th><p>Find observations of</p></th>
499
							</tr>
500
							<tr>
501
								<td>
502
									<input type="text" id="activeEntitiesSearch" />
503
									<input type="checkbox" id="activeEntitiesOnly" title="Show only active concepts" />
504
									<div class="select">
505
										<div id="activeEntities" class="activeTree">
506
											<p>loading...</p>
507
										</div>
508
										<input type="hidden" class="conceptValue" name="activeEntitiesValue" id="activeEntitiesValue" title="Entity"/>
509
										<input type="hidden" class="conceptClass" name="activeEntitiesClass" id="activeEntitiesClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Entity"/>
510
									</div>
511
								</td>
512
							</tr>
513
						</table>
514
					</td>
515
					<td>
516
						<table class="subGroup subGroup_border">
517
							<tr>
518
								<th><p>with measurements of</p></th>
519
							</tr>
520
							<tr>
521
								<td>
522
									<input type="text" id="activeCharacteristicsSearch" />
523
									<input type="checkbox" id="activeCharacteristicsOnly" title="Show only active concepts" />
524
									<div class="select">
525
										<div id="activeCharacteristics" class="activeTree">
526
											<p>loading...</p>
527
										</div>
528
										<input type="hidden" class="conceptValue" name="activeCharacteristicsValue" id="activeCharacteristicsValue" title="Characteristic"/>
529
										<input type="hidden" class="conceptClass" name="activeCharacteristicsClass" id="activeCharacteristicsClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Characteristic"/>
530
									</div>
531
								</td>
532
							</tr>
533
						</table>
534
					</td>
535
					<td>
536
						<table class="subGroup subGroup_border">
537
							<tr>
538
								<th><p>using procedures outlined by</p></th>
539
							</tr>
540
							<tr>
541
								<td>
542
									<input type="text" id="activeProtocolsSearch" />
543
									<input type="checkbox" id="activeProtocolsOnly" title="Show only active concepts" />
544
									<div class="select">
545
										<div id="activeProtocols" class="activeTree">
546
											<p>loading...</p>
547
										</div>
548
										<input type="hidden" class="conceptValue" name="activeProtocolsValue" id="activeProtocolsValue" title="Protocol"/>
549
										<input type="hidden" class="conceptClass" name="activeProtocolsClass" id="activeProtocolsClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Protocol"/>
550
									</div>
551
								</td>
552
							</tr>
553
						</table>
554
					</td>
555
				</tr>
556
			</table>
557

    
558
			<!-- collected search criteria here -->
559
			<table class="subGroup subGroup_border onehundred_percent">
560
				<tr>
561
					<th>
562
						<p>
563
						Search criteria
564
						<input type="button" value="Save current selection as criterion" onclick="addCurrent()"/>
565
						</p>
566
					</th>
567
				</tr>
568
				<tr>
569
					<td>
570
						<div id="searchCriteria">
571
						</div>
572
					</td>
573
				</tr>
574
			</table>
575

    
576
		</div>
577
		
578
		<!-- measurement -->
579
		<div id="measurementTab">
580
			<table class="subGroup subGroup_border onehundred_percent">
581
				
582
				<tr>
583
					<th><p>a template that defines Entity, Characteristic, Standard, and/or Protocol</p></th>
584
				</tr>
585
				
586
				<tr>
587
					<td>
588
						<input type="text" id="activeMeasurementsSearch" />
589
						Only active? <input type="checkbox" id="activeMeasurementsOnly" title="Show only active concepts"/>
590
						<div class="select">
591
							<div id="activeMeasurements" class="activeTree" style="width: 100%">
592
								<p>loading...</p>
593
							</div>
594
							<input type="hidden" class="conceptValue" name="activeMeasurementsValue" id="activeMeasurementsValue" title="Measurement"/>
595
							<input type="hidden" class="conceptClass" name="activeMeasurementsClass" id="activeMeasurementsClass" value="http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#Measurement"/>
596
						</div>
597
					</td>
598
				</tr>
599
			</table>
600
		</div>
601
		
602
		<!-- query options -->
603
		<div id="optionsTab">
604
			<table class="group group_border">
605
				<tr>
606
					<th colspan="2">
607
						<p>
608
							Locate <b>data packages</b> that have been semantically annotated within the observation model by
609
							selecting concepts from OBOE extension ontologies
610
						</p>
611
					</th>
612
				</tr>
613
				
614
				<tr>
615
					
616
					<td colspan="1">Match All? <input type="checkbox" name="matchAll" checked="checked"/></td>
617
				
618
					<td colspan="1">From same Observation? <input type="checkbox" name="strict"/></td>
619
				</tr>
620
				
621
			</table>
622
		</div>
623

    
624
		<!-- cart -->
625
		<div id="cartTab">
626
			<!--cart here -->	
627
			<table class="subGroup subGroup_border onehundred_percent">
628
				<tr>
629
					<th>
630
						<p>
631
						Cart
632
						<input type="button" value="Refresh" onclick="loadCart()"/>
633
						<input type="button" value="Remove all" onclick="clearCart(); loadCart()"/>
634
						</p>
635
					</th>
636
				</tr>
637
				<tr>
638
					<td>
639
						<div id="cartResults">
640
						No items in cart
641
						</div>
642
					</td>
643
				</tr>
644
			</table>
645
		</div
646
					
647
	</div>
648
	
649
	<br/>
650

    
651
	<!-- search results here -->	
652
	<table class="subGroup subGroup_border onehundred_percent">
653
		<tr>
654
			<th>
655
				Search Results
656
				<input type="reset" value="Clear" onclick="clearForm()"/>
657
			</th>
658
		</tr>
659
		<tr>
660
			<td>
661
				<div id="searchResults">
662
				No query has been specified	
663
				</div>
664
			</td>
665
		</tr>
666
	</table>	
667

    
668
</form>
669

    
670

    
671

    
672
<!-- Included default search/login -->
673
<% if ( PropertyService.getProperty("spatial.runSpatialOption").equals("true") ) { %>
674
<script language="javascript">
675
	insertMap("<%=CONTEXT_URL%>");
676
</script>
677
<br/>
678
<% } %>
679
  
680
<script language="javascript">
681
	insertSearchBox("<%=CONTEXT_URL%>");
682
	insertLoginBox("<%=CONTEXT_URL%>");	
683
</script>
684

    
685
</div>
686

    
687
<script language="javascript">
688
	insertTemplateClosing("<%=CONTEXT_URL%>");
689
</script>
690

    
691
</body>
692
</html>
(5-5/14)