var breadCrumbsContainerWidth = 0; var previousPageWidth = 0; var i2uitracelevel = 0;var i2uitracetext = "";var i2uiResizeWidthVariable = new Array();var i2uiResizeMasterVariable = new Array();var i2uiResizeSlaveVariable = new Array();var i2uiResizeSlave2Variable = new Array();var i2uiResizeFlagVariable = new Array();var i2uiResizeKeyword = "TABLERESIZE_";var i2uiResizeKeywordLength = i2uiResizeKeyword.length;var i2uiResizeSlaveorigX = 0;var i2uiResizeSlavenewX = 0;var i2uiResizeSlavewhichEl = null;var i2uiResizeSlaveOrigonmouseup;var i2uiResizeSlaveOrigonmousemove;var i2uiMenuOrigonmouseup;var i2uiMenuActiveId = null;var i2uiSubMenuActiveId = null;var i2uiMenu_x = null;var i2uiMenu_y = null;var i2uiSubMenu_x = null;var i2uiSubMenu_y = null;var i2uiSubMenuFlag = null;var i2uiManageTreeTableUserFunction = null;var i2uiToggleContentUserFunction = null;var i2uiImageDirectory = "exe/skins/exe-standard/images";var i2uiActiveTreeNode = null;function i2uiSetImageDirectory(imageDirectory){i2uiImageDirectory = imageDirectory;} function i2uiToggleContent(item, nest, relatedroutine){if (document.layers){return;} var owningtable = item;if (item.tagName == "A"){item = item.childNodes[0];} while (owningtable != null && nest > 0){if (owningtable.parentElement){owningtable = owningtable.parentElement;} else{owningtable = owningtable.parentNode;} if (owningtable != null && owningtable.tagName == 'TABLE'){nest--;}} var ownerid = owningtable.id;if (ownerid == ""){var superowner = owningtable;while (superowner != null && ownerid == ""){if (superowner.parentElement){superowner = superowner.parentElement;} else{superowner = superowner.parentNode;} if (superowner != null && superowner.tagName == 'TABLE'){ownerid = superowner.id;}}} if (owningtable != null){var pretogglewidth = owningtable.offsetWidth;var len = owningtable.getElementsByTagName('TBODY').length;var contenttbody;for (var i=0; i';item.document.open();item.document.write(text);item.document.close();}} else{if (tab_element.tagName == 'undefined' ||tab_element.tagName == null){return;} var item = document.getElementById(tabset_id);item = item.getElementsByTagName('TBODY')[0];var len = item.getElementsByTagName('TR').length;if (len > 0){item = item.getElementsByTagName('TR')[0];len = item.getElementsByTagName('TD').length;var item2;var located = -1;var selectedtabid = "tabSelected";var unselectedtabid = "tabUnSelected";var unselectedtabid2 = "tabUnSelected";if (!document.all){selectedtabid += "NS6";unselectedtabid2 += "NS6";} for (var i=0; i 0){item2 = item2.getElementsByTagName('A')[0];if (item2 == tab_element){located = i;} else{if (item2.id == "tabSelected" ||item2.id == "tabSelectedNS6" ||item2.id == "powerTabSelected" ||item2.id == "powerTabSelectedNS6"){item2.id = unselectedtabid2;}}}} if (located > 0){for (i=located-1; i 0){item2 = item2.getElementsByTagName('A')[0];item2.id = selectedtabid;}}}} item = document.getElementById(tabset_id+"_description");if (item != null){item.innerHTML = alttext;}}} function i2uiToggleVerticalTab(tabset_id, alttext, tab_element){if (document.layers){var item;item = document.layers[tabset_id+"_description"];if (item != null){var text = '
'+alttext+'
';item.document.open();item.document.write(text);item.document.close();}} else{if (tab_element.tagName == 'undefined' ||tab_element.tagName == null){return;} var item = document.getElementById(tabset_id);var item3 = item.getElementsByTagName('TBODY')[0];var len;var len2 = item3.getElementsByTagName('TR').length;if (len2 > 0){var item2;var located = -1;var selectedtabid = "tabSelected";var unselectedtabid = "tabUnSelected";for (var j=0; j 0){item2 = item2.getElementsByTagName('A')[0];if (item2 == tab_element){located = j;} else{if (item2.id == "tabSelectedVert"){item2.id = "tabUnSelectedVert";}}}}} if (located > -1){item = tab_element.parentElement;if (item != null){item = item.parentElement;} if (item != null){item2 = item.getElementsByTagName('TD')[0];if (item2 != null){item2.id = "tabSelectedVert";} item2 = item.getElementsByTagName('TD')[1];if (item2 != null){item2.id = "tabSelectedVert2";if (item2.getElementsByTagName('A').length > 0){item2 = item2.getElementsByTagName('A')[0];item2.id = "tabSelectedVert";}}} item = item3.getElementsByTagName('TR')[located+1];if (item != null){var len = item.getElementsByTagName('TD').length;for (i=0; i 0){var lastheaderrow = headeritem.rows.length - 1;var len = headeritem.rows[lastheaderrow].cells.length;for (var i=0; i 0){var lastheaderrow = headeritem.rows.length - 1;var len = headeritem.rows[lastheaderrow].cells.length;var len2 = len;if (headerheight != null && document.all && len > 1) return i2uiResizeColumnsWithFixedHeaderHeight(tableid, headerheight, slave);if (i2uiCheckAlignment(tableid)){return headeritem.clientWidth;} if (copyheader == null || copyheader == 1){for (var i=0; i 0){var len, i, w1, w2, w3, adjust, len2;var lastheaderrow = headeritem.rows.length - 1;len = headeritem.rows[lastheaderrow].cells.length;len2 = len;if (scrolleritem2 != null &&scrolleritem2.clientWidth < headeritem.clientWidth){adjust = 0;len--;} else{adjust = headeritem.cellPadding * 2;len--;} if (headerheight != null && document.all){i2uiResizeColumnsWithFixedHeaderHeight(tableid, headerheight);} else{dataitem.style.width = 5 * dataitem.rows[0].cells.length;headeritem.style.width = 5 * headeritem.rows[lastheaderrow].cells.length;for (i=0; i headeritem.clientWidth){headeritem.style.width = dataitem.clientWidth;} else if (dataitem.clientWidth < headeritem.clientWidth){dataitem.style.width = headeritem.clientWidth;} if (scrolleritem.clientWidth > dataitem.clientWidth){dataitem.style.width = scrolleritem.clientWidth;headeritem.style.width = scrolleritem.clientWidth;} if (!i2uiCheckAlignment(tableid)) for (i=0; i 0 && len > 1){headeritem.rows[lastheaderrow].cells[0].width = column1width;dataitem.rows[0].cells[0].width = column1width;var narrowest = Math.min(dataitem.rows[0].cells[0].clientWidth, headeritem.rows[lastheaderrow].cells[0].clientWidth);headeritem.rows[lastheaderrow].cells[0].width = narrowest;dataitem.rows[0].cells[0].width = narrowest;var spread = Math.abs(dataitem.rows[0].cells[0].clientWidth - headeritem.rows[lastheaderrow].cells[0].clientWidth);spread = Math.ceil(spread/(len-1));for (i=1; i 0){dataitem.rows[0].cells[len-1].width = dataitem.rows[0].cells[len-1].clientWidth + diff;loop++;if (loop > 4) break;diff = dataitem.rows[0].cells[0].clientWidth - headeritem.rows[lastheaderrow].cells[0].clientWidth;}}} width = dataitem.clientWidth;} return width;} function i2uiResizeColumnsWithFixedHeaderHeight(tableid, headerheight, slave){if (!document.all){return 0;} var headeritem = document.getElementById(tableid+"_header");var dataitem = document.getElementById(tableid+"_data");var scrolleritem = document.getElementById(tableid+"_scroller");if (headeritem != null &&dataitem != null &&scrolleritem != null &&dataitem.rows.length > 0){if (headeritem.style.tableLayout != "fixed"){var newrow = headeritem.insertRow();if (newrow != null){newrow.className = "tableColumnHeadings";var i;var lastheaderrow = headeritem.rows.length - 2;var len = headeritem.rows[lastheaderrow].cells.length;var newcell;var attempts;var newcellwidth;var widths = new Array();var overallwidth = len - 1; // initial width is for cell dividers if (slave != null || slave == 1){dataitem.style.width = 5 * dataitem.rows[0].cells.length;headeritem.style.width = 5 * dataitem.rows[0].cells.length;} for (i=0; i headeritem.clientWidth) growthfactor = Math.max(100,scrolleritem.offsetWidth-headeritem.clientWidth);else growthfactor = 100;headeritem.style.width = headeritem.clientWidth + growthfactor;for (i=0; i headerheight){attempts++;newcellwidth = parseInt(newcellwidth * 1.25);newcell.style.width = newcellwidth;} widths[i] = Math.max(newcell.clientWidth, dataitem.rows[0].cells[i].clientWidth);overallwidth += widths[i];} var spread = parseInt((scrolleritem.clientWidth - overallwidth) / len);if (spread > 0){overallwidth += spread * len;for (i=0; i");if (newitem != null) headeritem.appendChild(newitem);newitem = document.createElement("");if (newitem != null) dataitem.appendChild(newitem);} headeritem.style.tableLayout = "fixed";dataitem.style.tableLayout = "fixed";headeritem.rows[lastheaderrow].style.height = headerheight;for (i=0; i 1){var scrollercell = table_obj.rows[0].cells[len-1];if (scrollercell != null && scrollercell.id=="scrollerspacer"){if (newheight < maxheight){if (scroller_obj.style.overflow=="hidden"){var cmd = "document.getElementById('"+id+"_data').style.overflow='auto'";setTimeout(cmd, 50);} scrollercell.style.display = "";scrollercell.style.visibility = "visible";} else{scroller_obj.style.overflow="hidden";scrollercell.style.display = "none";}}}}} function i2uiResizeScrollableArea(mastertableid, minheight, minwidth, slavetableid, flag, slave2width, column1width, headerheight){if (document.layers){return;} if (!document.all){var scroller_obj = document.getElementById(mastertableid+"_data");if (scroller_obj != null){var newheight;var scrollheight = i2uiComputeScrollHeight(mastertableid+"_data");var rowcount = scroller_obj.rows.length;var maxheight = scrollheight+rowcount;if (minheight == null) newheight = maxheight;else newheight = Math.max(100, Math.min(minheight, maxheight));scroller_obj.style.height = newheight + 1;scroller_obj.style.height = newheight;i2uiManageTableScroller(mastertableid,maxheight,newheight);} return;} var slavetableid2 = null;if (slavetableid != null && slavetableid != 'undefined'){slavetableid2 = slavetableid+"2";} var tableitem = document.getElementById(mastertableid);var headeritem = document.getElementById(mastertableid+"_header");var dataitem = document.getElementById(mastertableid+"_data");var scrolleritem = document.getElementById(mastertableid+"_scroller");if (tableitem != null &&headeritem != null &&dataitem != null &&scrolleritem != null){var slavewidth = 0; // this is for the margins of the page if (flag != null && flag != "undefined"){if (slave2width != null &&slave2width != 'undefined'){slavewidth = Math.ceil(2 * (flag / 1));} else{slavewidth = flag / 1;}} if (slavewidth == 0 &&slave2width != null &&slave2width != 'undefined'){slavewidth += 16;} if (window.document.body != null &&(window.document.body.scroll == null ||window.document.body.scroll == 'yes' ||window.document.body.scroll == 'auto')){slavewidth += 16;} if (slavetableid != null && slavetableid != 'undefined'){var x = i2uiResizeColumns(slavetableid,1,1,1,headerheight);slavewidth += x;} if (slavetableid2 != null &&slavetableid2 != 'undefined' &&document.getElementById(slavetableid2) != null){var x = i2uiResizeColumns(slavetableid2,1,1,1,headerheight);if (slave2width != null && slave2width != 'undefined'){slavewidth += slave2width;} else{slavewidth += x;}} if (minwidth != null && minwidth != 'undefined'){var scrolleritem2 = document.getElementById(mastertableid+"_header_scroller");if (scrolleritem2 != null){var newwidth;if (slavetableid != null && slavetableid != 'undefined'){newwidth = Math.max(headeritem.clientWidth, dataitem.clientWidth);newwidth = Math.min(newwidth, minwidth);newwidth = Math.max(minwidth, document.body.offsetWidth - slavewidth);} else{newwidth = minwidth;} newwidth = Math.max(1,newwidth);scrolleritem2.style.width = newwidth;scrolleritem2.width = newwidth;scrolleritem.style.width = newwidth;scrolleritem.width = newwidth;tableitem.style.width = newwidth;dataitem.style.width = newwidth;var adjust = scrolleritem2.clientWidth - scrolleritem.clientWidth;if (adjust != 0){scrolleritem.style.width = newwidth + adjust;} if (newwidth != scrolleritem.clientWidth){newwidth--;scrolleritem2.style.width = newwidth;scrolleritem.style.width = newwidth + adjust;tableitem.style.width = newwidth;dataitem.style.width = newwidth;} var skip = false;if (headerheight == null &&i2uiCheckAlignment(mastertableid) &&(headeritem.clientWidth > scrolleritem.clientWidth ||dataitem.clientWidth > scrolleritem.clientWidth)){skip = true;} if (!skip){scrolleritem.scrollLeft = 0;scrolleritem2.scrollLeft = 0;i2uiResizeMasterColumns(mastertableid, column1width, headerheight);if (!i2uiCheckAlignment(mastertableid)){var cmd = "i2uiResizeColumns('"+mastertableid+"',1,1)";setTimeout(cmd, 250);}}}} if (minheight != null &&minheight != 'undefined' &&(slavetableid == null ||slavetableid != 'undefined')){var newheight = Math.max(1, Math.min(dataitem.clientHeight, minheight));scrolleritem.style.height = newheight;var adjust = dataitem.clientHeight - scrolleritem.clientHeight;if (adjust != 0){scrolleritem.style.height = newheight + Math.min(16,adjust);} if (slavetableid != null && slavetableid != 'undefined'){var dataitem2 = document.getElementById(slavetableid+"_data");var scrolleritem2 = document.getElementById(slavetableid+"_scroller");if (scrolleritem2 != null &&dataitem2 != null){scrolleritem2.style.height = newheight;var adjust = scrolleritem2.clientHeight - scrolleritem.clientHeight;if (adjust != 0){scrolleritem2.style.height = newheight - adjust;}} if (slavetableid2 != null && slavetableid2 != 'undefined'){var scrolleritem3 = document.getElementById(slavetableid2+"_scroller");if (scrolleritem3 != null){scrolleritem3.style.height = newheight;var adjust = scrolleritem3.clientHeight - scrolleritem.clientHeight;if (adjust != 0){scrolleritem3.style.height = newheight - adjust;}}}}} if (slavetableid != null && slavetableid != 'undefined'){var dataitem2 = document.getElementById(slavetableid+"_data");if (dataitem2 != null){var dataitem3 = null;if (slavetableid2 != null && slavetableid2 != 'undefined'){dataitem3 = document.getElementById(slavetableid2+"_data");} var len;var masterRowsPerSlaveRow = 1;var fakerow = 0;if (dataitem3 != null){if (i2uiCheckForAlignmentRow(slavetableid2)){fakerow = 1;} masterRowsPerSlaveRow = Math.max(1,parseInt(dataitem.rows.length / (dataitem3.rows.length - fakerow)));} else{if (i2uiCheckForAlignmentRow(slavetableid)){fakerow = 1;} masterRowsPerSlaveRow = Math.max(1,parseInt(dataitem.rows.length / (dataitem2.rows.length - fakerow)));} if (dataitem3 != null && masterRowsPerSlaveRow > 1){len = dataitem.rows.length;for (var i=0; i dataitem3.rows[i].clientHeight){dataitem3.rows[i].style.height = h3;} else{k = j + masterRowsPerSlaveRow - 1;delta = dataitem3.rows[i].clientHeight - h1;remainder = delta % masterRowsPerSlaveRow;delta = parseInt(delta / masterRowsPerSlaveRow);for (k=0; k dataitem2.rows[i].clientHeight){dataitem2.rows[i].style.height = h3;} else{k = j + masterRowsPerSlaveRow - 1;delta = dataitem2.rows[i].clientHeight - h1;remainder = delta % masterRowsPerSlaveRow;delta = parseInt(delta / masterRowsPerSlaveRow);for (k=0; k 0){var len = headeritem.rows[0].cells.length;for (var i=0; i 0){var len = headeritem.rows[0].cells.length;i2uitrace (0,"recap for "+tableid);i2uitrace (0,"data: width="+dataitem.width+" style.width="+dataitem.style.width+" client="+dataitem.clientWidth+" scroll="+dataitem.scrollWidth+" offset="+dataitem.offsetWidth);i2uitrace (0,"header: width="+headeritem.width+" style.width="+headeritem.style.width+" client="+headeritem.clientWidth+" scroll="+headeritem.scrollWidth+" offset="+headeritem.offsetWidth);i2uitrace (0,"scroller: width="+scrolleritem.width+" style.width="+scrolleritem.style.width+" client="+scrolleritem.clientWidth+" scroll="+scrolleritem.scrollWidth+" offset="+scrolleritem.offsetWidth);for (var i=0; iTrace Window");i2uitracewindow.document.write(i2uitracetext);i2uitracewindow.document.write("");i2uitracewindow.document.close();}} function i2uiResizeSlaveonmousedown(e){var name;i2uiResizeSlaveOrigonmouseup = document.onmouseup;i2uiResizeSlaveOrigonmousemove = document.onmousemove;document.onmousemove = i2uiResizeSlaveonmousemove;document.onmouseup = i2uiResizeSlaveonmouseup;i2uiResizeSlavewhichEl = null;i2uiResizeSlavewhichEl = event.srcElement;name = i2uiResizeSlavewhichEl.id;while (i2uiResizeSlavewhichEl.id.indexOf(i2uiResizeKeyword) == -1){i2uiResizeSlavewhichEl = i2uiResizeSlavewhichEl.parentNode;if (i2uiResizeSlavewhichEl == null){return;}} if (i2uiResizeSlavewhichEl == null){return;} i2uiResizeSlavewhichEl.style.cursor = "move";i2uiResizeSlaveorigX = event.clientX + document.body.scrollLeft;} function i2uiResizeSlaveonmousemove(e){if (i2uiResizeSlavewhichEl == null){event.returnValue = true;} else{event.returnValue = false;}} function i2uiResizeSlaveonmouseup(e){document.onmousemove = i2uiResizeSlaveOrigonmousemove;document.onmouseup = i2uiResizeSlaveOrigonmouseup;if (i2uiResizeSlavewhichEl == null){return;} i2uiResizeSlavenewX = event.clientX + document.body.scrollLeft;i2uiResizeSlaveresize();event.returnValue = false;i2uiResizeSlavewhichEl = null;} function i2uiResizeSlaveonmouseover(){if (i2uiResizeSlavewhichEl == null && event.srcElement.id.indexOf(i2uiResizeKeyword) != -1){event.srcElement.style.cursor = "move";} event.returnValue = true;} function i2uiResizeSlaveresize(){var distanceX = i2uiResizeSlavenewX - i2uiResizeSlaveorigX;if (distanceX != 0){if (i2uiIsVariableDefined(i2uiResizeSlavewhichEl.id.substring(i2uiResizeKeywordLength))){var w = i2uiResizeSlavewhichEl.id.substring(i2uiResizeKeywordLength);var newwidth = eval(w) + distanceX;var len = i2uiResizeWidthVariable.length;for (var i=0; i depth1 + 5 && action2 == "collapse")){ table.rows[j].style.display = action; if (relatedtable != null) relatedtable.rows[j].style.display = action; if (depth2 == depth1 + 10 && action2 == "expand" && recurse == null){ i2uiManageTreeTable(tablename,newcell,column,relatedtablenames,name,1,null,j); } }//if (((depth2 == depth1 if (depth2 <= depth1){ break; } }//for (var j=i+1; break; }//if (table.rows[i].cells[column].id }//for (var i=startat; if (recurse == null){ if (relatedtablenames != null ||document.getElementById(tablename+"_data") != null) { var masterscrolleritem = document.getElementById(relatedtablenames+"_scroller"); var slavescrolleritem = document.getElementById(tablename+"_scroller"); if (slavescrolleritem != null &&masterscrolleritem != null){ masterscrolleritem.scrollTop = 0; slavescrolleritem.scrollTop = 0; } } if (relatedroutine != null){ setTimeout(relatedroutine,100); } if (i2uiManageTreeTableUserFunction != null){ if (name == null){ name = 'undefined'; } if (relatedtablenames != null){ eval(i2uiManageTreeTableUserFunction+"('"+tablename+"','"+relatedtablenames+"','"+action+"',"+savemasterscrolltop+",'"+name+"',"+loadondemand+")"); } else{ eval(i2uiManageTreeTableUserFunction+"('"+tablename+"','undefined','"+action+"',null,'"+name+"',"+loadondemand+")"); } } } } } function i2uiCollapsePadTree(tablename, depth){if (document.layers){return;} var column = 0;var table;var savemasterscrolltop;var saveslavescrolltop;table = document.getElementById(tablename+"_data");if (table == null){table = document.getElementById(tablename);} if (table != null &&table.rows != null){var len = table.rows.length;var rowdepth;var img;var cellname;var childkey;var childnode;for (var i=0; i depth){if (childnode == null){if (img != null){if (img.src.indexOf("plus_loadondemand.gif") == -1) img.src = i2uiImageDirectory+"/tree_bullet.gif";}} table.rows[i].style.display = "none";} else{if (childnode == null){if (img != null){if (img.src.indexOf("plus_loadondemand.gif") == -1) img.src = i2uiImageDirectory+"/tree_bullet.gif";}} else{if (img != null){img.src = i2uiImageDirectory+"/minus_norgie.gif";}} table.rows[i].style.display = "";}}}}} function i2uiCollapseTreeTable(tablename, depth, relatedtablenames, column){if (document.layers){return;} if (column == null){column = 0;} var table;var savemasterscrolltop;var saveslavescrolltop;table = document.getElementById(tablename+"_data");if (table == null){table = document.getElementById(tablename);} if (table != null &&table.rows != null){var relatedtable = null;if (relatedtablenames != null &&relatedtablenames != 'undefined'){relatedtable = document.getElementById(relatedtablenames+"_data");var masterscrolleritem = document.getElementById(relatedtablenames+"_scroller");if (masterscrolleritem != null){savemasterscrolltop = masterscrolleritem.scrollTop;}} var len = table.rows.length;var rowdepth;var newdepth;var node;var img;var cellname;var childkey;var childnode;for (var i=0; i depth * 10){if (childnode == null){if (img != null){if (img.src.indexOf("plus_loadondemand.gif") == -1) img.src = i2uiImageDirectory+"/tree_bullet.gif";}} table.rows[i].style.display = "none";if (relatedtable != null && relatedtable.rows[i] != null){relatedtable.rows[i].style.display = "none";}} else{if (childnode == null){if (img != null){if (img.src.indexOf("plus_loadondemand.gif") == -1) img.src = i2uiImageDirectory+"/tree_bullet.gif";}} else{if (img != null){img.src = i2uiImageDirectory+"/minus_norgie.gif";}} table.rows[i].style.display = "";if (relatedtable != null && relatedtable.rows[i] != null){relatedtable.rows[i].style.display = "";}}}} if (relatedtablenames != null ||document.getElementById(tablename+"_data") != null){var masterscrolleritem = document.getElementById(relatedtablenames+"_scroller");var slavescrolleritem = document.getElementById(tablename+"_scroller");if (slavescrolleritem != null &&masterscrolleritem != null){masterscrolleritem.scrollTop = 0;slavescrolleritem.scrollTop = 0;} if (i2uiManageTreeTableUserFunction != null){if (relatedtablenames != null){eval(i2uiManageTreeTableUserFunction+"('"+tablename+"','"+relatedtablenames+"','none',"+savemasterscrolltop+")");} else{eval(i2uiManageTreeTableUserFunction+"('"+tablename+"','undefined','none')");}}}}} function i2uiSetTabFillerHeight(id){if (document.layers){return;} var filler_obj = document.getElementById(id+"_filler");var tab_table_obj = document.getElementById(id);if (filler_obj != null && tab_table_obj != null){var container_table_obj = tab_table_obj.parentNode;while (container_table_obj != null){if (container_table_obj.tagName == 'TABLE'){break;} container_table_obj = container_table_obj.parentNode;} if (container_table_obj != null &&tab_table_obj != null){filler_obj.style.height = container_table_obj.offsetHeight - tab_table_obj.offsetHeight;}}} function i2uiResizeScrollableContainer(id, height, delta, width, useminheight, autoscrollers){if (document.layers){return;} if (!i2uiIsSuitableBrowser()){return;} var scroller_obj = document.getElementById(id+"_scroller");if (scroller_obj != null){i2uiComputeScrollHeight(id+"_scroller",true);if (width != null){scroller_obj.style.width = Math.max(1,width);var obj = document.getElementById(id);if (obj != null){obj.style.width = Math.max(1,width);if (width > 0 &&width < obj.offsetWidth - 3){scroller_obj.style.width = obj.offsetWidth - 3;}}} if (height != null){if (useminheight != null &&useminheight == true &&scroller_obj.scrollHeight != null){var scrollHeight = scroller_obj.scrollHeight;if (scroller_obj.offsetWidth < scroller_obj.scrollWidth) scrollHeight += 16;scroller_obj.style.height = Math.min(Math.max(1,height), scrollHeight);} else{scroller_obj.style.height = Math.max(1,height);}} else{if (delta != null){var x = scroller_obj.offsetWidth;var y = scroller_obj.offsetHeight + delta;if (x > 0 && y > 0){if (useminheight != null &&useminheight == true &&scroller_obj.scrollHeight != null){scroller_obj.style.height = Math.min(y, scroller_obj.scrollHeight);} else{scroller_obj.style.height = y;}}}} if (autoscrollers != null && autoscrollers == 'yes'){if (scroller_obj.scrollHeight <= scroller_obj.offsetHeight &&scroller_obj.scrollWidth <= scroller_obj.offsetWidth ){scroller_obj.style.overflow="hidden";} else{scroller_obj.style.overflow="auto";}}}} function i2uiHighlightMenuOption(obj,flag,id,menuid){i2uiSubMenuFlag = flag;if (menuid != null &&flag == "Highlighted" &&i2uiSubMenuActiveId != null &&menuid == i2uiMenuActiveId){i2uiToggleItemVisibility(i2uiSubMenuActiveId, 'hide');i2uiSubMenuActiveId = null;} if (document.layers){var obj2 = document.layers[menuid];if (obj2 != null){var obj3 = obj2.layers[id];if (obj3 != null){if (flag == "Highlighted"){obj3.bgColor = "#d1d6f0";} else{obj3.bgColor = "#f2f4fe";}}} return;} while (obj != null && obj.tagName != 'TR'){obj = obj.parentNode;} if (obj != null){obj.className = "menu"+flag;}} function i2uiSetMenuCoords(obj, e){if (obj.clientLeft != null && obj.clientTop != null){i2uiMenu_x = e.clientX + document.body.scrollLeft;i2uiMenu_y = e.clientY + document.body.scrollTop;} else{if (obj.offsetLeft != null && obj.offsetTop != null){i2uiMenu_x = obj.offsetLeft + obj.offsetWidth;i2uiMenu_y = obj.offsetTop + obj.offsetHeight;} else{i2uiMenu_x = e.pageX;i2uiMenu_y = e.pageY;}}} function i2uiShowMenu(id){i2uiHideMenu();i2uiMenuActiveId = id;i2uiMenuOrigonmouseup = document.onmouseup;var obj;var objwidth = 25;if (document.layers){obj = document.layers[id];objwidth = obj.clip.width;} else{obj = document.getElementById(id);} if (obj != null &&i2uiMenu_x != null &&i2uiMenu_y != null){i2uiKeepMenuInWindow(obj, i2uiMenu_x, i2uiMenu_y, id);if (!document.layers){objwidth = obj.offsetWidth;} i2uiSubMenu_x = i2uiMenu_x + objwidth - 5;i2uiSubMenu_y = i2uiMenu_y + 10;} document.onmouseup = i2uiCancelMenu;} function i2uiShowSubMenu(id){if (i2uiSubMenuActiveId != null){i2uiToggleItemVisibility(i2uiSubMenuActiveId, 'hide');} i2uiSubMenuActiveId = id;var obj;if (document.layers){obj = document.layers[id];} else{obj = document.getElementById(id);} if (obj != null &&i2uiSubMenu_x != null &&i2uiSubMenu_y != null){i2uiKeepMenuInWindow(obj, i2uiSubMenu_x, i2uiSubMenu_y, id, i2uiMenu_x);}} function i2uiKeepMenuInWindow(obj, x, y, id, x2){var ExtraSpace = 10;var WindowLeftEdge;var WindowTopEdge;var WindowWidth;var WindowHeight;if (window.innerWidth != null){WindowWidth = window.innerWidth;WindowHeight = window.innerHeight;} else{WindowWidth = document.body.clientWidth;WindowHeight = document.body.clientHeight;} if (window.pageXOffset != null){WindowLeftEdge = window.pageXOffset;WindowTopEdge = window.pageYOffset;} else{WindowLeftEdge = document.body.scrollLeft;WindowTopEdge = document.body.scrollTop;} var WindowRightEdge = (WindowLeftEdge + WindowWidth) - ExtraSpace;var WindowBottomEdge = (WindowTopEdge + WindowHeight) - ExtraSpace;var MenuLeftEdge = x;var MenuTopEdge = y;var MenuRightEdge;var MenuBottomEdge;if (document.layers){MenuRightEdge = x + obj.clip.width;MenuBottomEdge = y + obj.clip.height;} else{i2uiToggleItemVisibility(id,'show');MenuRightEdge = x + obj.offsetWidth;MenuBottomEdge = y + obj.offsetHeight;} var dif;if (MenuRightEdge > WindowRightEdge){if (x2 == null){dif = MenuRightEdge - WindowRightEdge;} else{dif = MenuRightEdge - x2;} x -= dif;} if (MenuBottomEdge > WindowBottomEdge){dif = MenuBottomEdge - WindowBottomEdge;y -= dif;} if (x < WindowLeftEdge){x = 5;} if (y < WindowTopEdge){y = 5;} if (document.layers){obj.moveTo(x,y);i2uiToggleItemVisibility(id,'show');} else{obj.style.left = x;obj.style.top = y;} if (x2 == null) i2uiMenu_x = x;} function i2uiHideMenu(){if (i2uiSubMenuActiveId != null){i2uiToggleItemVisibility(i2uiSubMenuActiveId,'hide');i2uiSubMenuActiveId = null;} if (i2uiMenuActiveId != null){i2uiToggleItemVisibility(i2uiMenuActiveId,'hide');i2uiMenuActiveId = null;}} function i2uiCancelMenu(e){if (!document.layers &&e &&e.target.parentNode != null &&e.target.parentNode.tagName == 'A'){event.returnValue = true;} if (i2uiSubMenuFlag != "Highlighted"){if (i2uiSubMenuActiveId != null){i2uiToggleItemVisibility(i2uiSubMenuActiveId,'hide');i2uiSubMenuActiveId = null;} if (i2uiMenuActiveId != null){i2uiToggleItemVisibility(i2uiMenuActiveId,'hide');i2uiMenuActiveId = null;} document.onmouseup = i2uiMenuOrigonmouseup;}} function i2uiComputeTop(obj){if (document.layers){return;} if (typeof obj == "string"){obj = document.getElementById(obj);} var y = 0;if (obj != null && obj.offsetTop != null){y = obj.offsetTop;} if (obj != null && obj.offsetParent != null){return y + i2uiComputeTop(obj.offsetParent);} return y;} function i2uiComputeLeft(obj){if (document.layers){return;} if (typeof obj == "string"){obj = document.getElementById(obj);} var x = 0;if (obj != null && obj.offsetLeft != null){x = obj.offsetLeft;} if (obj != null && obj.offsetParent != null){return x + i2uiComputeLeft(obj.offsetParent);} return x;} function i2uiTreeTableAction(object_name, action){ if (document.layers){ var item = document.layers[object_name]; if (item){ item.bgColor = '#fff274'; if (i2uiActiveTreeNode != null){ i2uiActiveTreeNode.bgColor = '#f7f8fd'; } i2uiActiveTreeNode = item; } } else{ var owningrow = null; var owningtable = null; var object = document.getElementById(object_name); while (object){ if (object.tagName == 'TR'){ owningrow = object; } else if (object.tagName == 'TABLE'){ owningtable = object;break; } object = object.parentNode; } if (owningtable){ if (i2uiActiveTreeNode != null){ i2uiActiveTreeNode.className = "tableRow0"; } // owningrow.className = "rowHighlight"; i2uiActiveTreeNode = owningrow; } } //praky //eval(action); window.location.href(action); } function i2uiduallistboxcopyit(fromlistbox, tolistbox, picked){if (picked == null) picked = fromlistbox.selectedIndex;if (picked >= 0){var len = tolistbox.options.length;tolistbox.options.length++;tolistbox.options[len].text = fromlistbox.options[picked].text;tolistbox.options[len].value = fromlistbox.options[picked].value;fromlistbox.options[picked].selected = false;} if (fromlistbox.selectedIndex >= 0) i2uiduallistboxcopyit(fromlistbox, tolistbox);} function i2uiduallistboxmoveit(fromlistbox, tolistbox, picked){if (picked == null) picked = fromlistbox.selectedIndex;if (picked >= 0){var len = tolistbox.options.length;tolistbox.options.length++;tolistbox.options[len].text = fromlistbox.options[picked].text;tolistbox.options[len].value = fromlistbox.options[picked].value;fromlistbox.options[picked].selected = false;if (document.layers){var len2 = fromlistbox.options.length;for (var i=picked; i 0) fromlistbox.options.length--;} else if (document.all){fromlistbox.options.remove(picked);} else{fromlistbox.options[picked] = null;}} if (fromlistbox.selectedIndex >= 0) i2uiduallistboxmoveit(fromlistbox, tolistbox);} function i2uiduallistboxmoveall(fromlistbox, tolistbox){while(fromlistbox.options.length > 0){i2uiduallistboxmoveit(fromlistbox, tolistbox, 0);}} function i2uiduallistboxcopyall(fromlistbox, tolistbox){var len = fromlistbox.options.length;for (var i=0; i 17) padding -= 17;var modifier = Math.min(14, 14-padding/2);var newwidth = document.body.offsetWidth - modifier;region.style.width = newwidth;} region.style.height = newheight;}} function i2uiBreadcrumbs() { this.speed = 40; } i2uiBreadcrumbs.prototype.init = function () { this.crossobj=document.getElementById?document.getElementById("breadcrumbsContent"):document.all.breadcrumbsContent; this.contentwidth=this.crossobj.offsetWidth; } i2uiBreadcrumbs.prototype.toString = function () { return "Breadcrumbs"; } var breadcrumbs; function i2uiSetBreadcrumbsWidth () { if(breadcrumbs == null) { return; } var width = document.body.clientWidth; breadcrumbs.crossobj=document.getElementById?document.getElementById("breadcrumbsContent"):document.all.breadcrumbsContent; /* if (width != previousPageWidth){ this.crossobj=document.getElementById?document.getElementById("breadcrumbsContent"):document.all.breadcrumbsContent; if (this.crossobj != null){ //alert('1'); this.crossobj.style.left = 0; } } previousPageWidth = width; */ if (document.getElementById('applicationName') == null) { return; } var applicationNameWidth = parseInt(document.getElementById('applicationName').offsetWidth); breadCrumbsContainerWidth = parseInt(width) - applicationNameWidth - 70; var element = document.getElementById('breadcrumbsContainer'); if (element != null) element.style.width = breadCrumbsContainerWidth; breadcrumbs.contentwidth = breadcrumbs.crossobj.offsetWidth; var tempContentWidth = parseInt(document.getElementById('breadcrumbsContent').offsetWidth); if (tempContentWidth < breadCrumbsContainerWidth) { document.getElementById('leftscroll').style.display = 'none'; document.getElementById('rightscroll').style.display = 'none'; //breadcrumbs.speed = 0; breadcrumbs.crossobj.style.left = 0; }else{ //breadcrumbs.speed = tempContentWidth - breadCrumbsContainerWidth; breadcrumbs.crossobj.style.left = breadCrumbsContainerWidth - tempContentWidth -10; document.getElementById('leftscroll').style.display = ''; document.getElementById('rightscroll').style.display = 'none'; } //breadcrumbs.scrollHorizontal(0); breadcrumbs.speed = 40; } function i2uiSetBreadcrumbsScrollSpeed (speed) { breadcrumbs.speed = speed; } i2uiBreadcrumbs.prototype.scrollHorizontal = function (dir) { var width = document.body.clientWidth; var applicationNameWidth = parseInt(document.getElementById('applicationName').offsetWidth); if (dir == 0) { if (parseInt(this.crossobj.style.left) > (this.contentwidth*(-1) + this.speed)) {this.crossobj.style.left = parseInt(this.crossobj.style.left) - this.speed;} if (this.contentwidth > width-70-applicationNameWidth) { var ju = ((parseInt(this.contentwidth) - width+70+applicationNameWidth) + parseInt(this.crossobj.style.left)); document.getElementById('leftscroll').style.display = 'inline'; if (ju <= 0) { element = document.getElementById('rightscroll'); element.style.display = 'none'; } element = document.getElementById('leftscroll'); if (element.style.display == 'inline' && element.incremented) { var breadcrumbContent = document.getElementById('breadcrumbsContainer'); breadcrumbContent.style.width = breadcrumbContent.offsetWidth - 25; element.incremented = false; } } } else if (dir == 1) { if (parseInt(this.crossobj.style.left) < 0 ) {var maxDelta = Math.min(this.speed, (0 - parseInt(this.crossobj.style.left))); this.crossobj.style.left = parseInt(this.crossobj.style.left) + maxDelta;} if (((parseInt(this.crossobj.style.left)) + width-70-applicationNameWidth) < parseInt(this.contentwidth)) { element = document.getElementById('rightscroll'); element.style.display = 'inline'; } if (parseInt(this.crossobj.style.left) == 0) { element = document.getElementById('leftscroll'); element.style.display = 'none'; var breadcrumbContent = document.getElementById('breadcrumbsContainer'); breadcrumbContent.style.width = breadcrumbContent.offsetWidth + 25; element.incremented = true; } } } function i2uiToggleNavarea(name){if (document.layers) return;var item = document.getElementById(name);if (item != null){if (item.tagName == "IFRAME" ||item.tagName == "DIV"){if (item.style.display == "none"){item.style.display = "";item.style.visibility = "visible";} else{item.style.display = "none";}} else if (item.tagName == "FRAME"){var colarray = item.parentElement.cols.split(",");var result = "";for (var i=0; i 0) result += ",";result += colarray[i];} item.parentElement.cols = result;}}} function i2uiScrollTabsRight(id){if (document.layers) return;var obj = document.getElementById(id);if (obj != null){var tablen = obj.rows[0].cells.length;var showid = 0;for (var i=1; i 0){if (showid == 1) i2uiToggleItemVisibility(id+'_tabscrollerright','hide');else i2uiToggleItemVisibility(id+'_tabscrollerright','show');obj.rows[0].cells[showid].style.display = "";obj.rows[0].cells[showid].style.visibility = "visible";showid++;obj.rows[0].cells[showid].style.display = "";obj.rows[0].cells[showid].style.visibility = "visible";showid++;obj.rows[0].cells[showid].style.display = "";obj.rows[0].cells[showid].style.visibility = "visible";showid++;obj.rows[0].cells[showid].style.display = "";obj.rows[0].cells[showid].style.visibility = "visible";showid++;for (var j=showid; j4; i--){if (obj.rows[0].cells[i].style.display == "none"){showid = i;i -= 3;} else if (showid > 0){if (showid == 1) i2uiToggleItemVisibility(id+'_tabscrollerright','hide');else i2uiToggleItemVisibility(id+'_tabscrollerright','show');obj.rows[0].cells[showid].style.display = "";obj.rows[0].cells[showid].style.visibility = "visible";showid--;obj.rows[0].cells[showid].style.display = "";obj.rows[0].cells[showid].style.visibility = "visible";showid--;obj.rows[0].cells[showid].style.display = "";obj.rows[0].cells[showid].style.visibility = "visible";showid--;obj.rows[0].cells[showid].style.display = "";obj.rows[0].cells[showid].style.visibility = "visible";showid--;for (var j=showid; j>0; j--){obj.rows[0].cells[j].style.display = "";obj.rows[0].cells[j].style.visibility = "visible";} i2uiManageTabs(id,null,"front",null,showid+4);break;}}}} function i2uiManageTabs(id, allowedwidth, direction, hiddenleft, hiddenright){if (document.layers) return;var obj = document.getElementById(id);if (obj != null){if (allowedwidth == null){eval("allowedwidth = "+id+"_allowed_width");if (allowedwidth == 0) allowedwidth = document.body.offsetWidth - 40;} else{eval(id+"_allowed_width="+allowedwidth);} var tablen = obj.rows[0].cells.length;var widthbefore = 0;if (direction == "front"){for (var i=1; ii-4; j--){obj.rows[0].cells[j].style.display = "";obj.rows[0].cells[j].style.visibility = "visible";} hiddenleft = j;break;}}} else{for (var i=tablen-3; i>3; i--){widthbefore = obj.offsetWidth;if (obj.offsetWidth <= allowedwidth ||obj.rows[0].cells[i-4].style.display == "none"){hiddenright = i;break;} obj.rows[0].cells[i].style.display = "none";i--;obj.rows[0].cells[i].style.display = "none";i--;obj.rows[0].cells[i].style.display = "none";i--;obj.rows[0].cells[i].style.display = "none";if (widthbefore == obj.offsetWidth){for (var j=i; j 0){var release = navigator.userAgent.substr(at+10);if (release <6.2) rc = false;} return rc;} var i2uiMessageBoxRC = null; function i2uiShowMessageBox(url, height, width) { if (height == null) height = 150; else height = Math.max(150, height); if (width == null) width = 350; else width = Math.max(350, width); i2uiMessageBoxRC = null; if (!document.layers){ if (document.all) { if(url.indexOf("?")!=-1) url=url+"&width="+ width + "&height="+ height; else url=url+"?width="+ width + "&height="+ height; i2uiMessageBoxRC = showModalDialog(url,"","dialogWidth:"+width+"px;dialogheight:"+height+"px;status:no;resizable=yes,scrollbars=no; unadorned:yes;help:no"); } else { var screenX = (screen.availWidth - width) / 2; var screenY = (screen.availHeight - height) / 2; var dialogWindow = window.open(url,"dlog","screenX="+screenX+"px,screenY="+screenY+"px,width="+width+"px,height="+height+"px,modal=yes"); } } return i2uiMessageBoxRC; } function i2uiCloseMessageBox(returnValue){if (document.all) window.returnValue = returnValue;else opener.i2uiMessageBoxRC = returnValue;window.close();} function i2uiMessageBoxInit(){var obj = document.getElementsByTagName('button');if (obj != null){obj[obj.length-1].focus();}} var i2uiDatePickerWidthTable = new Object();i2uiDatePickerWidthTable["en"] = 149;i2uiDatePickerWidthTable["en-IE"] = 155;i2uiDatePickerWidthTable["de"] = 161;i2uiDatePickerWidthTable["de-IE"] = 173;i2uiDatePickerWidthTable["fr"] = 176;i2uiDatePickerWidthTable["fr-IE"] = 188;i2uiDatePickerWidthTable["ja"] = 148;i2uiDatePickerWidthTable["ja-IE"] = 154;i2uiDatePickerWidthTable["ko"] = 148;i2uiDatePickerWidthTable["ko-IE"] = 154;var i2uiDatePickerHeightTable = new Object();i2uiDatePickerHeightTable["en"] = 200;i2uiDatePickerHeightTable["en-IE"] = 225;i2uiDatePickerHeightTable["de"] = 200;i2uiDatePickerHeightTable["de-IE"] = 225;i2uiDatePickerHeightTable["fr"] = 200;i2uiDatePickerHeightTable["fr-IE"] = 225;i2uiDatePickerHeightTable["ja"] = 200;i2uiDatePickerHeightTable["ja-IE"] = 227;i2uiDatePickerHeightTable["ko"] = 200;i2uiDatePickerHeightTable["ko-IE"] = 227;var i2uiDatePickerJspDir = null;var i2uiDatePickerRC = null;function i2uiDatePickerCreateAndPost(refdate, localeStr, screenX, screenY){i2uiDatePickerRC = null;if (!document.layers){var refdateStr = null;if (refdate != null){refdateStr = refdate.getFullYear() + "-" + refdate.getMonth() + "-" + refdate.getDate();} var key = null;if (localeStr != null){key = localeStr.substr(0,2);} else{key = document.all != null ? navigator.userLanguage : navigator.language;key = key.substr(0,2);} if (document.all != null) key += "-IE";var width = i2uiDatePickerWidthTable[key] != null ? i2uiDatePickerWidthTable[key] : (document.all != null ? 155 : 149);var height = i2uiDatePickerHeightTable[key] != null ? i2uiDatePickerHeightTable[key] : (document.all != null ? 229 : 204);var xyStr = "";if (screenX != null && screenY != null){xyStr = document.all ? ";dialogLeft:"+screenX+";dialogTop:"+screenY : ",screenX="+screenX+",screenY="+screenY;} var url="i2uidatepickerdialog.jsp?id=datepickerDialog&refdate="+refdateStr+(localeStr != null ? "&locale="+localeStr : "");if (i2uiDatePickerJspDir != null){url = i2uiDatePickerJspDir + "/" + url;} if (document.all){i2uiDatePickerRC = showModalDialog(url,"","dialogWidth:"+width+"px;dialogheight:"+height+"px;status:no;unadorned:yes;help:no"+xyStr);} else{var dialogWindow = window.open(url,"datepicker","width="+width+",height="+height+",modal=yes"+xyStr);}} return i2uiDatePickerRC != null ? new Date(i2uiDatePickerRC) : null;} function i2uiDatePickerClose(returnValue){if (returnValue != null) returnValue = returnValue.toUTCString();if (document.all){window.returnValue = returnValue;} else{opener.i2uiDatePickerRC = returnValue;} window.close();} function i2uiDatePickerSetJspDir (dir){i2uiDatePickerJspDir = dir;} function i2uiToggleContent1(item, nest,idee ,relatedroutine) { if (document.layers) { return; } var owningtable = document.getElementById(idee); var ownerid = owningtable.id; if (ownerid == "") { var superowner = owningtable; while (superowner != null && ownerid == "") { if (superowner.parentElement) { superowner = superowner.parentElement;} else { superowner = superowner.parentNode; } if (superowner != null && superowner.tagName == 'TABLE') { ownerid = superowner.id; } } } if (owningtable != null) { var pretogglewidth = owningtable.offsetWidth; var len = owningtable.getElementsByTagName('TBODY').length; var contenttbody; for (var i=0; i