}
</script>
+<script>
+function mkDepURL(uri)
+{
+ var iurl = unescape(getParam("url"));
+ var getterURL = getParam3(iurl,"param.getterURL");
+ var interfaceURL = unescape(getParam3(iurl,"param.interfaceURL"));
+ var url = setParam(iurl,"keys","MDG");
+ url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + uri);
+ url = setParam(url,"param.CICURI",uri);
+ url = setParam(url,"param.RDFURI","helm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//" + uri);
+ var draw_graph_url =
+ location.protocol + '//' + location.host + location.pathname;
+ url = draw_graph_url + "?url=" + escape(url);
+ return url;
+}
+
+function mkCICURL(uri)
+{
+ var iurl = unescape(getParam("url"));
+ var getterURL = getParam3(iurl,"param.getterURL");
+ var interfaceURL = unescape(getParam3(iurl,"param.interfaceURL"));
+ var url = setParam(iurl,"keys",getParam3(iurl,"param.keys"));
+ url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + uri);
+ url = setParam(url,"param.CICURI",uri);
+ url = setParam(url,"param.RDFURI","helm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//" + uri);
+ url = interfaceURL + "?url=" + escape(url);
+ return url;
+}
+
+function mkMetaURL(uri)
+{
+ var iurl = unescape(getParam("url"));
+ var getterURL = getParam3(iurl,"param.getterURL");
+ var interfaceURL = unescape(getParam3(iurl,"param.interfaceURL"));
+ var url = setParam(iurl,"keys","MMG");
+ url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3Dhelm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//" + uri);
+ url = setParam(url,"param.CICURI",uri);
+ url = setParam(url,"param.RDFURI","helm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//" + uri);
+ var draw_graph_url =
+ location.protocol + '//' + location.host + location.pathname;
+ url = draw_graph_url + "?url=" + escape(url);
+ return url;
+}
+</script>
+
</head>
<body bgcolor="white" onLoad="window.focus()">
my $point_4_5_x = $point1x + 4*($point2x - $point1x)/5;
print <<EOT;
<script>
- var iurl = unescape(getParam("url"));
- var getterURL = getParam3(iurl,"param.getterURL");
- var interfaceURL = unescape(getParam3(iurl,"param.interfaceURL"));
- var url = setParam(iurl,"keys","MDG");
- url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D$uri");
- url = setParam(url,"param.CICURI","$uri");
- url = setParam(url,"param.RDFURI","helm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//$uri");
- var draw_graph_url =
- location.protocol + '//' + location.host + location.pathname;
- url = draw_graph_url + "?url=" + escape(url);
- document.write('<area shape="rect" href="' + url + '" coords="$point1x,$point2y,$point_1_5_x,$point1y">');
+ document.write('<area shape="rect" href="' + mkDepURL('$uri') + '" coords="$point1x,$point2y,$point_1_5_x,$point1y">');
</script>
EOT
print <<EOT;
<script>
- var iurl = unescape(getParam("url"));
- var getterURL = getParam3(iurl,"param.getterURL");
- var interfaceURL = unescape(getParam3(iurl,"param.interfaceURL"));
- var url = setParam(iurl,"keys",getParam3(iurl,"param.keys"));
- url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D$uri");
- url = setParam(url,"param.CICURI","$uri");
- url = setParam(url,"param.RDFURI","helm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//$uri");
- url = interfaceURL + "?url=" + escape(url);
- document.write('<area shape="rect" href="' + url + '" coords="$point_2_5_x,$point2y,$point_3_5_x,$point1y" target="cic">');
+ document.write('<area shape="rect" href="' + mkCICURL('$uri') + '" coords="$point_2_5_x,$point2y,$point_3_5_x,$point1y" target="cic">');
</script>
EOT
print <<EOT;
<script>
- var iurl = unescape(getParam("url"));
- var getterURL = getParam3(iurl,"param.getterURL");
- var interfaceURL = unescape(getParam3(iurl,"param.interfaceURL"));
- var url = setParam(iurl,"keys","MMG");
- url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3Dhelm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//$uri");
- url = setParam(url,"param.CICURI","$uri");
- url = setParam(url,"param.RDFURI","helm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//$uri");
- var draw_graph_url =
- location.protocol + '//' + location.host + location.pathname;
- url = draw_graph_url + "?url=" + escape(url);
- document.write('<area shape="rect" href="' + url + '" coords="$point_4_5_x,$point2y,$point2x,$point1y">');
+ document.write('<area shape="rect" href="' + mkMetaURL('$uri') + '" coords="$point_4_5_x,$point2y,$point2x,$point1y">');
</script>
EOT
}