/*********************************************************** {COPYRIGHT-TOP} ***
* Licensed Materials - Property of IBM
* Tivoli Presentation Services
*
* (C) Copyright IBM Corp. 2002,2003 All Rights Reserved.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
************************************************************ {COPYRIGHT-END} ***
* Change Activity on 6/20/03 version 1.17:
* @00=WCL, V3R0, 04/14/2002, JCP: Initial version
* @01=D96484, V3R2, 06/14/2002, bcourt: hide select/iframe elements
* @02=D99067, V3R2, 06/25/2002, bcourt: hide listbox scrollbar
* @03=D97043, V3R3, 09/03/2002, JCP: fix launch menu item on linux NS6
* @04=D104656, V3R3, 09/16/2002, JCP: form submit instead of triggers, mozilla compatibility
* @05=D107029, V3R4, 12/03/2002, Mark Rebuck: Added support for timed menu hiding
* @06=D110173, V3R4, 03/24/2003, JCP: selection sometimes gets stuck
* @07=D113641, V3R4, 04/29/2003, LSR: Requirement #258 Shorten CSS Names
* @08=D113626, V3R4, 06/20/2003, JCP: clicking on text doesn't launch action on linux Moz13
*******************************************************************************/
var visibleMenu_ = null;
var padding_ = 10;
var transImg_ = "transparent.gif";
var arrowNorm_ = "contextArrowDefault.gif";
var arrowSel_ = "contextArrowSelected.gif";
var arrowDis_ = "contextArrowDisabled.gif";
var launchNorm_ = "contextLauncherDefault.gif";
var launchSel_ = "contextLauncherSelected.gif";
var arrowNormRTL_ = "contextArrowDefault.gif";
var arrowSelRTL_ = "contextArrowSelected.gif";
var arrowDisRTL_ = "contextArrowDisabled.gif";
var launchNormRTL_ = "contextLauncherDefault.gif";
var launchSelRTL_ = "contextLauncherSelected.gif";
var wclIsOpera_ = /Opera/.test(navigator.userAgent);
//ARC CHANGES FOR SPECIFYING STYLES - BEGIN
var defaultContextMenuBorderStyle_ = "lwpShadowBorder";
var defaultContextMenuTableStyle_ = "lwpBorderAll";
//ARC CHANGES FOR SPECIFYING STYLES - END
var arrowWidth_ = "12";
var arrowHeight_ = "12";
var submenuAltText_ = "+";
//ARC CHANGES FOR SPECIFIYING EMPTY MENU TEXT - BEGIN
var defaultNoActionsText_ = "(0)";
var defaultNoActionsTextStyle_ = "lwpMenuItemDisabled";
//ARC CHANGES FOR SPECIFIYING EMPTY MENU TEXT - END
var hideCurrentMenuTimer_ = null;
var onmousedown_ = document.onmousedown;
function clearMenuTimer( ) { //@05
if (null != hideCurrentMenuTimer_) {
clearTimeout( hideCurrentMenuTimer_ );
hideCurrentMenuTimer_ = null;
}
}
function setMenuTimer( ) { // @05
clearMenuTimer( );
hideCurrentMenuTimer_ = setTimeout( 'hideCurrentContextMenu( )', 2000);
}
function debug( str ) {
/*
if ( xbDEBUG != null ) {
xbDEBUG.dump( str );
}
*/
}
// constructor
function UilContextMenu( name, isLTR, width, borderStyle, tableStyle, emptyMenuText, emptyMenuTextStyle, positionUnder ) {
// member variables
this.name = name;
this.items = new Array();
this.isVisible = false;
this.isDismissable = true;
this.selectedItem = null;
this.isDynamic = false;
this.isCacheable = false;
this.isEmpty = true;
this.isLTR = isLTR;
this.hiddenItems = new Array(); //@01A
this.isHyperlinkChild = true; // We will reset later if needed.
this.bottomPositioned = positionUnder;
// html variables
this.launcher = null;
this.menuTag = null;
//ARC CHANGES FOR SPECIFYING STYLES - BEGIN
//styles for menu
if ( borderStyle != null )
{
this.menuBorderStyle = borderStyle;
}
else
{
this.menuBorderStyle = defaultContextMenuBorderStyle_;
}
if ( tableStyle != null )
{
this.menuTableStyle = tableStyle;
}
else
{
this.menuTableStyle = defaultContextMenuTableStyle_;
}
//ARC CHANGES FOR SPECIFYING STYLES - END
//ARC CHANGES FOR SPECIFIYING EMPTY MENU TEXT - BEGIN
if ( emptyMenuText != null )
{
this.noActionsText = emptyMenuText;
}
else
{
this.noActionsText = defaultNoActionsText_;
}
if ( emptyMenuTextStyle != null )
{
this.noActionsTextStyle = emptyMenuTextStyle;
}
else
{
this.noActionsTextStyle = defaultNoActionsTextStyle_;
}
//ARC CHANGES FOR SPECIFIYING EMPTY MENU TEXT - END
// external methods
this.add = UilContextMenuAdd;
this.addSeparator = UilContextMenuAddSeparator;
this.show = UilContextMenuShow;
this.hide = UilContextMenuHide;
// internal methods
this.create = UilContextMenuCreate;
this.getMenuItem = UilContextMenuGetMenuItem;
this.getSelectedItem = UilContextMenuGetSelectedItem;
if ( this.name == null ) {
this.name = "UilContextMenu_" + allMenus_.length;
}
}
// adds a menu item to the context menu
function UilContextMenuAdd( item ) {
this.items[ this.items.length ] = item;
this.isEmpty = false;
}
function UilContextMenuAddSeparator() {
var sep = new UilMenuItem();
sep.isSeparator = true;
this.add( sep );
}
// shows the context menu
// launcher- html element (anchor) that is launching the menu
// launchItem- menu item that is launching the menu
function UilContextMenuShow( launcher, launchItem ) {
if ( this.items.length == 0 ) {
// empty context menu
debug( 'menu is empty!' );
//ARC CHANGES FOR SPECIFIYING EMPTY MENU TEXT - BEGIN
this.add( new UilMenuItem( this.noActionsText, false, "javascript:void(0);", null, null, null, null, this.noActionsTextStyle ) );
//ARC CHANGES FOR SPECIFIYING EMPTY MENU TEXT - END
this.isEmpty = true;
}
if ( this.menuTag == null ) {
// create the context menu html
this.create();
} else {
this.menuTag.style.left = ""; //196195 //Reset
this.menuTag.style.top = ""; //196195 //Reset
this.menuTag.style.width = ""; //"0px"; //196195 //Reset
this.menuTag.style.height = ""; //196195 //Reset
this.menuTag.style.overflow = "visible"; //196195 //Reset, No horizontal and vertical scrollbars
}
if ( this.menuTag != null) {
// store the launcher for later
this.launcher = launcher;
if ( this.launcher.tagName == "IMG" ) {
this.isHyperlinkChild = false;
// we want the anchor tag
this.launcher = this.launcher.parentNode;
}
// boundaries of window
var bd = new ContextMenuBrowserDimensions();
var maxX = bd.getScrollFromLeft() + bd.getViewableAreaWidth();
var maxY = bd.getScrollFromTop() + bd.getViewableAreaHeight();
var minX = bd.getScrollFromLeft();
var minY = bd.getScrollFromTop();
debug( 'max: ' + maxX + ', ' + maxY );
var menuWidth = getWidth( this.menuTag );
var menuHeight = getHeight( this.menuTag );
// move the context menu to the right of the launcher
var posX = 0;
var posY = 0;
var fUseUpperY = false; //196195
var maxUpperPosY = 0; //196195
if ( launchItem != null ) {
// launched from submenu
var launchTag = launchItem.itemTag;
var launchTagWidth = getWidth( launchTag );
var parentTag = launchItem.parentMenu.menuTag; //@04A
var launchOffsetX = getLeft( parentTag ); //@04C
var launchOffsetY = getTop( parentTag ); //@04C
posX = launchOffsetX + getLeft( launchTag ) + launchTagWidth; //@04C
posY = launchOffsetY + getTop( launchTag ); //@04C
if ( !this.isLTR ) {
posX -= launchTagWidth;
posX -= menuWidth;
}
// try to keep it in the window
if ( this.isLTR ) {
if ( posX + menuWidth > maxX ) {
// try to show it to the left of the parent menu
var posX1 = launchOffsetX - menuWidth;
var posX2 = maxX - menuWidth;
if ( 0 <= posX1 ) {
posX = posX1;
}
else {
posX = Math.max( minX, posX2 );
}
}
}
else {
if ( posX < 0 ) {
// try to show it to the right of the parent menu
var posX1 = launchOffsetX + launchTagWidth;
if ( posX1 + menuWidth < maxX ) {
posX = posX1;
}
else {
posX = Math.min( maxX, maxX - menuWidth );
}
}
}
if ( posY + menuHeight > maxY ) {
var posY1 = maxY - menuHeight;
posY = Math.max( minY, posY1 );
}
}
else {
// launched from menu link
var launcherLeft = getLeft( this.launcher, true )
if ( this.launcher.tagName == "BUTTON" || this.bottomPositioned ) {
posX = launcherLeft;
// bidi
if ( !this.isLTR ) {
//196195 posX += getWidth( this.launcher ) - getWidth( this.menuTag );
posX += getWidth( this.launcher ) - menuWidth; //196195
}
if (this.isLTR) {
if ((posX + menuWidth) > maxX) {
//196195 begins
if ((posX + getWidth(this.launcher)) > maxX) {
posX = Math.max(minX, maxX - menuWidth);
}
else
//196195 ends
posX = Math.max(minX, posX + getWidth( this.launcher ) - menuWidth);
}
//196195 begins
else if (posX < minX) {
posX = minX;
}
//196195 ends
}
else{
if (posX < minX) {
//196195 if ((launcherLeft + menuWidth) < maxX) {
if ((launcherLeft > minX) && ((launcherLeft + menuWidth) < maxX)) { //196195
posX = launcherLeft;
}
else{
posX = Math.min(minX, maxX - menuWidth);
}
}
//196195 begins
else if ( (posX + menuWidth) > maxX) {
if (Math.min(posX, maxX - menuWidth) >= minX)
posX = Math.min(posX, maxX - menuWidth);
}
//196195 ends
}
maxUpperPosY = getTop( this.launcher, true ); //196195
var upperVisibleHeight = maxUpperPosY - minY; //196195
posY = getTop( this.launcher, true ) + getHeight( this.launcher );
var lowerVisibleHeight = maxY - posY; //196195
//196195 if ( posY + menuHeight > maxY ) {
if ( (posY + menuHeight > maxY) && (lowerVisibleHeight < upperVisibleHeight) ) { //196195
// top
posY -= (menuHeight + getHeight( this.launcher ));
fUseUpperY = true; //196195
}
if ( posY < minY ) {
posY = minY;
}
}
else {
// left-right
posX = launcherLeft + this.launcher.offsetWidth;
posY = getTop( this.launcher, true );
if ( !this.isLTR ) {
posX -= this.launcher.offsetWidth;
posX -= menuWidth;
}
// keep it in the window
if ( this.isLTR ) {
if ( posX + menuWidth > maxX ) {
// try to show it on the left side of the launcher
var posX1 = launcherLeft - menuWidth;
if ( posX1 > 0 ) {
posX = posX1;
}
else {
posX = Math.max( minX, maxX - menuWidth );
}
}
}
else {
if ( posX < minX ) {
// try to show it on the right side of the launcher
var posX1 = launcherLeft + this.launcher.offsetWidth;
if ( posX1 + menuWidth < maxX ) {
posX = posX1;
}
else {
posX = Math.min( minX, maxX - menuWidth );
}
}
}
if ( posY + menuHeight > maxY ) {
posY = Math.max( minY, maxY - menuHeight );
}
}
if ( ((posX + menuWidth) > maxX) ||
(((posY + menuHeight) > maxY) && (fUseUpperY == false)) ||
(((posY + menuHeight) > maxUpperPosY) && (fUseUpperY == true)) ) {
if (posX + menuWidth > maxX) {
this.menuTag.style.width = (maxX - posX) + "px";
}
else{
this.menuTag.style.width = menuWidth + "px";
}
if (fUseUpperY == false) {
if (posY + menuHeight > maxY) {
this.menuTag.style.height = (maxY - posY) + "px";
}
else {
this.menuTag.style.height = menuHeight + "px";
}
} else {
if (posY + menuHeight > maxUpperPosY) {
this.menuTag.style.height = (maxUpperPosY - posY) + "px";
}
else {
this.menuTag.style.height = menuHeight + "px";
}
}
this.menuTag.style.overflow = "auto";
} else { //196195 begins
this.menuTag.style.width = menuWidth + "px";
this.menuTag.style.height = menuHeight + "px";
this.menuTag.style.overflow = "visible"; //196195
} //196196 ends
}
debug( 'show ' + this.name + ': ' + posX + ', ' + posY );
this.menuTag.style.left = posX + "px";
this.menuTag.style.top = posY + "px";
// make the context menu visible
this.menuTag.style.visibility = "visible";
this.isVisible = true;
// set focus on the first menu item
this.items[0].setSelected( true );
this.items[0].anchorTag.focus();
/*
// no longer needed since fixed in Opera 9, and no other non-IE browsers need this
// @01A - Hide any items that intersect this menu
var coll = document.getElementsByTagName("SELECT");
if (coll!=null)
{
for (i=0; i= b ) )
{
return true;
} else {
return false;
}
}
// hides the context menu
function UilContextMenuHide() {
if ( this.menuTag != null ) {
debug( 'hide ' + this.name );
// hide any visible submenus first
for ( var i=0; i";
leftPad.innerHTML = imgTag1;
} else {
if ( this.text != null ) {
imgTag.alt = this.text;
imgTag.title = this.text;
}
leftPad.appendChild( imgTag );
}
}
else {
leftPad.width = padding_;
}
// right padding
var rightPad = document.createElement( "TD" );
rightPad.noWrap = true;
rightPad.width = padding_;
rightPad.innerHTML = " ";
rightPad.style.padding = "3px";
this.itemTag = document.createElement( "TR" );
this.itemTag.onmousemove = menuItemMouseMove;
this.itemTag.onmousedown = menuItemLaunchAction;
//this.itemTag.className = "pop5"; //@06C1
this.itemTag.className = this.menuStyle;
// put together the table row
this.itemTag.appendChild( leftPad );
this.itemTag.appendChild( td );
this.itemTag.appendChild( rightPad );
if ( menuHasSubmenu ) {
// submenu arrow
var submenuArrow = document.createElement( "TD" );
submenuArrow.noWrap = true;
submenuArrow.style.padding = "3px";
if ( this.submenu != null ) {
var submenuImg = document.createElement( "IMG" );
submenuImg.alt = submenuAltText_;
submenuImg.title = submenuAltText_;
submenuImg.width = arrowWidth_;
submenuImg.height = arrowHeight_;
if (this.parentMenu.isLTR) submenuImg.src = arrowNorm_;
else submenuImg.src = arrowNormRTL_;
submenuArrow.appendChild( submenuImg );
this.arrowTag = submenuImg;
}
else {
submenuArrow.innerHTML = " ";
}
this.itemTag.appendChild( submenuArrow );
}
// update the style of the menu item
this.updateStyle( this.itemTag );
}
}
// create the context menu separator html elements
function UilMenuItemCreateSeparator( tableBody, menuHasSubmenu ) {
// create the context menu separator
var numCols = ( menuHasSubmenu ) ? 4 : 3;
for ( var i=0; i<4; i++ ) {
var tr = document.createElement( "TR" );
if ( i == 1 ) {
//tr.className = "pop3"; //@06C1
tr.className = "portlet-separator"; //@06C1
}
else if ( i == 2 ) {
//tr.className = "pop4"; //@06C1
tr.className = "lwpMenuBackground"; //@06C1
}
else {
//tr.className = "pop5"; //@06C1
tr.className = "lwpMenuItem"; //@06C1
}
var td = document.createElement( "TD" );
td.noWrap = true;
td.width = "100%";
td.height = "1px";
td.colSpan = numCols;
//mmd - 06/09/06 - commenting out this section of code because it causes many additional requests
//to the server everytime a context menu is opened. after unit testing, removing piece of code
//does not appear to affect the function of the menus
/*var img = document.createElement( "IMG" );
img.src = transImg_;
img.width = 1;
img.height = 1;
img.style.display = "block";
td.appendChild( img );*/
tr.appendChild( td );
tableBody.appendChild( tr );
}
}
// changes the selected state for menu item
function UilMenuItemSetSelected( isSelected ) {
if ( isSelected && !this.isSelected ) {
debug( 'selected: ' + this.text );
// handle the previous selection first
if ( this.parentMenu != null &&
this.parentMenu.isVisible &&
this.parentMenu.selectedItem != null &&
this.parentMenu.selectedItem != this ) {
// hide previous selection's submenu
if ( this.parentMenu.selectedItem.submenu != null ) {
this.parentMenu.selectedItem.submenu.hide();
}
// unselect previous selection from parent menu
this.parentMenu.selectedItem.setSelected( false );
}
// select this menu item
this.isSelected = true;
if ( this.parentMenu != null && this.parentMenu.isVisible ) {
this.parentMenu.selectedItem = this;
}
// update the styles
this.updateStyle( this.itemTag );
}
else if ( !isSelected && this.isSelected ) {
debug( 'deselected: ' + this.text );
// menu item cannot be unselected if its submenu is visible
if ( this.submenu == null || ( this.submenu != null && !this.submenu.isVisible ) ) {
// unselect this menu item
this.isSelected = false;
if ( this.parentmenu != null ) {
this.parentmenu.selectedItem = null;
}
// update the styles
this.updateStyle( this.itemTag );
}
}
}
// recursively set the style of the menu item html element
function UilMenuItemUpdateStyle( tag, styleID ) {
if ( tag != null ) {
if ( styleID == null ) {
//styleID = "pop5"; //@06C1
styleID = this.menuStyle;
if ( !this.isEnabled ) {
//styleID = "pop7"; //@06C1
styleID = this.menuStyle;
}
else if ( this.isSelected ) {
//styleID = "pop6"; //@06C1
styleID = this.selectedMenuStyle; //@06C1
}
if ( this.arrowTag != null ) {
if ( this.isEnabled && this.isSelected ) {
if (this.parentMenu.isLTR) this.arrowTag.src = arrowSel_;
else this.arrowTag.src = arrowSelRTL_;
}
else if ( !this.isEnabled ) {
if (this.parentMenu.isLTR) this.arrowTag.src = arrowDis_;
else this.arrowTag.src = arrowDisRTL_;
}
else {
if (this.parentMenu.isLTR) this.arrowTag.src = arrowNorm_;
else this.arrowTag.src = arrowNormRTL_;
}
}
}
tag.className = styleID;
if ( tag.childNodes != null ) {
for ( var i=0; i=0; i-- ) {
if ( menu.items[i] == this ) {
for ( var j=i-1; j>=0; j-- ) {
if ( !menu.items[j].isSeparator && menu.items[j].isEnabled ) {
return menu.items[j];
}
}
// no previous item
return null;
}
}
}
return null;
}
// launches the action for a menu item
// method called by an event handler (href for anchor tag)
function menuItemLaunchAction() {
if ( visibleMenu_ != null ) {
//var evt = window.event;
//var item = visibleMenu_.getMenuItem( evt.target );
var item = visibleMenu_.getSelectedItem();
if ( item != null && item.isEnabled ) {
hideCurrentContextMenu( true );
if ( item.clientAction != null ) {
eval( item.clientAction );
}
if ( item.action != null ) {
if ( item.action.indexOf( "javascript:" ) == 0 ) {
eval( item.action );
}
else {
//window.location.href = item.action; //@04D
}
}
}
}
}
// shows the submenu for a menu item
// method called by an event handler (onclick for anchor tag)
function menuItemShowSubmenu(evt) {
if ( visibleMenu_ != null ) {
var item = visibleMenu_.getMenuItem( evt.target );
if ( item != null && item.isEnabled ) {
var menu = item.submenu;
if ( menu != null ) {
menu.show( item.anchorTag, item );
}
}
}
}
// focus handler for menu item
// method called by an event handler (onfocus for anchor tag)
function menuItemFocus(evt) {
if ( visibleMenu_ != null ) {
var item = visibleMenu_.getMenuItem( evt.target );
if ( item != null ) {
// select the focused menu item
//item.anchorTag.hideFocus = item.isEnabled;
item.setSelected( true );
}
}
}
// blur handler for menu item
// method called by an event handler (onblur for anchor tag)
function menuItemBlur(evt) {
if ( visibleMenu_ != null ) {
var item = visibleMenu_.getMenuItem( evt.target );
if ( item != null ) {
/* //jcp
if ( item.isFirst && evt.shiftKey ) {
debug( 'blur = ' + item.text );
// user is shift tabbing off the beginning of the menu
// set focus on the launcher
item.parentMenu.launcher.focus();
// hide the menu
item.parentMenu.hide();
}
*/
}
}
}
// key press handler for menu item
// method called by an event handler (onkeydown for anchor tag)
function menuItemKeyDown(evt) {
var item = null;
if ( visibleMenu_ != null ) {
item = visibleMenu_.getMenuItem( evt.target );
}
if ( item != null ) {
var next = null;
switch ( evt.keyCode ) {
case 38: // up key
next = item.getPrevItem();
if ( next != null ) {
next.anchorTag.focus();
}
else if ( item.parentMenu != visibleMenu_ ) {
item.parentMenu.launcher.focus();
item.parentMenu.hide();
}
else {
visibleMenu_.launcher.focus();
hideCurrentContextMenu( true );
}
return false;
break;
case 40: // down key
next = item.getNextItem();
if ( next != null ) {
next.anchorTag.focus();
}
else if ( item.parentMenu != visibleMenu_ ) {
item.parentMenu.launcher.focus();
item.parentMenu.hide();
}
else {
visibleMenu_.launcher.focus();
hideCurrentContextMenu( true );
}
return false;
break;
case 39: // right key
if ( visibleMenu_.isLTR ) {
if ( item.submenu != null ) {
menuItemShowSubmenu(evt);
item.submenu.items[0].anchorTag.focus();
}
}
else {
if ( item.parentMenu != visibleMenu_ ) {
item.parentMenu.launcher.focus();
item.parentMenu.hide();
}
}
return false;
break;
case 37: // left key
if ( visibleMenu_.isLTR ) {
if ( item.parentMenu != visibleMenu_ ) {
item.parentMenu.launcher.focus();
item.parentMenu.hide();
}
}
else {
if ( item.submenu != null ) {
menuItemShowSubmenu(evt);
item.submenu.items[0].anchorTag.focus();
}
}
return false;
break;
case 9: // tab key
visibleMenu_.launcher.focus();
hideCurrentContextMenu( true );
break;
case 27: // escape key
visibleMenu_.launcher.focus();
hideCurrentContextMenu( true );
break;
case 13: // enter key
break;
default:
break;
}
}
}
// handle mouse move for menu item
// method called by an event handler (onmousemove for item tag)
function menuItemMouseMove(evt) {
if ( visibleMenu_ != null ) {
var item = visibleMenu_.getMenuItem( evt.target );
if ( item != null ) {
if ( !item.isSelected ) {
// set focus on the anchor and select the menu item
item.anchorTag.focus();
}
if ( item.submenu != null && !item.submenu.isVisible && item.isEnabled ) {
// show the submenu
item.submenu.show( item.anchorTag, item );
}
}
}
}
// handle mouse down event for menu item
// method called by an event handler (onmousedown for item tag)
function menuItemMouseDown(evt) {
/* //@08D
if ( visibleMenu_ != null ) {
var item = visibleMenu_.getMenuItem( evt.target );
if ( item != null ) {
item.setSelected( true );
}
else { //@03A
item = visibleMenu_.getSelectedItem();
}
if ( item != null && item.anchorTag != evt.target ) {
//item.anchorTag.click();
menuItemLaunchAction();
}
}
*/
menuItemLaunchAction(); //@08A
}
var allMenus_ = new Array();
//ARC CHANGES FOR SPECIFYING STYLES - BEGIN
//ARC CHANGES FOR SPECIFIYING EMPTY MENU TEXT - BEGIN
function createContextMenu( name, isLTR, width, borderStyle, tableStyle, noActionsText, noActionsTextStyle, positionUnder ) {
var menu = new UilContextMenu( name, isLTR, width, borderStyle, tableStyle, noActionsText, noActionsTextStyle, positionUnder );
allMenus_[ allMenus_.length ] = menu;
return menu;
}
//ARC CHANGES FOR SPECIFIYING EMPTY MENU TEXT - END
//ARC CHANGES FOR SPECIFYING STYLES - END
function getContextMenu( name ) {
for ( var i=0; i= 0);
}
ContextMenuBrowserDimensions.prototype.isOpera = function(){
return /Opera/.test(navigator.userAgent);;
}
// end BrowserDimensions object definition
//////////////////////////////////////////////////////////////////
var wptheme_DebugUtils={enabled:!1,log:function(a,b){this.enabled&&(b=a+" ==> "+b,"undefined"==typeof console?console.debug(b):alert(b))}},wptheme_HTMLElementUtils={className:"wptheme_HTMLElementUtils",_debugUtils:wptheme_DebugUtils,_uniqueIdCounter:0,getUniqueId:function(){var a="wptheme_unique_"+this._uniqueIdCounter;return this._uniqueIdCounter++,a},sizeToViewableArea:function(a){var b=new BrowserDimensions;a.style.height=b.getViewableAreaHeight()+"px";a.style.width=b.getViewableAreaWidth()+"px";
a.style.top=b.getScrollFromTop()+"px";a.style.left=b.getScrollFromLeft()+"px"},sizeToEntireArea:function(a){var b=new BrowserDimensions;a.style.height=Math.max(b.getHTMLElementHeight(),b.getViewableAreaHeight())+"px";a.style.width=Math.max(b.getHTMLElementWidth(),b.getViewableAreaWidth())+"px"},sizeRelativeToViewableArea:function(a,b,c){var d=new BrowserDimensions;a.style.height=d.getViewableAreaHeight()*b+"px";a.style.width=d.getViewableAreaWidth()*c+"px"},positionRelativeToViewableArea:function(a,
b,c){var d=new BrowserDimensions;a.style.position="absolute";this._debugUtils.enabled&&(this._debugUtils.log(this.className,"Browser's viewable height: "+d.getViewableAreaHeight()),this._debugUtils.log(this.className,"Browser's viewable width: "+d.getViewableAreaWidth()),this._debugUtils.log(this.className,"Browser's scroll from top: "+d.getScrollFromTop()),this._debugUtils.log(this.className,"Browser's scroll from left: "+d.getScrollFromLeft()));a.style.top=d.getViewableAreaHeight()*b+d.getScrollFromTop()+
"px";bidiSupport.isRTL&&window.attachEvent?(this._debugUtils.enabled&&(this._debugUtils.log(this.className,"scrollWidth = "+d.getHTMLElementWidth()),this._debugUtils.log(this.className,"clientWidth = "+d.getViewableAreaWidth()),this._debugUtils.log(this.className,"Scroll Offset should be: "+(d.getHTMLElementWidth()-d.getViewableAreaWidth()-d.getScrollFromLeft()))),a.style.left=d.getViewableAreaWidth()*c+(d.getHTMLElementWidth()-d.getViewableAreaWidth()-d.getScrollFromLeft())+"px"):a.style.left=d.getViewableAreaWidth()*
c+d.getScrollFromLeft()+"px"},positionOutsideElementTopRight:function(a,b){a.style.position="absolute";a.style.top=this.stripUnits(b.style.top)-a.offsetHeight+"px";a.style.left=bidiSupport.isRTL?this.stripUnits(b.style.left)+"px":this.stripUnits(b.style.left)+b.offsetWidth-a.offsetWidth+"px"},stripUnits:function(a){return parseInt(a.substring(0,a.length-2),10)},addClassName:function(a,b){0>a.className.indexOf(b)&&(a.className+=" "+b)},removeClassName:function(a,b){var c=a.className,d=c.indexOf(b);
0<=d&&(c=c.substring(0,d)+c.substring(d+b.length+1),a.className=c)},hideElementsByTagName:function(){for(var a=0;aasynchContextMenuDebug&&(d.style.left="0px",d.style.top="-9999px",d.style.visibility="hidden");(2<=asynchContextMenuDebug||999==asynchContextMenuDebug)&&(d.style.left="100px",d.style.top="100px",d.style.visibility=
"visible");d.id=a;var h="null";null!==e&&(h="'"+e+"'");null!==f?h=h+", '"+f+"'":h+=", null";d.innerHTML='';document.body.appendChild(d);asynchDebug("EXIT createDynamicElements")}
function buildAndDisplayMenu(a,b,c,e,f,d){asynchDebug("ENTRY buildAndDisplayMenu p1="+a+"; p2="+b+"; p3="+f+"; p4="+d);d=getContextMenu(a);if(clearLoadingImage(),asynchContextMenu_menuCurrentlyLoading=null,null===d)return!1;index=b.indexOf("_IFRAME");var g=b.substring(0,index);index2=g.indexOf("_DIV");var k=g.substring(0,index2);asynchDebug("divID = "+g);asynchDebug("uniqueID = "+k);for(var g=-1,h=!1;g+1c&&(f=d,e+=a.substring(d,a.length));a=a.substring(c+1,f).split("&");for(c=0;cportletIdMap[a].indexOf(a)||(asynchContextMenuOnMouseClickHandler("menu_"+a,!c,e,null,null,null,null,b,d),onmousedownold_=document.onmousedown,document.onmousedown=closeMenu)}function accessibleShowMenu(a,b,c,e,f,d){return 13!=a.which?!0:(asynchContextMenuOnMouseClickHandler("menu_"+b,!e,f,null,null,null,null,c,d),void 0)}
var asynchContextMenuDebug=-1,asynchContextMenuMouseOverIndicator="",portletIdMap={},asynchContextMenu_originalMenuImgElementSrc,asynchContextMenu_menuCurrentlyLoading=null,onmousedownold_;
wptheme_AsyncMenuAffordance=function(a,b,c,e){this.anchorId=a;this.imageId=b;this.showingImgUrl=c;this.hidingImgUrl=e;this.show=function(){null!==document.getElementById(this.anchorId)&&(document.getElementById(this.anchorId).style.cursor="pointer",document.getElementById(this.imageId).src=this.showingImgUrl)};this.hide=function(){null!==document.getElementById(this.anchorId)&&(document.getElementById(this.anchorId).style.cursor="default",document.getElementById(this.imageId).src=this.hidingImgUrl)}};
wptheme_AsyncMenu=function(a,b,c,e,f){this._htmlUtils=wptheme_HTMLElementUtils;this.id=a;this.menuBorderStyle=b;this.menuStyle=c;this.menuItemStyle=e;this.selectedMenuItemStyle=f;this.url=null;this.isRTL=!1;this.affordance=this.loadingImgUrl=this.emptyMenuText=null;this.init=function(a,b,c,e,f,l){this.url=a;this.isRTL=b;this.emptyMenuText=c;this.loadingImgUrl=e;this.affordance=f;this.renderBelow=l};this.show=function(a){a=this._htmlUtils.getEventObject(a);var b,c=!1;if(a&&"keypress"==a.type){var e=
-1,e=a&&a.which?a.which:a.keyCode;13==e&&(c=!0)}else c=!0;return c&&(b=asynchContextMenuOnMouseClickHandler(this.id,!this.isRTL,this.url,this.menuBorderStyle,this.menuStyle,this.menuItemStyle,this.selectedMenuItemStyle,this.emptyMenuText,this.loadingImgUrl,this.renderBelow)),b};this.showAffordance=function(){null===asynchContextMenu_menuCurrentlyLoading&&this.affordance.show()};this.hideAffordance=function(){null===asynchContextMenu_menuCurrentlyLoading&&this.affordance.hide()}};
wptheme_ContextMenuUtils={moreMenu:new wptheme_AsyncMenu("wptheme_more_menu","wptheme-more-menu-border","wptheme-more-menu","wptheme-more-menu-item","wptheme-more-menu-item-selected",!0),topNavPageMenu:new wptheme_AsyncMenu("wptheme_selected_page_menu","wptheme-page-menu-border","wptheme-page-menu","wptheme-page-menu-item","wptheme-page-menu-item-selected"),sideNavPageMenu:new wptheme_AsyncMenu("wptheme_selected_page_menu","wptheme-page-menu-border","wptheme-page-menu","wptheme-page-menu-item","wptheme-page-menu-item-selected")};
BrowserDimensions.prototype={};BrowserDimensions.prototype.constructor=BrowserDimensions;BrowserDimensions.superclass=null;function BrowserDimensions(){this.body=document.body;this.isStrictDoctype()&&!this.isSafari()&&(this.body=document.documentElement)}BrowserDimensions.prototype.getScrollFromLeft=function(){return this.body.scrollLeft};BrowserDimensions.prototype.getScrollFromTop=function(){return this.body.scrollTop};BrowserDimensions.prototype.getViewableAreaWidth=function(){return this.body.clientWidth};
BrowserDimensions.prototype.getViewableAreaHeight=function(){return this.isSafari()?document.documentElement.clientHeight:this.body.clientHeight};BrowserDimensions.prototype.getHTMLElementWidth=function(){return this.body.scrollWidth};BrowserDimensions.prototype.getHTMLElementHeight=function(){return this.body.scrollHeight};BrowserDimensions.prototype.isStrictDoctype=function(){return document.compatMode&&"BackCompat"!=document.compatMode};
BrowserDimensions.prototype.isSafari=function(){return 0<=navigator.userAgent.toLowerCase().indexOf("safari")};BrowserDimensions.prototype.isOpera=function(){return 0<=navigator.userAgent.toLowerCase().indexOf("opera")};
function ElementJavascriptEventController(){this.elements=[];this.arrayPosition=0;this.enableAll=function(){for(c=0;cwpsFLY_Flyout.pageWidth()+wpsFLY_browserDimensions.getScrollFromLeft()-wpsFLY_Flyout.width){var a=wpsFLY_Flyout.getWidth()+wpsFLY_move;wpsFLY_Flyout.setWidth(a);wpsFLY_Flyout.setLeft(wpsFLY_Flyout.left()-wpsFLY_move);wpsFLY_timeoutID=setTimeout("wpsFLY_internalMoveOut()",wpsFLY_scrollSpeed);wpsFLY_Flyout.go=1}else wpsFLY_Flyout.setLeft(wpsFLY_Flyout.pageWidth()+
wpsFLY_browserDimensions.getScrollFromLeft()-wpsFLY_Flyout.width),wpsFLY_Flyout.setWidth(wpsFLY_Flyout.width),wpsFLY_state=wpsFLY_Flyout.go=0}
function wpsFLY_internalMoveOutLeft(){document.getElementById("wpsFLYflyout").className="portalFlyoutExpanded";if(wpsFLY_isIE)if(wpsFLY_FlyoutLeft.getWidth()+wpsFLY_movewpsFLY_minFlyout){var a=wpsFLY_FlyoutLeft.getWidth()-wpsFLY_move;wpsFLY_FlyoutLeft.setWidth(a);wpsFLY_timeoutID=setTimeout("wpsFLY_internalMoveInLeft()",wpsFLY_scrollSpeed);wpsFLY_FlyoutLeft.go=1}else wpsFLY_FlyoutLeft.setWidth(wpsFLY_minFlyout),wpsFLY_FlyoutLeft.setLeft(wpsFLY_FlyoutLeft.left()),wpsFLY_FlyoutLeft.go=0,wpsFLY_state=1;else wpsFLY_FlyoutLeft.left()>-wpsFLY_FlyoutLeft.width+wpsFLY_minFlyout?
(wpsFLY_FlyoutLeft.go=1,wpsFLY_FlyoutLeft.setLeft(wpsFLY_FlyoutLeft.left()-wpsFLY_move),wpsFLY_timeoutID=setTimeout("wpsFLY_internalMoveInLeft()",wpsFLY_scrollSpeed)):(wpsFLY_FlyoutLeft.setLeft(wpsFLY_minFlyout-wpsFLY_FlyoutLeft.getWidth()-4),wpsFLY_FlyoutLeft.go=0,wpsFLY_state=1)}
function wpsFLY_internalScroll(){wpsFLY_Flyout.go||(1==wpsFLY_state?wpsFLY_Flyout.setLeft(wpsFLY_browserDimensions.getScrollFromLeft()+wpsFLY_browserDimensions.getViewableAreaWidth()-wpsFLY_minFlyout):wpsFLY_Flyout.setLeft(wpsFLY_browserDimensions.getScrollFromLeft()+wpsFLY_browserDimensions.getViewableAreaWidth()-wpsFLY_Flyout.width));(wpsFLY_isNetscape||wpsFLY_isMoz)&&setTimeout("wpsFLY_internalScroll()",20)}
function wpsFLY_internalScrollLeft(){wpsFLY_FlyoutLeft.go||1!=wpsFLY_state||(wpsFLY_isIE?(null==wpsFLY_leftResize&&(wpsFLY_leftResize=wpsFLY_browserDimensions.getScrollFromLeft()),wpsFLY_FlyoutLeft.setWidth(wpsFLY_minFlyout),wpsFLY_FlyoutLeft.css.overflow="hidden",wpsFLY_FlyoutLeft.setLeft(wpsFLY_browserDimensions.getScrollFromLeft()-wpsFLY_leftResize)):wpsFLY_FlyoutLeft.setLeft(wpsFLY_minFlyout+wpsFLY_browserDimensions.getScrollFromLeft()-wpsFLY_FlyoutLeft.getWidth()-4));(wpsFLY_isNetscape||wpsFLY_isMoz)&&
setTimeout("wpsFLY_internalScrollLeft()",20)}function wpsFLY_internalResizeLeft(){wpsFLY_isIE&&(wpsFLY_leftResize=wpsFLY_browserDimensions.getScrollFromLeft(),-wpsFLY_browserDimensions.getViewableAreaWidth())}
function wpsFLY_moveOutFlyout(a){null!=this.wpsFLY_Flyout&&(wpsFLY_state&&!a&&(clearTimeout(wpsFLY_timeoutID),wpsFLY_internalMoveOut()),wpsFLY_state&&a&&(wpsFLY_Flyout.setLeft(wpsFLY_Flyout.pageWidth()+document.body.scrollLeft-wpsFLY_Flyout.width),wpsFLY_Flyout.setWidth(wpsFLY_Flyout.width),wpsFLY_state=wpsFLY_Flyout.go=0,document.getElementById("wpsFLYflyout").className="portalFlyoutExpanded"));null!=this.wpsFLY_FlyoutLeft&&(wpsFLY_state&&!a&&(clearTimeout(wpsFLY_timeoutID),wpsFLY_internalMoveOutLeft()),
wpsFLY_state&&a&&(wpsFLY_isIE?(wpsFLY_FlyoutLeft.setLeft(wpsFLY_FlyoutLeft.left()),wpsFLY_FlyoutLeft.setWidth(wpsFLY_FlyoutLeft.width)):wpsFLY_FlyoutLeft.setLeft(document.body.scrollLeft),wpsFLY_state=wpsFLY_FlyoutLeft.go=0,document.getElementById("wpsFLYflyout").className="portalFlyoutExpanded"))}
function wpsFLY_moveInFlyout(){null==this.wpsFLY_Flyout||wpsFLY_state||(clearTimeout(wpsFLY_timeoutID),wpsFLY_internalMoveIn());null==this.wpsFLY_FlyoutLeft||wpsFLY_state||(clearTimeout(wpsFLY_timeoutID),wpsFLY_internalMoveInLeft());document.getElementById("wpsFLYflyout").className="portalFlyoutCollapsed"}
function wpsFLY_toggleFlyout(a,b){if(null!=flyOut[a]){var c=wpsFLY_getCurrIndex();a==c?(flyOut[a].active=1==flyOut[a].active?!1:!0,wpsFLY_clearStateCookie(),wpsFLY_moveInFlyout()):(-1'),document.write(a[arrayIndex].altText),document.write("")),javascriptEventController&&javascriptEventController.register("globalActionLink"+arrayIndex)}
function wpsFLY_checkForEmptyExpandedFlyout(){var a=wpsFLY_getInitialFlyoutState();null!=a&&null!=flyOut[a]&&(document.getElementById("wpsFLY_flyoutIFrame").src=flyOut[a].url)}function wpsFLY_getInitialFlyoutState(){if(0<=document.cookie.indexOf("portalOpenFlyout=")){for(var a=document.cookie.split(";"),b=0;b");for(arrayIndex=0;arrayIndex'),document.write(a[arrayIndex].altText+" "),document.write(''),document.write("")),javascriptEventController&&javascriptEventController.register("globalActionLinkInlineShelf"+arrayIndex);document.write("")}
function wpsInlineShelf_toggleShelf(a,b){if(null!=wptheme_InlineShelves[a]){var d=wpsInlineShelf_getCurrIndex(),c=null;a==d?wpsInlineShelf_stateExpanded=1==wptheme_InlineShelves[a].active?wptheme_InlineShelves[a].active=!1:wptheme_InlineShelves[a].active=!0:(-1 '+d);var e=!1;this.show=function(a){e||(a.appendChild(c),e=!0);c.style.display="block"};this.hide=function(){c.style.display="none"}};
var wptheme_InlinePalettes={className:"wptheme_InlinePalettes",iframeID:"wpsFLY_flyoutIFrame",paletteStatus:0,currentIndex:-1,cookieName:"portalOpenFlyout",loadingDecorator:null,urlFactory:null,paletteContextArray:[],debug:wptheme_DebugUtils,init:function(a){this.debug.enabled&&this.debug.log(this.className,"init( "+[a]+")");a=this.getPersistedValue();this.debug.enabled&&this.debug.log(this.className,"retrieved value: "+a);null!==a&&this.paletteContextArray[a]?this.show(a,!0):this.hide();this.debug.enabled&&
this.debug.log(this.className,"return init")},showCurrent:function(){var a=0;-1b.h&&(b=dojo.contentBox(a.parentNode.parentNode),a.style.height=b.h+"px")}null!==this.loadingDecorator&&this.loadingDecorator.hide&&this.loadingDecorator.hide()},_doPostHide:function(){this.debug.enabled&&this.debug.log(this.className,
"_doPostHide()");this._getIframeElement().style.visibility="hidden"},persist:function(a){this.debug.enabled&&this.debug.log(this.className,"persist("+[a]+")");wptheme_CookieUtils.setCookie(this.cookieName,a)},getPersistedValue:function(){return this.debug.enabled&&this.debug.log(this.className,"getPersistedValue()"),wptheme_CookieUtils.getCookie(this.cookieName)},unpersist:function(){this.debug.enabled&&this.debug.log(this.className,"unpersist()");var a=this.getPersistedValue();return wptheme_CookieUtils.deleteCookie(this.cookieName),
a},_getIframeElement:function(a){return this.debug.enabled&&this.debug.log(this.className,"_getIframeElement( "+[a]+")"),a||(a=document),a.getElementById(this.iframeID)},addPalette:function(a){this.debug.enabled&&this.debug.log(this.className,"addPalette( "+[a]+")");this.paletteContextArray.push(a)},getURL:function(a){this.debug.enabled&&this.debug.log(this.className,"getURL( "+[a]+")");var b=this.paletteContextArray[a].url;return document.isCSA&&null!==this.urlFactory&&(b=this.urlFactory(this.paletteContextArray[a])),
b}},wptheme_DarkTransparentLoadingDecorator=function(a,b,d){this.className="wptheme_DarkTransparentLoadingDecorator";var c=document.createElement("DIV");if(c.className=a,c.style.position="absolute",b&&""!==b&&d)a=document.createElement("DIV"),a.style.position="relative",a.style.top="50%",a.style.left="40%",a.innerHTML=" "+d,c.appendChild(a);var e=!1;this.show=function(a){e||(document.body.appendChild(c),e=!0);c.style.display="block";c.style.top=dojo.coords(a,!0).y+1+"px";c.style.left=
dojo.coords(a,!0).x+1+"px";a=dojo.contentBox(a);c.style.height=a.h-2+"px";c.style.width=a.w-2+"px"};this.hide=function(){c.style.display="none"}},wptheme_InlinePalettesContainer={className:"wptheme_InlinePalettesContainer",debug:wptheme_DebugUtils,containerStatus:0,openCssClassName:"wptheme-flyoutExpanded",closedCssClassName:"wptheme-flyoutCollapsed",toggleElementID:"wptheme-flyoutToggle",containerElementID:"wptheme-flyout",lastIndex:null,cookieName:"portalFlyoutIsOpen",cookieUtils:wptheme_CookieUtils,
htmlUtils:wptheme_HTMLElementUtils,paletteManager:wptheme_InlinePalettes,init:function(a){this.debug.enabled&&this.debug.log(this.className,"init( "+[a]+")");(a=this.cookieUtils.getCookie(this.cookieName))&&"null"!=a&&(this.containerStatus=parseInt(a,10));this.debug.enabled&&this.debug.log(this.className,"containerStatus is "+this.containerStatus);0===this.paletteManager.paletteContextArray.length?this.disable():(this.containerStatus?(this.paletteManager.init(),this._show()):this._hide(),this._makeVisible())},
toggle:function(){this.debug.enabled&&this.debug.log(this.className,"toggle()");this.containerStatus?(this.containerStatus=0,this._hide()):(this.containerStatus=1,this._show())},persist:function(){this.debug.enabled&&this.debug.log(this.className,"persist()");this.cookieUtils.setCookie(this.cookieName,this.containerStatus);this.paletteManager.currentIndex==this.lastIndex&&this.paletteManager.persist(this.lastIndex)},unpersist:function(){this.debug.enabled&&this.debug.log(this.className,"unpersist()");
this.cookieUtils.deleteCookie(this.cookieName);this.lastIndex=this.paletteManager.unpersist()},_makeVisible:function(){this.debug.enabled&&this.debug.log(this.className,"_makeVisible()");document.getElementById(this.toggleElementID).style.visibility="visible"},disable:function(){this.debug.enabled&&this.debug.log(this.className,"disable()");var a=document.getElementById(this.toggleElementID),b=document.getElementById(this.containerElementID);null!==a&&(a.style.display="none");null!==b&&(b.style.display=
"none")},_hide:function(){this.debug.enabled&&this.debug.log(this.className,"_hide()");var a=document.getElementById(this.toggleElementID),b=document.getElementById(this.containerElementID);if(!a||!b)throw Error("Unable to retrieve the necessary markup elements! The palettes may not function correctly.");this.htmlUtils.removeClassName(a,this.openCssClassName);this.htmlUtils.addClassName(a,this.closedCssClassName);b.style.display="none";this.paletteManager.hide(document);this.unpersist()},_show:function(){this.debug.enabled&&
this.debug.log(this.className,"_show()");var a=document.getElementById(this.toggleElementID),b=document.getElementById(this.containerElementID);if(!a||!b)throw Error("Unable to retrieve the necessary markup elements! The palettes may not function correctly.");this.htmlUtils.removeClassName(a,this.closedCssClassName);this.htmlUtils.addClassName(a,this.openCssClassName);b.style.display="block";this.paletteManager.showCurrent();this.persist()}};top.location==self.location&&wptheme_InlinePalettesContainer.htmlUtils.addOnload(function(){wptheme_InlinePalettesContainer.init()});
var wptheme_IFrameLightbox=function(m,n,p,q){function l(a,c,d){var e=document.createElement("DIV");return e.id=a,e.className=c,e.style.display="none",d.appendChild(e),e}function r(a,c,d,e){var b=document.createElement("A");return b.id=a,b.className=c,b.href="javascript:void(0);",b.onclick=function(){f.hide()},b.style.display="none",b.appendChild(document.createTextNode(d)),e.appendChild(b),b}this.className="wptheme_IFrameLightbox";this._htmlUtils=wptheme_HTMLElementUtils;this._debugUtils=wptheme_DebugUtils;
this.showing=this._initialized=!1;var g=this._htmlUtils.getUniqueId();this._backgroundDivId=g+"_lightboxPageBackgroundDiv";this._borderDivId=g+"_lightboxBorderDiv";this._closeLinkId=g+"_lightboxCloseLink";this._iframeId=g+"_lightboxIframe";var f=this;this._init=function(){this._initialized=!0;l(this._backgroundDivId,m,document.body);var a=this._iframeId,c=l(this._borderDivId,n,document.body),d=document.createElement("IFRAME");d.name=a;d.id=a;c.appendChild(d);r(this._closeLinkId,p,q,document.body)};
var h=window.onscroll;window.onscroll=function(a){f.showing&&f.sizeAndPositionBorderBox();h&&(a?h(a):h())};var k=window.onresize;window.onresize=function(a){f.showing&&(f.sizeAndPositionBorderBox(),f.sizeBackgroundDisablingDiv());k&&(a?k(a):k())};this.setURL=function(a){window.frames[this._iframeId].location=a};this.show=function(a){this._initialized||this._init();this.showing=!0;this.disableBackground();this.showBorderBox();a&&this.setURL(a)};this.hide=function(){this._initialized||this._init();
this.showing=!1;this.enableBackground();this.hideBorderBox()};this.showBorderBox=function(){document.getElementById(this._borderDivId).style.display="block";document.getElementById(this._closeLinkId).style.display="block";this.sizeAndPositionBorderBox()};this.sizeAndPositionBorderBox=function(){var a=document.getElementById(this._borderDivId);this._htmlUtils.sizeRelativeToViewableArea(a,.6,.75);this._htmlUtils.positionRelativeToViewableArea(a,.2,.12);var c=document.getElementById(this._closeLinkId);
this._htmlUtils.positionOutsideElementTopRight(c,a)};this.hideBorderBox=function(){document.getElementById(this._borderDivId).style.display="none";document.getElementById(this._closeLinkId).style.display="none"};this.disableBackground=function(){document.getElementById(this._backgroundDivId).style.display="block";this.sizeBackgroundDisablingDiv();this._htmlUtils.hideElementsByTagName("select")};this.sizeBackgroundDisablingDiv=function(){var a=document.getElementById(this._backgroundDivId);this._htmlUtils.sizeToEntireArea(a)};
this.enableBackground=function(){this._htmlUtils.showElementsByTagName("select");document.getElementById(this._backgroundDivId).style.display="none"}};
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
/*
This is a compiled version of Dojo, built for deployment and not for
development. To get an editable version, please visit:
http://dojotoolkit.org
for documentation and information on getting the source.
*/
(function(){var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _8=_1[i];_2+="var "+_8[0]+" = {}; "+_8[1]+" = "+_8[0]+";"+_8[1]+"._scopeName = '"+_8[1]+"';";_3+=(i==0?"":",")+_8[0];_4+=(i==0?"":",")+_8[1];_5[_8[0]]=_8[1];_6[_8[1]]=_8[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(typeof this["loadFirebugConsole"]=="function"){this["loadFirebugConsole"]();}else{if(this["navigator"]){if(/3[\.0-9]+.*Safari/i.test(navigator.appVersion)&&this["console"]){this.console={_c:this.console,log:function(s){this._c.log(s);},info:function(s){this._c.info(s);},error:function(s){this._c.error(s);},warn:function(s){this._c.warn(s);}};}}this.console=this.console||{};var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var tcn=tn+"";console[tcn]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(tcn+":");console["log"](a.join(" "));}:function(){};})();}}}if(typeof dojo=="undefined"){this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){this.dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){this.dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var opt in djConfig){d.config[opt]=djConfig[opt];}}dojo.locale=d.config.locale;var rev="$Rev: 18832 $".match(/\d+/);dojo.version={major:1,minor:3,patch:2,flag:"_IBM",revision:rev?+rev[0]:NaN,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}var _15={};dojo._mixin=function(obj,_17){for(var x in _17){if(_15[x]===undefined||_15[x]!=_17[x]){obj[x]=_17[x];}}if(d.isIE&&_17){var p=_17.toString;if(typeof p=="function"&&p!=obj.toString&&p!=_15.toString&&p!="\nfunction toString() {\n [native code]\n}\n"){obj.toString=_17.toString;}}return obj;};dojo.mixin=function(obj,_1b){if(!obj){obj={};}for(var i=1,l=arguments.length;i0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(dojo.config.useXDomain&&d.isOpera)){if(dojo.isAIR){setTimeout(function(){dojo.loaded();},0);}else{setTimeout(dojo._scopeName+".loaded();",0);}}else{d.loaded();}};dojo._getModuleSymbols=function(_4b){var _4c=_4b.split(".");for(var i=_4c.length;i>0;i--){var _4e=_4c.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_4e)){_4c[0]="../"+_4c[0];}else{var _4f=this._getModulePrefix(_4e);if(_4f!=_4e){_4c.splice(0,i,_4f);break;}}}return _4c;};dojo._global_omit_module_check=false;dojo.loadInit=function(_50){_50();};dojo._loadModule=dojo.require=function(_51,_52){_52=this._global_omit_module_check||_52;var _53=this._loadedModules[_51];if(_53){return _53;}var _54=this._getModuleSymbols(_51).join("/")+".js";var _55=(!_52)?_51:null;var ok=this._loadPath(_54,_55);if(!ok&&!_52){throw new Error("Could not load '"+_51+"'; last tried '"+_54+"'");}if(!_52&&!this._isXDomain){_53=this._loadedModules[_51];if(!_53){throw new Error("symbol '"+_51+"' is not defined after loading '"+_54+"'");}}return _53;};dojo.provide=function(_57){_57=_57+"";return (d._loadedModules[_57]=d.getObject(_57,true));};dojo.platformRequire=function(_58){var _59=_58.common||[];var _5a=_59.concat(_58[d._name]||_58["default"]||[]);for(var x=0;x<_5a.length;x++){var _5c=_5a[x];if(_5c.constructor==Array){d._loadModule.apply(d,_5c);}else{d._loadModule(_5c);}}};dojo.requireIf=function(_5d,_5e){if(_5d===true){var _5f=[];for(var i=1;i0&&!(j==1&&_70[0]=="")&&_70[j]==".."&&_70[j-1]!=".."){if(j==(_70.length-1)){_70.splice(j,1);_70[j-1]="";}else{_70.splice(j-1,2);j-=2;}}}}_6d.path=_70.join("/");}}}}uri=[];if(_6d.scheme){uri.push(_6d.scheme,":");}if(_6d.authority){uri.push("//",_6d.authority);}uri.push(_6d.path);if(_6d.query){uri.push("?",_6d.query);}if(_6d.fragment){uri.push("#",_6d.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_73,url){var loc=d._getModuleSymbols(_73).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _76=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_76==-1||_76>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _78=document.getElementsByTagName("script");var _79=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_78.length;i++){var src=_78[i].getAttribute("src");if(!src){continue;}var m=src.match(_79);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_78[i].getAttribute("djConfig");if(cfg){var _7e=eval("({ "+cfg+" })");for(var x in _7e){dojo.config[x]=_7e[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);if(dua.indexOf("Opera")>=0){d.isOpera=tv;}if(dua.indexOf("AdobeAIR")>=0){d.isAIR=1;}d.isKhtml=(dav.indexOf("Konqueror")>=0)?tv:0;d.isWebKit=parseFloat(dua.split("WebKit/")[1])||undefined;d.isChrome=parseFloat(dua.split("Chrome/")[1])||undefined;var _84=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_84&&!dojo.isChrome){d.isSafari=parseFloat(dav.split("Version/")[1]);if(!d.isSafari||parseFloat(dav.substr(_84+7))<=419.3){d.isSafari=2;}}if(dua.indexOf("Gecko")>=0&&!d.isKhtml&&!d.isWebKit){d.isMozilla=d.isMoz=tv;}if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1]||dua.split("Shiretoko/")[1])||undefined;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||undefined;if(d.isIE>=8&&document.documentMode!=5){d.isIE=document.documentMode;}}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}var cm=document.compatMode;d.isQuirks=cm=="BackCompat"||cm=="QuirksMode"||d.isIE<6;d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _86,_87;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_86=new XMLHttpRequest();}catch(e){}}if(!_86){for(var i=0;i<3;++i){var _89=d._XMLHTTP_PROGIDS[i];try{_86=new ActiveXObject(_89);}catch(e){_87=e;}if(_86){d._XMLHTTP_PROGIDS=[_89];break;}}}if(!_86){throw new Error("XMLHTTP not available: "+_87);}return _86;};d._isDocumentOk=function(_8a){var _8b=_8a.status||0;return (_8b>=200&&_8b<300)||_8b==304||_8b==1223||(!_8b&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _8c=window.location+"";var _8d=document.getElementsByTagName("base");var _8e=(_8d&&_8d.length>0);d._getText=function(uri,_90){var _91=this._xhrObj();if(!_8e&&dojo._Url){uri=(new dojo._Url(_8c,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_91.open("GET",uri,false);try{_91.send(null);if(!d._isDocumentOk(_91)){var err=Error("Unable to load "+uri+" status:"+_91.status);err.status=_91.status;err.responseText=_91.responseText;throw err;}}catch(e){if(_90){return null;}throw e;}return _91.responseText;};var _w=window;var _94=function(_95,fp){var _97=_w[_95]||function(){};_w[_95]=function(){fp.apply(_w,arguments);_97.apply(_w,arguments);};};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=d._windowUnloaders;while(mll.length){(mll.pop())();}};var _99=0;d.addOnWindowUnload=function(obj,_9b){d._onto(d._windowUnloaders,obj,_9b);if(!_99){_99=1;_94("onunload",d.windowUnloaded);}};var _9c=0;d.addOnUnload=function(obj,_9e){d._onto(d._unloaders,obj,_9e);if(!_9c){_9c=1;_94("onbeforeunload",dojo.unloaded);}};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _a0=e&&e.type?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_a0!="domcontentloaded"&&_a0!="load")){return;}arguments.callee.initialized=true;if("_khtmlTimer" in dojo){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};if(!dojo.config.afterOnLoad){if(document.addEventListener){if(dojo.isWebKit>525||dojo.isOpera||dojo.isFF>=3||(dojo.isMoz&&dojo.config.enableMozDomContentLoaded===true)){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(dojo.isAIR){window.addEventListener("load",dojo._loadInit,null);}else{if((dojo.isWebKit<525)||dojo.isKhtml){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}}}if(dojo.isIE){if(!dojo.config.afterOnLoad){document.write(""+"");}try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");var _a1=["*","group","roundrect","oval","shape","rect","imagedata"],i=0,l=1,s=document.createStyleSheet();if(dojo.isIE>=8){i=1;l=_a1.length;}for(;i2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_ba){_ba=_b9;_b9=null;}if(dojo.isString(_ba)){_b9=_b9||dojo.global;if(!_b9[_ba]){throw (["dojo.hitch: scope[\"",_ba,"\"] is null (scope=\"",_b9,"\")"].join(""));}return function(){return _b9[_ba].apply(_b9,arguments||[]);};}return !_b9?_ba:function(){return _ba.apply(_b9,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_bc){TMP.prototype=obj;var tmp=new TMP();if(_bc){dojo._mixin(tmp,_bc);}return tmp;};})();(function(){var _be=function(obj,_c0,_c1){return (_c1||[]).concat(Array.prototype.slice.call(obj,_c0||0));};var _c2=function(obj,_c4,_c5){var arr=_c5||[];for(var x=_c4||0;x=0){this._fire();}return this;},_fire:function(){var _13d=this.chain;var _13e=this.fired;var res=this.results[_13e];var self=this;var cb=null;while((_13d.length>0)&&(this.paused==0)){var f=_13d.shift()[_13e];if(!f){continue;}var func=function(){var ret=f(res);if(typeof ret!="undefined"){res=ret;}_13e=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){self._resback(res);self.paused--;if((self.paused==0)&&(self.fired>=0)){self._fire();}};this.paused++;}};if(dojo.config.debugAtAllCosts){func.call(this);}else{try{func.call(this);}catch(err){_13e=1;res=err;}}}this.fired=_13e;this.results[_13e]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(json){return eval("("+json+")");};dojo._escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_149,_14a){if(it===undefined){return "undefined";}var _14b=typeof it;if(_14b=="number"||_14b=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _14c=arguments.callee;var _14d;_14a=_14a||"";var _14e=_149?_14a+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_14d=tf.call(it);if(it!==_14d){return _14c(_14d,_149,_14e);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_149?" ":"";var _151=_149?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_14c(obj,_149,_14e);if(typeof val!="string"){val="undefined";}return _151+_14e+val;});return "["+res.join(","+sep)+_151+_14a+"]";}if(_14b=="function"){return null;}var _155=[],key;for(key in it){var _157,val;if(typeof key=="number"){_157="\""+key+"\"";}else{if(typeof key=="string"){_157=dojo._escapeString(key);}else{continue;}}val=_14c(it[key],_149,_14e);if(typeof val!="string"){continue;}_155.push(_151+_14e+_157+":"+sep+val);}return "{"+_155.join(","+sep)+_151+_14a+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _159=function(arr,obj,cb){return [dojo.isString(arr)?arr.split(""):arr,obj||dojo.global,dojo.isString(cb)?new Function("item","index","array",cb):cb];};dojo.mixin(dojo,{indexOf:function(_15d,_15e,_15f,_160){var step=1,end=_15d.length||0,i=0;if(_160){i=end-1;step=end=-1;}if(_15f!=undefined){i=_15f;}if((_160&&i>end)||i>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new d.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=d.Color.named[str];return a&&d.colorFromArray(a,obj)||d.colorFromRgb(str,obj)||d.colorFromHex(str,obj);};})();}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_1aa,_1ab){dojo.global=_1aa;dojo.doc=_1ab;};dojo.withGlobal=function(_1ac,_1ad,_1ae,_1af){var _1b0=dojo.global;try{dojo.global=_1ac;return dojo.withDoc.call(null,_1ac.document,_1ad,_1ae,_1af);}finally{dojo.global=_1b0;}};dojo.withDoc=function(_1b1,_1b2,_1b3,_1b4){var _1b5=dojo.doc,_1b6=dojo._bodyLtr;try{dojo.doc=_1b1;delete dojo._bodyLtr;if(_1b3&&dojo.isString(_1b2)){_1b2=_1b3[_1b2];}return _1b2.apply(_1b3,_1b4||[]);}finally{dojo.doc=_1b5;if(_1b6!==undefined){dojo._bodyLtr=_1b6;}}};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _1bb=name;if(!dojo.isIE&&(name=="mouseenter"||name=="mouseleave")){var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){if(dojo.isFF<=2){try{e.relatedTarget.tagName;}catch(e2){return;}}if(!dojo.isDescendant(e.relatedTarget,node)){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_1bf,_1c0){if(node){_1bf=del._normalizeEventName(_1bf);if(!dojo.isIE&&(_1bf=="mouseenter"||_1bf=="mouseleave")){_1bf=(_1bf=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_1bf,_1c0,false);}},_normalizeEventName:function(name){return name.slice(0,2)=="on"?name.slice(2):name;},_fixCallback:function(name,fp){return name!="keypress"?fp:function(e){return fp.call(this,del._fixEvent(e,this));};},_fixEvent:function(evt,_1c6){switch(evt.type){case "keypress":del._setKeyChar(evt);break;}return evt;},_setKeyChar:function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39}});dojo.fixEvent=function(evt,_1c9){return del._fixEvent(evt,_1c9);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _1cb=dojo._listener;dojo._connect=function(obj,_1cd,_1ce,_1cf,_1d0){var _1d1=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=_1d1?(_1d0?2:1):0,l=[dojo._listener,del,_1cb][lid];var h=l.add(obj,_1cd,dojo.hitch(_1ce,_1cf));return [obj,_1cd,h,lid];};dojo._disconnect=function(obj,_1d5,_1d6,_1d7){([dojo._listener,del,_1cb][_1d7]).remove(obj,_1d5,_1d6);};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145};if(dojo.isIE){var _1d8=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _1dc=(dojo._ieListenersName="_"+dojo._scopeName+"_listeners");if(!dojo.config._allow_leaks){_1cb=iel=dojo._ie_listener={handlers:[],add:function(_1dd,_1de,_1df){_1dd=_1dd||dojo.global;var f=_1dd[_1de];if(!f||!f[_1dc]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_1dc]=[];f=_1dd[_1de]=d;}return f[_1dc].push(ieh.push(_1df)-1);},remove:function(_1e3,_1e4,_1e5){var f=(_1e3||dojo.global)[_1e4],l=f&&f[_1dc];if(f&&l&&_1e5--){delete ieh[l[_1e5]];delete l[_1e5];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_1e8,fp){if(!node){return;}_1e8=del._normalizeEventName(_1e8);if(_1e8=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_1dc]||!kd._stealthKeydownHandle){var h=del.add(node,"onkeydown",del._stealthKeyDown);kd=node.onkeydown;kd._stealthKeydownHandle=h;kd._stealthKeydownRefs=1;}else{kd._stealthKeydownRefs++;}}return iel.add(node,_1e8,del._fixCallback(fp));},remove:function(node,_1ed,_1ee){_1ed=del._normalizeEventName(_1ed);iel.remove(node,_1ed,_1ee);if(_1ed=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_1f0){return _1f0.slice(0,2)!="on"?"on"+_1f0:_1f0;},_nop:function(){},_fixEvent:function(evt,_1f2){if(!evt){var w=_1f2&&(_1f2.ownerDocument||_1f2.document||_1f2).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_1f2||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _1f6=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _1f7=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_1f6.scrollLeft||0)-_1f7.x;evt.pageY=evt.clientY+(_1f6.scrollTop||0)-_1f7.y;if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}evt.stopPropagation=del._stopPropagation;evt.preventDefault=del._preventDefault;return del._fixKeys(evt);},_fixKeys:function(evt){switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;del._setKeyChar(evt);break;}return evt;},_stealthKeyDown:function(evt){var kp=evt.currentTarget.onkeypress;if(!kp||!kp[_1dc]){return;}var k=evt.keyCode;var _1fd=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_1fd||evt.ctrlKey){var c=_1fd?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});kp.call(evt.currentTarget,faux);evt.cancelBubble=faux.cancelBubble;evt.returnValue=faux.returnValue;_1d8(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_1d8(this,0);}this.returnValue=false;}});dojo.stopEvent=function(evt){evt=evt||window.event;del._stopPropagation.call(evt);del._preventDefault.call(evt);};}del._synthesizeEvent=function(evt,_202){var faux=dojo.mixin({},evt,_202);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_205){switch(evt.type){case "keypress":var c=evt.which;if(c==3){c=99;}c=c<41&&!evt.shiftKey?0:c;if(evt.ctrlKey&&!evt.shiftKey&&c>=65&&c<=90){c+=32;}return del._synthesizeEvent(evt,{charCode:c});}return evt;}});}if(dojo.isWebKit){del._add=del.add;del._remove=del.remove;dojo.mixin(del,{add:function(node,_208,fp){if(!node){return;}var _20a=del._add(node,_208,fp);if(del._normalizeEventName(_208)=="keypress"){_20a._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _20d=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_20d||evt.ctrlKey){var c=_20d?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if(!evt.shiftKey&&c>=65&&c<=90){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});fp.call(evt.currentTarget,faux);}});}return _20a;},remove:function(node,_211,_212){if(node){if(_212._stealthKeyDownHandle){del._remove(node,"keydown",_212._stealthKeyDownHandle);}del._remove(node,_211,_212);}},_fixEvent:function(evt,_214){switch(evt.type){case "keypress":if(evt.faux){return evt;}var c=evt.charCode;c=c>=32?c:0;return del._synthesizeEvent(evt,{charCode:c,faux:true});}return evt;}});}})();if(dojo.isIE){dojo._ieDispatcher=function(args,_217){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=args.callee,ls=c[dojo._ieListenersName],t=h[c.target];var r=t&&t.apply(_217,args);var lls=[].concat(ls);for(var i in lls){var f=h[lls[i]];if(!(i in ap)&&f){f.apply(_217,args);}}return r;};dojo._getIeDispatcher=function(){return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}if(dojo.isIE||dojo.isOpera){dojo.byId=function(id,doc){if(dojo.isString(id)){var _d=doc||dojo.doc;var te=_d.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_d.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}}else{return id;}};}else{dojo.byId=function(id,doc){return dojo.isString(id)?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var _22d=null;d.addOnWindowUnload(function(){_22d=null;});dojo._destroyElement=dojo.destroy=function(node){node=d.byId(node);try{if(!_22d||_22d.ownerDocument!=node.ownerDocument){_22d=node.ownerDocument.createElement("div");}_22d.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_22d.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_230){try{node=d.byId(node);_230=d.byId(_230);while(node){if(node===_230){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_232){node=d.byId(node);if(d.isMozilla){node.style.MozUserSelect=_232?"":"none";}else{if(d.isKhtml||d.isWebKit){node.style.KhtmlUserSelect=_232?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_232?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _234=function(node,ref){var _237=ref.parentNode;if(_237){_237.insertBefore(node,ref);}};var _238=function(node,ref){var _23b=ref.parentNode;if(_23b){if(_23b.lastChild==ref){_23b.appendChild(node);}else{_23b.insertBefore(node,ref.nextSibling);}}};dojo.place=function(node,_23d,_23e){_23d=d.byId(_23d);if(d.isString(node)){node=node.charAt(0)=="<"?d._toDom(node,_23d.ownerDocument):d.byId(node);}if(typeof _23e=="number"){var cn=_23d.childNodes;if(!cn.length||cn.length<=_23e){_23d.appendChild(node);}else{_234(node,cn[_23e<0?0:_23e]);}}else{switch(_23e){case "before":_234(node,_23d);break;case "after":_238(node,_23d);break;case "replace":_23d.parentNode.replaceChild(node,_23d);break;case "only":d.empty(_23d);_23d.appendChild(node);break;case "first":if(_23d.firstChild){_234(node,_23d.firstChild);break;}default:_23d.appendChild(node);}}return node;};dojo.boxModel="content-box";if(d.isIE){var _dcm=document.compatMode;d.boxModel=_dcm=="BackCompat"||_dcm=="QuirksMode"||d.isIE<6?"border-box":"content-box";}var gcs;if(d.isWebKit){gcs=function(node){var s;if(node.nodeType==1){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(d.isIE){gcs=function(node){return node.nodeType==1?node.currentStyle:{};};}else{gcs=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}dojo.getComputedStyle=gcs;if(!d.isIE){d._toPixelValue=function(_247,_248){return parseFloat(_248)||0;};}else{d._toPixelValue=function(_249,_24a){if(!_24a){return 0;}if(_24a=="medium"){return 4;}if(_24a.slice&&_24a.slice(-2)=="px"){return parseFloat(_24a);}with(_249){var _24b=style.left;var _24c=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_24a;_24a=style.pixelLeft;}catch(e){_24a=0;}style.left=_24b;runtimeStyle.left=_24c;}return _24a;};}var px=d._toPixelValue;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};dojo._getOpacity=d.isIE?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return gcs(node).opacity;};dojo._setOpacity=d.isIE?function(node,_255){var ov=_255*100;node.style.zoom=1;af(node,1).Enabled=!(_255==1);if(!af(node)){node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){d._setOpacity(i,_255);});}return _255;}:function(node,_259){return node.style.opacity=_259;};var _25a={left:true,top:true};var _25b=/margin|padding|width|height|max|min|offset/;var _25c=function(node,type,_25f){type=type.toLowerCase();if(d.isIE){if(_25f=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_25f){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _25a)){_25a[type]=_25b.test(type);}return _25a[type]?px(node,_25f):_25f;};var _260=d.isIE?"styleFloat":"cssFloat",_261={"cssFloat":_260,"styleFloat":_260,"float":_260};dojo.style=function(node,_263,_264){var n=d.byId(node),args=arguments.length,op=(_263=="opacity");_263=_261[_263]||_263;if(args==3){return op?d._setOpacity(n,_264):n.style[_263]=_264;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&!d.isString(_263)){for(var x in _263){d.style(node,x,_263[x]);}return s;}return (args==1)?s:_25c(n,_263,s[_263]||n.style[_263]);};dojo._getPadExtents=function(n,_26b){var s=_26b||gcs(n),l=px(n,s.paddingLeft),t=px(n,s.paddingTop);return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};};dojo._getBorderExtents=function(n,_26f){var ne="none",s=_26f||gcs(n),bl=(s.borderLeftStyle!=ne?px(n,s.borderLeftWidth):0),bt=(s.borderTopStyle!=ne?px(n,s.borderTopWidth):0);return {l:bl,t:bt,w:bl+(s.borderRightStyle!=ne?px(n,s.borderRightWidth):0),h:bt+(s.borderBottomStyle!=ne?px(n,s.borderBottomWidth):0)};};dojo._getPadBorderExtents=function(n,_274){var s=_274||gcs(n),p=d._getPadExtents(n,s),b=d._getBorderExtents(n,s);return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};};dojo._getMarginExtents=function(n,_279){var s=_279||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isWebKit&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_27f){var s=_27f||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;if(d.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{if(p&&p.style){var pcs=gcs(p);if(pcs.overflow!="visible"){var be=d._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(d.isOpera||(d.isIE>7&&!d.isQuirks)){if(p){be=d._getBorderExtents(p);l-=be.l;t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_28a){var s=_28a||gcs(node),pe=d._getPadExtents(node,s),be=d._getBorderExtents(node,s),w=node.clientWidth,h;if(!w){w=node.offsetWidth,h=node.offsetHeight;}else{h=node.clientHeight,be.w=be.h=0;}if(d.isOpera){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};dojo._getBorderBox=function(node,_291){var s=_291||gcs(node),pe=d._getPadExtents(node,s),cb=d._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};dojo._isButtonTag=function(node){return node.tagName=="BUTTON"||node.tagName=="INPUT"&&node.getAttribute("type").toUpperCase()=="BUTTON";};dojo._usesBorderBox=function(node){var n=node.tagName;return d.boxModel=="border-box"||n=="TABLE"||d._isButtonTag(node);};dojo._setContentSize=function(node,_2a0,_2a1,_2a2){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_2a2);if(_2a0>=0){_2a0+=pb.w;}if(_2a1>=0){_2a1+=pb.h;}}d._setBox(node,NaN,NaN,_2a0,_2a1);};dojo._setMarginBox=function(node,_2a5,_2a6,_2a7,_2a8,_2a9){var s=_2a9||gcs(node),bb=d._usesBorderBox(node),pb=bb?_2ad:d._getPadBorderExtents(node,s);if(d.isWebKit){if(d._isButtonTag(node)){var ns=node.style;if(_2a7>=0&&!ns.width){ns.width="4px";}if(_2a8>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_2a7>=0){_2a7=Math.max(_2a7-pb.w-mb.w,0);}if(_2a8>=0){_2a8=Math.max(_2a8-pb.h-mb.h,0);}d._setBox(node,_2a5,_2a6,_2a7,_2a8);};var _2ad={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _2b8=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_2bc=0,_b=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_2bc+=val-0;if(node==_b){break;}}node=node.parentNode;}return _2bc;};dojo._docScroll=function(){var _b=d.body(),_w=d.global,de=d.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||d._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return "_bodyLtr" in d?d._bodyLtr:d._bodyLtr=(d.body().dir||d.doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;if(d.isIE<7){return {x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};}else{if(d.isIE<8){return {x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top};}else{return {x:0,y:0};}}};dojo._fixIeBiDiScrollLeft=function(_2c2){var dd=d.doc;if(d.isIE<8&&!d._isBodyLtr()){var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;return _2c2+de.clientWidth-de.scrollWidth;}return _2c2;};dojo._abs=function(node,_2c6){var db=d.body(),dh=d.body().parentNode,ret;if(node["getBoundingClientRect"]){var _2ca=node.getBoundingClientRect();ret={x:_2ca.left,y:_2ca.top};if(d.isFF>=3){var cs=gcs(dh);ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}if(d.isIE){var _2cc=d._getIeDocumentElementOffset();ret.x-=_2cc.x+(d.isQuirks?db.clientLeft:0);ret.y-=_2cc.y+(d.isQuirks?db.clientTop:0);}}else{ret={x:0,y:0};if(node["offsetParent"]){ret.x-=_2b8(node,"scrollLeft");ret.y-=_2b8(node,"scrollTop");var _2cd=node;do{var n=_2cd.offsetLeft,t=_2cd.offsetTop;ret.x+=isNaN(n)?0:n;ret.y+=isNaN(t)?0:t;cs=gcs(_2cd);if(_2cd!=node){if(d.isFF){ret.x+=2*px(_2cd,cs.borderLeftWidth);ret.y+=2*px(_2cd,cs.borderTopWidth);}else{ret.x+=px(_2cd,cs.borderLeftWidth);ret.y+=px(_2cd,cs.borderTopWidth);}}if(d.isFF&&cs.position=="static"){var _2d0=_2cd.parentNode;while(_2d0!=_2cd.offsetParent){var pcs=gcs(_2d0);if(pcs.position=="static"){ret.x+=px(_2cd,pcs.borderLeftWidth);ret.y+=px(_2cd,pcs.borderTopWidth);}_2d0=_2d0.parentNode;}}_2cd=_2cd.offsetParent;}while((_2cd!=dh)&&_2cd);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_2c6){var _2d2=d._docScroll();ret.x+=_2d2.x;ret.y+=_2d2.y;}return ret;};dojo.coords=function(node,_2d4){var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,_2d4);mb.x=abs.x;mb.y=abs.y;return mb;};var _2d8=d.isIE<8;var _2d9=function(name){switch(name.toLowerCase()){case "tabindex":return _2d8?"tabIndex":"tabindex";case "readonly":return "readOnly";case "class":return "className";case "for":case "htmlfor":return _2d8?"htmlFor":"for";default:return name;}};var _2db={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType",classname:"className",innerhtml:"innerHTML"};dojo.hasAttr=function(node,name){node=d.byId(node);var _2de=_2d9(name);_2de=_2de=="htmlFor"?"for":_2de;var attr=node.getAttributeNode&&node.getAttributeNode(_2de);return attr?attr.specified:false;};var _2e0={},_ctr=0,_2e2=dojo._scopeName+"attrid",_2e3={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};dojo.attr=function(node,name,_2e6){node=d.byId(node);var args=arguments.length;if(args==2&&!d.isString(name)){for(var x in name){d.attr(node,x,name[x]);}return;}name=_2d9(name);if(args==3){if(d.isFunction(_2e6)){var _2e9=d.attr(node,_2e2);if(!_2e9){_2e9=_ctr++;d.attr(node,_2e2,_2e9);}if(!_2e0[_2e9]){_2e0[_2e9]={};}var h=_2e0[_2e9][name];if(h){d.disconnect(h);}else{try{delete node[name];}catch(e){}}_2e0[_2e9][name]=d.connect(node,name,_2e6);}else{if(typeof _2e6=="boolean"){node[name]=_2e6;}else{if(name==="style"&&!d.isString(_2e6)){d.style(node,_2e6);}else{if(name=="className"){node.className=_2e6;}else{if(name==="innerHTML"){if(d.isIE&&node.tagName.toLowerCase() in _2e3){d.empty(node);node.appendChild(d._toDom(_2e6,node.ownerDocument));}else{node[name]=_2e6;}}else{node.setAttribute(name,_2e6);}}}}}}else{var prop=_2db[name.toLowerCase()];if(prop){return node[prop];}var _2ec=node[name];return (typeof _2ec=="boolean"||typeof _2ec=="function")?_2ec:(d.hasAttr(node,name)?node.getAttribute(name):null);}};dojo.removeAttr=function(node,name){d.byId(node).removeAttribute(_2d9(name));};dojo.create=function(tag,_2f0,_2f1,pos){var doc=d.doc;if(_2f1){_2f1=d.byId(_2f1);doc=_2f1.ownerDocument;}if(d.isString(tag)){tag=doc.createElement(tag);}if(_2f0){d.attr(tag,_2f0);}if(_2f1){d.place(tag,_2f1,pos);}return tag;};d.empty=d.isIE?function(node){node=d.byId(node);for(var c;c=node.lastChild;){d.destroy(c);}}:function(node){d.byId(node).innerHTML="";};var _2f7={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},_2f8=/<\s*([\w\:]+)/,_2f9={},_2fa=0,_2fb="__"+d._scopeName+"ToDomId";for(var _2fc in _2f7){var tw=_2f7[_2fc];tw.pre=_2fc=="option"?"
"+_3e2.markup;ibm.portal.debug.exit("html.createTemporaryMarkupDiv",[div]);return {node:div,objects:_3e2.objects};},replaceTemporaryMarkup:function(_3e4,_3e5){var c=_3e4.node.childNodes;if(c&&_3e4.node!=_3e5){while(c.length>0){_3e5.appendChild(c[0]);}}if(dojo.isIE){com.ibm.portal.utilities.html.replaceObjectElementsInMarkup(_3e4.objects);com.ibm.portal.utilities.html.replaceFormMarkers(_3e5);}},extractObjectElementsFromString:function(_3e7){var _3e8={};var _3e9=/