Tore Christiansen

Changed type to html

1 +<html>
2 + <head>
3 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4 + <meta name="Tittel" content=""/>
5 + <meta name="Emne" content=""/>
6 + <meta name="Kategori" content=""/>
7 + <meta name="Nøkkelord" content=""/>
8 + <meta name="Beskrivelse" content=""/>
9 + <meta name="Forfatter" content="Tore Christiansen"/>
10 + <meta name="Overordnet" content=""/>
11 + <meta name="Firma" content="IDI-NTNU"/>
12 +
13 + <title>20141017 ILAP 2</title>
14 + <script src="20141017 ILAP 2.0 Ontology Model-filer/frameset.js" type="text/javascript" language="javascript"></script>
15 + <script type="text/javascript" language="javascript" >
16 +
17 +function FileEntry (pageIndex, pageID, pageName, priImage, secImage)
18 +{
19 + this.PageIndex = pageIndex;
20 + this.PageID = pageID;
21 + this.PageName = pageName;
22 + this.PriImage = priImage;
23 + this.SecImage = secImage;
24 +}
25 +
26 +var viewMgr = null;
27 +
28 +var g_FileList = new Array(
29 + new FileEntry (1, 16, "ILAP Topstructure", "vml_1.htm", "png_1.htm"),
30 + new FileEntry (2, 94, "ILAP HQPC", "vml_2.htm", "png_2.htm"),
31 + new FileEntry (3, 85, "ILAP Asset Lifecycle", "vml_3.htm", "png_3.htm"),
32 + new FileEntry (4, 93, "ILAP LC2", "vml_4.htm", "png_4.htm"),
33 + new FileEntry (5, 88, "ILAP Plan Hierarchy", "vml_5.htm", "png_5.htm"),
34 + new FileEntry (6, 78, "ILAP Classification", "vml_6.htm", "png_6.htm"),
35 + new FileEntry (7, 95, "ILAP CL2", "vml_7.htm", "png_7.htm"),
36 + new FileEntry (8, 58, "ILAP Reference Data", "vml_8.htm", "png_8.htm"),
37 + new FileEntry (9, 102, "ILAP Planning Core", "vml_9.htm", "png_9.htm"),
38 + new FileEntry (10, 123, "Schedule", "vml_10.htm", "png_10.htm"),
39 + new FileEntry (11, 111, "Facility", "vml_11.htm", "png_11.htm"),
40 + new FileEntry (12, 110, "Discipline", "vml_12.htm", "png_12.htm"),
41 + new FileEntry (13, 113, "Phase", "vml_13.htm", "png_13.htm"),
42 + new FileEntry (14, 109, "Milestone", "vml_14.htm", "png_14.htm"),
43 + new FileEntry (15, 103, "Risk", "vml_15.htm", "png_15.htm"),
44 + new FileEntry (16, 114, "Shutdown", "vml_16.htm", "png_16.htm"),
45 + new FileEntry (17, 112, "Priority", "vml_17.htm", "png_17.htm"),
46 + new FileEntry (18, 115, "Criticality", "vml_18.htm", "png_18.htm"),
47 + new FileEntry (19, 116, "Expense", "vml_19.htm", "png_19.htm"),
48 + new FileEntry (20, 117, "Status", "vml_20.htm", "png_20.htm"),
49 + new FileEntry (21, 106, "User Fields", "vml_21.htm", "png_21.htm"),
50 + new FileEntry (22, 118, "WBS", "vml_22.htm", "png_22.htm"),
51 + new FileEntry (23, 120, "UserField1", "vml_23.htm", "png_23.htm"),
52 + new FileEntry (24, 119, "UserField2", "vml_24.htm", "png_24.htm"),
53 + new FileEntry (25, 98, "ILAP Import", "vml_25.htm", "png_25.htm"),
54 + new FileEntry (26, 99, "ILAP Data Exchange", "vml_26.htm", "png_26.htm")
55 +
56 +);
57 +
58 +var g_CurPageIndex = 0;
59 +var g_ZoomLoaded = false;
60 +var g_WidgetsLoaded = false;
61 +var g_FileProtocol = "file://";
62 +
63 +var g_HLMenuEntry = "menuEntry";
64 +var g_HLMenuEntryDiv = "menuEntryDiv";
65 +
66 +var g_LoadingWidgets = false;
67 +
68 +var isSVG = g_FileList[g_CurPageIndex].PriImage.indexOf("svg") >= 0;
69 +var isVML = g_FileList[g_CurPageIndex].PriImage.indexOf("vml") >= 0;
70 +var isXAML = g_FileList[g_CurPageIndex].PriImage.indexOf("xaml") >= 0;
71 +
72 +function CViewMgr(convertedImgID, highlightDivID)
73 +{
74 + this.onResize = null;
75 + this.ApplyZoom = null;
76 + this.ChangingView = false;
77 +
78 + this.put_Location = ViewMgrDefaultFind;
79 + this.Zoom = ViewMgrDefaultResize;
80 + this.PostZoomProcessing = null;
81 + this.setView = null;
82 + this.PostSetViewProcessing = null;
83 + this.viewChanged = null;
84 +
85 + this.SupportsDetails = false;
86 + this.SupportsSearch = false;
87 +
88 + this.visBBoxLeft = 0.0;
89 + this.visBBoxRight = 0.0;
90 + this.visBBoxBottom = 0.0;
91 + this.visBBoxTop = 0.0;
92 +
93 + this.highlightDiv = null;
94 + this.stepWidth = 10;
95 +
96 + this.id = convertedImgID;
97 + this.zoomFactor = -1;
98 + this.zoomLast = -1;
99 + this.origWH = 1;
100 + this.origWidth = 100;
101 + this.aspectRatio = 1;
102 +
103 + this.docDrawing = null;
104 + var docDrawing = frmDrawing.document;
105 + if(docDrawing)
106 + {
107 + this.docDrawing = docDrawing;
108 + var docEl = docDrawing.getElementById(this.id);
109 + if (!docEl)
110 + docEl = docDrawing.childNodes[0];
111 +
112 + this.s = docEl.style;
113 + this.origWidth = this.s.pixelWidth;
114 + this.origWH = this.s.pixelWidth / this.s.pixelHeight;
115 +
116 + this.highlightDiv = docDrawing.getElementById(highlightDivID);
117 + }
118 +
119 + this.loadPage = DefPageLoad;
120 + this.getPNZ = null;
121 +}
122 +
123 +function DefPageLoad (pageIndex)
124 +{
125 + if (pageIndex >= 0)
126 + {
127 + var curPath = frmDrawing.location.href;
128 + var fileDelim = curPath.lastIndexOf ('/');
129 + if (fileDelim == -1)
130 + fileDelim = curPath.lastIndexOf ('\\');
131 + var newPath = curPath.substring (0, fileDelim + 1);
132 + newPath += g_FileList[pageIndex].PriImage;
133 + frmDrawing.location.href = newPath;
134 +
135 + SetPNZDisplay (pageIndex);
136 + }
137 +}
138 +
139 +function CurPageUpdate (pageIndex)
140 +{
141 + if (pageIndex >= 0)
142 + {
143 + g_CurPageIndex = pageIndex;
144 +
145 + SetCurPageInGoto (pageIndex);
146 +
147 + var divDetails = frmToolbar.document.getElementById("divDetails");
148 + if (divDetails)
149 + {
150 + var displayStatus = "block";
151 + if (!viewMgr || !viewMgr.SupportsDetails)
152 + {
153 + displayStatus = "none";
154 + }
155 +
156 + divDetails.style.display = displayStatus;
157 + }
158 +
159 + var divSearch = frmToolbar.document.getElementById("divSearch");
160 + if (divSearch)
161 + {
162 + var displayStatus = "block";
163 + if (!viewMgr || !viewMgr.SupportsSearch)
164 + {
165 + displayStatus = "none";
166 + }
167 +
168 + divSearch.style.display = displayStatus;
169 + }
170 +
171 + SetPNZDisplay (pageIndex);
172 +
173 + LoadZoom ();
174 + }
175 +}
176 +
177 +function FramePageLoaded ()
178 +{
179 + if (isUpLevel && viewMgr == null)
180 + {
181 + var curPath = frmDrawing.location.href;
182 + var fileDelim = curPath.lastIndexOf ('/');
183 + if (fileDelim >= 0)
184 + {
185 + var fileName = curPath.substring (fileDelim + 1, curPath.length);
186 + var pageIndex = PageIndexFromFileName (fileName);
187 + SetCurPageInGoto (pageIndex);
188 + SetPNZDisplay (pageIndex);
189 + }
190 + }
191 +}
192 +
193 +function LoadZoom ()
194 +{
195 + var zoomWidget = frmToolbar.frames["ifrmPNZ"];
196 + if (zoomWidget)
197 + {
198 + if (g_ZoomLoaded)
199 + {
200 + zoomWidget.findContent();
201 + PageLoadedDoCallback ();
202 + }
203 + else
204 + {
205 + window.setTimeout("LoadZoom()", 500);
206 + }
207 + }
208 + else
209 + {
210 + PageLoadedDoCallback ();
211 + }
212 +}
213 +
214 +function SetCurPageInGoto (pageIndex)
215 +{
216 + var gotoPageSelect = frmToolbar.document.getElementById("Select1");
217 + if (gotoPageSelect != null)
218 + {
219 + gotoPageSelect.value = pageIndex;
220 + }
221 +}
222 +
223 +function SetPNZDisplay (pageIndex)
224 +{
225 + var divPNZ = frmToolbar.document.getElementById("divPNZ");
226 + if (divPNZ)
227 + {
228 + var displayStatus = "block";
229 + if (g_FileList[pageIndex].PageID < 0)
230 + {
231 + displayStatus = "none";
232 + }
233 +
234 + divPNZ.style.display = displayStatus;
235 + }
236 +}
237 +
238 +function ViewMgrDefaultFind()
239 +{
240 + return;
241 +}
242 +
243 +function ViewMgrDefaultResize(size)
244 +{
245 + return;
246 +}
247 +
248 +
249 +
250 +g_callBackFunctionArray = new Array();
251 +function PageLoadedDoCallback()
252 +{
253 + if (g_WidgetsLoaded)
254 + {
255 + for( var i=0; i < g_callBackFunctionArray.length; i++ )
256 + {
257 + g_callBackFunctionArray[i]();
258 + }
259 + g_callBackFunctionArray = new Array();
260 + }
261 + else
262 + {
263 + window.setTimeout("PageLoadedDoCallback()", 500);
264 + }
265 +}
266 +
267 +
268 +function ParseParams (strRawParams)
269 +{
270 + if ( strRawParams != null && strRawParams.length > 0 )
271 + {
272 + strRawParams = strRawParams.substring(1);
273 +
274 + var arrayParamTokens = strRawParams.split('&');
275 + for (var count = 0; count < arrayParamTokens.length; count++)
276 + {
277 + arrayParamTokens[count] = unescape(arrayParamTokens[count]);
278 + this[count] = arrayParamTokens[count].substring(0, arrayParamTokens[count].indexOf('='));
279 + this[this[count]] = arrayParamTokens[count].substring(arrayParamTokens[count].indexOf('=') + 1);
280 + }
281 + }
282 + else
283 + {
284 + this[0] = null;
285 + }
286 + return this;
287 +}
288 +
289 +var gParams = ParseParams (location.search);
290 +
291 +var g_PageParamValue = gParams['page'];
292 +if (g_PageParamValue != null &&
293 + g_PageParamValue.length > 0)
294 +{
295 + var pageIndex = PageIndexFromName (g_PageParamValue);
296 + if (pageIndex > 0 && pageIndex < g_FileList.length)
297 + {
298 + g_CurPageIndex = pageIndex;
299 + }
300 +}
301 +else
302 +{
303 + g_PageParamValue = null;
304 +}
305 +
306 +var g_FirstPageToLoad = g_PageParamValue;
307 +
308 +var g_ZoomParamValue = gParams['zoom'];
309 +if (g_ZoomParamValue != null && g_ZoomParamValue.length > 0)
310 +{
311 + g_ZoomParamValue = 1.0 * g_ZoomParamValue;
312 + if (g_ZoomParamValue >= 10 && g_ZoomParamValue <= 500)
313 + {
314 + g_callBackFunctionArray[g_callBackFunctionArray.length] = function () { if (viewMgr && viewMgr.Zoom) { viewMgr.Zoom(g_ZoomParamValue); } };
315 + }
316 +}
317 +
318 +var g_ShapeParamValue = gParams['shape'];
319 +if (g_ShapeParamValue != null && g_ShapeParamValue.length > 0)
320 +{
321 + if (g_PageParamValue != null && g_PageParamValue.length > 0)
322 + {
323 + g_callBackFunctionArray[g_callBackFunctionArray.length] = function () { var shapeNode = FindShapeXMLByName (g_PageParamValue, g_ShapeParamValue); if (shapeNode) { frmToolbar.TreeSelect (g_FileList[g_CurPageIndex].PageID, shapeNode.attributes.getNamedItem ("ID").text); } };
324 + }
325 + else
326 + {
327 + g_ShapeParamValue = null;
328 + }
329 +}
330 +
331 +var g_SearchParamValue = gParams['search'];
332 +if (g_SearchParamValue != null && g_SearchParamValue.length > 0)
333 +{
334 + g_callBackFunctionArray[g_callBackFunctionArray.length] = function () { if (frmToolbar.theForm) { frmToolbar.theForm.findString.value = g_SearchParamValue; } };
335 + g_callBackFunctionArray[g_callBackFunctionArray.length] = function () { var goButton = frmToolbar.document.getElementById('GoButton'); if(goButton) { goButton.click(); } };
336 +}
337 +
338 +
339 +var strHLTooltipText = "Klikk for å følge hyperkobling.";
340 +var strPropsTooltipText = "Trykk Ctrl og klikk for å vise detaljer.";
341 +
342 +var strFocusHLTooltipText = "Trykk Enter for å følge hyperkobling.";
343 +var strFocusPropsTooltipText = "Trykk Ctrl + Enter for å vise detaljer.";
344 +
345 +
346 +function UpdateTooltip (element, pageID, shapeID)
347 +{
348 + if (isUpLevel)
349 + {
350 + var strHL, strProps;
351 +
352 + if(frmDrawing.event.type == "focus")
353 + {
354 + strHL = strFocusHLTooltipText;
355 + strProps = strFocusPropsTooltipText;
356 + }
357 + else
358 + {
359 + strHL = strHLTooltipText;
360 + strProps = strPropsTooltipText;
361 + }
362 +
363 + var strTooltip = "";
364 + if (element.origTitle)
365 + {
366 + strTooltip = element.origTitle.toString();
367 + }
368 +
369 + var shapeNode = FindShapeXML (pageID, shapeID);
370 +
371 + if( shapeNode != null )
372 + {
373 + var propColl = SelectNodes(shapeNode, "Prop");
374 + if (propColl != null && propColl.length > 0)
375 + {
376 + if (strTooltip.length > 0)
377 + {
378 + strTooltip += "\n";
379 + }
380 + strTooltip += strProps;
381 + }
382 + }
383 +
384 + var hlObj = GetHLAction (shapeNode, pageID, shapeID);
385 + if (hlObj != null && (hlObj.DoFunction.length > 0 || hlObj.Hyperlink.length > 0))
386 + {
387 + if (strTooltip.length > 0)
388 + {
389 + strTooltip += "\n";
390 + }
391 + strTooltip += strHL;
392 + }
393 +
394 + element.title = strTooltip;
395 + if (element.alt != null)
396 + {
397 + element.alt = strTooltip;
398 + }
399 + }
400 +}
401 +
402 +
403 +function GetHLAction (shapeNode, pageID, shapeID)
404 +{
405 + var hlObj = new HLObj ("", "", "", false);
406 +
407 + if (shapeNode != null)
408 + {
409 + try
410 + {
411 + var hlColl = SelectNodes(shapeNode, "Scratch/B/SolutionXML/HLURL:Hyperlinks/HLURL:Hyperlink");
412 + }
413 + catch(err)
414 + {
415 + var hlColl = [];
416 + }
417 +
418 + if (hlColl.length > 1)
419 + {
420 + if(window.frmDrawing.event)
421 + {
422 + hlObj.DoFunction = "showMenu(" + pageID + ", " + shapeID + ");"
423 + }
424 + else // XAML
425 + {
426 + // Use default hyperlink to set the action
427 + var fFoundDefault = false;
428 + for (var count = 0; count < hlColl.length; ++count)
429 + {
430 + var hlDefault = SelectSingleNode(hlColl[count], "HLURL:Default/text()");
431 + if (hlDefault != null && hlDefault.nodeValue.length > 0 &&
432 + hlDefault.nodeValue == "1" /*Indicates that this is the default hyperlink <HLURL:Default>1</HLURL:Default>*/)
433 + {
434 + hlObj = CreateHLObj(hlColl[count]);
435 + fFoundDefault = true;
436 + break;
437 + }
438 + }
439 +
440 + if (!fFoundDefault)
441 + hlObj = CreateHLObj(hlColl[0]);
442 + }
443 + }
444 + else if (hlColl.length == 1)
445 + {
446 + hlObj = CreateHLObj (hlColl[0]);
447 + }
448 + }
449 +
450 + return hlObj;
451 +}
452 +
453 +function HLObj (strHyperlink, strDoFunction, strDesc, newWindow)
454 +{
455 + this.Hyperlink = strHyperlink;
456 + this.DoFunction = strDoFunction;
457 + this.Desc = strDesc;
458 + this.NewWindow = newWindow;
459 +}
460 +
461 +function clickMenu()
462 +{
463 + var e = window.frmDrawing.event;
464 + var menu = frmDrawing.document.getElementById("menu1")
465 +
466 + if (menu != null && menu.style.display != "none")
467 + {
468 + menu.style.display="none";
469 +
470 + if (e && e.srcElement && e.srcElement.doFunction != null)
471 + {
472 + eval(e.srcElement.doFunction);
473 + }
474 + }
475 +}
476 +
477 +function toggleMenuDiv(el, highlight)
478 +{
479 + var divEl = el;
480 + var aEl = null;
481 +
482 + var ID = el.id.substring (g_HLMenuEntryDiv.length, el.id.length) * 1.0;
483 + aEl = frmDrawing.document.getElementById(g_HLMenuEntry + ID);
484 +
485 + toggleMenu(divEl, aEl, highlight);
486 +}
487 +
488 +function toggleMenuLink(el, highlight)
489 +{
490 + var divEl = null;
491 + var aEl = el;
492 +
493 + var ID = el.id.substring (g_HLMenuEntry.length, el.id.length) * 1.0;
494 + divEl = frmDrawing.document.getElementById(g_HLMenuEntryDiv + ID);
495 +
496 + toggleMenu(divEl, aEl, highlight);
497 +}
498 +
499 +function toggleMenu(divEl, aEl, highlight)
500 +{
501 + if (highlight)
502 + {
503 + divEl.className="highlightItem";
504 + aEl.className="highlightItem";
505 + }
506 + else
507 + {
508 + divEl.className="menuItem";
509 + aEl.className="menuItem";
510 + }
511 +}
512 +
513 +function showMenu(pageID, shapeID)
514 +{
515 + var shapeXML = FindShapeXML (pageID, shapeID);
516 + if (shapeXML != null)
517 + {
518 + CreateHLMenu (shapeXML);
519 + var menu = frmDrawing.document.getElementById("menu1");
520 + if (menu != null)
521 + {
522 + menu.style.visibility = "hidden";
523 + menu.style.display = "inline";
524 +
525 + var clientWidth = frmDrawing.document.body.clientWidth;
526 + var clientHeight = frmDrawing.document.body.clientHeight;
527 +
528 + var menuWidth = menu.clientWidth;
529 + var menuHeight = menu.clientHeight;
530 +
531 + var doc = frmDrawing.document;
532 +
533 + var e = window.frmDrawing.event;
534 + if(e)
535 + {
536 + var elem = e.srcElement;
537 +
538 + var menuLeft = e.x;
539 + var menuTop = e.y;
540 +
541 + var img = doc.getElementById("ConvertedImage");
542 +
543 + if( (menuLeft + doc.body.scrollLeft < elem.offsetLeft) || (menuLeft + doc.body.scrollLeft > elem.offsetLeft + elem.offsetWidth + img.offsetLeft) )
544 + {
545 + menuLeft = elem.offsetLeft + img.offsetLeft + elem.offsetWidth/2;
546 + }
547 +
548 + if( (menuTop + doc.body.scrollTop < elem.offsetTop) || (menuTop + doc.body.scrollTop > elem.offsetTop + elem.offsetHeight + img.offsetTop) )
549 + {
550 + menuTop = elem.offsetTop + img.offsetTop + elem.offsetHeight/2;
551 + }
552 +
553 + var scrollBarSize = 20;
554 + if (menuLeft + menuWidth > clientWidth - scrollBarSize)
555 + {
556 + menuLeft = clientWidth - menuWidth - scrollBarSize;
557 + }
558 +
559 + if (menuTop + menuHeight > clientHeight - scrollBarSize)
560 + {
561 + menuTop = clientHeight - menuHeight - scrollBarSize;
562 + }
563 +
564 + menu.style.posLeft = menuLeft + frmDrawing.document.body.scrollLeft;
565 + menu.style.posTop = menuTop + frmDrawing.document.body.scrollTop;
566 + menu.style.visibility = "visible";
567 +
568 + var firstLink = frmDrawing.document.getElementById(g_HLMenuEntry + "0");
569 + firstLink.focus ();
570 +
571 + if (e.keyCode == 13)
572 + {
573 + toggleMenuLink(firstLink, true);
574 + }
575 +
576 + e.cancelBubble = true;
577 + }
578 + }
579 + }
580 +}
581 +
582 +function MenuKeyDown ()
583 +{
584 + var e = window.frmDrawing.event;
585 + var el = e.srcElement;
586 +
587 + if (e.keyCode == 27) // 27 == ESC
588 + {
589 + clickMenu();
590 + e.cancelBubble = true;
591 + return;
592 + }
593 +
594 + var curSelID = el.id.substring (g_HLMenuEntry.length, el.id.length) * 1.0;
595 + var newSelID = -1;
596 +
597 + if (e.keyCode == 40) // 40 == down arrow
598 + {
599 + newSelID = curSelID + 1;
600 + }
601 + else if (e.keyCode == 38) // 38 == up arrow
602 + {
603 + newSelID = curSelID - 1;
604 + }
605 +
606 + var newSelEntry = frmDrawing.document.getElementById(g_HLMenuEntry + newSelID);
607 +
608 + if (newSelEntry)
609 + {
610 + newSelEntry.focus();
611 +
612 + var curSelEntry = frmDrawing.document.getElementById(g_HLMenuEntry + curSelID);
613 + toggleMenuLink (curSelEntry, false);
614 + toggleMenuLink (newSelEntry, true);
615 + }
616 +
617 + e.cancelBubble = true;
618 +}
619 +
620 +function CreateHLMenu (shapeNode)
621 +{
622 + var strHLMenuHTML = "";
623 +
624 + if (shapeNode != null)
625 + {
626 + var hlColl = SelectNodes(shapeNode, "Scratch/B/SolutionXML/HLURL:Hyperlinks/HLURL:Hyperlink");
627 +
628 + strHLMenuHTML = "<div class='innerhlMenu'>";
629 +
630 + var hlCount = hlColl.length;
631 + for (var count = 0; count < hlCount; count++)
632 + {
633 + var hlObj = CreateHLObj (hlColl[count]);
634 + if (hlObj != null)
635 + {
636 + if (hlObj.Desc.length > 0)
637 + {
638 + strHLMenuHTML += "<div id='" + (g_HLMenuEntryDiv + count) + "' class='menuItem' onmouseover='toggleMenuDiv(this, true)' onmouseout='toggleMenuDiv(this, false)' onclick='" + (g_HLMenuEntry + count) + ".click()'>";
639 + strHLMenuHTML += "<a href=";
640 +
641 + if (hlObj.DoFunction.length > 0)
642 + {
643 + strHLMenuHTML += "'javascript:" + hlObj.DoFunction + "'";
644 + }
645 + else
646 + {
647 + var targetVal = "_top";
648 + if (hlObj.NewWindow)
649 + {
650 + targetVal = "_blank";
651 + }
652 + strHLMenuHTML += "'" + hlObj.Hyperlink + "' target='" + targetVal + "'";
653 + }
654 +
655 + strHLMenuHTML += " class='menuItem' id='" + (g_HLMenuEntry + count) + "' onkeydown='parent.MenuKeyDown();' onmouseover='toggleMenuLink(this, true)' onmouseout='toggleMenuLink(this, false)'>";
656 + strHLMenuHTML += hlObj.Desc + "</a></div>";
657 + }
658 + }
659 + }
660 +
661 + strHLMenuHTML += "</div>";
662 + }
663 +
664 + var menu = frmDrawing.document.getElementById("menu1")
665 + menu.innerHTML = strHLMenuHTML;
666 +}
667 +
668 +function CreateHLObj (hlNode)
669 +{
670 + var strAddress = "";
671 + var hlObj = new HLObj ("", "", "", false);
672 +
673 + if (hlNode != null)
674 + {
675 + var hlAddress = SelectSingleNode(hlNode,"HLURL:Address/text()");
676 + if (hlAddress != null && hlAddress.nodeValue.length > 0)
677 + {
678 + // Get AbsoluteURL
679 + var absoluteURL = SelectSingleNode(hlNode,"HLURL:AbsoluteURL/text()");
680 + var strAbsURL = "";
681 + if (absoluteURL != null && absoluteURL.nodeValue.length > 0)
682 + strAbsURL = absoluteURL.nodeValue;
683 +
684 + // Get Address
685 + var strAddr = hlAddress.nodeValue;
686 +
687 + // Use relative address if AbsoluteURL is missing
688 + if (strAbsURL == "")
689 + {
690 + strAddress = strAddr;
691 + }
692 + else if (strAbsURL.indexOf (g_FileProtocol) == 0)
693 + {
694 + var strAbsPath = strAbsURL.substring (g_FileProtocol.length, strAbsURL.length);
695 + strAbsPath.toLowerCase ();
696 + strAddr.toLowerCase ();
697 + if (strAbsPath == strAddr)
698 + {
699 + strAddress = strAbsPath;
700 + }
701 + else
702 + {
703 + strAddress = strAddr;
704 +
705 + var hlSubAddress = SelectSingleNode(hlNode,"HLURL:SubAddress/text()");
706 + if (hlSubAddress != null && hlSubAddress.nodeValue.length > 0)
707 + {
708 + strAddress += '#';
709 + strAddress += hlSubAddress.nodeValue;
710 + }
711 +
712 + var hlExtraInfo = SelectSingleNode(hlNode,"HLURL:ExtraInfo/text()");
713 + if (hlExtraInfo != null && hlExtraInfo.nodeValue.length > 0)
714 + {
715 + strAddress += '?';
716 + strAddress += hlExtraInfo.nodeValue;
717 + }
718 + }
719 + }
720 + else
721 + {
722 + strAddress = strAbsURL;
723 + }
724 +
725 + strAddress = HTMLEscape (strAddress);
726 + hlObj.Hyperlink += strAddress;
727 + }
728 + else
729 + {
730 + hlAddress = SelectSingleNode(hlNode,"HLURL:SubAddress/text()");
731 + if (hlAddress != null && hlAddress.nodeValue.length > 0)
732 + {
733 + strAddress = hlAddress.nodeValue;
734 +
735 + var pageShapeSep = strAddress.lastIndexOf ('/');
736 + if (pageShapeSep > 0)
737 + {
738 + if (PageIndexFromName (strAddress) < 0)
739 + {
740 + strAddress = unescape (strAddress);
741 + if (PageIndexFromName (strAddress) < 0)
742 + {
743 + strAddress = strAddress.substring (0, strAddress.lastIndexOf ('/'));
744 + }
745 + }
746 + }
747 +
748 + var pageIndex = PageIndexFromName (strAddress);
749 +
750 + hlObj.DoFunction = "GoToPage (" + pageIndex + ");";
751 + strAddress = HTMLEscape (strAddress);
752 + hlObj.Desc = strAddress;
753 + }
754 + }
755 +
756 + hlDesc = SelectSingleNode(hlNode,"HLURL:Description/text()");
757 + if (hlDesc != null && hlDesc.nodeValue.length > 0)
758 + {
759 + hlObj.Desc = HTMLEscape (hlDesc.nodeValue);
760 + }
761 + else
762 + {
763 + hlObj.Desc = strAddress;
764 + }
765 +
766 + var hlNewWindow = SelectSingleNode(hlNode,"HLURL:NewWindow/text()");
767 + if (hlNewWindow != null && hlNewWindow.nodeValue.length > 0)
768 + {
769 + hlObj.NewWindow = (hlNewWindow.nodeValue == "1");
770 + }
771 + }
772 +
773 + return hlObj;
774 +}
775 +
776 +
777 + </script>
778 + </head>
779 +
780 + <frameset id="frmstOuter" cols="237,*">
781 + <frame src="20141017 ILAP 2.0 Ontology Model-filer/toolbar.htm" name="frmToolbar" id="frmToolbar" title="Denne rammen inneholder verktøy du kan bruke til å manipulere tegningen." frameborder="6" bordercolor="#999999" scrolling="no" marginheight="0" marginwidth="0" >
782 + <frame src="20141017 ILAP 2.0 Ontology Model-filer/png_1.htm" name="frmDrawing" title="Denne rammen inneholder sidene i tegningen." marginheight="10" marginwidth="10" onload="if (parent.isUpLevel) FramePageLoaded()" >
783 +
784 + <noframes>
785 + <body>
786 +
787 + <h1>20141017 ILAP 2</h1>
788 + <ul>
789 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_1.htm">ILAP Topstructure</a></li>
790 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_2.htm">ILAP HQPC</a></li>
791 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_3.htm">ILAP Asset Lifecycle</a></li>
792 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_4.htm">ILAP LC2</a></li>
793 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_5.htm">ILAP Plan Hierarchy</a></li>
794 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_6.htm">ILAP Classification</a></li>
795 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_7.htm">ILAP CL2</a></li>
796 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_8.htm">ILAP Reference Data</a></li>
797 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_9.htm">ILAP Planning Core</a></li>
798 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_10.htm">Schedule</a></li>
799 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_11.htm">Facility</a></li>
800 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_12.htm">Discipline</a></li>
801 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_13.htm">Phase</a></li>
802 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_14.htm">Milestone</a></li>
803 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_15.htm">Risk</a></li>
804 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_16.htm">Shutdown</a></li>
805 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_17.htm">Priority</a></li>
806 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_18.htm">Criticality</a></li>
807 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_19.htm">Expense</a></li>
808 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_20.htm">Status</a></li>
809 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_21.htm">User Fields</a></li>
810 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_22.htm">WBS</a></li>
811 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_23.htm">UserField1</a></li>
812 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_24.htm">UserField2</a></li>
813 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_25.htm">ILAP Import</a></li>
814 + <li><a href="20141017 ILAP 2.0 Ontology Model-filer/png_26.htm">ILAP Data Exchange</a></li>
815 +
816 + </ul>
817 + </body>
818 + </noframes>
819 + </frameset>
820 +
821 +</html>
822 +