function ULSjLO(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="non_ie.js";return o;}
function MSOLayout_MinimizeRestoreDownLevel(c,b,d){ULSjLO:;var a=b=="Minimized"?"1":"0";document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value=c+",chromeState,"+a;document.forms[MSOWebPartPageFormName].MSOWebPartPage_PostbackSource.value=d;__doPostBack(MSOWebPartPageFormName,"")}function MSOLayout_RemoveWebPartDownLevel(a,b){ULSjLO:;document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value=a+",isIncluded,False";document.forms[MSOWebPartPageFormName].MSOWebPartPage_PostbackSource.value=22;if(b)MSOTlPn_ShowToolPane2("Browse");else __doPostBack(MSOWebPartPageFormName,"")}var MSOLayout_inDesignMode=false,MSOLayout_currentDragMode=0,MSOLayout_zoneDragOver=0,MSOLayout_rowToDrop=0,MSOLayout_cellToDrop=0,MSOLayout_oDropLocation=0,MSOLayout_iBar=document.createElement!=null?document.createElement("div"):null,MSOLayout_horzZoneIBar=0,MSOLayout_vertZoneIBar=0,MSOLayout_horzBodyZoneIBar=0,MSOLayout_vertBodyZoneIBar=0,MSOLayout_moveObject=0,MSOLayout_maintainOriginalZone=0,MSOLayout_topObject=document.body,MSOLayout_galleryView=0,MSOLayout_unsavedChanges=[],MSOLayout_FormSubmit=null,MenuWebPartID=null,MenuWebPart=null,MSOConn_SourceWpNode=null,MSOConn_TargetWpNode=null,MSOConn_XformInfo1=null,MSOConn_XformInfo2=null,MSOConn_AspXformInfo=null,MSOConn_ConnCancelled=false,MSOConn_MultipleTargetGroups=false,MSOConn_TargetGroupNode=null,MSOConn_SourceGroupNode=null,MSOConn_BackButtonClicked=false;function MSOConn_DialogFeatures(){ULSjLO:;if(window.showModalDialog)return "dialogHeight:210px;dialogWidth:460px;center:yes;help:no;status:no;scroll:no;resizable:no;";return "resizable=no,status=no,scrollbars=no,menubar=no,directories=no,location=no,width=460,height=210"}function MSOLayout_RemoveQueryParametersFromUrl(a){ULSjLO:;a=RemoveQueryParameterFromUrl(a,"[p|P][a|A][g|G][e|E][v|V][i|I][e|E][w|W]");a=RemoveQueryParameterFromUrl(a,"[tT][oO][[oO][lL][pP][aA][nN][eE][vV][iE][eE][wW]");a=RemoveQueryParameterFromUrl(a,"[dD][iI][sS][pP][lL][aA][yY][mM][oO][dD][eE]");return a}function _MSOLayout_ChangeLayoutMode(c,b){ULSjLO:;if(c!=null){MSOLayout_SaveChanges();var a=document.forms[MSOWebPartPageFormName].action;a=RemoveQueryParameterFromUrl(a,"[p|P][a|A][g|G][e|E][v|V][i|I][e|E][w|W]");a=RemoveQueryParameterFromUrl(a,"[tT][oO][[oO][lL][pP][aA][nN][eE][vV][iE][eE][wW]");a=RemoveQueryParameterFromUrl(a,"[dD][iI][sS][pP][lL][aA][yY][mM][oO][dD][eE]");a=RemoveQueryParameterFromUrl(a,"InitialTabId");a=RemoveQueryParameterFromUrl(a,"VisibilityContext");if(a.indexOf("?")<0)a+="?";else a+="&";if(c==true){document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value=1;document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value="Design";a+="PageView=Personal";if(FV4UI())a+="&InitialTabId=Ribbon.WebPartPage&VisibilityContext=WSSWebPartPage";document.forms[MSOWebPartPageFormName].action=a}else{document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value=1;document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value="Design";a+="PageView=Shared";if(FV4UI())a+="&InitialTabId=Ribbon.WebPartPage&VisibilityContext=WSSWebPartPage";document.forms[MSOWebPartPageFormName].action=a}}else if(b!=null&&b){var a=document.forms[MSOWebPartPageFormName].action;a=RemoveQueryParameterFromUrl(a,"[tT][oO][[oO][lL][pP][aA][nN][eE][vV][iE][eE][wW]");a=RemoveQueryParameterFromUrl(a,"[dD][iI][sS][pP][lL][aA][yY][mM][oO][dD][eE]");document.forms[MSOWebPartPageFormName].MSOWebPartPage_Shared.value="";document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value=0;document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value="Browse";document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_ExitingDesignMode.value="true";document.forms[MSOWebPartPageFormName].action=a}document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_EndWebPartEditing.value="true";__doPostBack(MSOWebPartPageFormName,"")}function MSOLayout_ToggleLayoutMode(){ULSjLO:;var a=document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value;if(a!=1){document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value=1;document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value="Design"}else{document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value=0;document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value="Browse"}__doPostBack(MSOWebPartPageFormName,"")}function MSOLayout_ToggleView(b){ULSjLO:;var a=document.forms[MSOWebPartPageFormName].action;a=MSOLayout_RemoveQueryParametersFromUrl(a);document.forms[MSOWebPartPageFormName].action=a;if(b==true)document.forms[MSOWebPartPageFormName].MSOWebPartPage_Shared.value="false";else document.forms[MSOWebPartPageFormName].MSOWebPartPage_Shared.value="true";document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value=0;document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value="Browse";__doPostBack(MSOWebPartPageFormName,"")}function MSOLayout_SetupLayoutFlags(){ULSjLO:;MSOLayout_inDesignMode=true;MSOLayout_topObject=document.getElementById("MSOTlPn_WebPartPageDiv")!=null?document.getElementById("MSOTlPn_WebPartPageDiv"):document.body}function MSOLayout_GetRealOffset(f,c,d){ULSjLO:;var b=0;if(!d)d=document.body;for(var e=d.offsetParent,g=document.body,a=f;a&&a!=e&&a!=g;a=a.offsetParent)if(c.charAt(0)=="L")b+=a.offsetLeft;else if(c.charAt(0)=="T")b+=a.offsetTop;else if(c.charAt(0)=="B")b+=a.offsetBottom;else if(c.charAt(0)=="R")b+=a.offsetRight;return b}function MSOLayout_IsWikiEditMode(){ULSjLO:;var a=document.getElementById("_wikiPageMode");if(!a)return false;return a.value=="Edit"}function MSOLayout_MoveWebPartStart(h,a,d,f){ULSjLO:;if(window.event==null||window.event.button!=1)return;MSOLayout_currentDragMode="move";document.selection.empty();MSOLayout_galleryView=f==true?true:false;MSOLayout_CreateDragObject(d);MSOLayout_CreateIBar();MSOLayout_oDropLocation=a;MSOLayout_maintainOriginalZone=a.allowZoneChange=="0"?MSOLayout_GetParentTable(a):"0";if(MSOLayout_galleryView&&a.dzc!=null){var b=GetElementsByName("MSOZone");if(b!=null&&b.length>1)for(i=0;i<b.length;i++)if(b[i].zoneID==a.zoneid){MSOLayout_maintainOriginalZone=b[i];break}}MSOLayout_iBar.goodDrop="false";var c=MSOLayout_GetParentTable(a);if(c.id=="MSOZone"){MSOLayout_zoneDragOver=c;MSOLayout_zoneDragOver.className="ms-SPZoneSelected"}!MSOLayout_galleryView&&!MSOLayout_IsWikiEditMode()&&MSOLayout_MoveIBar(a);AddEvtHandler(document.body,"ondragover",MSOLayout_MoveWebPartBodyDragOver);var e=document.body.ondragend,g=document.body.ondrop;document.body.ondragend=new Function("window.event.returnValue=false;");document.body.ondrop=new Function("MSOLayout_iBar.goodDrop='true';");a.ondragstart=new Function("try {event.dataTransfer.effectAllowed='move';} catch (exception) {}");AddEvtHandler(a,"ondrag",MSOLayout_MoveDragObject);a.dragDrop();DetachEvent("dragover",MSOLayout_MoveWebPartBodyDragOver,document.body);document.body.ondragend=e;document.body.ondrop=g;DetachEvent("drag",MSOLayout_MoveDragObject,a);MSOLayout_moveObject.style.display="none";MSOLayout_currentDragMode=0;navigator.userAgent.toLowerCase().indexOf("msie 5.5")!=-1&&a.swapNode(a);h.returnValue=false}function MSOLayout_MoveWebPartDragZoneEnter(a){ULSjLO:;if(MSOLayout_currentDragMode!="move")return;if(a!=MSOLayout_zoneDragOver){MSOLayout_zoneDragOver.className="ms-SPZone";MSOLayout_zoneDragOver=a;event.dataTransfer.dropEffect="move"}MSOLayout_MoveWebPartStopEventBubble()}function MSOLayout_MoveWebPartDragEnter(a){ULSjLO:;if(MSOLayout_currentDragMode!="move")return;event.dataTransfer.dropEffect="move";MSOLayout_cellToDrop=a.cellIndex;MSOLayout_rowToDrop=MSOLayout_GetParentRow(a).rowIndex}function MSOLayout_MoveWebPartDragOver(d,a,b){ULSjLO:;if(MSOLayout_currentDragMode!="move")return;event.dataTransfer.dropEffect="move";var c=b=="True"?true:false;MSOLayout_SetupDropLocation(a,c);MSOLayout_oDropLocation=MSOLayout_zoneDragOver.rows[MSOLayout_rowToDrop].cells[MSOLayout_cellToDrop];MSOLayout_MoveIBar(MSOLayout_oDropLocation);MSOLayout_galleryView&&MSOLayout_maintainOriginalZone=="0"&&MSOLayout_UpdateZoneDropDown();MSOLayout_MoveWebPartStopEventBubble()}function MSOLayout_MoveWebPartBodyDragOver(){ULSjLO:;if(MSOLayout_currentDragMode!="move")return;event.dataTransfer.dropEffect="none";MSOLayout_iBar.style.display="none";if(MSOLayout_zoneDragOver.className!="ms-SPZone")MSOLayout_zoneDragOver.className="ms-SPZone";window.event.returnValue=false}function MSOLayout_MoveWebPartStopEventBubble(){ULSjLO:;if(MSOLayout_currentDragMode!="move"||MSOLayout_iBar.style.display=="none")return;window.event.returnValue=false;window.event.cancelBubble=true}function MSOLayout_MoveWebPart(OriginalTableCell,DestinationTableCell){ULSjLO:;MSOLayout_iBar.style.display="none";MSOLayout_zoneDragOver.className="ms-SPZone";if(MSOLayout_currentDragMode!="move"||MSOLayout_iBar.goodDrop!="true"||OriginalTableCell==DestinationTableCell)return;var newTableCell,originalZone=MSOLayout_GetParentTable(OriginalTableCell),originalIndex=OriginalTableCell.orientation=="Horizontal"?OriginalTableCell.cellIndex:OriginalTableCell.parentNode.rowIndex,destinationZone,destinationIndex;destinationZone=MSOLayout_GetParentTable(DestinationTableCell);var zonesChanged=destinationZone!=originalZone;if(DestinationTableCell.orientation=="Horizontal"){destinationIndex=DestinationTableCell.cellIndex;newTableCell=MSOLayout_GetParentRow(DestinationTableCell).insertCell(destinationIndex)}else{destinationIndex=DestinationTableCell.parentNode.rowIndex;newTableCell=destinationZone.insertRow(MSOLayout_GetParentRow(DestinationTableCell).rowIndex).insertCell()}newTableCell.swapNode(OriginalTableCell);if(OriginalTableCell.orientation=="Horizontal")newTableCell.removeNode(true);else MSOLayout_GetParentRow(newTableCell).removeNode(true);OriginalTableCell.orientation=DestinationTableCell.orientation;if(zonesChanged){var originalEmptyZoneText=getFirstElementByName(originalZone,"MSOZoneCell_emptyZoneText"),destinationEmptyZoneText=getFirstElementByName(destinationZone,"MSOZoneCell_emptyZoneText");if(originalEmptyZoneText!=null){originalEmptyZoneText.webPartsInZone--;if(originalEmptyZoneText.webPartsInZone==0){originalEmptyZoneText.style.display="";originalEmptyZoneText.parentNode.style.padding=""}}if(destinationEmptyZoneText!=null){destinationEmptyZoneText.webPartsInZone++;destinationEmptyZoneText.style.display="none";destinationEmptyZoneText.parentNode.style.padding="0"}}if(zonesChanged||destinationIndex!=originalIndex&&destinationIndex!=originalIndex+1){if(originalZone!=destinationZone){MSOLayout_AddChange(eval(OriginalTableCell.relatedwebpart),"Zone",destinationZone.zoneID);MSOLayout_UpdatePartOrderAfterMove(originalZone,0)}MSOLayout_UpdatePartOrderAfterMove(destinationZone,0)}}function MSOLayout_UpdatePartOrderAfterMove(Zone,StartingIndex){ULSjLO:;var index;if(Zone.orientation=="Horizontal"){var parentRow=Zone.rows[0];for(index=StartingIndex;index<parentRow.cells.length;index++)MSOLayout_AddChange(eval(parentRow.cells[index].relatedwebpart),"ZoneIndex",index)}else for(index=StartingIndex;index<Zone.rows.length;index++)MSOLayout_AddChange(eval(Zone.rows[index].cells[0].relatedwebpart),"ZoneIndex",index)}function MSOLayout_CreateDragObject(b){ULSjLO:;var a;if(!MSOLayout_moveObject){MSOLayout_moveObject=insertAdjacentElement(document.body,"afterBegin",document.createElement("DIV"));MSOLayout_moveObject.className="UserCellSelected";MSOLayout_moveObject.style.cssText="font-size:8pt;position:absolute;overflow:hidden;display:none;z-index:100";MSOLayout_moveObject.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=75)";a=MSOLayout_moveObject.insertBefore(document.createElement("NOBR"));a.style.cssText="padding-top:2px;width:147px;height:1.5em;overflow:hidden;text-overflow:ellipsis"}else a=MSOLayout_moveObject.children(0);a.innerText=b}function MSOLayout_MoveDragObject(){ULSjLO:;if(MSOLayout_currentDragMode!="move")return;if(MSOLayout_moveObject.style.display=="none")MSOLayout_moveObject.style.display="";if(MSOLayout_moveObject.style.width==""){MSOLayout_moveObject.realWidth=MSOLayout_moveObject.offsetWidth;MSOLayout_moveObject.realHeight=MSOLayout_moveObject.offsetHeight}var a=MSOLayout_moveObject.realWidth,b=MSOLayout_moveObject.realHeight,c=event.clientX+document.body.scrollLeft-a/2,d=event.clientY+document.body.scrollTop+1;if(c+a>document.body.scrollWidth)a-=c+a-document.body.scrollWidth;if(d+b>document.body.scrollHeight)b-=d+b-document.body.scrollHeight;if(b<=0||a<=0){MSOLayout_moveObject.style.display="none";a=b=0}else MSOLayout_moveObject.style.display="";MSOLayout_moveObject.style.width=a;MSOLayout_moveObject.style.height=b;MSOLayout_moveObject.style.pixelLeft=c;MSOLayout_moveObject.style.pixelTop=d}function MSOLayout_CreateIBar(){ULSjLO:;if(!MSOLayout_vertZoneIBar||!MSOLayout_horzZoneIBar){var f="";if(FV4UI())f=" margin:1px;";var a=document.createElement("TABLE");a.style.cssText="font-size:1pt; position:absolute; display:none; border-collapse:collapse;"+f;a.className="ms-SPZoneIBar";a.cellSpacing="0";a.cellPadding="0";AddEvtHandler(a,"ondragenter",MSOLayout_MoveWebPartStopEventBubble);AddEvtHandler(a,"ondragover",MSOLayout_MoveWebPartStopEventBubble);var e=a.insertRow().insertCell();e.align="center";var b=e.insertBefore(document.createElement("DIV"));b.name="MSOLayout_insideIBar";b.className="ms-SPZoneIBar";b.style.backgroundColor=a.currentStyle.borderColor;b.style.background="transparent";b.style.borderWidth="2px";b.style.position="relative";if(!MSOLayout_topObject)MSOLayout_topObject=document.body;MSOLayout_horzZoneIBar=MSOLayout_topObject.appendChild(a.cloneNode(true));MSOLayout_vertZoneIBar=MSOLayout_topObject.appendChild(a.cloneNode(true));var c=getFirstElementByName(MSOLayout_horzZoneIBar,"MSOLayout_insideIBar"),d=getFirstElementByName(MSOLayout_vertZoneIBar,"MSOLayout_insideIBar");MSOLayout_horzZoneIBar.style.width=6;MSOLayout_horzZoneIBar.style.borderStyle="solid none";c.style.height="100%";c.style.width="33%";c.style.borderStyle="none solid none none";c.style.posTop=0;MSOLayout_vertZoneIBar.style.height=6;MSOLayout_vertZoneIBar.style.borderStyle="none solid";d.style.width="100%";d.style.height="2";d.style.borderStyle="solid none none none";d.style.posTop=1;if(MSOLayout_topObject!=document.body){MSOLayout_horzBodyZoneIBar=document.body.appendChild(MSOLayout_horzZoneIBar.cloneNode(true));MSOLayout_vertBodyZoneIBar=document.body.appendChild(MSOLayout_vertZoneIBar.cloneNode(true))}}MSOLayout_iBar=MSOLayout_vertZoneIBar}function MSOLayout_MoveIBar(a){ULSjLO:;if(MSOLayout_iBar)MSOLayout_iBar.style.display="none";var f=contains(MSOLayout_topObject,a);if(MSOLayout_maintainOriginalZone=="0"||MSOLayout_GetParentTable(a)==MSOLayout_maintainOriginalZone){var b,d=0,c=FV4UI()?2:0;if(a.orientation=="Horizontal"){var i=document.dir=="rtl"?a.offsetWidth-(a.cellIndex==0?3:0):0;MSOLayout_iBar=f?(MSOLayout_iBar=MSOLayout_horzZoneIBar):MSOLayout_horzBodyZoneIBar;b=getFirstElementByName(MSOLayout_iBar,"MSOLayout_insideIBar");MSOLayout_iBar.style.pixelLeft=MSOLayout_GetRealOffset(a,"Left",MSOLayout_topObject)-(a.cellIndex==0?0:3);MSOLayout_iBar.style.pixelLeft+=i;MSOLayout_iBar.style.pixelTop=MSOLayout_GetRealOffset(MSOLayout_zoneDragOver,"Top",MSOLayout_topObject)+1;d=MSOLayout_zoneDragOver.clientHeight>=c?MSOLayout_zoneDragOver.clientHeight-c:MSOLayout_zoneDragOver.clientHeight;MSOLayout_iBar.style.height=d;if(a.id=="MSOZone_EmptyZoneCell"){var g=getFirstElementByName(a,"MSOZoneCell_emptyZoneText");if(g!=null&&g.webPartsInZone>0)MSOLayout_iBar.style.pixelLeft-=3}}else{MSOLayout_iBar=f?MSOLayout_vertZoneIBar:MSOLayout_vertBodyZoneIBar;b=getFirstElementByName(MSOLayout_iBar,"MSOLayout_insideIBar");MSOLayout_iBar.style.pixelLeft=MSOLayout_GetRealOffset(MSOLayout_zoneDragOver,"Left",MSOLayout_topObject)+1;MSOLayout_iBar.style.pixelTop=MSOLayout_GetRealOffset(a,"Top",MSOLayout_topObject)-(MSOLayout_GetParentRow(a).rowIndex==0?0:4);MSOLayout_iBar.style.width=MSOLayout_zoneDragOver.clientWidth>=c?MSOLayout_zoneDragOver.clientWidth-c:MSOLayout_zoneDragOver.clientWidth;if(a.id=="MSOZone_EmptyZoneCell")MSOLayout_iBar.style.pixelTop-=1}if(FV4UI()&&MSOLayout_topObject.id!="MSOTlPn_WebPartPageDiv"){var e=document.getElementById("s4-workspace");if(e&&!browseris.ie8standard){MSOLayout_iBar.style.pixelTop-=e.scrollTop;MSOLayout_iBar.style.pixelLeft-=e.scrollLeft}}if(FV4UI()&&b&&a.orientation=="Horizontal"){b.style.minHeight=d-6;var h=b.parentNode;if(h)h.align="left"}if(MSOLayout_zoneDragOver.className!="ms-SPZoneSelected")MSOLayout_zoneDragOver.className="ms-SPZoneSelected";MSOLayout_iBar.style.display="inline"}}function MSOLayout_UpdateZoneDropDown(){ULSjLO:;if(window.zoneChooserID){var a=GetElementsByName(zoneChooserID);if(a!=null&&a.length>0){a=a[0];for(i=0;i<a.options.length;i++)if(a.options[i].value==MSOLayout_zoneDragOver.zoneID)a.options[i].selected=true}}}function MSOLayout_SetupDropLocation(a,c){ULSjLO:;if(a.orientation=="Vertical"){var b=MSOLayout_GetParentRow(a);if(!b)return;if(a.id!="MSOZone_EmptyZoneCell"&&(!c||event.clientY+MSOLayout_topObject.scrollTop-MSOLayout_GetRealOffset(a,"Top")>a.offsetHeight/2))MSOLayout_rowToDrop=b.rowIndex+1;else MSOLayout_rowToDrop=b.rowIndex}else{var d=document.dir=="rtl",f=a.parentNode.childNodes.length,e=a.cellIndex+1;if(a.id!="MSOZone_EmptyZoneCell"&&(!c||event.clientX+MSOLayout_topObject.scrollLeft-MSOLayout_GetRealOffset(a,"Left")>a.offsetWidth/2))MSOLayout_cellToDrop=d?a.cellIndex:a.cellIndex+1;else if(d)MSOLayout_cellToDrop=e>=f?a.cellIndex:a.cellIndex+1;else MSOLayout_cellToDrop=a.cellIndex}}function MSOLayout_UpdatePropertySheet(d,a,b){ULSjLO:;var c=document.getElementById("MSOTlPn_MainTD");if(d.SelectedWebPart&&c)for(Elements=c.all,ElementIndex=0;ElementIndex<Elements.length;ElementIndex++)if(Elements[ElementIndex].layoutID==a)if(a=="ChromeState"){for(radioElements=Elements[ElementIndex].all,radioIndex=0;radioIndex<radioElements.length;radioIndex++)if(radioElements[radioIndex].value==b){radioElements[radioIndex].checked=true;break}}else if(a=="Height"||a=="Width"){for(radioElements=Elements[ElementIndex].all,radioIndex=0;radioIndex<radioElements.length;radioIndex++)if(radioElements[radioIndex].id.indexOf("YesOption")!=-1)radioElements[radioIndex].checked=true;else if(radioElements[radioIndex].id.indexOf("SizeTextBox")!=-1)radioElements[radioIndex].value=b;else if(radioElements[radioIndex].id.indexOf("UnitsDropdown")!=-1)radioElements[radioIndex].value="Pixel"}else Elements[ElementIndex].value=b}function MSOLayout_MinimizeRestore(a){ULSjLO:;var c,b;if(a.style.display!="none"){c="Minimized";b=1;a.style.display="none"}else{c="Normal";b=0;a.style.display=""}MSOLayout_UpdatePropertySheet(a,"ChromeState",c);MSOLayout_AddChange(a,"chromeState",b);RefreshCommandUI()}function MSOLayout_PageViewerMinimizeRestore(c,b){ULSjLO:;var a=document.getElementById(b);if(a!=null)if(c.style.display!="none")if(a.src!=a.ddf_src)a.src=a.ddf_src}function MSOLayout_FindAncestorByAttribute(a,b){ULSjLO:;while(a!=null){if(a.getAttribute(b)!=null)break;a=a.parentNode}return a}function MSOLayout_MinimizeRestoreToolPart(f,j,e,i,h){ULSjLO:;var g=f+"ChromeState",a=f+"Chrome",b,c;if(document.getElementById(a).style.display=="none"){document.getElementById(a).style.display="inline";document.images[e].src="/_layouts/images/TPMin1.gif";c=MSOStrings.ToolPartCollapseToolTip;b="Normal"}else{document.getElementById(a).style.display="none";document.images[e].src="/_layouts/images/TPMax1.gif";c=MSOStrings.ToolPartExpandToolTip;b="Minimized"}var d=c.replace("%0",j);document.images[e].alt=d;document.getElementById(h).title=d;document.getElementById(i).title=d;if(document.getElementById(g)!=null)document.getElementById(g).value=b}function MSOLayout_RemoveWebPart(a){ULSjLO:;MSOLayout_AddChange(a,"isIncluded","False");document.forms[MSOWebPartPageFormName].MSOWebPartPage_PostbackSource.value=19;if(a.SelectedWebPart)MSOTlPn_onToolPaneCloseClick();else __doPostBack(MSOWebPartPageFormName,"")}function MSOLayout_RefreshIFrame(a){ULSjLO:;document.forms[MSOWebPartPageFormName].MSOWebPartPage_PostbackSource.value=23;a.src=a.src}function MSOLayout_GetStyleFromClass(sClass,sRule){ULSjLO:;insertAdjacentHTML(document.body,"beforeEnd","<div style='display:none' id='temp' class='"+sClass+"'></div>");var sReturnValue=eval("temp.currentStyle."+sRule);temp.removeNode();return sReturnValue}function MSOLayout_AddChange(a,c,b){ULSjLO:;if(!a)return;var e=a.getAttribute("WebPartID");if(a.layoutChanges){var d=MSOLayout_SearchArray(a.layoutChanges,c);if(d!=-1)a.layoutChanges[d+1]=b;else{a.layoutChanges.push(c);a.layoutChanges.push(b)}}else{a.layoutChanges=[];a.layoutChanges.push(c);a.layoutChanges.push(b)}if(MSOLayout_SearchArray(MSOLayout_unsavedChanges,e)==-1){MSOLayout_unsavedChanges.push((MSOLayout_unsavedChanges.length?"|":"")+e);MSOLayout_unsavedChanges.push(a.layoutChanges)}document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value=MSOLayout_unsavedChanges;MSOLayout_UpdatePropertySheet(a,c,b);if(MSOLayout_FormSubmit==null){MSOLayout_FormSubmit=document.forms[MSOWebPartPageFormName].submit;document.forms[MSOWebPartPageFormName].submit=new Function("MSOLayout_OnSubmit(); if(MSOLayout_FormSubmit.call) MSOLayout_FormSubmit.call(document.forms[MSOWebPartPageFormName]); else MSOLayout_FormSubmit();");AddEvtHandler(document.forms[MSOWebPartPageFormName],"onsubmit",MSOLayout_OnSubmit);AddEvtHandler(window,"onunload",MSOLayout_SaveChanges)}}function MSOLayout_OnSubmit(){ULSjLO:;DetachEvent("unload",MSOLayout_SaveChanges,window)}function MSOLayout_SaveChanges(){ULSjLO:;if(document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges!=null&&document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value!=""){var a=document.URLUnencoded;if(a==null)a=document.URL;var d=/\#/,c=a.search(d);if(c!=-1)a=a.substring(0,c);a=encodeURI(a);var b=GetXMLHttpRequestObject();b.open("POST",a,false);var e="&__REQUESTDIGEST="+URLEncode(document.forms[MSOWebPartPageFormName].__REQUESTDIGEST.value)+"&MSOLayout_LayoutChanges="+URLEncode(document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value);b.setRequestHeader("Content-Type","application/x-www-form-urlencoded");b.send(e);document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value=""}}function MSOLayout_SearchArray(b,c){ULSjLO:;for(var a=0;a<b.length;a++)if(b[a]==c||b[a]=="#"+c)return a;return -1}function MSOWebPartPage_OpenMenu(u,p,v,s,t){ULSjLO:;var e=document.getElementById(u),a=document.getElementById(v);if(e!=null&&typeof e.length!="undefined")e=e[0];if(a){MenuWebPart=a;MenuWebPartID=a.getAttribute("WebPartID");if(typeof vwpcm!="undefined"&&vwpcm){MenuWebPartID2=a.getAttribute("WebPartID2");if(!MenuWebPartID2)MenuWebPartID2=MenuWebPartID}for(var n=null,i=null,l=null,j=null,k=null,h=null,m=null,d=null,q=e.getElementsByTagName("ie:menuitem"),r=e.getElementsByTagName("menuitem"),g=[],c=0;c<q.length;c++)g.push(q[c]);for(var c=0;c<r.length;c++)g.push(r[c]);for(var c=0;c<g.length;++c){var b=g[c];switch(b.id){case "MSOMenu_Minimize":n=b;break;case "MSOMenu_Restore":i=b;break;case "MSOMenu_Close":l=b;break;case "MSOMenu_Delete":j=b;break;case "MSOMenu_Export":k=b;break;case "MSOMenu_RestorePartDefaults":h=b;break;case "MSOMenu_Help":m=b;break;case "MSOMenu_Connections":d=b}}if(n)n.style.display=a.getAttribute("allowMinimize")=="false"||a.style.display=="none"?"none":"";if(i)i.style.display=a.getAttribute("allowMinimize")=="false"||a.style.display!="none"?"none":"";if(l)l.style.display=a.getAttribute("allowRemove")=="false"?"none":"";if(j)j.style.display=a.getAttribute("allowDelete")!="false"?"":"none";if(k)k.style.display=a.getAttribute("allowExport")=="false"?"none":"";if(m)m.style.display=a.getAttribute("helpLink")==null?"none":"";if(h)h.style.display=MSOLayout_inDesignMode&&a.getAttribute("HasPers")=="true"&&a.OnlyForMePart!="true"?"":"none";if(d)d.style.display=MSOLayout_inDesignMode?"":"none";if(s!="False"){var o=document.getElementById("MSOMenu_Connections"+a.id);if(d!=null&&o!=null)if(browseris.ie)try{d.outerHTML=o.innerHTML}catch(w){}else{var f=o.firstChild;while(f!=null&&f.nodeType!=1)f=f.nextSibling;if(f!=null){f.style.display=d.style.display;d.parentNode.replaceChild(f.cloneNode(true),d)}}}}t&&SP.Ribbon.PageManager.get_instance().get_commandDispatcher().executeCommand("appstatechanged",null);p!=null&&MenuHtc_show(e,p,true,null,null);return true}function MSOConn_IsXFormUINeeded(b){ULSjLO:;var a=SelectSingleNode(MSOConn_TargetGroupNode,XPathForBrowser("tInterface")),d=false,c=SelectSingleNode(a,XPathForBrowser("xForm"));if(c!=null&&SelectSingleNode(a,"mi").getAttribute("isXFormUINeeded")=="True"){d=true;if(MSOConn_TargetGroupNode.getAttribute(XPathForBrowser("isConn"))=="True")document.getElementById("MSOConn_Button").value="edit";if(c.getAttribute("type")=="RowCellTransform")MSOConn_ShowRowCellXForm(a,b);else if(c.getAttribute("type")=="RowFilterTransform")MSOConn_ShowRowFilterXForm(a,b);else MSOConn_ShowAspXForm(a,b)}if(!d){if(MSOConn_TargetGroupNode.getAttribute(XPathForBrowser("isConn"))=="True"&&MSOConn_BackButtonClicked==false)document.getElementById("MSOConn_Button").value="remove";b()}}function MSOConn_ShowRowFilterXForm(targetInterface,fnCallback){ULSjLO:;var rowProInitArgNode,filConInitArgNode,providerPart,consumerPart,sMatchInterfaceName=SelectSingleNode(targetInterface,"mi").getAttribute("id"),xFormInfo=SelectSingleNode(targetInterface,"mi").getAttribute(XPathForBrowser("xInfo")),sInterfaceNode=SelectSingleNode(MSOConn_SourceGroupNode,XPathForBrowser("sInterfaces/sInterface")+"[@id='"+sMatchInterfaceName+"']");rowProInitArgNode=SelectSingleNode(targetInterface,XPathForBrowser("InitEventArgs/RowProviderInitEventArgs"));var isConnected=MSOConn_TargetGroupNode.getAttribute(XPathForBrowser("isConn"));if(rowProInitArgNode==null){rowProInitArgNode=SelectSingleNode(sInterfaceNode,XPathForBrowser("InitEventArgs/RowProviderInitEventArgs"));filConInitArgNode=SelectSingleNode(targetInterface,XPathForBrowser("InitEventArgs/FilterConsumerInitEventArgs"));consumerPart=MSOConn_TargetWpNode;providerPart=MSOConn_SourceWpNode}else{filConInitArgNode=SelectSingleNode(sInterfaceNode,XPathForBrowser("InitEventArgs/FilterConsumerInitEventArgs"));consumerPart=MSOConn_SourceWpNode;providerPart=MSOConn_TargetWpNode}if(rowProInitArgNode!=null&&filConInitArgNode!=null){var rowFieldList=[],rowFieldDisplayList=[],rowFieldListNodes=SelectNodes(rowProInitArgNode,XPathForBrowser("Field")),filterFieldListNodes=SelectNodes(filConInitArgNode,XPathForBrowser("Field")),filterFieldList=[],filterFieldDisplayList=[];if(rowFieldListNodes==null||rowFieldListNodes.length==0){var cref=rowProInitArgNode.getAttribute("cref");if(cref!=null){var strVal=cref+".GetInitEventArgs()",args=null;try{args=eval(strVal)}catch(e){}if(args!=null){rowFieldList=args.FieldList;rowFieldDisplayList=args.FieldDisplayList}}}else for(var i=0;i<rowFieldListNodes.length;i++){var displayListSet=false;rowFieldList[i]=rowFieldListNodes[i].getAttribute("FieldName");if(rowFieldListNodes[i].getAttribute("FieldDisplayName")!=null){rowFieldDisplayList[i]=rowFieldListNodes[i].getAttribute("FieldDisplayName");displayListSet=true}else if(displayListSet==true)rowFieldDisplayList=null}if(filterFieldListNodes==null||filterFieldListNodes.length==0){var cref=filConInitArgNode.getAttribute("cref");if(cref!=null){var strVal=cref+".GetInitEventArgs()",args=null;try{args=eval(strVal)}catch(e){}if(args!=null){filterFieldList=args.FieldList;filterFieldDisplayList=args.FieldDisplayList}}}else for(var i=0;i<filterFieldListNodes.length;i++){var displayListSet=false;filterFieldList[i]=filterFieldListNodes[i].getAttribute("FieldName");if(filterFieldListNodes[i].getAttribute("FieldDisplayName")!=null){filterFieldDisplayList[i]=filterFieldListNodes[i].getAttribute("FieldDisplayName");displayListSet=true}else if(displayListSet==true)filterFieldDisplayList=null}if(rowFieldList!=null&&rowFieldList.length!=0&&filterFieldList!=null&&filterFieldList.length!=0||isConnected=="True"){var rfxFormInfo,rowList=rowFieldList;if(rowFieldDisplayList!=null&&rowFieldDisplayList.length==rowFieldList.length)rowList=rowFieldDisplayList;var sFeatures=MSOConn_DialogFeatures(),url=document.getElementById("MSOConn_RFProXform").value+"?part=provider",arguments=[rowList,isConnected,providerPart.getAttribute("title"),consumerPart.getAttribute("title"),MSOConn_MultipleTargetGroups,xFormInfo,rowFieldList];commonShowModalDialog(url,sFeatures,function(a){ULSjLO:;var c=true;if(a==null||a=="undefined")MSOConn_ConnCancelled=true;else if(a=="remove"){document.getElementById("MSOConn_Button").value="remove";rfxFormInfo=""}else if(a=="choose")MSOConn_ShowTargetGroupsDialog(MSOConn_ShowXFormsAndPersistEx);else{c=false;var b=filterFieldList;if(filterFieldDisplayList!=null&&filterFieldList.length==filterFieldDisplayList.length)b=filterFieldDisplayList;var d=rowList[a];arguments=[b,d,isConnected,consumerPart.getAttribute("title"),xFormInfo,filterFieldList];commonShowModalDialog(document.getElementById("MSOConn_RFConXform").value,sFeatures,function(b){ULSjLO:;if(b==null)MSOConn_ConnCancelled=true;else if(b=="remove"){document.getElementById("MSOConn_Button").value="remove";rfxFormInfo=""}else if(b=="previous")MSOConn_ShowRowFilterXForm(targetInterface);else if(MSOConn_ConnCancelled!=true){MSOConn_XformInfo1=filterFieldList[b];MSOConn_XformInfo2=rowFieldList[a]}fnCallback()},arguments)}c&&fnCallback()},arguments)}else{MSOConn_InitArgsError();MSOConn_ConnCancelled=true}}else{MSOConn_InitArgsError();MSOConn_ConnCancelled=true}}function MSOConn_ShowRowCellXForm(targetInterface,fnCallback){ULSjLO:;var rowProInitArgNode=null,cellConInitArgNode=null,providerPart=null,consumerPart=null,rcxFormInfo=null,sMatchInterfaceName=SelectSingleNode(targetInterface,"mi").getAttribute("id"),xFormInfo=SelectSingleNode(targetInterface,"mi").getAttribute(XPathForBrowser("xInfo")),sInterfaceNode=SelectSingleNode(MSOConn_SourceGroupNode,"sInterfaces/sInterface[@id='"+sMatchInterfaceName+"']");rowProInitArgNode=SelectSingleNode(targetInterface,XPathForBrowser("InitEventArgs/RowProviderInitEventArgs"));var isConnected=MSOConn_TargetGroupNode.getAttribute(XPathForBrowser("isConn"));if(rowProInitArgNode==null){rowProInitArgNode=SelectSingleNode(sInterfaceNode,XPathForBrowser("InitEventArgs/RowProviderInitEventArgs"));cellConInitArgNode=SelectSingleNode(targetInterface,XPathForBrowser("InitEventArgs/CellConsumerInitEventArgs"));providerPart=MSOConn_SourceWpNode;consumerPart=MSOConn_TargetWpNode}else{cellConInitArgNode=SelectSingleNode(sInterfaceNode,"InitEventArgs/CellConsumerInitEventArgs");providerPart=MSOConn_TargetWpNode;consumerPart=MSOConn_SourceWpNode}if(rowProInitArgNode!=null&&cellConInitArgNode!=null){var fieldList=[],fieldDisplayList=[],fieldListNodes=SelectNodes(rowProInitArgNode,XPathForBrowser("Field"));if(fieldListNodes==null||fieldListNodes.length==0){var cref=rowProInitArgNode.getAttribute("cref");if(cref!=null){var strVal=cref+".GetInitEventArgs()",args=null;try{args=eval(strVal)}catch(e){}if(args!=null){fieldList=args.FieldList;fieldDisplayList=args.FieldDisplayList}}}else for(var i=0;i<fieldListNodes.length;i++){var displayListSet=false;fieldList[i]=fieldListNodes[i].getAttribute("FieldName");if(fieldListNodes[i].getAttribute("FieldDisplayName")!=null){fieldDisplayList[i]=fieldListNodes[i].getAttribute("FieldDisplayName");displayListSet=true}else if(displayListSet==true)fieldDisplayList=null}var cell=cellConInitArgNode.getAttribute("FieldName"),cellDisplayName=cellConInitArgNode.getAttribute("FieldDisplayName");if(cell==null){var cref=cellConInitArgNode.getAttribute("cref");if(cref!=null){var strVal=cref+".GetInitEventArgs()",args=null;try{args=eval(strVal)}catch(e){}if(args!=null){cell=args.FieldName;cellDisplayName=args.cellDisplayName}}}if(fieldList!=null&&fieldList.length!=0&&cell!=null||isConnected=="True"){var cellName=cell,rowList=fieldList;if(fieldDisplayList!=null&&fieldDisplayList.length==fieldList.length)rowList=fieldDisplayList;if(cellDisplayName!=null)cellName=cellDisplayName;var arguments=[rowList,cellName,isConnected,providerPart.getAttribute("title"),consumerPart.getAttribute("title"),MSOConn_MultipleTargetGroups,xFormInfo,fieldList],sFeatures=MSOConn_DialogFeatures();commonShowModalDialog(document.getElementById("MSOConn_RCXform").value,sFeatures,function(a){ULSjLO:;if(a=="undefined"||a==null)MSOConn_ConnCancelled=true;else if(a=="remove"){document.getElementById("MSOConn_Button").value="remove";rcxFormInfo=""}else if(a=="choose")MSOConn_ShowTargetGroupsDialog(MSOConn_ShowXFormsAndPersistEx);else{rcxFormInfo=fieldList[a];if(rcxFormInfo!=null&&MSOConn_ConnCancelled!=true)MSOConn_XformInfo1=rcxFormInfo}fnCallback()},arguments)}else{MSOConn_InitArgsError();MSOConn_ConnCancelled=true}}else{MSOConn_InitArgsError();MSOConn_ConnCancelled=true}if(rcxFormInfo!=null&&MSOConn_ConnCancelled!=true)MSOConn_XformInfo1=rcxFormInfo}function MSOConn_ShowAspXForm(b,e){ULSjLO:;var h=SelectSingleNode(b,XPathForBrowser("xForm")),i=h.getAttribute("type"),g=SelectSingleNode(b,"mi").getAttribute(XPathForBrowser("xInfo")),d=MSOConn_TargetGroupNode.getAttribute(XPathForBrowser("isConn")),j=b.getAttribute("id"),c;if(MSOConn_MultipleTargetGroups)c="True";else c="False";var f=MSOConn_DialogFeatures(),a=document.getElementById("MSOConn_AspXformUrl").value;a+="?pageUrl=";a+=escapeProperly(document.location.href);a+="&sWpId=";a+=escapeProperly(document.getElementById("MSOConn_SWpId").value);a+="&sGroupId=";a+=escapeProperly(document.getElementById("MSOConn_SGroupId").value);a+="&tWpId=";a+=escapeProperly(document.getElementById("MSOConn_TWpId").value);a+="&tGroupId=";a+=escapeProperly(j);a+="&xFormType=";a+=escapeProperly(i);a+="&xFormInfo=";a+=escapeProperly(g);a+="&isMultiGroup=";a+=escapeProperly(c);a+="&isConnected=";a+=escapeProperly(d);commonShowModalDialog(a,f,function(a){ULSjLO:;if(a==null)a=[null,null];var b=a[0],c=a[1];if(b=="undefined"||b==null)MSOConn_ConnCancelled=true;else if(b=="remove"){document.getElementById("MSOConn_Button").value="remove";c=""}else b=="choose"&&MSOConn_ShowTargetGroupsDialog(MSOConn_ShowXFormsAndPersistEx);if(c!=null&&MSOConn_ConnCancelled!=true)MSOConn_AspXformInfo=c;e()},null)}function MSOConn_InitArgsError(){ULSjLO:;document.body.style.cursor="auto";alert(MSOStrings.NoInitArgs)}function MSOConn_TargetGroupDlgCallback(b){ULSjLO:;if(b!=null){document.getElementById("MSOConn_Button").value=b[0];for(var a=SelectNodes(MSOConn_TargetWpNode,"tg"),c=0;a.length;c++)if(a[c].getAttribute("id")==b[1]){MSOConn_TargetGroupNode=a[c];break}}else MSOConn_ConnCancelled=true}function MSOConn_ShowTargetGroupsDialog(b){ULSjLO:;var c=false;if(SelectNodes(MSOConn_TargetWpNode,"tg")!=null&&SelectNodes(MSOConn_TargetWpNode,"tg").length!=0){var a=SelectNodes(MSOConn_TargetWpNode,"tg");if(a!=null)for(i=0;i<a.length;i++){var d=a[i];if(d.getAttribute(XPathForBrowser("isConn"))=="True"){c=true;MSOConn_TargetGroupNode=d;break}}if(!c){var e=MSOConn_DialogFeatures(),f=function(a){ULSjLO:;MSOConn_TargetGroupDlgCallback(a);b()};commonShowModalDialog(document.getElementById("MSOConn_GroupUrl").value,e,f,MSOConn_TargetWpNode)}else b()}else MSOConn_ConnCancelled=true}function MSOConn_ConfirmRemoveConnection(d,e){ULSjLO:;var c=MSOStrings.RemoveConnection,a=[];a[0]=d;a[1]=e;if(a!=null)for(var b=0;b<a.length;b++)c=c.replace("%"+b,a[b]);return c}function MSOConn_ShowAndPersistCallback(){ULSjLO:;if(!MSOConn_ConnCancelled)if(document.getElementById("MSOConn_Button").value=="remove"){var a=MSOConn_ConfirmRemoveConnection(MSOConn_SourceWpNode.getAttribute("title"),MSOConn_TargetWpNode.getAttribute("title"));confirm(a)&&MSOConn_PersistConnection()}else MSOConn_PersistConnection();document.getElementById("MSOConn_Button").value="none";MSOConn_ConnCancelled=false;MSOConn_XformInfo1=null;MSOConn_XformInfo2=null;MSOConn_AspXformInfo=null;MSOConn_SourceWpNode=null;MSOConn_TargetWpNode=null;MSOConn_MultipleTargetGroups=false;MSOConn_TargetGroupNode=null;MSOConn_SourceGroupNode=null}function MSOConn_ShowXFormsAndPersistEx(){ULSjLO:;MSOConn_ShowXFormsAndPersist();MSOConn_ConnCancelled=true}function MSOConn_ShowXFormsAndPersist(){ULSjLO:;if(!MSOConn_ConnCancelled&&MSOConn_TargetGroupNode!=null){if(document.getElementById("MSOConn_Button").value!="remove"){MSOConn_IsXFormUINeeded(MSOConn_ShowAndPersistCallback);return}MSOConn_ShowAndPersistCallback();return}document.getElementById("MSOConn_Button").value="none";MSOConn_ConnCancelled=false;MSOConn_XformInfo1=null;MSOConn_XformInfo2=null;MSOConn_AspXformInfo=null;MSOConn_SourceWpNode=null;MSOConn_TargetWpNode=null;MSOConn_MultipleTargetGroups=false;MSOConn_TargetGroupNode=null;MSOConn_SourceGroupNode=null}function MSOConn_CreateConnectionStep1(g,h,e,f,i,c,b,a){ULSjLO:;document.getElementById("MSOConn_SWpId").value=g;document.getElementById("MSOConn_TWpId").value=h;document.getElementById("MSOConn_SGroupId").value=i;document.getElementById("MSOConn_Button").value="save";document.getElementById("MSOConn_TGroupId").value="";document.getElementById("MSOConn_XForm1").value="";document.getElementById("MSOConn_XForm2").value="";document.getElementById("MSOConn_AspXForm").value="";var d=true;if(a)document.getElementById("MSOConn_TGroupId").value=a;if(c=="True"&&a!=null&&b!=null&&b=="False"){var j=MSOConn_ConfirmRemoveConnection(e,f);if(confirm(j))document.getElementById("MSOConn_Button").value="remove";else d=false}else if(c=="True"&&a==null)document.getElementById("MSOConn_Button").value="edit";if(d==true){document.getElementById("MSOConn_CreationStep").value="1";document.body.style.cursor="wait";__doPostBack(MSOWebPartPageFormName,"")}}function XPathForBrowser(a){ULSjLO:;if(browseris.safari)return a.toLowerCase();return a}function SelectSingleNode(b,a){ULSjLO:;a=a.replace(/[\r\n \t]*$/,"").replace(/^[\r\n \t]*/,"");if(browseris.ie)return b.selectSingleNode(a);else{var c=b.ownerDocument.evaluate(a,b,null,XPathResult.ANY_TYPE,null),e=c.resultType,d=c.iterateNext();return d}}function SelectNodes(a,d){ULSjLO:;if(browseris.ie)return a.selectNodes(d);var c=a.ownerDocument.evaluate(d,a,null,XPathResult.ORDERED_NODE_ITERATOR_TYPE,null),e=[];if(c.resultType==XPathResult.ORDERED_NODE_ITERATOR_TYPE){var b=c.iterateNext();while(b!=null){e.push(b);b=c.iterateNext()}}return e}function MSOConn_CreateConnectionStep2(j,k,l,m,i,f){ULSjLO:;var o=null,p=null;document.getElementById("MSOConn_SWpId").value=j;document.getElementById("MSOConn_TWpId").value=k;document.getElementById("MSOConn_SGroupId").value=i;document.getElementById("MSOConn_TGroupId").value=f;var n=XPathForBrowser("ConnDesign/sWebPart")+"[@id='MSOConn_"+l+"']",d=SelectSingleNode(document.getElementById("MSOConn_Compatibility"),n);if(d!=null){MSOConn_SourceWpNode=d;for(var a=null,c=SelectNodes(d,"sg"),g=0;c.length;g++)if(c[g].getAttribute("id")==i){a=c[g];break}if(a!=null){MSOConn_SourceGroupNode=a;var e=SelectSingleNode(a,XPathForBrowser("tParts/tWebPart")+"[@id='MSOConn_"+m+"']");if(e!=null){MSOConn_TargetWpNode=e;if(!f){MSOConn_MultipleTargetGroups=true;MSOConn_ShowTargetGroupsDialog(MSOConn_ShowXFormsAndPersist)}else{for(var b=SelectNodes(e,"tg"),h=0;b.length;h++)if(b[h].getAttribute("id")==f){MSOConn_TargetGroupNode=b[h];break}MSOConn_ShowXFormsAndPersist()}}}}document.body.style.cursor="auto"}function MSOConn_PersistConnection(){ULSjLO:;document.getElementById("MSOConn_SGroupId").value=MSOConn_SourceGroupNode.getAttribute("id");document.getElementById("MSOConn_TGroupId").value=MSOConn_TargetGroupNode.getAttribute("id");if(document.getElementById("MSOConn_Button").value!="remove"&&document.getElementById("MSOConn_Button").value!="edit")document.getElementById("MSOConn_Button").value="save";if(MSOConn_XformInfo1!=null)document.getElementById("MSOConn_XForm1").value=MSOConn_XformInfo1;if(MSOConn_XformInfo2!=null)document.getElementById("MSOConn_XForm2").value=MSOConn_XformInfo2;if(MSOConn_AspXformInfo!=null)document.getElementById("MSOConn_AspXForm").value=MSOConn_AspXformInfo;__doPostBack(MSOWebPartPageFormName,"")}function MSOLayout_ShowErrorDetails(){ULSjLO:;var a=event.srcElement.parentNode;MSOLayout_ShowHideErrorDetails(a.nextSibling,a)}function MSOLayout_HideErrorDetails(){ULSjLO:;var a=event.srcElement.parentNode.parentNode;MSOLayout_ShowHideErrorDetails(a.previousSibling,a)}function MSOLayout_ShowHideErrorDetails(b,a){ULSjLO:;a.style.display="none";b.style.display="inline"}function MoveSiteTitle(){ULSjLO:;var a=documentGetElementsByName("titlewpTitleArea");if(a==null||a[0]==null)return;a=a[0];var b=documentGetElementsByName("onetidProjectPropertyTitle");if(b==null||b[0]==null)return;b=b[0];var c=document.getElementById("onetidPageTitleSeparator");if(c==null)return;if(a.insertAjacentElement){a.insertAjacentElement("afterBegin",c);a.insertAjacentElement("afterBegin",b)}else{a.insertBefore(c,a.firstChild);a.insertBefore(b,a.firstChild)}}function MSOLayout_ShowQuickAddDialog(j,k,c,e,d,f,g,b,h,i){ULSjLO:;var a="?SiteId="+j+"&WebId="+k;if(c!="")a+="&Groups="+c;if(e==false)a+="&ShowListsAndLibraries=false";a+="&NumberOfWebPartsInZone="+d;a+="&MaxWebPartsInZone="+f;if(b!="")a+="&ZoneDisplayName="+b;commonShowModalDialog(h+a,i,g)}var MSOTlPn_prevBuilder=null,MSOTlPn_prevWidth=0,MSOTlPn_prevHeight=0,MSOTlPn_shownViewChangeWarning=false,MSOWebPartPage_hideNextBeforeUnload=false,MSOWebPartPage_partDeleted="",MSOChangeInToolPaneWidth=120;function ConvertToAspPartDisplayMode(b){ULSjLO:;var a;switch(b){case "-1":a="ExtensibleView";break;case "0":a="Browse";break;case "1":a="Edit";break;case "2":a="Catalog";break;case "3":a="GallerySearch";break;case "4":a="Navigation";break;case "5":a="Import";break;case "6":a="DownLevelWebPartMenu";break;case "7":a="ToolPaneErr"}return a}function MSOTlPn_ShowToolPane2(a){ULSjLO:;if(document.forms[MSOWebPartPageFormName].MSOGallery_FilterVisible)document.forms[MSOWebPartPageFormName].MSOGallery_FilterVisible.value="false";document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value=a;if(arguments.length>1){document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_StartWebPartEditingName.value="true";document.forms[MSOWebPartPageFormName].MSOTlPn_SelectedWpId.value=arguments[1]}__doPostBack(MSOWebPartPageFormName,"")}function MSOTlPn_ShowToolPane2Wrapper(a,b){ULSjLO:;document.forms[MSOWebPartPageFormName].MSOWebPartPage_PostbackSource.value=b;if(arguments[2]==null)MSOTlPn_ShowToolPane2(a);else MSOTlPn_ShowToolPane2(a,arguments[2])}function MSOTlPn_ShowToolPane(a){ULSjLO:;if(arguments.length>1)MSOTlPn_ShowToolPane2(ConvertToAspPartDisplayMode(a),arguments[1]);else MSOTlPn_ShowToolPane2(ConvertToAspPartDisplayMode(a))}function MSOTlPn_ShowToolPaneWrapper(b,a){ULSjLO:;if(arguments[2]==null)MSOTlPn_ShowToolPane2Wrapper(ConvertToAspPartDisplayMode(b),a);else MSOTlPn_ShowToolPane2Wrapper(ConvertToAspPartDisplayMode(b),a,arguments[2])}function MSOLayout_CheckAndSaveChanges(){ULSjLO:;document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges!=null&&document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value!=""&&MSOLayout_SaveChanges()}function MSOWebPartPage_ExportCheckWarning(d,c){ULSjLO:;var b=true;if(c)if(!confirm(MSOStrings.ExportPersonalizationDialogText))b=false;if(b){var a=false;if(typeof MSOWPSC_SavePerformed=="boolean")a=MSOWPSC_SavePerformed;MSOWebPartPage_SetWindowLocation(d);if(typeof MSOWPSC_SavePerformed=="boolean"){MSOWPSC_SavePerformed=a;MSOWebPartPage_hideNextBeforeUnload=true}}}function MSOMode_SetMode(b){ULSjLO:;var a=MSOMode_GetNewUrl(b);MSOLayout_CheckAndSaveChanges();if(document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value!="Navigation"){document.forms[MSOWebPartPageFormName].MSOSPWebPartManager_DisplayModeName.value="Browse";var c=/[& | \?]ToolPaneView=[-0-9A-Z]*/ig,d=/[& | \?]DisplayMode=[a-zA-Z]*/ig;a=MSOMode_RemoveMode(a,c);a=MSOMode_RemoveMode(a,d)}document.forms[MSOWebPartPageFormName].MSOWebPartPage_Shared.value=b?"true":"false";document.forms[MSOWebPartPageFormName].action=a;__doPostBack(MSOWebPartPageFormName,"")}function MSOMode_GetNewUrl(d,a){ULSjLO:;if(a==null)a=document.location.href;var c=/[& | \?]PageView=Personal/ig,b=/[& | \?]PageView=Shared/ig,e="PageView="+(d?"Shared":"Personal");a=MSOMode_RemoveMode(a,c);a=MSOMode_RemoveMode(a,b);a=MSOMode_AddMode(a,b,e);return a}function MSOMode_RemoveMode(a,g){ULSjLO:;var f=/\#/,d=a.search(f);if(d!=-1)a=a.substring(0,d);var e=/\?/,c=a.search(e);if(c!=-1){var h=a.substring(0,c),b=a.substring(c,a.length);b=b.replace(g,"");if(b.length!=0&&b.charAt(0)!="?")b="?"+b;a=h+b}return a}function MSOMode_AddMode(a,g,d){ULSjLO:;var f=/\#/,c=a.search(f);if(c!=-1)a=a.substring(0,c);var e=/\?/,b=a.search(e);if(b==-1)a+="?"+d;else{var h=a.substring(b,a.length);if(h.search(g)==-1)a+="&"+d}return a}function MSOPGrid_BuilderVisible(a){ULSjLO:;MSOPGrid_HidePrevBuilder();MSOTlPn_prevBuilder=null;a.style.display="inline"}function MSOPGrid_HidePrevBuilder(){ULSjLO:;if(MSOTlPn_prevBuilder!=null)(eval(MSOTlPn_prevBuilder)).style.display="none"}function MSOPGrid_doBuilder(d,a,b){ULSjLO:;var c=showModalDialog(d,a,b);a.value=c;try{a.focus()}catch(e){}}function MSOWebPartPage_RestorePageDefault(){ULSjLO:;if(confirm(MSOStrings.ResetPagePersonalizationDialogText)){var a=document.createElement("INPUT");try{a.type="hidden"}catch(b){a.style.display="none"}a.name="MSOWebPartPage_RestorePageDefault";a.value="true";document.forms[MSOWebPartPageFormName].appendChild(a);if(document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges!=null)document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value="";MSOMode_SetMode(false)}}function MSOWebPartPage_RestorePartDefaults(b){ULSjLO:;if(confirm(MSOStrings.ResetPartPersonalizationDialogText)){var a=document.createElement("INPUT");try{a.type="hidden"}catch(c){a.style.display="none"}a.name="MSO_RestoreSettings";a.value=b;document.forms[MSOWebPartPageFormName].appendChild(a);MSOMode_SetMode(false)}}function MSOWebPartPage_MenuDoPostBack(e,d){ULSjLO:;var c=document.forms[MSOWebPartPageFormName],b=c.__EVENTTARGET,a=c.__EVENTARGUMENT;if(b==null){b=document.createElement("INPUT");b.style.display="none";b.name="__EVENTTARGET";document.forms[MSOWebPartPageFormName].appendChild(b)}if(a==null){a=document.createElement("INPUT");a.style.display="none";a.name="__EVENTARGUMENT";document.forms[MSOWebPartPageFormName].appendChild(a)}__doPostBack(e,d)}function MSOWebPartPage_SignIn(){ULSjLO:;var a=document.createElement("INPUT");try{a.type="hidden"}catch(b){a.style.display="none"}a.name="MSOWebPartPage_AnonymousAccessLogIn";a.value="1";document.forms[MSOWebPartPageFormName].appendChild(a);__doPostBack(MSOWebPartPageFormName,"")}function MSOWebPartPage_SetWindowLocation(b){ULSjLO:;var a=b.toLowerCase();if(a.indexOf("javascript:")==0||a.indexOf("vbscript:")==0)MSOWebPartPage_hideNextBeforeUnload=true;window.location=b}function MSOWebPartPage_SetNewWindowLocation(b,a){ULSjLO:;if(a==0||a==1)if(a==0){var c="edge: Sunken; center: yes; help: no; resizable: yes; status: no";window.commonShowModalDialog(b,c)}else window.open(b,null,"scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no");else if(a==2)window.location=b}function MSOTlPn_onToolPaneCloseClick(){ULSjLO:;var b="Browse",a="49";MSOTlPn_ShowToolPane2Wrapper(b,a)}function MSOPGrid_InvokeFPBuilder(c,b,a){ULSjLO:;a.value=window.external.InvokeBuilder(c,b,a.id);a.focus()}function MSOMenu_KeyboardClick(c,e,f,d){ULSjLO:;var b=d;if(b!=null&&c)for(var a=1;a<arguments.length-1;a++)if(b.keyCode==arguments[a]&&b.keyCode!=13){c.onclick();return false}}function MSOTlPn_ToggleDisplay(i,l,k,c,b,j){ULSjLO:;var m=i+"_STATEFIELD",d,e=document.getElementById(i),a=document.getElementById(l),g=document.getElementById(k),f=document.getElementById(j);if(e.style.display=="none"){e.style.display="";a.src="/_layouts/images/TPMin2.gif";a.alt=b;f.title=b;g.title=b;d="1"}else{e.style.display="none";a.src="/_layouts/images/TPMax2.gif";a.alt=c;f.title=c;g.title=c;d="0"}var h=document.getElementById(m);if(h!=null)h.value=d}function MSOTlPn_onToolPaneMaxClick(){ULSjLO:;var d=1,a=document.getElementById("MSOTlPn_minMaxIcon"),b=a.src.substring(0,a.src.lastIndexOf("/")+1);if(document.forms[MSOWebPartPageFormName].MSOTlPn_Maximized.value=="False"){document.getElementById("MSOTlPn_Tbl").style.width=(parseInt(document.getElementById("MSOTlPn_Tbl").offsetWidth)+MSOChangeInToolPaneWidth).toString()+"px";b+=document.dir=="rtl"?"tpmax.gif":"tpmin.gif";a.title=MSOStrings.ToolPaneShrinkToolTip;a.alt=MSOStrings.ToolPaneShrinkToolTip;a.parentNode.title=MSOStrings.ToolPaneShrinkToolTip;document.forms[MSOWebPartPageFormName].MSOTlPn_Maximized.value="True"}else{document.getElementById("MSOTlPn_Tbl").style.width="225px";b+=document.dir=="rtl"?"tpmin.gif":"tpmax.gif";a.title=MSOStrings.ToolPaneWidenToolTip;a.alt=MSOStrings.ToolPaneWidenToolTip;a.parentNode.title=MSOStrings.ToolPaneWidenToolTip;d=-1;document.forms[MSOWebPartPageFormName].MSOTlPn_Maximized.value="False"}a.src=b;var c=document.getElementById("MSOTlPn_Tbl");try{if(c!=null&&c.getAttribute("ms-TlPnWiden")=="true")c.style.pixelWidth+=d*MSOChangeInToolPaneWidth}catch(e){}}function MSOTlPn_WindowResize(){ULSjLO:;var c=document.getElementById("MSOTlPn_MainTD");if(c==null||c.offsetWidth==0)return;var g=c.offsetWidth,h=document.body.offsetWidth-document.body.clientWidth,f=document.getElementById("MSOTlPn_WebPartPageDiv");if(f.offsetWidth+c.offsetWidth==document.body.clientWidth)return;var e=0,a=f.offsetParent,b=0;while(a!=null){if(document.dir!="rtl"){b=a.offsetLeft+(a.offsetWidth-(a.clientLeft+a.clientWidth));if(a.offsetParent!=null)b+=a.offsetParent.clientLeft}else b=a.offsetParent!=null?a.offsetParent.offsetWidth-(a.offsetLeft+a.offsetWidth):0;e+=b;a=a.offsetParent}e-=h;var d=document.body.clientWidth-(e+g);if(d<250)d=250;document.getElementById("MSO_tblPageBody").style.pixelWidth=d+g;f.style.pixelWidth=d;window.event.type=="load"&&document.all.MSOTlPn_TlPnCaptionSpan!=null&&document.all.MSOTlPn_TlPnCaptionSpan.scrollIntoView(false)}function MSOTlPn_CheckUrl(){ULSjLO:;var b=/[& | \?]ToolPaneView=[-0-9A-Z]*/ig,c=/[& | \?]DisplayMode=[a-zA-Z]*/ig,d=document.forms[MSOWebPartPageFormName].action,a;a=MSOMode_RemoveMode(document.forms[MSOWebPartPageFormName].action,b);a=MSOMode_RemoveMode(document.forms[MSOWebPartPageFormName].action,c);document.forms[MSOWebPartPageFormName].action=a}function MSOTlPn_Resize(b){ULSjLO:;if(MSOTlPn_prevWidth!=b.clientWidth){MSOTlPn_prevWidth=b.clientWidth;MSOTlPn_WindowResize()}if(MSOTlPn_prevHeight!=document.body.clientHeight){MSOTlPn_prevHeight=document.body.clientHeight;var a=document.getElementById("MSOTlPn_WebPartPageDiv");a.style.height="100%";a.style.height=a.offsetHeight}}function MSOWebPartPage_SetupFixedWidthWebParts(){ULSjLO:;var a=documentGetElementsByName("MSOFixedWidthTitle");if(a!=null)if(a.length>0)for(var b=0;b<a.length;b++)a[b].style.width=MSOWebPartPage_AllocateSpaceForFirstTD(a[b])+"px"}function MSOWebPartPage_AllocateSpaceForFirstTD(f){ULSjLO:;var c=document.createElement("DIV");c.style.width=f.getAttribute("fixedWidth");document.body.appendChild(c);var d=c.offsetWidth;document.body.removeChild(c);var e=MSOLayout_GetParentTable(f);if(e!=0)for(var b=e.rows[0],a=2;a<b.cells.length;a++)if(b.cells[a].className!="ms-wpTdSpace"&&b.cells[a].style.display!="none"&&GetCurrentEltStyle(b.cells[a],"display")!="none")d-=b.cells[a].offsetWidth;return d<1?1:d}function MSOWebPartPage_FindControlName(c){ULSjLO:;var a=document.all.tags("label");if(a!=null)for(i=0;i<a.length;i++){var b=a[i];if(b.innerText==c)if(b.htmlFor.indexOf("_EDITOR")!=-1)return b.htmlFor}return null}function MSOTlPn_ListViewChange(a){ULSjLO:;if(MSOTlPn_shownViewChangeWarning)return;alert(a);MSOTlPn_shownViewChangeWarning=true}function MSOTlPn_CustomWindowResize(){ULSjLO:;var a=document.getElementById("MSOTlPn_Tbl");if(a==null||a.offsetWidth==0)return;a.style.pixelWidth=document.body.clientWidth}function MSOTlPn_ShowListFilter(){ULSjLO:;if(document.getElementById("WebPartListFilter").style.display=="none"){document.getElementById("WebPartListFilter").style.display="block";document.forms[MSOWebPartPageFormName].MSOGallery_FilterVisible.value="true"}else{document.getElementById("WebPartListFilter").style.display="none";document.forms[MSOWebPartPageFormName].MSOGallery_FilterVisible.value="false"}}function MSOGallery_GetCookie(d){ULSjLO:;var c=d+"=",a=document.cookie.indexOf(c);if(a==-1)return null;var b=document.cookie.indexOf(";",a+c.length);if(b==-1)b=document.cookie.length;return unescape(document.cookie.substring(a+c.length,b))}function MSOTlPn_ShowAllUsersToolPane(a,c,b){ULSjLO:;MSOLayout_CheckAndSaveChanges();document.forms[MSOWebPartPageFormName].action=MSOMode_GetNewUrl(true);MSOTlPn_ShowToolPane2Wrapper(a,c,b)}function MSOLayout_MakeInvisibleIfEmpty(){ULSjLO:;for(var b=document.getElementsByName("_invisibleIfEmpty"),c=navigator.userAgent.toLowerCase(),d=c.indexOf("mozilla")!=-1&&(c.indexOf("spoofer")==-1&&c.indexOf("compatible")==-1),e=c.indexOf("msie")!=-1,a=0;a<b.length;a++)if(e&&b[a].childNodes.length==0||d&&b[a].childNodes.length<=1)b[a].style.display="none"}function MSOLayout_GetParentRow(b){ULSjLO:;var a=b.parentNode;while(a.tagName!="TR"&&a.tagName!="BODY")a=a.parentNode;if(a.tagName!="TR")return null;else return a}function MSOLayout_GetParentTable(b){ULSjLO:;for(var a=b;a.tagName!="TABLE";a=a.parentNode)if(a==document.body)return 0;return a}var browserScript={MSOLayout_ChangeLayoutMode:_MSOLayout_ChangeLayoutMode,MSOWebPartPage_OpenMenu:MSOWebPartPage_OpenMenu,MSOLayout_ToggleView:MSOLayout_ToggleView,MSOMenu_KeyboardClick:MSOMenu_KeyboardClick,MSOTlPn_ShowToolPane2Wrapper:MSOTlPn_ShowToolPane2Wrapper,MSOWebPartPage_SetupFixedWidthWebParts:MSOWebPartPage_SetupFixedWidthWebParts};typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();typeof NotifyScriptLoadedAndExecuteWaitingJobs!="undefined"&&NotifyScriptLoadedAndExecuteWaitingJobs("non_ie.js")