// ------------------------------------------------- // General Global Variables // ------------------------------------------------- // Set these control the height of the Navigation var gnGlobalHeight=21; // SwanNG was 23: var gnLevel1Height=22; var gnLevel2Height=22; // Set these to 1 to display bars (|) between items var gHasGlobalBars = 1; var gHasLevel1Bars = 1; var gHasLevel2Bars = 1; // initialize other globals var gnCurrentLevel=0; var gnCurrLevelCnt=0; var gnParent=-1; var gstColor_Lev1 = "teal"; var gstColor_Lev2 = "teal"; // --------------------------------------------------------- // ACTION Tooltip Array // --------------------------------------------------------- gstTTip_Actions = new Array(); gnTTip_ActionCnt=0; // ------------------------------------------------- // Browser detection variables // ------------------------------------------------- var isNew = 0; var isNS4 = 0; var isIE4 = 0; var docObj = ""; var styleObj = ""; var stBrowser = ""; // ------------------------------------------------- // InitBrowserObjects // ------------------------------------------------- function InitBrowserObjects() { stBrowser = ((navigator.appName+parseInt(navigator.appVersion))); if (parseInt(navigator.appVersion>=5)) { isNew=1; } else if (stBrowser == "Netscape4") { isNS4=1; } else if (stBrowser == "Microsoft Internet Explorer4") { isIE4=1; } if ( isNS4|| isIE4 ||isNew) { docObj = (isNS4) ? 'document' : 'document.all'; styleObj = (isNS4) ? '' : '.style'; } } // ------------------------------------------------- // Tooltip // ------------------------------------------------- function Tooltip(evt, currElem) { if ((isNS4 && currElem!=0) || (isIE4 && currElem!=0)) { domStyle = eval(docObj+'.'+currElem+styleObj); state = domStyle.visibility; if (state=="visible" || state=="show") { domStyle.visibility = "hidden"; } else { if (isNS4){ topVal= eval(evt.pageY+15); leftVal= eval(evt.pageX); } if (isIE4){ topVal= eval(event.y+15); leftVal= eval(event.x); } if (leftVal>600){ leftVal= eval(leftVal-20); } domStyle.top=topVal; domStyle.left=leftVal; domStyle.visibility = "visible"; } } } // ------------------------------------------------- // DrawCmdBtn // ------------------------------------------------- // ------------------------------------------------- // DrawCmdBtn // ------------------------------------------------- function DrawCmdBtn(stText, stHRef, stToolTip) { document.writeln(''); document.writeln('
'); document.writeln('  '+stText+'  '); document.writeln('
'); } // ------------------------------------------------- // Begin_Masthead // ------------------------------------------------- function Begin_Navigation_Tadpole() { InitBrowserObjects(); // HypCSS: document.writeln(''); // Begin Navigation First Table // contains the Product Name, Page Title and Global Navigation document.writeln(''); document.writeln(''); document.writeln(''); // Begin Global Nav Table document.writeln(''); } // ------------------------------------------------- // Begin_Navigation // ------------------------------------------------- function Begin_Navigation(stProdName, stPageTitle) { InitBrowserObjects(); // HypCSS: document.writeln(''); // Begin Navigation First Table // contains the Product Name, Page Title and Global Navigation document.writeln(''); document.writeln('
bla
'); document.writeln('
bla
'); document.writeln('
bla
'); document.writeln(''); // Begin Global Nav Table document.writeln('
'); gnCurrLevelCnt=0; gnParent=-1; } // ------------------------------------------------- // Begin_Level1 // ------------------------------------------------- function Begin_Level1(stClr1, stClr2) { // set Global gstColor_Lev1 if (stClr1 != "") { gstColor_Lev1 = stClr1; } if (stClr2 != "") { gstColor_Lev2 = stClr2; } // End First Navigation Table - First cell determines space between Help and window border document.writeln('
'); // Begin Second Navigation Table // contains the Level 1 Navigation and Level 2 Navigation & Actions document.writeln(''); // Begin Nested Level 1 Navigation Table document.writeln(''); document.writeln('
'); // Begin Nested Level 2 Navigation Table document.writeln(''); document.writeln(''); // Begin Actions Table // If no Actionsfor this page, use Level 2 Navigation background // and create one blank cell if (stOption == "NONE") { document.writeln('
'); document.writeln(''); document.writeln(''); document.writeln(''); } else { document.writeln('
 '); document.writeln(''); document.writeln(''); } gnCurrentLevel=3; gnCurrLevelCnt=0; } // ---------------------------------------------------------------------- // Add_Item() // Based on nCurrentLevel, adds a Navigation Item with Proper "state" // 1st param: Item Label // 2nd param: Item HRef (or JavaScript) // 3rd param: Item Tooltip (OPTIONAL) // ---------------------------------------------------------------------- function Add_Item(stItem, stHRef, stTooltip ) { // create ID for tooltip gnCurrLevelCnt++; stTTid = "tt_"+gnCurrentLevel+"_"+gnCurrLevelCnt; switch (stHRef) { case "SELECTED": switch (gnCurrentLevel) { default: // HypCSS: document.write(''); if (gnCurrentLevel == 0) { document.write(''); } if (gnCurrentLevel == 2) { document.write(''); } document.write(''); if (gnCurrentLevel == 2) { document.write(''); } document.write(''); break; } break; case "NONE": switch (gnCurrentLevel) { default: // Disabled Items: All Levels (updated 2/3/04 bc) document.writeln(''); document.writeln(''); document.writeln(''); document.write(''); break; } break; default: switch (gnCurrentLevel) { default: document.write(''); if (gnCurrentLevel == 0) { document.write(''); } document.write(''); document.write(''); break; } break; } if (gnCurrentLevel==1 && gHasLevel1Bars){ if (stTooltip == "YES") { document.write(''); } } if (gnCurrentLevel==2 && gHasLevel2Bars){ if (stTooltip =="YES") { document.write(''); } } } // ------------------------------------------------- // End_Navigation // ------------------------------------------------- function End_Navigation() { // End Horizontal Level 2 Actions and Second Navigation Tables document.writeln(''); document.writeln('
'+stItem+''); document.writeln(''+stItem+''); document.write(''); document.write(''+stItem+' 
'); // determine tooltip style var stTTClass = "TooltipIE"; if (isNS4){ stTTClass = "TooltipNAV"; } // write out Global tooltips (hidden until mouseover) gnCurrLevelCnt=0; for (i=0; i'+ gstTTip_Global[i]+''); } // write out Level1 tooltips (hidden until mouseover) gnCurrLevelCnt=0; for (i=0; i'+ gstTTip_Level1[i]+''); } // write out Level2 tooltips (hidden until mouseover) if(gnParent>=0) { gnCurrLevelCnt=0; for (i=0; i'+ gstTTip_Level2[gnParent][i]+''); } gnCurrLevelCnt=0; for (i=0; i'+ gstTTip_Actions[i]+''); } } } // ----------------------------------------------------------- // Begin_Horizontal_Navigation // ----------------------------------------------------------- function Begin_Horizontal_Navigation(stProductName, stParent, stChild, stPageTitle) { // ------------------------------------------------- // Begin Navigation // 1st param: Product/Application Name // 2nd param: Page Title // ------------------------------------------------- Begin_Navigation(); // ------------------------------------------------- // Add Global Navigation Items // 1st param: Item Label // 2nd param: Item HRef (or "NONE" to disable) // ------------------------------------------------- // ------------------------------------------------- // Commented out for tadpole // ------------------------------------------------- for (i=0; i=0) { stColor2 = gstColor_Level2[gnParent]; nIndent = gnIndent_Level2[gnParent]; } // ------------------------------------------------- // Begin the Level 1 Navigation // ------------------------------------------------- // 1st param: Color Begin_Level1(gstColor_Level1, stColor2) // ------------------------------------------------- // Add Level 1 Navigation Items // 1st param: Item Label // 2nd param: Item HRef (or "SELECTED" or "NONE") // ------------------------------------------------- for (i=0; i=0) { for (i=0; i'); document.writeln(''); // begin border row and table document.writeln('
'); // begin tabs table document.writeln(''); document.writeln(''); } // ---------------------------------------------------------------------- // Add_PageTab() // ---------------------------------------------------------------------- function Add_PageTab(stItem, stLink) { // write a tab if(stLink==""){ //document.writeln(''); //document.writeln(''); //document.writeln(''); document.writeln(''); } else{ document.writeln(''); } } function Add_PageTabFiller() { document.writeln(''); } // ---------------------------------------------------------------------- // Begin_PageTabBody() // ---------------------------------------------------------------------- function Begin_PageTabBody() { // end tabs table and row document.writeln('
'+stItem+''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'+stItem+'
'); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln(''+stItem+'
'); document.writeln('
'); document.writeln(''); document.writeln('
'); // begin inner table and row document.writeln(''); } // ---------------------------------------------------------------------- // End_PageTabs() // ---------------------------------------------------------------------- function End_PageTabs() { // end of inner table document.writeln('
'); // end of border table document.writeln('
'); // end of outer table document.writeln('
'); } // strings to pull from a resource bundle or properties file var openDropdown = "Open dropdown menu"; var unhighlightedBGColor = "#ffffff"; var highlightedBGColor = "#99cccc"; // existing code for drawing action buttons for comparison/reference function DrawActionBtn(stText, stHRef, stClick, stToolTip, stAccessKey) { document.writeln(''); document.write('
'); if ((stToolTip == null) || (stToolTip == "")) { stToolTip = stText; } if ((stHRef == null) || (stHRef == "")) { stHRef = "javascript:void(0)"; } document.write('  ' + stText + '  '); document.writeln('
'); document.writeln('
'); } function highlight(obj) { obj.style.backgroundColor = highlightedBGColor; } function unhighlight(obj) { obj.style.backgroundColor = unhighlightedBGColor; } function loadURL(url) { document.location = url; } // new code for drawing action dropdown buttons var dropdownMonitor = new Array(); // each watches to close a menu when mouseout of all a menu's elements var openDropdowns = new Array(); // which menus are open var dropdownCounter = -1; // tracks number of menus var dropdownWidths = new Array(); // holds the length in chars of longest element within each dropdown for sizing later var menuCloseDelay = 300; // min 100ms - otherwise menu can close when navigating between subitems function drawActionDropdown (ddName, ddHrefs, ddTooltips, ddLabels, ddActions) { dropdownCounter ++; openDropdowns[dropdownCounter] = false; // menus start closed dropdownSize = ddLabels.length; dropdownWidths[dropdownCounter] = 0; // Draw the menu label (the open/close control) document.writeln(''); document.write('
'); document.write(''); document.write('  ' + ddName + '  '+openDropdown+': ' + ddName + ''); document.writeln('
'); // Draw the menu items (the sub elements visible when the control is open) document.writeln(''); document.writeln(''); for (i=0; i dropdownWidths[dropdownCounter]) { dropdownWidths[dropdownCounter] = ddLabels[i].length; } document.write(''); } document.writeln('
'); if ((ddTooltips[i] == null) || (ddTooltips[i] == "")) { ddTooltips[i] = ddLabels[i]; } document.write(''); document.write(''); document.write('  ' + ddLabels[i] + '  '); document.writeln('
'); document.writeln('
'); document.writeln('
'); // if not handled in setTimeout, IE doesn't render and reports incorrect sizes (0). setTimeout("sizeMenu("+dropdownCounter+","+dropdownSize+")",0); } function sizeMenu(ddc, dds) { var menuSpan = document.getElementById("ActionDrop"+ddc); var menuTable = document.getElementById("ActionDropTable"+ddc); var minWidth = document.getElementById("ActionDropLabel"+ddc).offsetWidth; if (document.all) minWidth = minWidth-2; // IE counts the 1 pixel left and right borders, NS does not var correctWidth = menuSpan.offsetWidth; if (correctWidth"; } } } function toggleDropdown(which) { var menu = document.getElementById("ActionDrop"+which); if (menu.style.visibility!="visible") { menu.style.visibility = "visible"; openDropdowns[which] = true; highlight(document.getElementById("ActionDropLabel"+which)); } else { menu.style.visibility = "hidden"; openDropdowns[which] = false; unhighlight(document.getElementById("ActionDropLabel"+which)); } } function closeDropdown(which) { var menu = document.getElementById("ActionDrop"+which); menu.style.visibility = "hidden"; openDropdowns[which] = false; unhighlight(document.getElementById("ActionDropLabel"+which)); } // dismiss the timeout used to close the menu if the user leaves the control function highlightDropdown(sub, which) { if (dropdownMonitor != null) { clearTimeout(dropdownMonitor[which]) } dropdownMonitor[which] = null; highlight(sub); } // start a timeout that will close the menu if the user leaves the control // more than menuCloseDelay milliseconds. function unhighlightDropdown(sub, which) { unhighlight(sub); dropdownMonitor[which] = setTimeout("closeDropdown("+which+")",menuCloseDelay); } // for now same behavior as sub elements function highlightDropdownLabel(sub, which) { highlightDropdown(sub,which); } // different behavior for top open/close element - stays highlighted as long as open // instead of just onmouseover function unhighlightDropdownLabel(sub, which) { if (openDropdowns[which]==false) { unhighlight(sub); } dropdownMonitor[which] = setTimeout("closeDropdown("+which+")",350); } // dummy test function just to verify that buttons and dropdowns are // actually capable of performing some function. function doAction(which) { alert("" + which); } function doClearAction(which, stNum) { var i_ctr var i_checked = 0 alert("" + which); document.docMgr.docMgrText.value = 0; for (i_ctr=0; i_ctr'); document.write('') document.write('
') document.write('') document.write('') document.write('') document.write('
') document.write('') document.write('') document.write('
') document.write('') document.write('') document.write(' Domain: bcasey3     ') document.write('') document.write(' User: bcasey     ') document.write('') document.write(' Server: bcasey3     ') document.write('') document.write(' Application: comma      
') } //this function is modified to use more styles from the CSS function drawFooterNew() { document.write(''); document.write('
') document.write('') document.write('') document.write('') document.write('
') document.write('') document.write('') document.write('
') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('
Domain: bcasey3User: bcaseyServer: bcasey3Application: comma
') } // ---------------------------------------------------------- // FUNCTION: GetParam() // ---------------------------------------------------------- function GetSSParam() { gstParam=window.location.href.split("#")[1]; if (gstParam==null){ gstParam="NONE"; } return gstParam; } // ---------------------------------------------------------- // FUNCTION: GetCookieValue // ---------------------------------------------------------- function GetCookieValue(stCookieName) { thisCookie = document.cookie.split("; "); for(i=0; i'); document.writeln(''); document.writeln(''); } else { document.writeln(''); document.writeln(''); document.writeln(''); } } // ---------------------------------------------------------- // FUNCTION: LoadFontSizes() // ---------------------------------------------------------- function LoadFontSizes(){ stFontSizes = GetSSParam(); if (stFontSizes == "NORMAL"){ SetCookieValue("ORA_WA_fontSizes", stFontSizes); } if (stFontSizes == "LARGE"){ SetCookieValue("ORA_WA_fontSizes", stFontSizes); } if (stFontSizes == "LARGER"){ SetCookieValue("ORA_WA_fontSizes", stFontSizes); } if (stFontSizes == "LARGEST"){ SetCookieValue("ORA_WA_fontSizes", stFontSizes); } stFontSizes = GetCookieValue("ORA_WA_fontSizes"); document.writeln(''); } // ---------------------------------------------------------- // FUNCTION: EndFontSizes() // ---------------------------------------------------------- function EndFontSizes(){ document.writeln(''); } function begin_fieldset() { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
'); } function end_fieldset() { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
'); document.writeln('
'); } function begin_fieldset_logon() { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
'); } function end_fieldset_logon() { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
'); document.writeln('
'); } function begin_fieldset_blank() { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
'); } function end_fieldset_blank() { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
'); document.writeln('
'); } function begin_fieldset_dialog() { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); }
'); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
'); } function begin_form_fieldset() { document.writeln('
') } function end_form_fieldset() { document.writeln('
') } function set_pageTitle(pageTitle) { //alert("Page title in orange bar would now be " + pageTitle); } function print_pageTitle(pageTitle) { document.writeln('
Page Title