portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r762828 [2/3] - in /portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop: core.js core.src.js
Date Tue, 07 Apr 2009 16:14:07 GMT

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/core.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/core.js?rev=762828&r1=762827&r2=762828&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/core.js (original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/core.js Tue Apr  7 16:14:07 2009
@@ -3,7 +3,6 @@
 dojo.require("dojo.event.*");
 dojo.require("dojo.io.*");
 dojo.require("dojo.uri.Uri");
-dojo.require("dojo.xml.Parse");
 dojo.require("dojo.widget.*");
 dojo.require("jetspeed.common");
 if(!window.jetspeed){
@@ -259,117 +258,142 @@
 }
 };
 jetspeed.createHeadElement=function(_34){
-var _35=document.createElement(_34.tagName);
-for(var _36 in _34[_34.tagName]){
-var _37=_34[_34.tagName].nodeRef.getAttribute(_36);
-if(_37){
-_35.setAttribute(_36,_37);
+var _35=jetspeed;
+var _36=document.createElement(_34.tagName);
+var _37=_34.attributes;
+for(var i=0;i<_37.length;i++){
+var _39=_37.item(i);
+if(_39&&(_39.nodeValue)&&(typeof _39.nodeValue!="object")){
+_36.setAttribute(_39.nodeName,_39.nodeValue);
+}
+}
+return _36;
+};
+jetspeed.contributeHeadElements=function(_3a){
+var _3b=jetspeed;
+var _3c=[];
+var _3d=_3b.getHead().childNodes;
+if(_3d){
+for(var i=0;i<_3d.length;i++){
+if(_3d[i].nodeType==dojo.dom.ELEMENT_NODE){
+_3c.push(_3d[i]);
 }
 }
-return _35;
-};
-jetspeed.contributeHeadElements=function(_38){
-var _39=jetspeed;
-if(_38.script){
-for(var i=0;i<_38.script.length;i++){
-var _3b=_38.script[i];
-var _3c=jetspeed.createHeadElement(_3b);
-if(!_3c.id||!document.getElementById(_3c.id)){
-if(_39.UAie){
-_3c.text=_3b.value;
-}else{
-_3c.appendChild(document.createTextNode(_3b.value));
 }
-_39.getHead().appendChild(_3c);
+var _3f=_3a.childNodes;
+var _40=0;
+for(var i=0;i<_3f.length;i++){
+var _41=_3f.item(i);
+if(!_41||_41.nodeType!=dojo.dom.ELEMENT_NODE){
+continue;
 }
+var id=_41.getAttribute("id");
+if(!id){
+id=_41.getAttribute("ID");
+}
+if(!id){
+id=_41.getAttribute("Id");
+}
+if(!id){
+id=_41.getAttribute("iD");
+}
+var _43=_41.tagName;
+var _44=false;
+if(id){
+for(var j=0;j<_3c.length;j++){
+if(id==_3c[j].id){
+_44=true;
+_40=j+1;
+break;
 }
 }
-if(_38.link){
-for(var i=0;i<_38.link.length;i++){
-var _3d=_38.link[i];
-var _3e=jetspeed.createHeadElement(_3d);
-if(!_3e.id||!document.getElementById(_3e.id)){
-_39.getHead().appendChild(_3e);
 }
+if(!_44){
+var _46=jetspeed.createHeadElement(_41);
+if(_3b.UAie){
+if(_43=="SCRIPT"&&_41.text){
+_46.text=_41.value;
+}else{
+if(_43=="STYLE"&&_41.text){
+_46.styleSheet.cssText=_41.text;
 }
 }
-if(_38.style){
-for(var i=0;i<_38.style.length;i++){
-var _3f=_38.style[i];
-var _40=jetspeed.createHeadElement(_3f);
-if(!_40.id||!document.getElementById(_40.id)){
-if(_39.UAie){
-_40.styleSheet.cssText=_3f.value;
 }else{
-_40.appendChild(document.createTextNode(_3f.value));
+if(_41.textContent){
+_46.appendChild(document.createTextNode(_41.textContent));
 }
-_39.getHead().appendChild(_40);
 }
+if(_3c[_40]){
+_3b.getHead().insertBefore(_46,_3c[_40]);
+}else{
+_3b.getHead().appendChild(scriptElem);
+}
+++_40;
 }
 }
 };
-jetspeed.doRender=function(_41,_42){
-if(!_41){
-_41={};
+jetspeed.doRender=function(_47,_48){
+if(!_47){
+_47={};
 }else{
-if((typeof _41=="string"||_41 instanceof String)){
-_41={url:_41};
+if((typeof _47=="string"||_47 instanceof String)){
+_47={url:_47};
 }
 }
-var _43=jetspeed.page.getPortlet(_42);
-if(_43){
+var _49=jetspeed.page.getPortlet(_48);
+if(_49){
 if(jetspeed.debug.doRenderDoAction){
-dojo.debug("doRender ["+_42+"] url: "+_41.url);
+dojo.debug("doRender ["+_48+"] url: "+_47.url);
 }
-_43.retrieveContent(null,_41);
+_49.retrieveContent(null,_47);
 }
 };
-jetspeed.doAction=function(_44,_45){
-if(!_44){
-_44={};
+jetspeed.doAction=function(_4a,_4b){
+if(!_4a){
+_4a={};
 }else{
-if((typeof _44=="string"||_44 instanceof String)){
-_44={url:_44};
+if((typeof _4a=="string"||_4a instanceof String)){
+_4a={url:_4a};
 }
 }
-var _46=jetspeed.page.getPortlet(_45);
-if(_46){
+var _4c=jetspeed.page.getPortlet(_4b);
+if(_4c){
 if(jetspeed.debug.doRenderDoAction){
-if(!_44.formNode){
-dojo.debug("doAction ["+_45+"] url: "+_44.url+" form: null");
+if(!_4a.formNode){
+dojo.debug("doAction ["+_4b+"] url: "+_4a.url+" form: null");
 }else{
-dojo.debug("doAction ["+_45+"] url: "+_44.url+" form: "+jetspeed.debugDumpForm(_44.formNode));
+dojo.debug("doAction ["+_4b+"] url: "+_4a.url+" form: "+jetspeed.debugDumpForm(_4a.formNode));
 }
 }
-_46.retrieveContent(new jetspeed.om.PortletActionCL(_46,_44),_44);
+_4c.retrieveContent(new jetspeed.om.PortletActionCL(_4c,_4a),_4a);
 }
 };
-jetspeed.PortletRenderer=function(_47,_48,_49,_4a,_4b,_4c){
-var _4d=jetspeed;
-var _4e=_4d.page;
-var _4f=dojo;
-this._jsObj=_4d;
-this.mkWins=_47;
-this.initEdit=_4c;
-this.minimizeTemp=(_4c!=null&&_4c.editModeMove);
-this.noRender=(this.minimizeTemp&&_4c.windowTitles!=null);
-this.isPgLd=_48;
-this.isPgUp=_49;
-this.renderUrl=_4a;
-this.suppressGetActions=_4b;
-this._colLen=_4e.columns.length;
+jetspeed.PortletRenderer=function(_4d,_4e,_4f,_50,_51,_52){
+var _53=jetspeed;
+var _54=_53.page;
+var _55=dojo;
+this._jsObj=_53;
+this.mkWins=_4d;
+this.initEdit=_52;
+this.minimizeTemp=(_52!=null&&_52.editModeMove);
+this.noRender=(this.minimizeTemp&&_52.windowTitles!=null);
+this.isPgLd=_4e;
+this.isPgUp=_4f;
+this.renderUrl=_50;
+this.suppressGetActions=_51;
+this._colLen=_54.columns.length;
 this._colIndex=0;
 this._portletIndex=0;
 this._renderCount=0;
-this.psByCol=_4e.portletsByPageColumn;
+this.psByCol=_54.portletsByPageColumn;
 this.pageLoadUrl=null;
-if(_48){
-this.pageLoadUrl=_4d.url.parse(_4e.getPageUrl());
-_4d.ui.evtConnect("before",_4f,"addOnLoad",_4e,"_beforeAddOnLoad",_4f.event);
+if(_4e){
+this.pageLoadUrl=_53.url.parse(_54.getPageUrl());
+_53.ui.evtConnect("before",_55,"addOnLoad",_54,"_beforeAddOnLoad",_55.event);
 }
-this.dbgPgLd=_4d.debug.pageLoad&&_48;
+this.dbgPgLd=_53.debug.pageLoad&&_4e;
 this.dbgMsg=null;
-if(_4d.debug.doRenderDoAction||this.dbgPgLd){
+if(_53.debug.doRenderDoAction||this.dbgPgLd){
 this.dbgMsg="";
 }
 };
@@ -386,114 +410,114 @@
 this._finished();
 }
 },_finished:function(){
-var _50=this._jsObj;
-var _51=this.dbgMsg;
-if(_51!=null){
+var _56=this._jsObj;
+var _57=this.dbgMsg;
+if(_57!=null){
 if(this.dbgPgLd){
-dojo.debug("portlet-renderer page-url: "+_50.page.getPsmlUrl()+" portlets: ["+renderMsg+"]"+(url?(" url: "+url):""));
+dojo.debug("portlet-renderer page-url: "+_56.page.getPsmlUrl()+" portlets: ["+renderMsg+"]"+(url?(" url: "+url):""));
 }else{
 dojo.debug("portlet-renderer ["+renderMsg+"] url: "+url);
 }
 }
 if(this.isPgLd){
-_50.page.loadPostRender(this.isPgUp,this.initEdit);
+_56.page.loadPostRender(this.isPgUp,this.initEdit);
 }
 },_renderCurrent:function(){
-var _52=this._jsObj;
-var _53=this._colLen;
-var _54=this._colIndex;
-var _55=this._portletIndex;
-if(_54<=_53){
-var _56;
-if(_54<_53){
-_56=this.psByCol[_54.toString()];
-}else{
-_56=this.psByCol["z"];
-_54=null;
-}
-var _57=(_56!=null?_56.length:0);
-if(_57>0){
-var _58=_56[_55];
-if(_58){
-var _59=_58.portlet;
-var _5a=null;
+var _58=this._jsObj;
+var _59=this._colLen;
+var _5a=this._colIndex;
+var _5b=this._portletIndex;
+if(_5a<=_59){
+var _5c;
+if(_5a<_59){
+_5c=this.psByCol[_5a.toString()];
+}else{
+_5c=this.psByCol["z"];
+_5a=null;
+}
+var _5d=(_5c!=null?_5c.length:0);
+if(_5d>0){
+var _5e=_5c[_5b];
+if(_5e){
+var _5f=_5e.portlet;
+var _60=null;
 if(this.mkWins){
-_5a=_52.ui.createPortletWindow(_59,_54,_52);
+_60=_58.ui.createPortletWindow(_5f,_5a,_58);
 if(this.minimizeTemp){
-_5a.minimizeWindowTemporarily(this.noRender);
+_60.minimizeWindowTemporarily(this.noRender);
 }
 }
-var _5b=this.dbgMsg;
-if(_5b!=null){
-if(_5b.length>0){
-_5b=_5b+", ";
+var _61=this.dbgMsg;
+if(_61!=null){
+if(_61.length>0){
+_61=_61+", ";
 }
-var _5c=null;
-if(_59.getProperty!=null){
-_5c=_59.getProperty(_52.id.PP_WIDGET_ID);
+var _62=null;
+if(_5f.getProperty!=null){
+_62=_5f.getProperty(_58.id.PP_WIDGET_ID);
 }
-if(!_5c){
-_5c=_59.widgetId;
+if(!_62){
+_62=_5f.widgetId;
 }
-if(!_5c){
-_5c=_59.toString();
+if(!_62){
+_62=_5f.toString();
 }
-if(_59.entityId){
-_5b=_5b+_59.entityId+"("+_5c+")";
-if(this._dbPgLd&&_59.getProperty(_52.id.PP_WINDOW_TITLE)){
-_5b=_5b+" "+_59.getProperty(_52.id.PP_WINDOW_TITLE);
+if(_5f.entityId){
+_61=_61+_5f.entityId+"("+_62+")";
+if(this._dbPgLd&&_5f.getProperty(_58.id.PP_WINDOW_TITLE)){
+_61=_61+" "+_5f.getProperty(_58.id.PP_WINDOW_TITLE);
 }
 }else{
-_5b=_5b+_5c;
+_61=_61+_62;
 }
 }
 if(!this.noRender){
-_59.retrieveContent(null,{url:this.renderUrl,jsPageUrl:this.pageLoadUrl},this.suppressGetActions);
+_5f.retrieveContent(null,{url:this.renderUrl,jsPageUrl:this.pageLoadUrl},this.suppressGetActions);
 }else{
-if(_5a&&_5a.portlet){
-var _5d=this.initEdit.windowTitles[_5a.portlet.entityId];
-if(_5d!=null){
-_5a.setPortletTitle(_5d);
+if(_60&&_60.portlet){
+var _63=this.initEdit.windowTitles[_60.portlet.entityId];
+if(_63!=null){
+_60.setPortletTitle(_63);
 }
 }
 }
 if((this._renderCount%3)==0){
-_52.url.loadingIndicatorStep(_52);
+_58.url.loadingIndicatorStep(_58);
 }
 this._renderCount++;
 }
 }
 }
 },_evalNext:function(){
-var _5e=false;
-var _5f=this._colLen;
-var _60=this._colIndex;
-var _61=this._portletIndex;
-var _62=_60;
-var _63;
-for(++_60;_60<=_5f;_60++){
-_63=this.psByCol[_60==_5f?"z":_60.toString()];
-if(_61<(_63!=null?_63.length:0)){
-_5e=true;
-this._colIndex=_60;
+var _64=false;
+var _65=this._colLen;
+var _66=this._colIndex;
+var _67=this._portletIndex;
+var _68=_66;
+var _69;
+for(++_66;_66<=_65;_66++){
+_69=this.psByCol[_66==_65?"z":_66.toString()];
+if(_67<(_69!=null?_69.length:0)){
+_64=true;
+this._colIndex=_66;
 break;
 }
 }
-if(!_5e){
-++_61;
-for(_60=0;_60<=_62;_60++){
-_63=this.psByCol[_60==_5f?"z":_60.toString()];
-if(_61<(_63!=null?_63.length:0)){
-_5e=true;
-this._colIndex=_60;
-this._portletIndex=_61;
+if(!_64){
+++_67;
+for(_66=0;_66<=_68;_66++){
+_69=this.psByCol[_66==_65?"z":_66.toString()];
+if(_67<(_69!=null?_69.length:0)){
+_64=true;
+this._colIndex=_66;
+this._portletIndex=_67;
 break;
 }
 }
 }
-return _5e;
+return _64;
 }});
-jetspeed.portleturl={DESKTOP_ACTION_PREFIX_URL:null,DESKTOP_RENDER_PREFIX_URL:null,JAVASCRIPT_ARG_QUOTE:"&"+"quot;",PORTLET_REQUEST_ACTION:"action",PORTLET_REQUEST_RENDER:"render",JETSPEED_DO_NOTHING_ACTION:"javascript:jetspeed.doNothingNav()",parseContentUrl:function(_64){
+jetspeed.portleturl={DESKTOP_ACTION_PREFIX_URL:null,DESKTOP_RENDER_PREFIX_URL:null,JAVASCRIPT_ARG_QUOTE:"&"+"quot;",PORTLET_REQUEST_ACTION:"action",PORTLET_REQUEST_RENDER:"render",JETSPEED_DO_NOTHING_ACTION:"javascript:jetspeed.doNothingNav()",parseContentUrl:function(_6a){
 if(this.DESKTOP_ACTION_PREFIX_URL==null){
 this.DESKTOP_ACTION_PREFIX_URL=jetspeed.url.basePortalUrl()+jetspeed.url.path.ACTION;
 }
@@ -501,358 +525,358 @@
 this.DESKTOP_RENDER_PREFIX_URL=jetspeed.url.basePortalUrl()+jetspeed.url.path.RENDER;
 }
 var op=null;
-var _66=_64;
-var _67=null;
-if(_64&&_64.length>this.DESKTOP_ACTION_PREFIX_URL.length&&_64.indexOf(this.DESKTOP_ACTION_PREFIX_URL)==0){
+var _6c=_6a;
+var _6d=null;
+if(_6a&&_6a.length>this.DESKTOP_ACTION_PREFIX_URL.length&&_6a.indexOf(this.DESKTOP_ACTION_PREFIX_URL)==0){
 op=jetspeed.portleturl.PORTLET_REQUEST_ACTION;
 }else{
-if(_64&&_64.length>this.DESKTOP_RENDER_PREFIX_URL.length&&_64.indexOf(this.DESKTOP_RENDER_PREFIX_URL)==0){
+if(_6a&&_6a.length>this.DESKTOP_RENDER_PREFIX_URL.length&&_6a.indexOf(this.DESKTOP_RENDER_PREFIX_URL)==0){
 op=jetspeed.portleturl.PORTLET_REQUEST_RENDER;
 }
 }
 if(op!=null){
-_67=jetspeed.url.getQueryParameter(_64,"entity");
+_6d=jetspeed.url.getQueryParameter(_6a,"entity");
 }
-if(!jetspeed.url.urlStartsWithHttp(_66)){
-_66=null;
+if(!jetspeed.url.urlStartsWithHttp(_6c)){
+_6c=null;
 }
-return {url:_66,operation:op,portletEntityId:_67};
-},genPseudoUrl:function(_68,_69){
-if(!_68||!_68.url||!_68.portletEntityId){
+return {url:_6c,operation:op,portletEntityId:_6d};
+},genPseudoUrl:function(_6e,_6f){
+if(!_6e||!_6e.url||!_6e.portletEntityId){
 return null;
 }
-var _6a=null;
-if(_69){
-_6a=jetspeed.portleturl.JETSPEED_DO_NOTHING_ACTION;
+var _70=null;
+if(_6f){
+_70=jetspeed.portleturl.JETSPEED_DO_NOTHING_ACTION;
 }else{
-_6a="javascript:";
-var _6b=false;
-if(_68.operation==jetspeed.portleturl.PORTLET_REQUEST_ACTION){
-_6a+="doAction(\"";
+_70="javascript:";
+var _71=false;
+if(_6e.operation==jetspeed.portleturl.PORTLET_REQUEST_ACTION){
+_70+="doAction(\"";
 }else{
-if(_68.operation==jetspeed.portleturl.PORTLET_REQUEST_RENDER){
-_6a+="doRender(\"";
+if(_6e.operation==jetspeed.portleturl.PORTLET_REQUEST_RENDER){
+_70+="doRender(\"";
 }else{
-_6b=true;
+_71=true;
 }
 }
-if(_6b){
+if(_71){
 return null;
 }
-_6a+=_68.url+"\",\""+_68.portletEntityId+"\"";
-_6a+=")";
+_70+=_6e.url+"\",\""+_6e.portletEntityId+"\"";
+_70+=")";
 }
-return _6a;
+return _70;
 }};
 jetspeed.doNothingNav=function(){
 false;
 };
-jetspeed.loadPortletDecorationStyles=function(_6c,_6d,_6e){
-var _6f=null;
-var _70=_6d.portletDecorationsConfig;
-if(_6c&&_70){
-_6f=_70[_6c];
-}
-if(_6f==null&&!_6e){
-var _71=_6d.portletDecorationsAllowed;
-for(var i=0;i<_71.length;i++){
-_6c=_71[i];
-_6f=_70[_6c];
-if(_6f!=null){
+jetspeed.loadPortletDecorationStyles=function(_72,_73,_74){
+var _75=null;
+var _76=_73.portletDecorationsConfig;
+if(_72&&_76){
+_75=_76[_72];
+}
+if(_75==null&&!_74){
+var _77=_73.portletDecorationsAllowed;
+for(var i=0;i<_77.length;i++){
+_72=_77[i];
+_75=_76[_72];
+if(_75!=null){
 break;
 }
 }
 }
-if(_6f!=null&&!_6f._initialized){
-var _73=jetspeed.prefs.getPortletDecorationBaseUrl(_6c);
-_6f._initialized=true;
-_6f.cssPathCommon=new dojo.uri.Uri(_73+"/css/styles.css");
-_6f.cssPathDesktop=new dojo.uri.Uri(_73+"/css/desktop.css");
-dojo.html.insertCssFile(_6f.cssPathCommon,null,true);
-dojo.html.insertCssFile(_6f.cssPathDesktop,null,true);
-}
-return _6f;
-};
-jetspeed.loadPortletDecorationConfig=function(_74,_75,_76){
-var _77={};
-_75.portletDecorationsConfig[_74]=_77;
-_77.name=_74;
-_77.windowActionButtonOrder=_75.windowActionButtonOrder;
-_77.windowActionNotPortlet=_75.windowActionNotPortlet;
-_77.windowActionButtonMax=_75.windowActionButtonMax;
-_77.windowActionButtonTooltip=_75.windowActionButtonTooltip;
-_77.windowActionMenuOrder=_75.windowActionMenuOrder;
-_77.windowActionNoImage=_75.windowActionNoImage;
-_77.windowIconEnabled=_75.windowIconEnabled;
-_77.windowIconPath=_75.windowIconPath;
-_77.windowTitlebar=_75.windowTitlebar;
-_77.windowResizebar=_75.windowResizebar;
-_77.dNodeClass=_76.P_CLASS+" "+_74+" "+_76.PWIN_CLASS+" "+_76.PWIN_CLASS+"-"+_74;
-_77.cNodeClass=_76.P_CLASS+" "+_74+" "+_76.PWIN_CLIENT_CLASS;
-if(_75.portletDecorationsProperties){
-var _78=_75.portletDecorationsProperties[_74];
-if(_78){
-for(var _79 in _78){
-_77[_79]=_78[_79];
-}
-if(_78.windowActionNoImage!=null){
-var _7a={};
-for(var i=0;i<_78.windowActionNoImage.length;i++){
-_7a[_78.windowActionNoImage[i]]=true;
-}
-_77.windowActionNoImage=_7a;
-}
-if(_78.windowIconPath!=null){
-_77.windowIconPath=dojo.string.trim(_78.windowIconPath);
-if(_77.windowIconPath==null||_77.windowIconPath.length==0){
-_77.windowIconPath=null;
-}else{
-var _7c=_77.windowIconPath;
-var _7d=_7c.charAt(0);
-if(_7d!="/"){
-_7c="/"+_7c;
-}
-var _7e=_7c.charAt(_7c.length-1);
-if(_7e!="/"){
-_7c=_7c+"/";
-}
-_77.windowIconPath=_7c;
+if(_75!=null&&!_75._initialized){
+var _79=jetspeed.prefs.getPortletDecorationBaseUrl(_72);
+_75._initialized=true;
+_75.cssPathCommon=new dojo.uri.Uri(_79+"/css/styles.css");
+_75.cssPathDesktop=new dojo.uri.Uri(_79+"/css/desktop.css");
+dojo.html.insertCssFile(_75.cssPathCommon,null,true);
+dojo.html.insertCssFile(_75.cssPathDesktop,null,true);
+}
+return _75;
+};
+jetspeed.loadPortletDecorationConfig=function(_7a,_7b,_7c){
+var _7d={};
+_7b.portletDecorationsConfig[_7a]=_7d;
+_7d.name=_7a;
+_7d.windowActionButtonOrder=_7b.windowActionButtonOrder;
+_7d.windowActionNotPortlet=_7b.windowActionNotPortlet;
+_7d.windowActionButtonMax=_7b.windowActionButtonMax;
+_7d.windowActionButtonTooltip=_7b.windowActionButtonTooltip;
+_7d.windowActionMenuOrder=_7b.windowActionMenuOrder;
+_7d.windowActionNoImage=_7b.windowActionNoImage;
+_7d.windowIconEnabled=_7b.windowIconEnabled;
+_7d.windowIconPath=_7b.windowIconPath;
+_7d.windowTitlebar=_7b.windowTitlebar;
+_7d.windowResizebar=_7b.windowResizebar;
+_7d.dNodeClass=_7c.P_CLASS+" "+_7a+" "+_7c.PWIN_CLASS+" "+_7c.PWIN_CLASS+"-"+_7a;
+_7d.cNodeClass=_7c.P_CLASS+" "+_7a+" "+_7c.PWIN_CLIENT_CLASS;
+if(_7b.portletDecorationsProperties){
+var _7e=_7b.portletDecorationsProperties[_7a];
+if(_7e){
+for(var _7f in _7e){
+_7d[_7f]=_7e[_7f];
+}
+if(_7e.windowActionNoImage!=null){
+var _80={};
+for(var i=0;i<_7e.windowActionNoImage.length;i++){
+_80[_7e.windowActionNoImage[i]]=true;
+}
+_7d.windowActionNoImage=_80;
+}
+if(_7e.windowIconPath!=null){
+_7d.windowIconPath=dojo.string.trim(_7e.windowIconPath);
+if(_7d.windowIconPath==null||_7d.windowIconPath.length==0){
+_7d.windowIconPath=null;
+}else{
+var _82=_7d.windowIconPath;
+var _83=_82.charAt(0);
+if(_83!="/"){
+_82="/"+_82;
+}
+var _84=_82.charAt(_82.length-1);
+if(_84!="/"){
+_82=_82+"/";
+}
+_7d.windowIconPath=_82;
 }
 }
 }
 }
 };
-jetspeed.notifyRetrieveAllMenusFinished=function(_7f,_80){
-var _81=jetspeed;
-_81.pageNavigateSuppress=true;
+jetspeed.notifyRetrieveAllMenusFinished=function(_85,_86){
+var _87=jetspeed;
+_87.pageNavigateSuppress=true;
 if(dojo.lang.isFunction(window.doMenuBuildAll)){
 window.doMenuBuildAll();
 }
-var _82=_81.page.getMenuNames();
-for(var i=0;i<_82.length;i++){
-var _84=_82[i];
-var _85=dojo.widget.byId(_81.id.MENU_WIDGET_ID_PREFIX+_84);
-if(_85){
-_85.createJetspeedMenu(_81.page.getMenu(_84));
+var _88=_87.page.getMenuNames();
+for(var i=0;i<_88.length;i++){
+var _8a=_88[i];
+var _8b=dojo.widget.byId(_87.id.MENU_WIDGET_ID_PREFIX+_8a);
+if(_8b){
+_8b.createJetspeedMenu(_87.page.getMenu(_8a));
 }
 }
-if(!_80){
-_81.url.loadingIndicatorHide();
+if(!_86){
+_87.url.loadingIndicatorHide();
 }
-_81.pageNavigateSuppress=false;
+_87.pageNavigateSuppress=false;
 };
-jetspeed.notifyRetrieveMenuFinished=function(_86){
+jetspeed.notifyRetrieveMenuFinished=function(_8c){
 if(dojo.lang.isFunction(window.doMenuBuild)){
-window.doMenuBuild(_86);
+window.doMenuBuild(_8c);
 }
 };
-jetspeed.menuNavClickWidget=function(_87,_88){
-if(!_87){
+jetspeed.menuNavClickWidget=function(_8d,_8e){
+if(!_8d){
 return;
 }
-if(dojo.lang.isString(_87)){
-var _89=_87;
-_87=dojo.widget.byId(_89);
-if(!_87){
-dojo.raise("Tab widget not found: "+_89);
+if(dojo.lang.isString(_8d)){
+var _8f=_8d;
+_8d=dojo.widget.byId(_8f);
+if(!_8d){
+dojo.raise("Tab widget not found: "+_8f);
 }
 }
-if(_87){
-var _8a=_87.jetspeedmenuname;
-if(!_8a&&_87.extraArgs){
-_8a=_87.extraArgs.jetspeedmenuname;
+if(_8d){
+var _90=_8d.jetspeedmenuname;
+if(!_90&&_8d.extraArgs){
+_90=_8d.extraArgs.jetspeedmenuname;
 }
-if(!_8a){
-dojo.raise("Tab widget is invalid: "+_87.widgetId);
+if(!_90){
+dojo.raise("Tab widget is invalid: "+_8d.widgetId);
 }
-var _8b=jetspeed.page.getMenu(_8a);
-if(!_8b){
-dojo.raise("Tab widget "+_87.widgetId+" no menu: "+_8a);
+var _91=jetspeed.page.getMenu(_90);
+if(!_91){
+dojo.raise("Tab widget "+_8d.widgetId+" no menu: "+_90);
 }
-var _8c=_8b.getOptionByIndex(_88);
-jetspeed.menuNavClick(_8c);
+var _92=_91.getOptionByIndex(_8e);
+jetspeed.menuNavClick(_92);
 }
 };
 jetspeed.pageNavigateSuppress=false;
-jetspeed.pageNavigate=function(_8d,_8e,_8f){
-var _90=jetspeed;
-if(!_8d||_90.pageNavigateSuppress){
+jetspeed.pageNavigate=function(_93,_94,_95){
+var _96=jetspeed;
+if(!_93||_96.pageNavigateSuppress){
 return;
 }
-if(typeof _8f=="undefined"){
-_8f=false;
+if(typeof _95=="undefined"){
+_95=false;
 }
-if(!_8f&&_90.page&&_90.page.equalsPageUrl(_8d)){
+if(!_95&&_96.page&&_96.page.equalsPageUrl(_93)){
 return;
 }
-_8d=_90.page.makePageUrl(_8d);
-if(_8e=="top"){
-top.location.href=_8d;
+_93=_96.page.makePageUrl(_93);
+if(_94=="top"){
+top.location.href=_93;
 }else{
-if(_8e=="parent"){
-parent.location.href=_8d;
+if(_94=="parent"){
+parent.location.href=_93;
 }else{
-window.location.href=_8d;
+window.location.href=_93;
 }
 }
 };
-jetspeed.getActionsForPortlet=function(_91){
-if(_91==null){
+jetspeed.getActionsForPortlet=function(_97){
+if(_97==null){
 return;
 }
-jetspeed.getActionsForPortlets([_91]);
+jetspeed.getActionsForPortlets([_97]);
 };
-jetspeed.getActionsForPortlets=function(_92){
-var _93=jetspeed;
-if(_92==null){
-_92=_93.page.getPortletIds();
+jetspeed.getActionsForPortlets=function(_98){
+var _99=jetspeed;
+if(_98==null){
+_98=_99.page.getPortletIds();
 }
-var _94=new _93.om.PortletActionsCL(_92);
-var _95="?action=getactions";
-for(var i=0;i<_92.length;i++){
-_95+="&id="+_92[i];
+var _9a=new _99.om.PortletActionsCL(_98);
+var _9b="?action=getactions";
+for(var i=0;i<_98.length;i++){
+_9b+="&id="+_98[i];
 }
-var _97=_93.url.basePortalUrl()+_93.url.path.AJAX_API+_93.page.getPath()+_95;
-var _98="text/xml";
-var _99=new _93.om.Id("getactions",{});
-_93.url.retrieveContent({url:_97,mimetype:_98},_94,_99,_93.debugContentDumpIds);
+var _9d=_99.url.basePortalUrl()+_99.url.path.AJAX_API+_99.page.getPath()+_9b;
+var _9e="text/xml";
+var _9f=new _99.om.Id("getactions",{});
+_99.url.retrieveContent({url:_9d,mimetype:_9e},_9a,_9f,_99.debugContentDumpIds);
 };
-jetspeed.changeActionForPortlet=function(_9a,_9b,_9c,_9d,_9e){
-var _9f=jetspeed;
-if(_9a==null){
+jetspeed.changeActionForPortlet=function(_a0,_a1,_a2,_a3,_a4){
+var _a5=jetspeed;
+if(_a0==null){
 return;
 }
-if(_9d==null){
-_9d=new _9f.om.PortletChangeActionCL(_9a);
+if(_a3==null){
+_a3=new _a5.om.PortletChangeActionCL(_a0);
 }
-var _a0="?action=window&id="+(_9a!=null?_9a:"");
-if(_9b!=null){
-_a0+="&state="+_9b;
+var _a6="?action=window&id="+(_a0!=null?_a0:"");
+if(_a1!=null){
+_a6+="&state="+_a1;
 }
-if(_9c!=null){
-_a0+="&mode="+_9c;
+if(_a2!=null){
+_a6+="&mode="+_a2;
 }
-var _a1=_9e;
-if(!_a1){
-_a1=_9f.page.getPath();
+var _a7=_a4;
+if(!_a7){
+_a7=_a5.page.getPath();
 }
-var _a2=_9f.url.basePortalUrl()+_9f.url.path.AJAX_API+_a1+_a0;
-var _a3="text/xml";
-var _a4=new _9f.om.Id("changeaction",{});
-_9f.url.retrieveContent({url:_a2,mimetype:_a3},_9d,_a4,_9f.debugContentDumpIds);
+var _a8=_a5.url.basePortalUrl()+_a5.url.path.AJAX_API+_a7+_a6;
+var _a9="text/xml";
+var _aa=new _a5.om.Id("changeaction",{});
+_a5.url.retrieveContent({url:_a8,mimetype:_a9},_a3,_aa,_a5.debugContentDumpIds);
 };
-jetspeed.getUserInfo=function(_a5){
-var _a6=jetspeed;
-var _a7=new _a6.om.UserInfoCL();
-var _a8="?action=getuserinfo";
-var _a9=_a6.url.basePortalUrl()+_a6.url.path.AJAX_API+_a6.page.getPath()+_a8;
-var _aa="text/xml";
-var _ab=new _a6.om.Id("getuserinfo",{});
-_a6.url.retrieveContent({url:_a9,mimetype:_aa,sync:_a5},_a7,_ab,_a6.debugContentDumpIds);
+jetspeed.getUserInfo=function(_ab){
+var _ac=jetspeed;
+var _ad=new _ac.om.UserInfoCL();
+var _ae="?action=getuserinfo";
+var _af=_ac.url.basePortalUrl()+_ac.url.path.AJAX_API+_ac.page.getPath()+_ae;
+var _b0="text/xml";
+var _b1=new _ac.om.Id("getuserinfo",{});
+_ac.url.retrieveContent({url:_af,mimetype:_b0,sync:_ab},_ad,_b1,_ac.debugContentDumpIds);
 };
-jetspeed.editPageInitiate=function(_ac,_ad){
-var _ae=_ac.page;
-if(!_ae.editMode){
-var _af=_ac.css;
-var _b0=true;
-var _b1=_ac.url.getQueryParameter(window.location.href,_ac.id.PORTAL_ORIGINATE_PARAMETER);
-if(_b1!=null&&_b1=="true"){
-_b0=false;
+jetspeed.editPageInitiate=function(_b2,_b3){
+var _b4=_b2.page;
+if(!_b4.editMode){
+var _b5=_b2.css;
+var _b6=true;
+var _b7=_b2.url.getQueryParameter(window.location.href,_b2.id.PORTAL_ORIGINATE_PARAMETER);
+if(_b7!=null&&_b7=="true"){
+_b6=false;
 }
-_ae.editMode=true;
-var _b2=dojo.widget.byId(_ac.id.PG_ED_WID);
-if(_ac.UAie6){
-_ae.displayAllPWins(true);
+_b4.editMode=true;
+var _b8=dojo.widget.byId(_b2.id.PG_ED_WID);
+if(_b2.UAie6){
+_b4.displayAllPWins(true);
 }
-var _b3=((_ad!=null&&_ad.editModeMove)?true:false);
-var _b4=_ae._perms(_ac.prefs,-1,String.fromCharCode);
-if(_b4&&_b4[2]&&_b4[2].length>0){
-if(!_ac.page._getU()){
-_ac.getUserInfo(true);
+var _b9=((_b3!=null&&_b3.editModeMove)?true:false);
+var _ba=_b4._perms(_b2.prefs,-1,String.fromCharCode);
+if(_ba&&_ba[2]&&_ba[2].length>0){
+if(!_b2.page._getU()){
+_b2.getUserInfo(true);
 }
 }
-if(_b2==null){
+if(_b8==null){
 try{
-_ac.url.loadingIndicatorShow("loadpageeditor",true);
-_b2=dojo.widget.createWidget("jetspeed:PageEditor",{widgetId:_ac.id.PG_ED_WID,editorInitiatedFromDesktop:_b0,editModeMove:_b3});
-var _b5=document.getElementById(_ac.id.COLUMNS);
-_b5.insertBefore(_b2.domNode,_b5.firstChild);
+_b2.url.loadingIndicatorShow("loadpageeditor",true);
+_b8=dojo.widget.createWidget("jetspeed:PageEditor",{widgetId:_b2.id.PG_ED_WID,editorInitiatedFromDesktop:_b6,editModeMove:_b9});
+var _bb=document.getElementById(_b2.id.COLUMNS);
+_bb.insertBefore(_b8.domNode,_bb.firstChild);
 }
 catch(e){
-_ac.url.loadingIndicatorHide();
-if(_ac.UAie6){
-_ae.displayAllPWins();
+_b2.url.loadingIndicatorHide();
+if(_b2.UAie6){
+_b4.displayAllPWins();
 }
 }
 }else{
-_b2.editPageShow();
+_b8.editPageShow();
 }
-_ae.syncPageControls(_ac);
+_b4.syncPageControls(_b2);
 }
 };
-jetspeed.editPageTerminate=function(_b6,_b7){
-var _b8=_b6.page;
-if(_b8.editMode){
-var _b9=null;
-var _ba=_b6.css;
-var _bb=dojo.widget.byId(_b6.id.PG_ED_WID);
-if(_bb!=null&&!_bb.editorInitiatedFromDesktop){
-var _bc=_b8.getPageUrl(true);
-_bc=_b6.url.removeQueryParameter(_bc,_b6.id.PG_ED_PARAM);
-_bc=_b6.url.removeQueryParameter(_bc,_b6.id.PORTAL_ORIGINATE_PARAMETER);
-_b9=_bc;
+jetspeed.editPageTerminate=function(_bc,_bd){
+var _be=_bc.page;
+if(_be.editMode){
+var _bf=null;
+var _c0=_bc.css;
+var _c1=dojo.widget.byId(_bc.id.PG_ED_WID);
+if(_c1!=null&&!_c1.editorInitiatedFromDesktop){
+var _c2=_be.getPageUrl(true);
+_c2=_bc.url.removeQueryParameter(_c2,_bc.id.PG_ED_PARAM);
+_c2=_bc.url.removeQueryParameter(_c2,_bc.id.PORTAL_ORIGINATE_PARAMETER);
+_bf=_c2;
 }else{
-var _bd=_b6.url.getQueryParameter(window.location.href,_b6.id.PG_ED_PARAM);
-if(_bd!=null&&_bd=="true"){
-var _be=window.location.href;
-_be=_b6.url.removeQueryParameter(_be,_b6.id.PG_ED_PARAM);
-_b9=_be;
+var _c3=_bc.url.getQueryParameter(window.location.href,_bc.id.PG_ED_PARAM);
+if(_c3!=null&&_c3=="true"){
+var _c4=window.location.href;
+_c4=_bc.url.removeQueryParameter(_c4,_bc.id.PG_ED_PARAM);
+_bf=_c4;
 }
 }
-if(_b9!=null){
-_b9=_b9.toString();
+if(_bf!=null){
+_bf=_bf.toString();
 }
-_b8.editMode=false;
-_b6.changeActionForPortlet(_b8.rootFragmentId,null,_b6.id.ACT_VIEW,new _b6.om.PageChangeActionCL(_b9));
-if(_b9==null){
-if(_bb!=null){
-_bb.editMoveModeExit(true);
-_bb.editPageHide();
+_be.editMode=false;
+_bc.changeActionForPortlet(_be.rootFragmentId,null,_bc.id.ACT_VIEW,new _bc.om.PageChangeActionCL(_bf));
+if(_bf==null){
+if(_c1!=null){
+_c1.editMoveModeExit(true);
+_c1.editPageHide();
 }
-_b8.syncPageControls(_b6);
+_be.syncPageControls(_bc);
 }
 }
 };
 jetspeed.om.PortletContentRetriever=function(){
 };
-jetspeed.om.PortletContentRetriever.prototype={getContent:function(_bf,_c0,_c1,_c2){
-if(!_bf){
-_bf={};
+jetspeed.om.PortletContentRetriever.prototype={getContent:function(_c5,_c6,_c7,_c8){
+if(!_c5){
+_c5={};
 }
-jetspeed.url.retrieveContent(_bf,_c0,_c1,_c2);
+jetspeed.url.retrieveContent(_c5,_c6,_c7,_c8);
 }};
-jetspeed.om.PageCLCreateWidget=function(_c3,_c4){
-if(typeof _c3=="undefined"){
-_c3=false;
-}
-this.isPageUpdate=_c3;
-this.initEditModeConf=_c4;
-};
-jetspeed.om.PageCLCreateWidget.prototype={notifySuccess:function(_c5,_c6,_c7){
-_c7.loadFromPSML(_c5,this.isPageUpdate,this.initEditModeConf);
-},notifyFailure:function(_c8,_c9,_ca,_cb){
-dojo.raise("PageCLCreateWidget error url: "+_ca+" type: "+_c8+jetspeed.formatError(_c9));
+jetspeed.om.PageCLCreateWidget=function(_c9,_ca){
+if(typeof _c9=="undefined"){
+_c9=false;
+}
+this.isPageUpdate=_c9;
+this.initEditModeConf=_ca;
+};
+jetspeed.om.PageCLCreateWidget.prototype={notifySuccess:function(_cb,_cc,_cd){
+_cd.loadFromPSML(_cb,this.isPageUpdate,this.initEditModeConf);
+},notifyFailure:function(_ce,_cf,_d0,_d1){
+dojo.raise("PageCLCreateWidget error url: "+_d0+" type: "+_ce+jetspeed.formatError(_cf));
 }};
-jetspeed.om.Page=function(_cc,_cd,_ce,_cf,_d0){
-if(_cc!=null&&_cd!=null){
-this.requiredLayoutDecorator=_cc;
-this.setPsmlPathFromDocumentUrl(_cd);
-this.pageUrlFallback=_cd;
+jetspeed.om.Page=function(_d2,_d3,_d4,_d5,_d6){
+if(_d2!=null&&_d3!=null){
+this.requiredLayoutDecorator=_d2;
+this.setPsmlPathFromDocumentUrl(_d3);
+this.pageUrlFallback=_d3;
 }else{
 this.setPsmlPathFromDocumentUrl();
 }
-if(typeof _ce!="undefined"){
-this.addToHistory=_ce;
+if(typeof _d4!="undefined"){
+this.addToHistory=_d4;
 }
 this.layouts={};
 this.columns=[];
@@ -861,382 +885,382 @@
 this.portlet_count=0;
 this.portlet_windows={};
 this.portlet_window_count=0;
-if(_d0!=null){
-this.iframeCoverByWinId=_d0;
+if(_d6!=null){
+this.iframeCoverByWinId=_d6;
 }else{
 this.iframeCoverByWinId={};
 }
 this.portlet_tiled_high_z=10;
 this.portlet_untiled_high_z=-1;
 this.menus=[];
-if(_cf!=null){
-this.tooltipMgr=_cf;
+if(_d5!=null){
+this.tooltipMgr=_d5;
 }else{
 this.tooltipMgr=dojo.widget.createWidget("jetspeed:PortalTooltipManager",{isContainer:false,fastMixIn:true});
 jetspeed.docBody.appendChild(this.tooltipMgr.domNode);
 }
 };
 dojo.lang.extend(jetspeed.om.Page,{psmlPath:null,name:null,path:null,pageUrl:null,pagePathAndQuery:null,title:null,shortTitle:null,layoutDecorator:null,portletDecorator:null,uIA:true,requiredLayoutDecorator:null,pageUrlFallback:null,addToHistory:false,layouts:null,columns:null,portlets:null,portletsByPageColumn:null,editMode:false,themeDefinitions:null,menus:null,getId:function(){
-var _d1=(this.name!=null&&this.name.length>0?this.name:null);
-if(!_d1){
+var _d7=(this.name!=null&&this.name.length>0?this.name:null);
+if(!_d7){
 this.getPsmlUrl();
-_d1=this.psmlPath;
+_d7=this.psmlPath;
 }
-return "page-"+_d1;
-},setPsmlPathFromDocumentUrl:function(_d2){
-var _d3=jetspeed;
-var _d4=_d3.url.path.AJAX_API;
-var _d5=null;
-if(_d2==null){
-_d5=window.location.pathname;
-if(!djConfig.preventBackButtonFix&&_d3.prefs.ajaxPageNavigation){
-var _d6=window.location.hash;
-if(_d6!=null&&_d6.length>0){
-if(_d6.indexOf("#")==0){
-_d6=(_d6.length>1?_d6.substring(1):"");
+return "page-"+_d7;
+},setPsmlPathFromDocumentUrl:function(_d8){
+var _d9=jetspeed;
+var _da=_d9.url.path.AJAX_API;
+var _db=null;
+if(_d8==null){
+_db=window.location.pathname;
+if(!djConfig.preventBackButtonFix&&_d9.prefs.ajaxPageNavigation){
+var _dc=window.location.hash;
+if(_dc!=null&&_dc.length>0){
+if(_dc.indexOf("#")==0){
+_dc=(_dc.length>1?_dc.substring(1):"");
 }
-if(_d6!=null&&_d6.length>1&&_d6.indexOf("/")==0){
-this.psmlPath=_d3.url.path.AJAX_API+_d6;
+if(_dc!=null&&_dc.length>1&&_dc.indexOf("/")==0){
+this.psmlPath=_d9.url.path.AJAX_API+_dc;
 return;
 }
 }
 }
 }else{
-var _d7=_d3.url.parse(_d2);
-_d5=_d7.path;
+var _dd=_d9.url.parse(_d8);
+_db=_dd.path;
 }
-var _d8=_d3.url.path.DESKTOP;
-var _d9=_d5.indexOf(_d8);
-if(_d9!=-1&&_d5.length>(_d9+_d8.length)){
-_d4=_d4+_d5.substring(_d9+_d8.length);
+var _de=_d9.url.path.DESKTOP;
+var _df=_db.indexOf(_de);
+if(_df!=-1&&_db.length>(_df+_de.length)){
+_da=_da+_db.substring(_df+_de.length);
 }
-this.psmlPath=_d4;
+this.psmlPath=_da;
 },getPsmlUrl:function(){
-var _da=jetspeed;
+var _e0=jetspeed;
 if(this.psmlPath==null){
 this.setPsmlPathFromDocumentUrl();
 }
-var _db=_da.url.basePortalUrl()+this.psmlPath;
-if(_da.prefs.printModeOnly!=null){
-_db=_da.url.addQueryParameter(_db,"layoutid",_da.prefs.printModeOnly.layout);
-_db=_da.url.addQueryParameter(_db,"entity",_da.prefs.printModeOnly.entity).toString();
+var _e1=_e0.url.basePortalUrl()+this.psmlPath;
+if(_e0.prefs.printModeOnly!=null){
+_e1=_e0.url.addQueryParameter(_e1,"layoutid",_e0.prefs.printModeOnly.layout);
+_e1=_e0.url.addQueryParameter(_e1,"entity",_e0.prefs.printModeOnly.entity).toString();
 }
-return _db;
+return _e1;
 },_setU:function(u){
 this._u=u;
 },_getU:function(){
 return this._u;
-},retrievePsml:function(_dd){
-var _de=jetspeed;
-if(_dd==null){
-_dd=new _de.om.PageCLCreateWidget();
-}
-var _df=this.getPsmlUrl();
-var _e0="text/xml";
-if(_de.debug.retrievePsml){
-dojo.debug("retrievePsml url: "+_df);
-}
-_de.url.retrieveContent({url:_df,mimetype:_e0},_dd,this,_de.debugContentDumpIds);
-},loadFromPSML:function(_e1,_e2,_e3){
+},retrievePsml:function(_e3){
 var _e4=jetspeed;
-var _e5=_e4.prefs;
-var _e6=dojo;
-var _e7=_e5.printModeOnly;
-if(djConfig.isDebug&&_e4.debug.profile&&_e7==null){
-_e6.profile.start("loadFromPSML");
-}
-var _e8=this._parsePSML(_e1);
-jetspeed.rootfrag=_e8;
-if(_e8==null){
+if(_e3==null){
+_e3=new _e4.om.PageCLCreateWidget();
+}
+var _e5=this.getPsmlUrl();
+var _e6="text/xml";
+if(_e4.debug.retrievePsml){
+dojo.debug("retrievePsml url: "+_e5);
+}
+_e4.url.retrieveContent({url:_e5,mimetype:_e6},_e3,this,_e4.debugContentDumpIds);
+},loadFromPSML:function(_e7,_e8,_e9){
+var _ea=jetspeed;
+var _eb=_ea.prefs;
+var _ec=dojo;
+var _ed=_eb.printModeOnly;
+if(djConfig.isDebug&&_ea.debug.profile&&_ed==null){
+_ec.profile.start("loadFromPSML");
+}
+var _ee=this._parsePSML(_e7);
+jetspeed.rootfrag=_ee;
+if(_ee==null){
 return;
 }
 this.portletsByPageColumn={};
-var _e9={};
+var _ef={};
 if(this.portletDecorator){
-_e9[this.portletDecorator]=true;
+_ef[this.portletDecorator]=true;
 }
-this.columnsStructure=this._layoutCreateModel(_e8,0,null,this.portletsByPageColumn,true,_e9,_e6,_e4);
-this.rootFragmentId=_e8.id;
+this.columnsStructure=this._layoutCreateModel(_ee,0,null,this.portletsByPageColumn,true,_ef,_ec,_ea);
+this.rootFragmentId=_ee.id;
 this.editMode=false;
-for(var _ea in _e9){
-_e4.loadPortletDecorationStyles(_ea,_e5,true);
+for(var _f0 in _ef){
+_ea.loadPortletDecorationStyles(_f0,_eb,true);
 }
-if(_e5.windowTiling){
-this._createColsStart(document.getElementById(_e4.id.DESKTOP),_e4.id.COLUMNS);
+if(_eb.windowTiling){
+this._createColsStart(document.getElementById(_ea.id.DESKTOP),_ea.id.COLUMNS);
 }
-this.createLayoutInfo(_e4);
-var _eb=this.portletsByPageColumn["z"];
-if(_eb){
-_eb.sort(this._loadPortletZIndexCompare);
+this.createLayoutInfo(_ea);
+var _f1=this.portletsByPageColumn["z"];
+if(_f1){
+_f1.sort(this._loadPortletZIndexCompare);
 }
-if(typeof _e3=="undefined"){
-_e3=null;
+if(typeof _e9=="undefined"){
+_e9=null;
 }
-if(_e3!=null||(this.actions!=null&&this.actions[_e4.id.ACT_VIEW]!=null)){
-if(!this.isUA()&&this.actions!=null&&(this.actions[_e4.id.ACT_EDIT]!=null||this.actions[_e4.id.ACT_VIEW]!=null)){
-if(_e3==null){
-_e3={};
+if(_e9!=null||(this.actions!=null&&this.actions[_ea.id.ACT_VIEW]!=null)){
+if(!this.isUA()&&this.actions!=null&&(this.actions[_ea.id.ACT_EDIT]!=null||this.actions[_ea.id.ACT_VIEW]!=null)){
+if(_e9==null){
+_e9={};
 }
-if((typeof _e3.editModeMove=="undefined")&&this._perms(_e5,_e4.id.PM_MZ_P,String.fromCharCode)){
-_e3.editModeMove=true;
+if((typeof _e9.editModeMove=="undefined")&&this._perms(_eb,_ea.id.PM_MZ_P,String.fromCharCode)){
+_e9.editModeMove=true;
 }
-var _ec=_e4.url.parse(window.location.href);
-if(!_e3.editModeMove){
-var _ed=_e4.url.getQueryParameter(_ec,_e4.id.PG_ED_STATE_PARAM);
-if(_ed!=null){
-_ed="0x"+_ed;
-if((_ed&_e4.id.PM_MZ_P)>0){
-_e3.editModeMove=true;
+var _f2=_ea.url.parse(window.location.href);
+if(!_e9.editModeMove){
+var _f3=_ea.url.getQueryParameter(_f2,_ea.id.PG_ED_STATE_PARAM);
+if(_f3!=null){
+_f3="0x"+_f3;
+if((_f3&_ea.id.PM_MZ_P)>0){
+_e9.editModeMove=true;
 }
 }
 }
-if(_e3.editModeMove&&!_e3.windowTitles){
-var _ee=_e4.url.getQueryParameter(_ec,_e4.id.PG_ED_TITLES_PARAM);
-if(_ee!=null){
-var _ef=_ee.length;
-var _f0=new Array(_ef/2);
-var _f1=String.fromCharCode;
-var _f2=0,chI=0;
-while(chI<(_ef-1)){
-_f0[_f2]=_f1(Number("0x"+_ee.substring(chI,(chI+2))));
-_f2++;
+if(_e9.editModeMove&&!_e9.windowTitles){
+var _f4=_ea.url.getQueryParameter(_f2,_ea.id.PG_ED_TITLES_PARAM);
+if(_f4!=null){
+var _f5=_f4.length;
+var _f6=new Array(_f5/2);
+var _f7=String.fromCharCode;
+var _f8=0,chI=0;
+while(chI<(_f5-1)){
+_f6[_f8]=_f7(Number("0x"+_f4.substring(chI,(chI+2))));
+_f8++;
 chI+=2;
 }
-var _f4=null;
+var _fa=null;
 try{
-_f4=eval("({"+_f0.join("")+"})");
+_fa=eval("({"+_f6.join("")+"})");
 }
 catch(e){
 if(djConfig.isDebug){
-dojo.debug("cannot parse json: "+_f0.join(""));
+dojo.debug("cannot parse json: "+_f6.join(""));
 }
 }
-if(_f4!=null){
-var _f5=false;
-for(var _f6 in this.portlets){
-var _f7=this.portlets[_f6];
-if(_f7!=null&&!_f4[_f7.entityId]){
-_f5=true;
+if(_fa!=null){
+var _fb=false;
+for(var _fc in this.portlets){
+var _fd=this.portlets[_fc];
+if(_fd!=null&&!_fa[_fd.entityId]){
+_fb=true;
 break;
 }
 }
-if(!_f5){
-_e3.windowTitles=_f4;
+if(!_fb){
+_e9.windowTitles=_fa;
 }
 }
 }
 }
 }else{
-_e3=null;
+_e9=null;
 }
 }
-if(_e3!=null){
-_e4.url.loadingIndicatorShow("loadpageeditor",true);
+if(_e9!=null){
+_ea.url.loadingIndicatorShow("loadpageeditor",true);
 }
-var _f8=new _e4.PortletRenderer(true,true,_e2,null,true,_e3);
-_f8.renderAllTimeDistribute();
-},loadPostRender:function(_f9,_fa){
-var _fb=jetspeed;
-var _fc=_fb.prefs.printModeOnly;
-if(_fc==null){
+var _fe=new _ea.PortletRenderer(true,true,_e8,null,true,_e9);
+_fe.renderAllTimeDistribute();
+},loadPostRender:function(_ff,_100){
+var _101=jetspeed;
+var _102=_101.prefs.printModeOnly;
+if(_102==null){
 this._portletsInitWinState(this.portletsByPageColumn["z"]);
-this.retrieveMenuDeclarations(true,_f9,_fa);
+this.retrieveMenuDeclarations(true,_ff,_100);
 }else{
-for(var _fd in this.portlets){
-var _fe=this.portlets[_fd];
-if(_fe!=null){
-_fe.renderAction(null,_fc.action);
+for(var _103 in this.portlets){
+var _104=this.portlets[_103];
+if(_104!=null){
+_104.renderAction(null,_102.action);
 }
 break;
 }
-if(_f9){
-_fb.updatePageEnd();
+if(_ff){
+_101.updatePageEnd();
 }
 }
-_fb.ui.evtConnect("after",window,"onresize",_fb.ui.windowResizeMgr,"onResize",dojo.event);
-_fb.ui.windowResizeMgr.onResizeDelayedCompare();
-var _ff,_100=this.columns;
-if(_100){
-for(var i=0;i<_100.length;i++){
-_ff=_100[i].domNode;
-if(!_ff.childNodes||_ff.childNodes.length==0){
-_ff.style.height="1px";
+_101.ui.evtConnect("after",window,"onresize",_101.ui.windowResizeMgr,"onResize",dojo.event);
+_101.ui.windowResizeMgr.onResizeDelayedCompare();
+var _105,_106=this.columns;
+if(_106){
+for(var i=0;i<_106.length;i++){
+_105=_106[i].domNode;
+if(!_105.childNodes||_105.childNodes.length==0){
+_105.style.height="1px";
 }
 }
 }
-var _102=this.maximizedOnInit;
-if(_102!=null){
-var _103=this.getPWin(_102);
-if(_103==null){
+var _108=this.maximizedOnInit;
+if(_108!=null){
+var _109=this.getPWin(_108);
+if(_109==null){
 dojo.raise("no pWin to max");
 }else{
-dojo.lang.setTimeout(_103,_103._postCreateMaximizeWindow,500);
+dojo.lang.setTimeout(_109,_109._postCreateMaximizeWindow,500);
 }
 this.maximizedOnInit=null;
 }
-dojo.lang.setTimeout(_fb.url,_fb.url.loadingIndicatorStepPreload,1800);
-},loadPostRetrieveMenus:function(_104,_105){
-var _106=jetspeed;
-this.renderPageControls(_106);
-if(_105){
-_106.editPageInitiate(_106,_105);
+dojo.lang.setTimeout(_101.url,_101.url.loadingIndicatorStepPreload,1800);
+},loadPostRetrieveMenus:function(_10a,_10b){
+var _10c=jetspeed;
+this.renderPageControls(_10c);
+if(_10b){
+_10c.editPageInitiate(_10c,_10b);
 }
-if(_104){
-_106.updatePageEnd();
+if(_10a){
+_10c.updatePageEnd();
 }
-this.syncPageControls(_106);
+this.syncPageControls(_10c);
 },_parsePSML:function(psml){
-var _108=jetspeed;
-var _109=dojo;
-var _10a=psml.getElementsByTagName("page");
-if(!_10a||_10a.length>1||_10a[0]==null){
-_109.raise("<page>");
-}
-var _10b=_10a[0];
-var _10c=_10b.childNodes;
-var _10d=new RegExp("(name|path|profiledPath|title|short-title|uIA|npe)");
-var _10e=null;
-var _10f={};
-for(var i=0;i<_10c.length;i++){
-var _111=_10c[i];
-if(_111.nodeType!=1){
+var _10e=jetspeed;
+var _10f=dojo;
+var _110=psml.getElementsByTagName("page");
+if(!_110||_110.length>1||_110[0]==null){
+_10f.raise("<page>");
+}
+var _111=_110[0];
+var _112=_111.childNodes;
+var _113=new RegExp("(name|path|profiledPath|title|short-title|uIA|npe)");
+var _114=null;
+var _115={};
+for(var i=0;i<_112.length;i++){
+var _117=_112[i];
+if(_117.nodeType!=1){
 continue;
 }
-var _112=_111.nodeName;
-if(_112=="fragment"){
-_10e=_111;
+var _118=_117.nodeName;
+if(_118=="fragment"){
+_114=_117;
 }else{
-if(_112=="defaults"){
-this.layoutDecorator=_111.getAttribute("layout-decorator");
-var _113=_111.getAttribute("portlet-decorator");
-var _114=_108.prefs.portletDecorationsAllowed;
-if(!_114||_109.lang.indexOf(_114,_113)==-1){
-_113=_108.prefs.windowDecoration;
+if(_118=="defaults"){
+this.layoutDecorator=_117.getAttribute("layout-decorator");
+var _119=_117.getAttribute("portlet-decorator");
+var _11a=_10e.prefs.portletDecorationsAllowed;
+if(!_11a||_10f.lang.indexOf(_11a,_119)==-1){
+_119=_10e.prefs.windowDecoration;
 }
-this.portletDecorator=_113;
+this.portletDecorator=_119;
 }else{
-if(_112&&_112.match(_10d)){
-if(_112=="short-title"){
-_112="shortTitle";
+if(_118&&_118.match(_113)){
+if(_118=="short-title"){
+_118="shortTitle";
 }
-this[_112]=((_111&&_111.firstChild)?_111.firstChild.nodeValue:null);
+this[_118]=((_117&&_117.firstChild)?_117.firstChild.nodeValue:null);
 }else{
-if(_112=="action"){
-this._parsePSMLAction(_111,_10f);
+if(_118=="action"){
+this._parsePSMLAction(_117,_115);
 }
 }
 }
 }
 }
-this.actions=_10f;
-if(_10e==null){
-_109.raise("root frag");
+this.actions=_115;
+if(_114==null){
+_10f.raise("root frag");
 return null;
 }
 if(this.requiredLayoutDecorator!=null&&this.pageUrlFallback!=null){
 if(this.layoutDecorator!=this.requiredLayoutDecorator){
-if(_108.debug.ajaxPageNav){
-_109.debug("ajaxPageNavigation _parsePSML different layout decorator ("+this.requiredLayoutDecorator+" != "+this.layoutDecorator+") - fallback to normal page navigation - "+this.pageUrlFallback);
+if(_10e.debug.ajaxPageNav){
+_10f.debug("ajaxPageNavigation _parsePSML different layout decorator ("+this.requiredLayoutDecorator+" != "+this.layoutDecorator+") - fallback to normal page navigation - "+this.pageUrlFallback);
 }
-_108.pageNavigate(this.pageUrlFallback,null,true);
+_10e.pageNavigate(this.pageUrlFallback,null,true);
 return null;
 }else{
 if(this.addToHistory){
-var _115=this.getPageUrl();
-_109.undo.browser.addToHistory({back:function(){
-if(_108.debug.ajaxPageNav){
-dojo.debug("back-nav-button: "+_115);
+var _11b=this.getPageUrl();
+_10f.undo.browser.addToHistory({back:function(){
+if(_10e.debug.ajaxPageNav){
+dojo.debug("back-nav-button: "+_11b);
 }
-_108.updatePage(_115,true);
+_10e.updatePage(_11b,true);
 },forward:function(){
-if(_108.debug.ajaxPageNav){
-dojo.debug("forward-nav-button: "+_115);
+if(_10e.debug.ajaxPageNav){
+dojo.debug("forward-nav-button: "+_11b);
 }
-_108.updatePage(_115,true);
+_10e.updatePage(_11b,true);
 },changeUrl:escape(this.getPath())});
 }
 }
 }else{
-if(!djConfig.preventBackButtonFix&&_108.prefs.ajaxPageNavigation){
-var _115=this.getPageUrl();
-_109.undo.browser.setInitialState({back:function(){
-if(_108.debug.ajaxPageNav){
-dojo.debug("back-nav-button initial: "+_115);
+if(!djConfig.preventBackButtonFix&&_10e.prefs.ajaxPageNavigation){
+var _11b=this.getPageUrl();
+_10f.undo.browser.setInitialState({back:function(){
+if(_10e.debug.ajaxPageNav){
+dojo.debug("back-nav-button initial: "+_11b);
 }
-_108.updatePage(_115,true);
+_10e.updatePage(_11b,true);
 },forward:function(){
-if(_108.debug.ajaxPageNav){
-dojo.debug("forward-nav-button initial: "+_115);
+if(_10e.debug.ajaxPageNav){
+dojo.debug("forward-nav-button initial: "+_11b);
 }
-_108.updatePage(_115,true);
+_10e.updatePage(_11b,true);
 },changeUrl:escape(this.getPath())});
 }
 }
-var _116=this._parsePSMLFrag(_10e,0,false);
-return _116;
-},_parsePSMLFrag:function(_117,_118,_119){
-var _11a=jetspeed;
-var _11b=new Array();
-var _11c=((_117!=null)?_117.getAttribute("type"):null);
-if(_11c!="layout"){
-dojo.raise("!layout frag="+_117);
+var _11c=this._parsePSMLFrag(_114,0,false);
+return _11c;
+},_parsePSMLFrag:function(_11d,_11e,_11f){
+var _120=jetspeed;
+var _121=new Array();
+var _122=((_11d!=null)?_11d.getAttribute("type"):null);
+if(_122!="layout"){
+dojo.raise("!layout frag="+_11d);
 return null;
 }
-if(!_119){
-var _11d=_117.getAttribute("name");
-if(_11d!=null){
-_11d=_11d.toLowerCase();
-if(_11d.indexOf("noactions")!=-1){
-_119=true;
+if(!_11f){
+var _123=_11d.getAttribute("name");
+if(_123!=null){
+_123=_123.toLowerCase();
+if(_123.indexOf("noactions")!=-1){
+_11f=true;
 }
 }
 }
-var _11e=null,_11f=0;
-var _120={};
-var _121=_117.childNodes;
-var _122,_123,_124,_125,_126;
-for(var i=0;i<_121.length;i++){
-_122=_121[i];
-if(_122.nodeType!=1){
+var _124=null,_125=0;
+var _126={};
+var _127=_11d.childNodes;
+var _128,_129,_12a,_12b,_12c;
+for(var i=0;i<_127.length;i++){
+_128=_127[i];
+if(_128.nodeType!=1){
 continue;
 }
-_123=_122.nodeName;
-if(_123=="fragment"){
-_126=_122.getAttribute("type");
-if(_126=="layout"){
-var _128=this._parsePSMLFrag(_122,i,_119);
-if(_128!=null){
-_11b.push(_128);
-}
-}else{
-var _129=this._parsePSMLProps(_122,null);
-var _12a=_129[_11a.id.PP_WINDOW_ICON];
-if(_12a==null||_12a.length==0){
-_12a=this._parsePSMLChildOrAttr(_122,"icon");
-if(_12a!=null&&_12a.length>0){
-_129[_11a.id.PP_WINDOW_ICON]=_12a;
-}
-}
-_11b.push({id:_122.getAttribute("id"),type:_126,name:_122.getAttribute("name"),properties:_129,actions:this._parsePSMLActions(_122,null),currentActionState:this._parsePSMLChildOrAttr(_122,"state"),currentActionMode:this._parsePSMLChildOrAttr(_122,"mode"),decorator:_122.getAttribute("decorator"),layoutActionsDisabled:_119,documentOrderIndex:i});
-}
-}else{
-if(_123=="property"){
-if(this._parsePSMLProp(_122,_120)=="sizes"){
-if(_11e!=null){
-dojo.raise("<sizes>: "+_117);
+_129=_128.nodeName;
+if(_129=="fragment"){
+_12c=_128.getAttribute("type");
+if(_12c=="layout"){
+var _12e=this._parsePSMLFrag(_128,i,_11f);
+if(_12e!=null){
+_121.push(_12e);
+}
+}else{
+var _12f=this._parsePSMLProps(_128,null);
+var _130=_12f[_120.id.PP_WINDOW_ICON];
+if(_130==null||_130.length==0){
+_130=this._parsePSMLChildOrAttr(_128,"icon");
+if(_130!=null&&_130.length>0){
+_12f[_120.id.PP_WINDOW_ICON]=_130;
+}
+}
+_121.push({id:_128.getAttribute("id"),type:_12c,name:_128.getAttribute("name"),properties:_12f,actions:this._parsePSMLActions(_128,null),currentActionState:this._parsePSMLChildOrAttr(_128,"state"),currentActionMode:this._parsePSMLChildOrAttr(_128,"mode"),decorator:_128.getAttribute("decorator"),layoutActionsDisabled:_11f,documentOrderIndex:i});
+}
+}else{
+if(_129=="property"){
+if(this._parsePSMLProp(_128,_126)=="sizes"){
+if(_124!=null){
+dojo.raise("<sizes>: "+_11d);
 return null;
 }
-if(_11a.prefs.printModeOnly!=null){
-_11e=["100"];
-_11f=100;
-}else{
-_125=_122.getAttribute("value");
-if(_125!=null&&_125.length>0){
-_11e=_125.split(",");
-for(var j=0;j<_11e.length;j++){
+if(_120.prefs.printModeOnly!=null){
+_124=["100"];
+_125=100;
+}else{
+_12b=_128.getAttribute("value");
+if(_12b!=null&&_12b.length>0){
+_124=_12b.split(",");
+for(var j=0;j<_124.length;j++){
 var re=/^[^0-9]*([0-9]+)[^0-9]*$/;
-_11e[j]=_11e[j].replace(re,"$1");
-_11f+=new Number(_11e[j]);
+_124[j]=_124[j].replace(re,"$1");
+_125+=new Number(_124[j]);
 }
 }
 }
@@ -1244,200 +1268,200 @@
 }
 }
 }
-if(_11e==null){
-_11e=["100"];
-_11f=100;
+if(_124==null){
+_124=["100"];
+_125=100;
 }
-var _12d=_11e.length;
-var _12e=_11b.length;
-var pCi=_11a.id.PP_COLUMN;
-var pRi=_11a.id.PP_ROW;
-var _131=new Array(_12d);
-var _132=new Array(_12d);
-for(var cI=0;cI<_12d;cI++){
-_131[cI]=[];
-_132[cI]={head:-1,tail:-1,high:-1};
+var _133=_124.length;
+var _134=_121.length;
+var pCi=_120.id.PP_COLUMN;
+var pRi=_120.id.PP_ROW;
+var _137=new Array(_133);
+var _138=new Array(_133);
+for(var cI=0;cI<_133;cI++){
+_137[cI]=[];
+_138[cI]={head:-1,tail:-1,high:-1};
 }
-for(var _134=0;_134<_12e;_134++){
-var frag=_11b[_134];
-var _136=frag.properties;
-var col=_136[pCi];
-var row=_136[pRi];
-var _139=null;
-if(col==null||col>=_12d){
-_139=_12d-1;
+for(var _13a=0;_13a<_134;_13a++){
+var frag=_121[_13a];
+var _13c=frag.properties;
+var col=_13c[pCi];
+var row=_13c[pRi];
+var _13f=null;
+if(col==null||col>=_133){
+_13f=_133-1;
 }else{
 if(col<0){
-_139=0;
+_13f=0;
 }
 }
-if(_139!=null){
-col=_136[pCi]=String(_139);
+if(_13f!=null){
+col=_13c[pCi]=String(_13f);
 }
-var ll=_131[col];
-var _13b=ll.length;
-var _13c=_132[col];
+var ll=_137[col];
+var _141=ll.length;
+var _142=_138[col];
 if(row<0){
-row=_136[pRi]=0;
+row=_13c[pRi]=0;
 }else{
 if(row==null){
-row=_13c.high+1;
+row=_142.high+1;
 }
 }
-var _13d={i:_134,row:row,next:-1};
-ll.push(_13d);
-if(_13b==0){
-_13c.head=_13c.tail=0;
-_13c.high=row;
-}else{
-if(row>_13c.high){
-ll[_13c.tail].next=_13b;
-_13c.high=row;
-_13c.tail=_13b;
-}else{
-var _13e=_13c.head;
-var _13f=-1;
-while(ll[_13e].row<row){
-_13f=_13e;
-_13e=ll[_13e].next;
-}
-if(ll[_13e].row==row){
-var _140=new Number(row)+1;
-ll[_13e].row=_140;
-if(_13c.tail==_13e){
-_13c.high=_140;
-}
-}
-_13d.next=_13e;
-if(_13f==-1){
-_13c.head=_13b;
-}else{
-ll[_13f].next=_13b;
-}
-}
-}
-}
-var _141=new Array(_12e);
-var _142=0;
-for(var cI=0;cI<_12d;cI++){
-var ll=_131[cI];
-var _13c=_132[cI];
-var _143=0;
-var _144=_13c.head;
-while(_144!=-1){
-var _13d=ll[_144];
-var frag=_11b[_13d.i];
-_141[_142]=frag;
-frag.properties[pRi]=_143;
-_142++;
-_143++;
-_144=_13d.next;
-}
-}
-return {id:_117.getAttribute("id"),type:_11c,name:_117.getAttribute("name"),decorator:_117.getAttribute("decorator"),columnSizes:_11e,columnSizesSum:_11f,properties:_120,fragments:_141,layoutActionsDisabled:_119,documentOrderIndex:_118};
-},_parsePSMLActions:function(_145,_146){
-if(_146==null){
-_146={};
-}
-var _147=_145.getElementsByTagName("action");
-for(var _148=0;_148<_147.length;_148++){
-var _149=_147[_148];
-this._parsePSMLAction(_149,_146);
-}
-return _146;
-},_parsePSMLAction:function(_14a,_14b){
-var _14c=_14a.getAttribute("id");
-if(_14c!=null){
-var _14d=_14a.getAttribute("type");
-var _14e=_14a.getAttribute("name");
-var _14f=_14a.getAttribute("url");
-var _150=_14a.getAttribute("alt");
-_14b[_14c.toLowerCase()]={id:_14c,type:_14d,label:_14e,url:_14f,alt:_150};
-}
-},_parsePSMLChildOrAttr:function(_151,_152){
-var _153=null;
-var _154=_151.getElementsByTagName(_152);
-if(_154!=null&&_154.length==1&&_154[0].firstChild!=null){
-_153=_154[0].firstChild.nodeValue;
-}
-if(!_153){
-_153=_151.getAttribute(_152);
-}
-if(_153==null||_153.length==0){
-_153=null;
-}
-return _153;
-},_parsePSMLProps:function(_155,_156){
-if(_156==null){
-_156={};
-}
-var _157=_155.getElementsByTagName("property");
-for(var _158=0;_158<_157.length;_158++){
-this._parsePSMLProp(_157[_158],_156);
-}
-return _156;
-},_parsePSMLProp:function(_159,_15a){
-var _15b=_159.getAttribute("name");
-var _15c=_159.getAttribute("value");
-_15a[_15b]=_15c;
-return _15b;
-},_layoutCreateModel:function(_15d,_15e,_15f,_160,_161,_162,_163,_164){
-var jsId=_164.id;
-var _166=this.columns.length;
-var _167=this._layoutCreateColsModel(_15d,_15e,_15f,_161);
-var _168=_167.columnsInLayout;
-if(_167.addedLayoutHeaderColumn){
-_166++;
-}
-var _169=(_168==null?0:_168.length);
-var _16a=new Array(_169);
-var _16b=new Array(_169);
-for(var i=0;i<_15d.fragments.length;i++){
-var _16d=_15d.fragments[i];
-if(_16d.type=="layout"){
-var _16e=i;
-var _16e=(_16d.properties?_16d.properties[_164.id.PP_COLUMN]:i);
-if(_16e==null||_16e<0||_16e>=_169){
-_16e=(_169>0?(_169-1):0);
-}
-_16b[_16e]=true;
-this._layoutCreateModel(_16d,(_15e+1),_168[_16e],_160,false,_162,_163,_164);
-}else{
-this._layoutCreatePortlet(_16d,_15d,_168,_166,_160,_16a,_162,_163,_164);
-}
-}
-return _168;
-},_layoutCreatePortlet:function(_16f,_170,_171,_172,_173,_174,_175,_176,_177){
-if(_16f&&_177.debugPortletEntityIdFilter){
-if(!_176.lang.inArray(_177.debugPortletEntityIdFilter,_16f.id)){
-_16f=null;
-}
-}
-if(_16f){
-var _178="z";
-var _179=_16f.properties[_177.id.PP_DESKTOP_EXTENDED];
-var _17a=_177.prefs.windowTiling;
-var _17b=_17a;
-var _17c=_177.prefs.windowHeightExpand;
-if(_179!=null&&_17a&&_177.prefs.printModeOnly==null){
-var _17d=_179.split(_177.id.PP_PAIR_SEPARATOR);
-var _17e=null,_17f=0,_180=null,_181=null,_182=false;
-if(_17d!=null&&_17d.length>0){
-var _183=_177.id.PP_PROP_SEPARATOR;
-for(var _184=0;_184<_17d.length;_184++){
-_17e=_17d[_184];
-_17f=((_17e!=null)?_17e.length:0);
-if(_17f>0){
-var _185=_17e.indexOf(_183);
-if(_185>0&&_185<(_17f-1)){
-_180=_17e.substring(0,_185);
-_181=_17e.substring(_185+1);
-_182=((_181=="true")?true:false);
-if(_180==_177.id.PP_STATICPOS){
-_17b=_182;
-}else{
-if(_180==_177.id.PP_FITHEIGHT){
-_17c=_182;
+var _143={i:_13a,row:row,next:-1};
+ll.push(_143);
+if(_141==0){
+_142.head=_142.tail=0;
+_142.high=row;
+}else{
+if(row>_142.high){
+ll[_142.tail].next=_141;
+_142.high=row;
+_142.tail=_141;
+}else{
+var _144=_142.head;
+var _145=-1;
+while(ll[_144].row<row){
+_145=_144;
+_144=ll[_144].next;
+}
+if(ll[_144].row==row){
+var _146=new Number(row)+1;
+ll[_144].row=_146;
+if(_142.tail==_144){
+_142.high=_146;
+}
+}
+_143.next=_144;
+if(_145==-1){
+_142.head=_141;
+}else{
+ll[_145].next=_141;
+}
+}
+}
+}
+var _147=new Array(_134);
+var _148=0;
+for(var cI=0;cI<_133;cI++){
+var ll=_137[cI];
+var _142=_138[cI];
+var _149=0;
+var _14a=_142.head;
+while(_14a!=-1){
+var _143=ll[_14a];
+var frag=_121[_143.i];
+_147[_148]=frag;
+frag.properties[pRi]=_149;
+_148++;
+_149++;
+_14a=_143.next;
+}
+}
+return {id:_11d.getAttribute("id"),type:_122,name:_11d.getAttribute("name"),decorator:_11d.getAttribute("decorator"),columnSizes:_124,columnSizesSum:_125,properties:_126,fragments:_147,layoutActionsDisabled:_11f,documentOrderIndex:_11e};
+},_parsePSMLActions:function(_14b,_14c){
+if(_14c==null){
+_14c={};
+}
+var _14d=_14b.getElementsByTagName("action");
+for(var _14e=0;_14e<_14d.length;_14e++){
+var _14f=_14d[_14e];
+this._parsePSMLAction(_14f,_14c);
+}
+return _14c;
+},_parsePSMLAction:function(_150,_151){
+var _152=_150.getAttribute("id");
+if(_152!=null){
+var _153=_150.getAttribute("type");
+var _154=_150.getAttribute("name");
+var _155=_150.getAttribute("url");
+var _156=_150.getAttribute("alt");
+_151[_152.toLowerCase()]={id:_152,type:_153,label:_154,url:_155,alt:_156};
+}
+},_parsePSMLChildOrAttr:function(_157,_158){
+var _159=null;
+var _15a=_157.getElementsByTagName(_158);
+if(_15a!=null&&_15a.length==1&&_15a[0].firstChild!=null){
+_159=_15a[0].firstChild.nodeValue;
+}
+if(!_159){
+_159=_157.getAttribute(_158);
+}
+if(_159==null||_159.length==0){
+_159=null;
+}
+return _159;
+},_parsePSMLProps:function(_15b,_15c){
+if(_15c==null){
+_15c={};
+}
+var _15d=_15b.getElementsByTagName("property");
+for(var _15e=0;_15e<_15d.length;_15e++){
+this._parsePSMLProp(_15d[_15e],_15c);
+}
+return _15c;
+},_parsePSMLProp:function(_15f,_160){
+var _161=_15f.getAttribute("name");
+var _162=_15f.getAttribute("value");
+_160[_161]=_162;
+return _161;
+},_layoutCreateModel:function(_163,_164,_165,_166,_167,_168,_169,_16a){
+var jsId=_16a.id;
+var _16c=this.columns.length;
+var _16d=this._layoutCreateColsModel(_163,_164,_165,_167);
+var _16e=_16d.columnsInLayout;
+if(_16d.addedLayoutHeaderColumn){
+_16c++;
+}
+var _16f=(_16e==null?0:_16e.length);
+var _170=new Array(_16f);
+var _171=new Array(_16f);
+for(var i=0;i<_163.fragments.length;i++){
+var _173=_163.fragments[i];
+if(_173.type=="layout"){
+var _174=i;
+var _174=(_173.properties?_173.properties[_16a.id.PP_COLUMN]:i);
+if(_174==null||_174<0||_174>=_16f){
+_174=(_16f>0?(_16f-1):0);
+}
+_171[_174]=true;
+this._layoutCreateModel(_173,(_164+1),_16e[_174],_166,false,_168,_169,_16a);
+}else{
+this._layoutCreatePortlet(_173,_163,_16e,_16c,_166,_170,_168,_169,_16a);
+}
+}
+return _16e;
+},_layoutCreatePortlet:function(_175,_176,_177,_178,_179,_17a,_17b,_17c,_17d){
+if(_175&&_17d.debugPortletEntityIdFilter){
+if(!_17c.lang.inArray(_17d.debugPortletEntityIdFilter,_175.id)){
+_175=null;
+}
+}
+if(_175){
+var _17e="z";
+var _17f=_175.properties[_17d.id.PP_DESKTOP_EXTENDED];
+var _180=_17d.prefs.windowTiling;
+var _181=_180;
+var _182=_17d.prefs.windowHeightExpand;
+if(_17f!=null&&_180&&_17d.prefs.printModeOnly==null){
+var _183=_17f.split(_17d.id.PP_PAIR_SEPARATOR);
+var _184=null,_185=0,_186=null,_187=null,_188=false;
+if(_183!=null&&_183.length>0){
+var _189=_17d.id.PP_PROP_SEPARATOR;
+for(var _18a=0;_18a<_183.length;_18a++){
+_184=_183[_18a];
+_185=((_184!=null)?_184.length:0);
+if(_185>0){
+var _18b=_184.indexOf(_189);
+if(_18b>0&&_18b<(_185-1)){
+_186=_184.substring(0,_18b);
+_187=_184.substring(_18b+1);
+_188=((_187=="true")?true:false);
+if(_186==_17d.id.PP_STATICPOS){
+_181=_188;
+}else{
+if(_186==_17d.id.PP_FITHEIGHT){
+_182=_188;
 }
 }
 }
@@ -1445,177 +1469,177 @@
 }
 }
 }else{
-if(!_17a){
-_17b=false;
-}
-}
-_16f.properties[_177.id.PP_WINDOW_POSITION_STATIC]=_17b;
-_16f.properties[_177.id.PP_WINDOW_HEIGHT_TO_FIT]=_17c;
-if(_17b&&_17a){
-var _186=_171.length;
-var _187=_16f.properties[_177.id.PP_COLUMN];
-if(_187==null||_187>=_186){
-_187=_186-1;
-}else{
-if(_187<0){
-_187=0;
-}
-}
-if(_174[_187]==null){
-_174[_187]=new Array();
-}
-_174[_187].push(_16f.id);
-var _188=_172+new Number(_187);
-_178=_188.toString();
-}
-if(_16f.currentActionState==_177.id.ACT_MAXIMIZE){
-this.maximizedOnInit=_16f.id;
-}
-var _189=_16f.decorator;
-if(_189!=null&&_189.length>0){
-if(_176.lang.indexOf(_177.prefs.portletDecorationsAllowed,_189)==-1){
-_189=null;
-}
-}
-if(_189==null||_189.length==0){
-if(djConfig.isDebug&&_177.debug.windowDecorationRandom){
-_189=_177.prefs.portletDecorationsAllowed[Math.floor(Math.random()*_177.prefs.portletDecorationsAllowed.length)];
-}else{
-_189=this.portletDecorator;
-}
-}
-var _18a=_16f.properties||{};
-_18a[_177.id.PP_WINDOW_DECORATION]=_189;
-_175[_189]=true;
-var _18b=_16f.actions||{};
-var _18c=new _177.om.Portlet(_16f.name,_16f.id,null,_18a,_18b,_16f.currentActionState,_16f.currentActionMode,_16f.layoutActionsDisabled);
-_18c.initialize();
-this.putPortlet(_18c);
-if(_173[_178]==null){
-_173[_178]=new Array();
-}
-_173[_178].push({portlet:_18c,layout:_170.id});
-}
-},_layoutCreateColsModel:function(_18d,_18e,_18f,_190){
-var _191=jetspeed;
-this.layouts[_18d.id]=_18d;
-var _192=false;
-var _193=new Array();
-if(_191.prefs.windowTiling&&_18d.columnSizes.length>0){
-var _194=false;
-if(_191.UAie){
-_194=true;
-}
-if(_18f!=null&&!_190){
-var _195=new _191.om.Column(0,_18d.id,(_194?_18d.columnSizesSum-0.1:_18d.columnSizesSum),this.columns.length,_18d.layoutActionsDisabled,_18e);
-_195.layoutHeader=true;
-this.columns.push(_195);
-if(_18f.buildColChildren==null){
-_18f.buildColChildren=new Array();
-}
-_18f.buildColChildren.push(_195);
-_18f=_195;
-_192=true;
-}
-for(var i=0;i<_18d.columnSizes.length;i++){
-var size=_18d.columnSizes[i];
-if(_194&&i==(_18d.columnSizes.length-1)){
+if(!_180){
+_181=false;
+}
+}
+_175.properties[_17d.id.PP_WINDOW_POSITION_STATIC]=_181;
+_175.properties[_17d.id.PP_WINDOW_HEIGHT_TO_FIT]=_182;
+if(_181&&_180){
+var _18c=_177.length;
+var _18d=_175.properties[_17d.id.PP_COLUMN];
+if(_18d==null||_18d>=_18c){
+_18d=_18c-1;
+}else{
+if(_18d<0){
+_18d=0;
+}
+}
+if(_17a[_18d]==null){
+_17a[_18d]=new Array();
+}
+_17a[_18d].push(_175.id);
+var _18e=_178+new Number(_18d);
+_17e=_18e.toString();
+}
+if(_175.currentActionState==_17d.id.ACT_MAXIMIZE){
+this.maximizedOnInit=_175.id;
+}
+var _18f=_175.decorator;
+if(_18f!=null&&_18f.length>0){
+if(_17c.lang.indexOf(_17d.prefs.portletDecorationsAllowed,_18f)==-1){
+_18f=null;
+}
+}
+if(_18f==null||_18f.length==0){
+if(djConfig.isDebug&&_17d.debug.windowDecorationRandom){
+_18f=_17d.prefs.portletDecorationsAllowed[Math.floor(Math.random()*_17d.prefs.portletDecorationsAllowed.length)];
+}else{
+_18f=this.portletDecorator;
+}
+}
+var _190=_175.properties||{};
+_190[_17d.id.PP_WINDOW_DECORATION]=_18f;
+_17b[_18f]=true;
+var _191=_175.actions||{};
+var _192=new _17d.om.Portlet(_175.name,_175.id,null,_190,_191,_175.currentActionState,_175.currentActionMode,_175.layoutActionsDisabled);
+_192.initialize();
+this.putPortlet(_192);
+if(_179[_17e]==null){
+_179[_17e]=new Array();
+}
+_179[_17e].push({portlet:_192,layout:_176.id});
+}
+},_layoutCreateColsModel:function(_193,_194,_195,_196){
+var _197=jetspeed;
+this.layouts[_193.id]=_193;
+var _198=false;
+var _199=new Array();
+if(_197.prefs.windowTiling&&_193.columnSizes.length>0){
+var _19a=false;
+if(_197.UAie){
+_19a=true;
+}
+if(_195!=null&&!_196){
+var _19b=new _197.om.Column(0,_193.id,(_19a?_193.columnSizesSum-0.1:_193.columnSizesSum),this.columns.length,_193.layoutActionsDisabled,_194);
+_19b.layoutHeader=true;
+this.columns.push(_19b);
+if(_195.buildColChildren==null){
+_195.buildColChildren=new Array();
+}
+_195.buildColChildren.push(_19b);
+_195=_19b;
+_198=true;
+}
+for(var i=0;i<_193.columnSizes.length;i++){
+var size=_193.columnSizes[i];
+if(_19a&&i==(_193.columnSizes.length-1)){
 size=size-0.1;
 }
-var _198=new _191.om.Column(i,_18d.id,size,this.columns.length,_18d.layoutActionsDisabled);
-this.columns.push(_198);
-if(_18f!=null){
-if(_18f.buildColChildren==null){
-_18f.buildColChildren=new Array();
-}
-_18f.buildColChildren.push(_198);
-}
-_193.push(_198);
-}
-}
-return {columnsInLayout:_193,addedLayoutHeaderColumn:_192};
-},_portletsInitWinState:function(_199){
-var _19a={};
-this.getPortletCurColRow(null,false,_19a);
-for(var _19b in this.portlets){
-var _19c=this.portlets[_19b];
-var _19d=_19a[_19c.getId()];
-if(_19d==null&&_199){
-for(var i=0;i<_199.length;i++){
-if(_199[i].portlet.getId()==_19c.getId()){
-_19d={layout:_199[i].layout};
+var _19e=new _197.om.Column(i,_193.id,size,this.columns.length,_193.layoutActionsDisabled);
+this.columns.push(_19e);
+if(_195!=null){
+if(_195.buildColChildren==null){
+_195.buildColChildren=new Array();
+}
+_195.buildColChildren.push(_19e);
+}
+_199.push(_19e);
+}
+}
+return {columnsInLayout:_199,addedLayoutHeaderColumn:_198};
+},_portletsInitWinState:function(_19f){
+var _1a0={};
+this.getPortletCurColRow(null,false,_1a0);
+for(var _1a1 in this.portlets){
+var _1a2=this.portlets[_1a1];
+var _1a3=_1a0[_1a2.getId()];
+if(_1a3==null&&_19f){
+for(var i=0;i<_19f.length;i++){
+if(_19f[i].portlet.getId()==_1a2.getId()){
+_1a3={layout:_19f[i].layout};
 break;
 }
 }
 }
-if(_19d!=null){
-_19c._initWinState(_19d,false);
+if(_1a3!=null){
+_1a2._initWinState(_1a3,false);
 }else{
-dojo.raise("Window state data not found for portlet: "+_19c.getId());
+dojo.raise("Window state data not found for portlet: "+_1a2.getId());
 }
 }
-},_loadPortletZIndexCompare:function(_19f,_1a0){
-var _1a1=null;
-var _1a2=null;
-var _1a3=null;
-_1a1=_19f.portlet._getInitialZIndex();
-_1a2=_1a0.portlet._getInitialZIndex();
-if(_1a1&&!_1a2){
+},_loadPortletZIndexCompare:function(_1a5,_1a6){
+var _1a7=null;
+var _1a8=null;
+var _1a9=null;
+_1a7=_1a5.portlet._getInitialZIndex();
+_1a8=_1a6.portlet._getInitialZIndex();
+if(_1a7&&!_1a8){
 return -1;
 }else{
-if(_1a2&&!_1a1){
+if(_1a8&&!_1a7){
 return 1;
 }else{
-if(_1a1==_1a2){
+if(_1a7==_1a8){
 return 0;
 }
 }
 }
-return (_1a1-_1a2);
-},_createColsStart:function(_1a4,_1a5){
+return (_1a7-_1a8);
+},_createColsStart:function(_1aa,_1ab){
 if(!this.columnsStructure||this.columnsStructure.length==0){
 return;
 }
-var _1a6=document.createElement("div");
-_1a6.id=_1a5;
-_1a6.setAttribute("id",_1a5);
-for(var _1a7=0;_1a7<this.columnsStructure.length;_1a7++){
-var _1a8=this.columnsStructure[_1a7];
-this._createCols(_1a8,_1a6);
-}
-_1a4.appendChild(_1a6);
-},_createCols:function(_1a9,_1aa){
-_1a9.createColumn();
-if(this.colFirstNormI==-1&&!_1a9.columnContainer&&!_1a9.layoutHeader){
-this.colFirstNormI=_1a9.getPageColumnIndex();
-}
-var _1ab=_1a9.buildColChildren;
-if(_1ab!=null&&_1ab.length>0){
-for(var _1ac=0;_1ac<_1ab.length;_1ac++){
-this._createCols(_1ab[_1ac],_1a9.domNode);
-}
-}
-delete _1a9.buildColChildren;
-_1aa.appendChild(_1a9.domNode);
-},_removeCols:function(_1ad){
+var _1ac=document.createElement("div");
+_1ac.id=_1ab;
+_1ac.setAttribute("id",_1ab);
+for(var _1ad=0;_1ad<this.columnsStructure.length;_1ad++){
+var _1ae=this.columnsStructure[_1ad];
+this._createCols(_1ae,_1ac);
+}
+_1aa.appendChild(_1ac);
+},_createCols:function(_1af,_1b0){
+_1af.createColumn();
+if(this.colFirstNormI==-1&&!_1af.columnContainer&&!_1af.layoutHeader){
+this.colFirstNormI=_1af.getPageColumnIndex();
+}
+var _1b1=_1af.buildColChildren;
+if(_1b1!=null&&_1b1.length>0){
+for(var _1b2=0;_1b2<_1b1.length;_1b2++){
+this._createCols(_1b1[_1b2],_1af.domNode);
+}
+}
+delete _1af.buildColChildren;
+_1b0.appendChild(_1af.domNode);
+},_removeCols:function(_1b3){
 if(!this.columns||this.columns.length==0){
 return;
 }
 for(var i=0;i<this.columns.length;i++){
 if(this.columns[i]){
-if(_1ad){
-var _1af=jetspeed.ui.getPWinAndColChildren(this.columns[i].domNode,null);
-dojo.lang.forEach(_1af,function(_1b0){
-_1ad.appendChild(_1b0);
+if(_1b3){
+var _1b5=jetspeed.ui.getPWinAndColChildren(this.columns[i].domNode,null);
+dojo.lang.forEach(_1b5,function(_1b6){
+_1b3.appendChild(_1b6);
 });
 }
 dojo.dom.removeNode(this.columns[i]);
 this.columns[i]=null;
 }
 }
-var _1b1=dojo.byId(jetspeed.id.COLUMNS);
-if(_1b1){
-dojo.dom.removeNode(_1b1);
+var _1b7=dojo.byId(jetspeed.id.COLUMNS);
+if(_1b7){
+dojo.dom.removeNode(_1b7);
 }
 this.columns=[];
 },getColumnDefault:function(){
@@ -1623,114 +1647,114 @@
 return this.columns[this.colFirstNormI];
 }
 return null;
-},columnsEmptyCheck:function(_1b2){
-var _1b3=null;
-if(_1b2==null){
-return _1b3;
-}
-var _1b4=_1b2.childNodes,_1b5;
-if(_1b4){
-for(var i=0;i<_1b4.length;i++){
-_1b5=_1b4[i];
-var _1b7=this.columnEmptyCheck(_1b5,true);
-if(_1b7!=null){
-_1b3=_1b7;
-if(_1b3==false){
+},columnsEmptyCheck:function(_1b8){
+var _1b9=null;
+if(_1b8==null){
+return _1b9;
+}
+var _1ba=_1b8.childNodes,_1bb;
+if(_1ba){
+for(var i=0;i<_1ba.length;i++){
+_1bb=_1ba[i];
+var _1bd=this.columnEmptyCheck(_1bb,true);
+if(_1bd!=null){
+_1b9=_1bd;
+if(_1b9==false){
 break;
 }
 }
 }
 }
-return _1b3;
-},columnEmptyCheck:function(_1b8,_1b9){
-var _1ba=null;
-if(!_1b8||!_1b8.getAttribute){
-return _1ba;
-}
-var _1bb=_1b8.getAttribute("columnindex");
-if(!_1bb||_1bb.length==0){
-return _1ba;
-}
-var _1bc=_1b8.getAttribute("layoutid");
-if(_1bc==null||_1bc.length==0){
-var _1bd=_1b8.childNodes;
-_1ba=(!_1bd||_1bd.length==0);
-if(!_1b9){
-_1b8.style.height=(_1ba?"1px":"");
+return _1b9;
+},columnEmptyCheck:function(_1be,_1bf){
+var _1c0=null;
+if(!_1be||!_1be.getAttribute){
+return _1c0;
+}
+var _1c1=_1be.getAttribute("columnindex");
+if(!_1c1||_1c1.length==0){
+return _1c0;
+}
+var _1c2=_1be.getAttribute("layoutid");
+if(_1c2==null||_1c2.length==0){
+var _1c3=_1be.childNodes;
+_1c0=(!_1c3||_1c3.length==0);
+if(!_1bf){
+_1be.style.height=(_1c0?"1px":"");
 }
 }
-return _1ba;
-},getPortletCurColRow:function(_1be,_1bf,_1c0){
+return _1c0;
+},getPortletCurColRow:function(_1c4,_1c5,_1c6){
 if(!this.columns||this.columns.length==0){
 return null;
 }
-var _1c1=null;
-var _1c2=((_1be!=null)?true:false);
-var _1c3=0;
-var _1c4=null;
-var _1c5=null;
-var _1c6=0;
-var _1c7=false;
-for(var _1c8=0;_1c8<this.columns.length;_1c8++){
-var _1c9=this.columns[_1c8];
-var _1ca=_1c9.domNode.childNodes;
-if(_1c5==null||_1c5!=_1c9.getLayoutId()){
-_1c5=_1c9.getLayoutId();
-_1c4=this.layouts[_1c5];
-if(_1c4==null){
-dojo.raise("Layout not found: "+_1c5);
+var _1c7=null;
+var _1c8=((_1c4!=null)?true:false);
+var _1c9=0;
+var _1ca=null;
+var _1cb=null;
+var _1cc=0;
+var _1cd=false;
+for(var _1ce=0;_1ce<this.columns.length;_1ce++){
+var _1cf=this.columns[_1ce];
+var _1d0=_1cf.domNode.childNodes;
+if(_1cb==null||_1cb!=_1cf.getLayoutId()){
+_1cb=_1cf.getLayoutId();
+_1ca=this.layouts[_1cb];
+if(_1ca==null){
+dojo.raise("Layout not found: "+_1cb);
 return null;
 }
-_1c6=0;
-_1c7=false;
-if(_1c4.clonedFromRootId==null){
-_1c7=true;
-}else{
-var _1cb=this.getColFromColNode(_1c9.domNode.parentNode);
-if(_1cb==null){
-dojo.raise("Parent column not found: "+_1c9);
+_1cc=0;
+_1cd=false;
+if(_1ca.clonedFromRootId==null){
+_1cd=true;
+}else{
+var _1d1=this.getColFromColNode(_1cf.domNode.parentNode);
+if(_1d1==null){
+dojo.raise("Parent column not found: "+_1cf);
 return null;
 }
-_1c9=_1cb;
+_1cf=_1d1;
 }
 }
-var _1cc=null;
-var _1cd=jetspeed;
-var _1ce=dojo;
-var _1cf=_1cd.id.PWIN_CLASS;
-if(_1bf){
-_1cf+="|"+_1cd.id.PWIN_GHOST_CLASS;
-}
-if(_1c2){
-_1cf+="|"+_1cd.id.COL_CLASS;
-}
-var _1d0=new RegExp("(^|\\s+)("+_1cf+")(\\s+|$)");
-for(var _1d1=0;_1d1<_1ca.length;_1d1++){
-var _1d2=_1ca[_1d1];
-if(_1d0.test(_1ce.html.getClass(_1d2))){
-_1cc=(_1cc==null?0:_1cc+1);
-if((_1cc+1)>_1c6){
-_1c6=(_1cc+1);
-}
-if(_1be==null||_1d2==_1be){
-var _1d3={layout:_1c5,column:_1c9.getLayoutColumnIndex(),row:_1cc,columnObj:_1c9};
-if(!_1c7){
-_1d3.layout=_1c4.clonedFromRootId;
+var _1d2=null;
+var _1d3=jetspeed;
+var _1d4=dojo;
+var _1d5=_1d3.id.PWIN_CLASS;
+if(_1c5){
+_1d5+="|"+_1d3.id.PWIN_GHOST_CLASS;
+}
+if(_1c8){
+_1d5+="|"+_1d3.id.COL_CLASS;
+}
+var _1d6=new RegExp("(^|\\s+)("+_1d5+")(\\s+|$)");
+for(var _1d7=0;_1d7<_1d0.length;_1d7++){
+var _1d8=_1d0[_1d7];
+if(_1d6.test(_1d4.html.getClass(_1d8))){
+_1d2=(_1d2==null?0:_1d2+1);
+if((_1d2+1)>_1cc){
+_1cc=(_1d2+1);
+}
+if(_1c4==null||_1d8==_1c4){
+var _1d9={layout:_1cb,column:_1cf.getLayoutColumnIndex(),row:_1d2,columnObj:_1cf};
+if(!_1cd){
+_1d9.layout=_1ca.clonedFromRootId;
 }
-if(_1be!=null){
-_1c1=_1d3;
+if(_1c4!=null){
+_1c7=_1d9;
 break;
 }else{
-if(_1c0!=null){
-var _1d4=this.getPWinFromNode(_1d2);
-if(_1d4==null){
-_1ce.raise("PortletWindow not found for node");
+if(_1c6!=null){
+var _1da=this.getPWinFromNode(_1d8);
+if(_1da==null){
+_1d4.raise("PortletWindow not found for node");
 }else{
-var _1d5=_1d4.portlet;
-if(_1d5==null){
-_1ce.raise("PortletWindow for node has null portlet: "+_1d4.widgetId);
+var _1db=_1da.portlet;
+if(_1db==null){
+_1d4.raise("PortletWindow for node has null portlet: "+_1da.widgetId);
 }else{
-_1c0[_1d5.getId()]=_1d3;
+_1c6[_1db.getId()]=_1d9;
 }
 }
 }
@@ -1738,45 +1762,45 @@
 }
 }
 }
-if(_1c1!=null){
+if(_1c7!=null){
 break;
 }
 }
-return _1c1;
+return _1c7;
 },_getPortletArrayByZIndex:function(){
-var _1d6=jetspeed;
-var _1d7=this.getPortletArray();
-if(!_1d7){
-return _1d7;
-}
-var _1d8=[];
-for(var i=0;i<_1d7.length;i++){
-if(!_1d7[i].getProperty(_1d6.id.PP_WINDOW_POSITION_STATIC)){
-_1d8.push(_1d7[i]);
-}
-}
-_1d8.sort(this._portletZIndexCompare);
-return _1d8;
-},_portletZIndexCompare:function(_1da,_1db){
-var _1dc=null;
-var _1dd=null;
-var _1de=null;
-_1de=_1da.getSavedWinState();
-_1dc=_1de.zIndex;
-_1de=_1db.getSavedWinState();
-_1dd=_1de.zIndex;
-if(_1dc&&!_1dd){
+var _1dc=jetspeed;
+var _1dd=this.getPortletArray();
+if(!_1dd){
+return _1dd;
+}
+var _1de=[];
+for(var i=0;i<_1dd.length;i++){
+if(!_1dd[i].getProperty(_1dc.id.PP_WINDOW_POSITION_STATIC)){
+_1de.push(_1dd[i]);
+}
+}
+_1de.sort(this._portletZIndexCompare);
+return _1de;
+},_portletZIndexCompare:function(_1e0,_1e1){
+var _1e2=null;
+var _1e3=null;
+var _1e4=null;
+_1e4=_1e0.getSavedWinState();
+_1e2=_1e4.zIndex;
+_1e4=_1e1.getSavedWinState();
+_1e3=_1e4.zIndex;
+if(_1e2&&!_1e3){
 return -1;
 }else{
-if(_1dd&&!_1dc){
+if(_1e3&&!_1e2){
 return 1;
 }else{
-if(_1dc==_1dd){
+if(_1e2==_1e3){
 return 0;
 }
 }
 }
-return (_1dc-_1dd);
+return (_1e2-_1e3);
 },_perms:function(p,w,f){
 var rId=f(112);
 var rL=1;
@@ -1818,79 +1842,79 @@
 if(!this.portlets){
 return null;
 }
-var _1f1=[];
-for(var _1f2 in this.portlets){
-var _1f3=this.portlets[_1f2];
-_1f1.push(_1f3);
+var _1f7=[];
+for(var _1f8 in this.portlets){
+var _1f9=this.portlets[_1f8];
+_1f7.push(_1f9);
 }
-return _1f1;
+return _1f7;
 },getPortletIds:function(){
 if(!this.portlets){
 return null;
 }
-var _1f4=[];
-for(var _1f5 in this.portlets){
-var _1f6=this.portlets[_1f5];
-_1f4.push(_1f6.getId());
-}
-return _1f4;
-},getPortletByName:function(_1f7){
-if(this.portlets&&_1f7){
-for(var _1f8 in this.portlets){
-var _1f9=this.portlets[_1f8];
-if(_1f9.name==_1f7){
-return _1f9;
+var _1fa=[];
+for(var _1fb in this.portlets){
+var _1fc=this.portlets[_1fb];
+_1fa.push(_1fc.getId());
+}
+return _1fa;
+},getPortletByName:function(_1fd){
+if(this.portlets&&_1fd){
+for(var _1fe in this.portlets){
+var _1ff=this.portlets[_1fe];
+if(_1ff.name==_1fd){
+return _1ff;
 }
 }
 }
 return null;
-},getPortlet:function(_1fa){
-if(this.portlets&&_1fa){
-return this.portlets[_1fa];
+},getPortlet:function(_200){
+if(this.portlets&&_200){
+return this.portlets[_200];
 }
 return null;
-},getPWinFromNode:function(_1fb){
-var _1fc=null;
-if(this.portlets&&_1fb){
-for(var _1fd in this.portlets){
-var _1fe=this.portlets[_1fd];
-var _1ff=_1fe.getPWin();
-if(_1ff!=null){
-if(_1ff.domNode==_1fb){
-_1fc=_1ff;
+},getPWinFromNode:function(_201){
+var _202=null;
+if(this.portlets&&_201){
+for(var _203 in this.portlets){
+var _204=this.portlets[_203];
+var _205=_204.getPWin();
+if(_205!=null){
+if(_205.domNode==_201){
+_202=_205;
 break;
 }
 }
 }
 }
-return _1fc;
-},putPortlet:function(_200){
-if(!_200){
+return _202;
+},putPortlet:function(_206){
+if(!_206){
 return;
 }
 if(!this.portlets){
 this.portlets={};
 }
-this.portlets[_200.entityId]=_200;
+this.portlets[_206.entityId]=_206;
 this.portlet_count++;
-},putPWin:function(_201){
-if(!_201){
+},putPWin:function(_207){
+if(!_207){
 return;
 }
-var _202=_201.widgetId;
-if(!_202){
+var _208=_207.widgetId;
+if(!_208){
 dojo.raise("PortletWindow id is null");
 }
-this.portlet_windows[_202]=_201;
+this.portlet_windows[_208]=_207;
 this.portlet_window_count++;
-},getPWin:function(_203){
-if(this.portlet_windows&&_203){
-var pWin=this.portlet_windows[_203];
+},getPWin:function(_209){
+if(this.portlet_windows&&_209){
+var pWin=this.portlet_windows[_209];
 if(pWin==null){
 var jsId=jetspeed.id;
-pWin=this.portlet_windows[jsId.PW_ID_PREFIX+_203];
+pWin=this.portlet_windows[jsId.PW_ID_PREFIX+_209];
 if(pWin==null){
-var p=this.getPortlet(_203);
+var p=this.getPortlet(_209);
 if(p!=null){
 pWin=this.portlet_windows[p.properties[jsObj.id.PP_WIDGET_ID]];
 }
@@ -1899,330 +1923,330 @@
 return pWin;
 }
 return null;
-},getPWins:function(_207){
-var _208=this.portlet_windows;
+},getPWins:function(_20d){
+var _20e=this.portlet_windows;
 var pWin;
-var _20a=[];
-for(var _20b in _208){
-pWin=_208[_20b];
-if(pWin&&(!_207||pWin.portlet)){
-_20a.push(pWin);
+var _210=[];
+for(var _211 in _20e){
+pWin=_20e[_211];
+if(pWin&&(!_20d||pWin.portlet)){
+_210.push(pWin);
 }
 }
-return _20a;
-},getPWinTopZIndex:function(_20c){
-var _20d=0;
-if(_20c){
-_20d=this.portlet_tiled_high_z+1;
-this.portlet_tiled_high_z=_20d;
+return _210;
+},getPWinTopZIndex:function(_212){
+var _213=0;
+if(_212){
+_213=this.portlet_tiled_high_z+1;
+this.portlet_tiled_high_z=_213;
 }else{
 if(this.portlet_untiled_high_z==-1){
 this.portlet_untiled_high_z=200;
 }
-_20d=this.portlet_untiled_high_z+1;
-this.portlet_untiled_high_z=_20d;
+_213=this.portlet_untiled_high_z+1;
+this.portlet_untiled_high_z=_213;
 }
-return _20d;
+return _213;
 },getPWinHighZIndex:function(){
 return Math.max(this.portlet_tiled_high_z,this.portlet_untiled_high_z);
-},displayAllPWins:function(_20e,_20f){
+},displayAllPWins:function(_214,_215){
 return;
 },onBrowserWindowResize:function(){
-var _210=jetspeed;
-var _211=this.portlet_windows;
+var _216=jetspeed;
+var _217=this.portlet_windows;
 var pWin;
-for(var _213 in _211){
-pWin=_211[_213];
+for(var _219 in _217){
+pWin=_217[_219];
 pWin.onBrowserWindowResize();
 }
-if(_210.UAie6&&this.editMode){
-var _214=dojo.widget.byId(_210.id.PG_ED_WID);
-if(_214!=null){
-_214.onBrowserWindowResize();
+if(_216.UAie6&&this.editMode){
+var _21a=dojo.widget.byId(_216.id.PG_ED_WID);
+if(_21a!=null){
+_21a.onBrowserWindowResize();
 }
 }
-},regPWinIFrameCover:function(_215){
-if(!_215){
+},regPWinIFrameCover:function(_21b){
+if(!_21b){
 return;
 }
-this.iframeCoverByWinId[_215.widgetId]=true;
-},unregPWinIFrameCover:function(_216){
-if(!_216){
+this.iframeCoverByWinId[_21b.widgetId]=true;
+},unregPWinIFrameCover:function(_21c){
+if(!_21c){
 return;
 }
-delete this.iframeCoverByWinId[_216.widgetId];
-},displayAllPWinIFrameCovers:function(_217,_218){
-var _219=this.portlet_windows;
-var _21a=this.iframeCoverByWinId;
-if(!_219||!_21a){
+delete this.iframeCoverByWinId[_21c.widgetId];
+},displayAllPWinIFrameCovers:function(_21d,_21e){
+var _21f=this.portlet_windows;
+var _220=this.iframeCoverByWinId;
+if(!_21f||!_220){
 return;
 }
-for(var _21b in _21a){
-if(_21b==_218){
+for(var _221 in _220){
+if(_221==_21e){
 continue;
 }
-var pWin=_219[_21b];
-var _21d=(pWin&&pWin.iframesInfo?pWin.iframesInfo.iframeCover:null);
-if(_21d){
-_21d.style.display=(_217?"none":"block");
-}
-}
-},createLayoutInfo:function(_21e){
-var _21f=dojo;
-var _220=null;
-var _221=null;
-var _222=null;
-var _223=null;
-var _224=document.getElementById(_21e.id.DESKTOP);
-if(_224!=null){
-_220=_21e.ui.getLayoutExtents(_224,null,_21f,_21e);
-}
-var _225=document.getElementById(_21e.id.COLUMNS);
-if(_225!=null){
-_221=_21e.ui.getLayoutExtents(_225,null,_21f,_21e);
+var pWin=_21f[_221];
+var _223=(pWin&&pWin.iframesInfo?pWin.iframesInfo.iframeCover:null);
+if(_223){
+_223.style.display=(_21d?"none":"block");
+}
+}
+},createLayoutInfo:function(_224){
+var _225=dojo;
+var _226=null;
+var _227=null;
+var _228=null;
+var _229=null;
+var _22a=document.getElementById(_224.id.DESKTOP);
+if(_22a!=null){
+_226=_224.ui.getLayoutExtents(_22a,null,_225,_224);
+}
+var _22b=document.getElementById(_224.id.COLUMNS);
+if(_22b!=null){
+_227=_224.ui.getLayoutExtents(_22b,null,_225,_224);
 }
 if(this.columns){
 for(var i=0;i<this.columns.length;i++){
 var col=this.columns[i];
 if(col.layoutHeader){
-_223=_21e.ui.getLayoutExtents(col.domNode,null,_21f,_21e);
+_229=_224.ui.getLayoutExtents(col.domNode,null,_225,_224);
 }else{
 if(!col.columnContainer){
-_222=_21e.ui.getLayoutExtents(col.domNode,null,_21f,_21e);
+_228=_224.ui.getLayoutExtents(col.domNode,null,_225,_224);
 }
 }
-if(_222!=null&&_223!=null){
+if(_228!=null&&_229!=null){
 break;
 }
 }
 }
-this.layoutInfo={desktop:(_220!=null?_220:{}),columns:(_221!=null?_221:{}),column:(_222!=null?_222:{}),columnLayoutHeader:(_223!=null?_223:{})};
-_21e.widget.PortletWindow.prototype.colWidth_pbE=((_222&&_222.pbE)?_222.pbE.w:0);
+this.layoutInfo={desktop:(_226!=null?_226:{}),columns:(_227!=null?_227:{}),column:(_228!=null?_228:{}),columnLayoutHeader:(_229!=null?_229:{})};
+_224.widget.PortletWindow.prototype.colWidth_pbE=((_228&&_228.pbE)?_228.pbE.w:0);
 },_beforeAddOnLoad:function(){
 this.win_onload=true;
 },destroy:function(){
-var _228=jetspeed;
-var _229=dojo;
-_228.ui.evtDisconnect("after",window,"onresize",_228.ui.windowResizeMgr,"onResize",_229.event);
-_228.ui.evtDisconnect("before",_229,"addOnLoad",this,"_beforeAddOnLoad",_229.event);
-var _22a=this.portlet_windows;
-var _22b=this.getPWins(true);
-var pWin,_22d;
-for(var i=0;i<_22b.length;i++){
-pWin=_22b[i];
-_22d=pWin.widgetId;
+var _22e=jetspeed;
+var _22f=dojo;
+_22e.ui.evtDisconnect("after",window,"onresize",_22e.ui.windowResizeMgr,"onResize",_22f.event);
+_22e.ui.evtDisconnect("before",_22f,"addOnLoad",this,"_beforeAddOnLoad",_22f.event);
+var _230=this.portlet_windows;
+var _231=this.getPWins(true);
+var pWin,_233;
+for(var i=0;i<_231.length;i++){
+pWin=_231[i];
+_233=pWin.widgetId;
 pWin.closeWindow();
-delete _22a[_22d];
+delete _230[_233];
 this.portlet_window_count--;
 }
 this.portlets={};
 this.portlet_count=0;
-var _22f=_229.widget.byId(_228.id.PG_ED_WID);
-if(_22f!=null){
-_22f.editPageDestroy();
+var _235=_22f.widget.byId(_22e.id.PG_ED_WID);
+if(_235!=null){
+_235.editPageDestroy();
 }
-this._removeCols(document.getElementById(_228.id.DESKTOP));
+this._removeCols(document.getElementById(_22e.id.DESKTOP));
 this._destroyPageControls();
-},getColFromColNode:function(_230){
-if(_230==null){
+},getColFromColNode:function(_236){
+if(_236==null){
 return null;
 }
-var _231=_230.getAttribute("columnindex");
-if(_231==null){
+var _237=_236.getAttribute("columnindex");
+if(_237==null){
 return null;
 }
-var _232=new Number(_231);
-if(_232>=0&&_232<this.columns.length){
-return this.columns[_232];
+var _238=new Number(_237);
+if(_238>=0&&_238<this.columns.length){
+return this.columns[_238];
 }
 return null;
 },getColIndexForNode:function(node){
-var _234=null;
+var _23a=null;
 if(!this.columns){
-return _234;
+return _23a;
 }
 for(var i=0;i<this.columns.length;i++){
 if(this.columns[i].containsNode(node)){
-_234=i;
+_23a=i;
 break;
 }
 }
-return _234;
+return _23a;
 },getColWithNode:function(node){
-var _237=this.getColIndexForNode(node);
-return ((_237!=null&&_237>=0)?this.columns[_237]:null);
-},getDescendantCols:function(_238){
+var _23d=this.getColIndexForNode(node);
+return ((_23d!=null&&_23d>=0)?this.columns[_23d]:null);
+},getDescendantCols:function(_23e){
 var dMap={};
-if(_238==null){
+if(_23e==null){
 return dMap;
 }
 for(var i=0;i<this.columns.length;i++){
 var col=this.columns[i];
-if(col!=_238&&_238.containsDescendantNode(col.domNode)){
+if(col!=_23e&&_23e.containsDescendantNode(col.domNode)){
 dMap[i]=col;
 }
 }
 return dMap;
-},putMenu:function(_23c){
-if(!_23c){
+},putMenu:function(_242){
+if(!_242){
 return;
 }
-var _23d=(_23c.getName?_23c.getName():null);
-if(_23d!=null){
-this.menus[_23d]=_23c;
+var _243=(_242.getName?_242.getName():null);
+if(_243!=null){
+this.menus[_243]=_242;
 }
-},getMenu:function(_23e){
-if(_23e==null){
+},getMenu:function(_244){
+if(_244==null){
 return null;
 }
-return this.menus[_23e];
-},removeMenu:function(_23f){
-if(_23f==null){
+return this.menus[_244];
+},removeMenu:function(_245){
+if(_245==null){
 return;
 }
-var _240=null;
-if(dojo.lang.isString(_23f)){
-_240=_23f;
+var _246=null;
+if(dojo.lang.isString(_245)){
+_246=_245;
 }else{
-_240=(_23f.getName?_23f.getName():null);
+_246=(_245.getName?_245.getName():null);
 }
-if(_240!=null){
-delete this.menus[_240];
+if(_246!=null){
+delete this.menus[_246];
 }
 },clearMenus:function(){
 this.menus=[];
 },getMenuNames:function(){
-var _241=[];
-for(var _242 in this.menus){
-_241.push(_242);
-}
-return _241;
-},retrieveMenuDeclarations:function(_243,_244,_245){
-contentListener=new jetspeed.om.MenusApiCL(_243,_244,_245);
+var _247=[];
+for(var _248 in this.menus){
+_247.push(_248);
+}
+return _247;
+},retrieveMenuDeclarations:function(_249,_24a,_24b){
+contentListener=new jetspeed.om.MenusApiCL(_249,_24a,_24b);
 this.clearMenus();
-var _246="?action=getmenus";
-if(_243){
-_246+="&includeMenuDefs=true";
-}
-var _247=this.getPsmlUrl()+_246;
-var _248="text/xml";
-var _249=new jetspeed.om.Id("getmenus",{page:this});
-jetspeed.url.retrieveContent({url:_247,mimetype:_248},contentListener,_249,jetspeed.debugContentDumpIds);
-},syncPageControls:function(_24a){
-var jsId=_24a.id;
+var _24c="?action=getmenus";
+if(_249){
+_24c+="&includeMenuDefs=true";
+}
+var _24d=this.getPsmlUrl()+_24c;
+var _24e="text/xml";
+var _24f=new jetspeed.om.Id("getmenus",{page:this});
+jetspeed.url.retrieveContent({url:_24d,mimetype:_24e},contentListener,_24f,jetspeed.debugContentDumpIds);
+},syncPageControls:function(_250){
+var jsId=_250.id;
 if(this.actionButtons==null){
 return;
 }
-for(var _24c in this.actionButtons){
-var _24d=false;
-if(_24c==jsId.ACT_EDIT){
+for(var _252 in this.actionButtons){
+var _253=false;
+if(_252==jsId.ACT_EDIT){
 if(!this.editMode){
-_24d=true;
+_253=true;
 }
 }else{
-if(_24c==jsId.ACT_VIEW){
+if(_252==jsId.ACT_VIEW){
 if(this.editMode){
-_24d=true;
+_253=true;
 }
 }else{
-if(_24c==jsId.ACT_ADDPORTLET){
+if(_252==jsId.ACT_ADDPORTLET){
 if(!this.editMode){
-_24d=true;
+_253=true;
 }
 }else{
-_24d=true;
+_253=true;
 }
 }
 }
-if(_24d){
-this.actionButtons[_24c].style.display="";
+if(_253){
+this.actionButtons[_252].style.display="";
 }else{
-this.actionButtons[_24c].style.display="none";
+this.actionButtons[_252].style.display="none";
 }
 }
-},renderPageControls:function(_24e){
-var _24e=jetspeed;
-var _24f=_24e.page;
-var jsId=_24e.id;
-var _251=dojo;
-var _252=[];
+},renderPageControls:function(_254){
+var _254=jetspeed;
+var _255=_254.page;
+var jsId=_254.id;
+var _257=dojo;
+var _258=[];
 if(this.actions!=null){
 var addP=false;
-for(var _254 in this.actions){
-if(_254!=jsId.ACT_HELP){
-_252.push(_254);
+for(var _25a in this.actions){
+if(_25a!=jsId.ACT_HELP){
+_258.push(_25a);
 }
 }
 if(this.actions[jsId.ACT_EDIT]!=null){
 addP=true;
 if(this.actions[jsId.ACT_VIEW]==null){
-_252.push(jsId.ACT_VIEW);
+_258.push(jsId.ACT_VIEW);
 }
 }
 if(this.actions[jsId.ACT_VIEW]!=null){
 addP=true;
 if(this.actions[jsId.ACT_EDIT]==null){
-_252.push(jsId.ACT_EDIT);
+_258.push(jsId.ACT_EDIT);
 }
 }
-var _255=(_24f.rootFragmentId?_24f.layouts[_24f.rootFragmentId]:null);
-var _256=(!(_255==null||_255.layoutActionsDisabled));
-if(_256){
-_256=_24f._perms(_24e.prefs,_24e.id.PM_P_AD,String.fromCharCode);
-if(_256&&!this.isUA()&&(addP||_24f.canNPE())){
-_252.push(jsId.ACT_ADDPORTLET);
+var _25b=(_255.rootFragmentId?_255.layouts[_255.rootFragmentId]:null);
+var _25c=(!(_25b==null||_25b.layoutActionsDisabled));
+if(_25c){
+_25c=_255._perms(_254.prefs,_254.id.PM_P_AD,String.fromCharCode);
+if(_25c&&!this.isUA()&&(addP||_255.canNPE())){
+_258.push(jsId.ACT_ADDPORTLET);
 }
 }
 }
-var _257=_251.byId(jsId.PAGE_CONTROLS);
-if(_257!=null&&_252!=null&&_252.length>0){
-var _258=_24e.prefs;
-var jsUI=_24e.ui;
-var _25a=_251.event;
-var _25b=_24f.tooltipMgr;
+var _25d=_257.byId(jsId.PAGE_CONTROLS);
+if(_25d!=null&&_258!=null&&_258.length>0){
+var _25e=_254.prefs;
+var jsUI=_254.ui;
+var _260=_257.event;
+var _261=_255.tooltipMgr;
 if(this.actionButtons==null){
 this.actionButtons={};
 this.actionButtonTooltips=[];
 }
-var _25c=this.actionButtonTooltips;
-for(var i=0;i<_252.length;i++){
-var _254=_252[i];
-var _25e=document.createElement("div");
-_25e.className="portalPageActionButton";
-_25e.style.backgroundImage="url("+_258.getLayoutRootUrl()+"/images/desktop/"+_254+".gif)";
-_25e.actionName=_254;
-this.actionButtons[_254]=_25e;
-_257.appendChild(_25e);
-jsUI.evtConnect("after",_25e,"onclick",this,"pageActionButtonClick",_25a);
-if(_258.pageActionButtonTooltip){
-var _25f=null;
-if(_258.desktopActionLabels!=null){
-_25f=_258.desktopActionLabels[_254];
+var _262=this.actionButtonTooltips;
+for(var i=0;i<_258.length;i++){
+var _25a=_258[i];
+var _264=document.createElement("div");
+_264.className="portalPageActionButton";
+_264.style.backgroundImage="url("+_25e.getLayoutRootUrl()+"/images/desktop/"+_25a+".gif)";
+_264.actionName=_25a;
+this.actionButtons[_25a]=_264;
+_25d.appendChild(_264);
+jsUI.evtConnect("after",_264,"onclick",this,"pageActionButtonClick",_260);
+if(_25e.pageActionButtonTooltip){
+var _265=null;
+if(_25e.desktopActionLabels!=null){
+_265=_25e.desktopActionLabels[_25a];
 }
-if(_25f==null||_25f.length==0){
-_25f=_251.string.capitalize(_254);
+if(_265==null||_265.length==0){
+_265=_257.string.capitalize(_25a);
 }
-_25c.push(_25b.addNode(_25e,_25f,true,null,null,null,_24e,jsUI,_25a));
+_262.push(_261.addNode(_264,_265,true,null,null,null,_254,jsUI,_260));
 }
 }
 }
 },_destroyPageControls:function(){
-var _260=jetspeed;
+var _266=jetspeed;
 if(this.actionButtons){
-for(var _261 in this.actionButtons){
-var _262=this.actionButtons[_261];
-if(_262){
-_260.ui.evtDisconnect("after",_262,"onclick",this,"pageActionButtonClick");
+for(var _267 in this.actionButtons){
+var _268=this.actionButtons[_267];
+if(_268){
+_266.ui.evtDisconnect("after",_268,"onclick",this,"pageActionButtonClick");
 }
 }
 }
-var _263=dojo.byId(_260.id.PAGE_CONTROLS);
-if(_263!=null&&_263.childNodes&&_263.childNodes.length>0){
-for(var i=(_263.childNodes.length-1);i>=0;i--){
-dojo.dom.removeNode(_263.childNodes[i]);
+var _269=dojo.byId(_266.id.PAGE_CONTROLS);
+if(_269!=null&&_269.childNodes&&_269.childNodes.length>0){
+for(var i=(_269.childNodes.length-1);i>=0;i--){
+dojo.dom.removeNode(_269.childNodes[i]);
 }
 }
-_260.page.tooltipMgr.removeNodes(this.actionButtonTooltips);
+_266.page.tooltipMgr.removeNodes(this.actionButtonTooltips);
 this.actionButtonTooltips=null;
 this.actionButtons==null;
 },pageActionButtonClick:function(evt){
@@ -2230,30 +2254,30 @@
 return;
 }
 this.pageActionProcess(evt.target.actionName,evt);
-},pageActionProcess:function(_266){
-var _267=jetspeed;
-if(_266==null){
+},pageActionProcess:function(_26c){
+var _26d=jetspeed;
+if(_26c==null){
 return;
 }
-if(_266==_267.id.ACT_ADDPORTLET){
+if(_26c==_26d.id.ACT_ADDPORTLET){
 this.addPortletInitiate();
 }else{
-if(_266==_267.id.ACT_EDIT){
-_267.changeActionForPortlet(this.rootFragmentId,null,_267.id.ACT_EDIT,new _267.om.PageChangeActionCL());
-_267.editPageInitiate(_267);
+if(_26c==_26d.id.ACT_EDIT){
+_26d.changeActionForPortlet(this.rootFragmentId,null,_26d.id.ACT_EDIT,new _26d.om.PageChangeActionCL());
+_26d.editPageInitiate(_26d);
 }else{
-if(_266==_267.id.ACT_VIEW){
-_267.editPageTerminate(_267);
+if(_26c==_26d.id.ACT_VIEW){
+_26d.editPageTerminate(_26d);
 }else{
-var _268=this.getPageAction(_266);
-if(_268==null){
+var _26e=this.getPageAction(_26c);
+if(_26e==null){
 return;
 }
-if(_268.url==null){
+if(_26e.url==null){
 return;
 }
-var _269=_267.url.basePortalUrl()+_267.url.path.DESKTOP+"/"+_268.url;
-_267.pageNavigate(_269);
+var _26f=_26d.url.basePortalUrl()+_26d.url.path.DESKTOP+"/"+_26e.url;
+_26d.pageNavigate(_26f);
 }
 }
 }
@@ -2262,83 +2286,55 @@
 return null;
 }
 return this.actions[name];
-},addPortletInitiate:function(_26b,_26c){
-var _26d=jetspeed;
-var jsId=_26d.id;
-if(!_26c){
-_26c=escape(this.getPagePathAndQuery());
-}else{
-_26c=escape(_26c);
-}
-var _26f=_26d.url.basePortalUrl()+_26d.url.path.DESKTOP+"/system/customizer/selector.psml?jspage="+_26c;
-if(_26b!=null){
-_26f+="&jslayoutid="+escape(_26b);
+},addPortletInitiate:function(_271,_272){
+var _273=jetspeed;
+var jsId=_273.id;
+if(!_272){
+_272=escape(this.getPagePathAndQuery());
+}else{
+_272=escape(_272);
+}
+var _275=_273.url.basePortalUrl()+_273.url.path.DESKTOP+"/system/customizer/selector.psml?jspage="+_272;
+if(_271!=null){
+_275+="&jslayoutid="+escape(_271);
 }
 if(!this.editMode){
-_26f+="&"+_26d.id.ADDP_RFRAG+"="+escape(this.rootFragmentId);
+_275+="&"+_273.id.ADDP_RFRAG+"="+escape(this.rootFragmentId);
 }
 if(this.actions&&(this.actions[jsId.ACT_EDIT]||this.actions[jsId.ACT_VIEW])){

[... 3052 lines stripped ...]


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message