function ULSfXY(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="ie55up.js";return o;}
function GetXMLHttpRequestObject(){ULSfXY:;return new XMLHttpRequest}function insertAdjacentElement(a,c,b){ULSfXY:;if(a.insertAdjacentElement)return a.insertAdjacentElement(c,b);switch(c){case "beforeBegin":return a.parentNode.insertBefore(b,a);break;case "afterBegin":return a.insertBefore(b,a.firstChild);break;case "beforeEnd":return a.appendChild(b);break;case "afterEnd":if(a.nextSibling)return a.parentNode.insertBefore(b,a.nextSibling);else return a.parentNode.appendChild(b)}}function insertAdjacentHTML(a,c,b){ULSfXY:;if(a.insertAdjacentHTML)return a.insertAdjacentHTML(c,b);var d=a.ownerDocument.createRange();d.setStartBefore(a);var e=d.createContextualFragment(b);return insertAdjacentElement(a,c,e)}function insertAdjacentText(a,c,b){ULSfXY:;if(a.insertAdjacentText)return a.insertAdjacentText(c,b);var d=document.createTextNode(b);return insertAdjacentElement(a,c,d)}function contains(c,a){ULSfXY:;var b=false;do{if(b=c==a)break;a=a.parentNode}while(a!=null);return b}function getFirstElementByName(b,c){ULSfXY:;if(b.name==c)return b;var a=b.firstChild;while(a){var d=getFirstElementByName(a,c);if(d)return d;a=a.nextSibling}}function documentGetElementsByName(c){ULSfXY:;if(!browseris.ie&&document.getElementsByName)return document.getElementsByName(c);for(var d=[],b=document.getElementsByTagName("*"),e=b.length,a=0;a<e;a++)(b[a].name==c||typeof b[a].getAttribute!="unknown"&&b[a].getAttribute&&b[a].getAttribute("name")==c)&&d.push(b[a]);return d}function getFirstChild(b){ULSfXY:;var a=b.firstChild;while(a&&a.nodeType==3)a=a.nextSibling;return a}var StrNewNamespace="http://schemas.microsoft.com/WebPart/v2";function SplitIndex(a){ULSfXY:;var d="",c="",b=a.lastIndexOf("#");if(-1==b)b=a.lastIndexOf(":");if(-1==b)c=a;else{c=a.substring(b+1,a.length);d=a.substring(0,b)}var e={PropURN:d,PropName:c};return e}function String2XML(c){ULSfXY:;var a="",b=/&/g;a=c.replace(b,"&amp;");b=/</g;a=a.replace(b,"&lt;");b=/>/g;a=a.replace(b,"&gt;");b=/"/g;a=a.replace(b,"&quot;");b=/'/g;a=a.replace(b,"&apos;");return a}function URL2Unicode(a){ULSfXY:;return Utf8ToUnicode(unescape(a))}function Unicode2URL(a){ULSfXY:;return URLEncode(a)}function URLEncode(e){ULSfXY:;var f=" <>\"#%{}|^~[]`'&?+=",a="",d,b,c;e+="";for(d=0;d<e.length;d++){b=e.charAt(d);c=b.charCodeAt(0);if(c<=parseInt(127))if(f.indexOf(b)!=-1)a+="%"+c.toString(16).toUpperCase();else a+=b;else a+=GetUTFCode(c)}return a}function GetUTFCode(a){ULSfXY:;var f=11,d=2,e="",c=192,b;while(a>=1<<f){c=c>>1;f+=5;d++}for(b=0;b<d;b++){var g=128|a&63;a=a>>>6;if(b==d-1)g|=c;e="%"+g.toString(16).toUpperCase()+e}return e}function Utf8ToUnicode(d){ULSfXY:;if(d==null)return "";var f="",h=d.length,a=0,b=h,i=0,c,e,g;while(a<h){c=d.charCodeAt(a);if((c&128)==0){if(b<1)break;f+=String.fromCharCode(c&127);a++;b-=1}else if((c&224)==192){e=d.charCodeAt(a+1);if(b<2||(e&192)!=128)break;f+=String.fromCharCode((c&63)<<6|e&63);a+=2;b-=2}else if((c&240)==224){e=d.charCodeAt(a+1);g=d.charCodeAt(a+2);if(b<3||(e&192)!=128||(g&192)!=128)break;f+=String.fromCharCode((c&15)<<12|(e&63)<<6|g&63);a+=3;b-=3}else break}if(0!=b)f="";return f}function SPSoapRequestBuilder(d){ULSfXY:;var a={};function c(c,b){ULSfXY:;var a=this.parameterNameList.length;this.parameterNameList[a]=c;this.parameterValueList[a]=b}function b(b){ULSfXY:;var e=this.functionName,d=this.parameterNameList,c=this.parameterValueList;b.setRequestHeader("Content-Type","text/xml; charset=utf-8");b.setRequestHeader("SOAPAction","http://microsoft.com/sharepoint/webpartpages/"+e);for(var f='<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><'+e+' xmlns="http://microsoft.com/sharepoint/webpartpages">',a=0;a<d.length;a++){var g=typeof c[a]=="string"?String2XML(c[a]):c[a];f+="<"+d[a]+">"+g+"</"+d[a]+">"}f+="</"+e+"></soap:Body></soap:Envelope>";b.send(f);return b}a.functionName=d;a.parameterNameList=[];a.parameterValueList=[];a.AddParameter=c;a.SendSOAPMessage=b;return a}function Collection(){ULSfXY:;function g(b){ULSfXY:;var c=null;if(b!=null){var a=parseInt(b);if(!isNaN(a)&&a>=0&&a<this.length)c=this[a]}return c}function f(c){ULSfXY:;for(var b=null,a=0;a<this.length;a++)if(this[a]==c){b=this[a];break}return b}function c(d,c){ULSfXY:;for(var b=null,a=0;a<this.length;a++)if(this[a].Name==d&&this[a].Qualifier==c){b=this[a];break}return b}function h(b){ULSfXY:;var a=this.length;this[a]=b;return this[a]}function d(c){ULSfXY:;var a,b=parseInt(c);if(isFinite(b)&&b>=0&&b<this.length){for(a=b;a<this.length-1;a++)this[a]=this[a+1];this.length--}}function b(b){ULSfXY:;for(var a=0;a<this.length;a++)if(this[a]==b){this.Remove(a);break}}function e(){ULSfXY:;return this.length}var a=Array();a.Item=g;a.Count=e;a.Add=h;a.Remove=d;a.Find=f;a.FindByName=c;a.RemoveObject=b;return a}function PartDef(WebPartQualifier,StorageKey,DOMObject){ULSfXY:;function GetPropertyDwpXmlString(a){ULSfXY:;var b=a.NamespaceURN.toLowerCase()!=StrNewNamespace.toLowerCase();return currentXML="<"+a.SchemaElement+(b?" xmlns='"+String2XML(a.NamespaceURN)+"'":" ")+">"+String2XML(a.Value.toString())+"</"+a.SchemaElement+">"}function Save(async,callBack){ULSfXY:;if(!this.Properties.PropertiesLoaded)return;var partXml=null;if(this.Properties.IsWebPartFile){var xmlDoc=this.Properties.ResponseXML;if(null!=xmlDoc){var propertiesElement=xmlDoc.selectSingleNode("webParts/webPart/data/properties");if(null!=propertiesElement){var properties=propertiesElement.selectNodes("property");if(null!=properties){var index=properties.length;while(index>0){--index;propertiesElement.removeChild(properties[index])}}for(var index=0;index<this.Properties.length;index++){var propNode=this.Properties[index],xmlAttribute,propertyElement=xmlDoc.createElement("property");xmlAttribute=xmlDoc.createAttribute("name");xmlAttribute.value=String2XML(propNode.SchemaElement);propertyElement.setAttributeNode(xmlAttribute);if(null!=propNode.Type){xmlAttribute=xmlDoc.createAttribute("type");xmlAttribute.value=String2XML(propNode.Type);propertyElement.setAttributeNode(xmlAttribute)}xmlAttribute=xmlDoc.createAttribute("xmlns");xmlAttribute.value="http://schemas.microsoft.com/WebPart/v3";propertyElement.setAttributeNode(xmlAttribute);propertyElement.text=String2XML(propNode.Value.toString());propertiesElement.appendChild(propertyElement)}}partXml=xmlDoc.xml}}else{partXml="<WebPart xmlns='"+StrNewNamespace+"'>"+GetPropertyDwpXmlString(this.Properties.AssemblyInfo)+GetPropertyDwpXmlString(this.Properties.TypeNameInfo);for(var index=0;index<this.Properties.length;index++)partXml+=GetPropertyDwpXmlString(this.Properties[index]);partXml+="</WebPart>"}var wpxml=document.getElementById("wpxml");if(wpxml==null)try{var varPart=eval("varPart"+this.WebPartQualifier),xmlhttp=GetXMLHttpRequestObject();this.xmlhttp=xmlhttp;varPart.callBackUsed=false;var postDataUrl=GetUrlFromWebUrlAndWebRelativeUrl(WPSC.WebPartPage.WebServerRelativeURL,"_vti_bin/WebPartPages.asmx");xmlhttp.open("POST",postDataUrl,async!=true?false:true);if(callBack!=null){this.callBackFunction=callBack;xmlhttp.onreadystatechange=new Function("varPart"+this.WebPartQualifier+".SaveHandler()")}var soapBuilder=SPSoapRequestBuilder("SaveWebPart2");soapBuilder.AddParameter("pageUrl",document.location.href);soapBuilder.AddParameter("storageKey",this.StorageKey);soapBuilder.AddParameter("webPartXml",partXml);soapBuilder.AddParameter("storage","None");soapBuilder.AddParameter("allowTypeChange","false");soapBuilder.SendSOAPMessage(xmlhttp)}catch(exception){var varPart=eval("varPart"+this.WebPartQualifier);if(callBack!=null&&varPart.callBackUsed!=true){callBack(false,"");varPart.callBackUsed=true}}else{wpxml.value=partXml;callBack!=null&&callBack(true,"",200)}}function SaveHandler(){ULSfXY:;var varPart=eval("varPart"+this.WebPartQualifier);if(this.xmlhttp.readyState==4&&this.callBackFunction!=null&&varPart.callBackUsed!=true){var saveSucceeded=this.xmlhttp.responseXML.getElementsByTagName("SaveWebPart2Response")[0]!=null,soapStatus=this.xmlhttp.status,soapExceptionText="";if(!saveSucceeded){var soapException=this.xmlhttp.responseXML.getElementsByTagName("soap:Fault")[0];if(soapException!=null){var soapExceptionTextXml=soapException.getElementsByTagName("detail")[0];if(soapExceptionTextXml!=null)soapExceptionText=soapExceptionTextXml.text}}varPart.callBackUsed=true;this.callBackFunction(saveSucceeded,soapExceptionText,soapStatus)}}this.SaveHandler=SaveHandler;this.DOMObject=DOMObject;this.WebPartQualifier=WebPartQualifier;this.StorageKey=StorageKey;this.Properties=new PropColDef;this.Properties.Owner=this;this.Save=Save}function PropertyDef(d,b,a,c){ULSfXY:;this.OriginalValue=a;this.NamespaceURN=d;this.SchemaElement=b;this.Value=a;this.Type=c}function PropColDef(){ULSfXY:;var a=new Collection;function c(w){ULSfXY:;var b=[];try{var m=document.getElementById("wpxml"),a=GetXMLHttpRequestObject();if(a==null)return;var u=GetUrlFromWebUrlAndWebRelativeUrl(WPSC.WebPartPage.WebServerRelativeURL,"_vti_bin/WebPartPages.asmx");a.open("POST",u,false);var d=SPSoapRequestBuilder("GetWebPart2");d.AddParameter("pageurl",document.location.href);d.AddParameter("storageKey",w);d.AddParameter("storage","None");d.AddParameter("behavior","Version3");d.SendSOAPMessage(a);if(m!=null&&m.value.length>0)a.responseXML.loadXML(m.value);else a.responseXML.loadXML(a.responseXML.text);var h=null,k=false,f=null,i=false,g=a.responseXML.getElementsByTagName("WebPart");if(null!=g&&g.length>0){h=g[0];if(h.namespaceURI=="http://schemas.microsoft.com/WebPart/v2")k=true}if(false==k){var e=a.responseXML.getElementsByTagName("webPart");if(null!=e&&e.length>0){f=e[0];if(f.namespaceURI=="http://schemas.microsoft.com/WebPart/v3")i=true}}b.IsWebPartFile=i;if(i){var p=f.selectSingleNode("data/properties");if(null!=p){var j=p.selectNodes("property");if(null!=j)for(var c=0;c<j.length;c++){var l=j[c],t=l.getAttributeNode("name").value,o=null,r=l.getAttributeNode("type");if(null!=r)o=r.value;var v=l.nodeTypedValue,s=new PropertyDef("",t,v,o);b[b.length]=s}}b.ResponseXML=a.responseXML}else if(k)for(var q=h.childNodes,c=0;c<q.length;c++){var n=q.item(c),s=new PropertyDef(n.namespaceURI,n.baseName,n.nodeTypedValue,null);b[b.length]=s}else alert(MSOStrings.GetPropertiesFailure)}catch(x){alert(MSOStrings.GetPropertiesFailure)}return b}function d(b){ULSfXY:;var e=-1,c=null;if(isNaN(b))for(var g=SplitIndex(b),l=g.PropURN,k=g.PropName,d=0;d<a.Count();d++){var f=a[d],i=new String(f.NamespaceURN),j=f.SchemaElement.toLowerCase()==k.toLowerCase(),h=i.toLowerCase()==l.toLowerCase();if(j&&h){e=d;c=f;break}}else if(b<0||b>=a.Count()){e=-1;c=null}else{e=b;c=a[b]}return c}function g(b){ULSfXY:;var a=null;if(b!=null){!this.PropertiesLoaded&&this.LoadProperties();a=d(b)}return a}function f(a,d){ULSfXY:;this.Owner=d;this.IsWebPartFile=a.IsWebPartFile;this.ResponseXML=a.ResponseXML;for(var c=0;c<a.length;c++){var b=a[c];if(b.SchemaElement=="Assembly"&&!a.IsWebPartFile)this.AssemblyInfo=b;else if(b.SchemaElement=="TypeName"&&!a.IsWebPartFile)this.TypeNameInfo=b;else this[this.length]=b}}function e(){ULSfXY:;!this.PropertiesLoaded&&this.LoadProperties();return this.length}function b(){ULSfXY:;this.Init(c(this.Owner.StorageKey,false),this.Owner);this.PropertiesLoaded=true}a.Owner=null;a.Item=g;a.Init=f;a.Count=e;a.LoadProperties=b;a.PropertiesLoaded=false;a.AssemblyInfo=null;a.TypeNameInfo=null;a.IsWebPartFile=false;a.ResponseXML=null;return a}function PartColDef(){ULSfXY:;var a=new Collection;function b(b){ULSfXY:;var c=-1;if(isNaN(b)){for(var d=0;d<a.Count();d++)if(a.Item(d).WebPartQualifier==b){c=d;break}}else if(b<0||b>=a.Count())c=-1;else c=b;return c}function e(d){ULSfXY:;var e=null;if(d!=null){var c=b(d);if(c>=0)e=a.Item(c)}return e}function d(d,f,g){ULSfXY:;var c,e=b(d);if(e>=0)c=a.Item(e);else{c=new PartDef(d,f,g);a.Add(c);this.Count=a.Count()}return c}function c(c){ULSfXY:;a.Remove(b(c));this.Count=a.Count()}this.Item=e;this.Register=d;this.UnRegister=c;this.Count=a.Count()}function WebPartPageDef(a){ULSfXY:;this.Parts=new PartColDef;this.DOMObject=a;this.Properties=new PropColDef}function EventDef(e){ULSfXY:;var a=new Collection;function b(b){ULSfXY:;return a.Find(b)}function d(b){ULSfXY:;return a.Add(b)}function c(b){ULSfXY:;a.RemoveObject(b)}function f(c){ULSfXY:;for(var b=0;b<a.Count();b++)a.Item(b)(c)}this.Name=e;this.FindEventHandler=b;this.AddHandler=d;this.RemoveHandler=c;this.Raise=f}function NotificationServiceDef(){ULSfXY:;var a=new Collection;function c(a,b){ULSfXY:;switch(a){case "onafterprint":case "onbeforeprint":case "onbeforeunload":case "onblur":case "onclose":case "onload":case "onresize":case "onfocus":AttachEvent(a.substring(2),b,window);break;case "onclick":case "onhelp":AttachEvent(a.substring(2),b,window.document)}}function b(a,b){ULSfXY:;switch(a){case "onafterprint":case "onbeforeprint":case "onbeforeunload":case "onblur":case "onclose":case "onload":case "onresize":case "onfocus":DetachEvent(a.substring(2),b,window);break;case "onclick":case "onhelp":DetachEvent(a.substring(2),b,window.document)}}function f(d,b,e){ULSfXY:;var b,c;c=d+"::"+b;b=a.FindByName(c);null!=b&&b.Raise(e)}function e(f,h,d,g){ULSfXY:;var b,e;e=f+"::"+h;b=a.FindByName(e,g);if(b==null){b=new EventDef(e);b.Qualifier=g;a.Add(b)}if(b.FindEventHandler(d)==null){f=="urn:schemas-microsoft-com:dhtml"&&c(h,d);b.AddHandler(d)}}function d(f,g,d,h){ULSfXY:;var c,e;e=f+"::"+g;c=a.FindByName(e,h);if(c!=null&&c.FindEventHandler(d)!=null){f=="urn:schemas-microsoft-com:dhtml"&&b(g,d);c.RemoveHandler(d)}}this.RegisterForEvent=e;this.RaiseEvent=f;this.UnRegisterForEvent=d}function MessageDef(a){ULSfXY:;this.Name=a;this.Value=""}function StateServiceDef(){ULSfXY:;var a=[];function e(){ULSfXY:;var b=false;if(window.event){var a=event.srcElement;while(a!=null&&a.tagName!="A"&&a.tagName!="BODY")a=a.parentNode;if(a!=null&&a.tagName=="A"){var c=a.href.toLowerCase();b=c.indexOf("javascript:")==0||c.indexOf("vbscript:")==0}}return b}function d(){ULSfXY:;if(!MSOWebPartPage_hideNextBeforeUnload){try{if(WPSCinpreview==true);}catch(a){WPSC.RaiseEvent("urn:schemas-microsoft-com:dhtml","onunload",null)}b()}MSOWebPartPage_hideNextBeforeUnload=false}function b(){ULSfXY:;if(MSOWPSC_SavePerformed==false&&a.length>0){for(var c=false,b=0;b<a.length;b++){a[b].Dirty=a[b].IsDirtyCallbackFunction(a[b].Param);c=c||a[b].Dirty}if(c==true&&window.confirm(MSOStrings.SaveDirtyPartsDialogText))for(b=0;b<a.length;b++)if(a[b].Dirty==true){a[b].SaveCallbackFunction(a[b].Param);a[b].Dirty=false}}if(window.event&&typeof event.returnValue=="undefined")MSOWPSC_SavePerformed=true}function c(b,c,e){ULSfXY:;var d=new CallbackParamDef(b,c,e);a[a.length++]=d}this.BeforeUnloading=d;this.IsScriptHREF=e;this.RegisterForPromptedSave=c;this.ProcessDirtyParts=b}function CallbackParamDef(a,b,c){ULSfXY:;this.IsDirtyCallbackFunction=a;this.SaveCallbackFunction=b;this.Param=c;this.Dirty=false}function WPSCDef(){ULSfXY:;var InternalWebPartPage,NotificationService=new NotificationServiceDef;function FirePartCommunicationEvents(connectedParts,isInit){ULSfXY:;for(var interfaceObject,i=0;i<connectedParts.length;i++){interfaceObject=eval(connectedParts[i]);if(interfaceObject!=null)if(isInit)try{interfaceObject.PartCommunicationInit(WPSC)}catch(e){}else try{interfaceObject.PartCommunicationMain()}catch(e){}}}function InitPartCommunication(){ULSfXY:;var b;if(MSOConnections==null)return;b=MSOConnections.selectNodes("Connections/Connection");if(b==null)return;for(var a=[],h=false,g=false,d=null,c=null,e=0;e<b.length;e++){d=b.item(e).selectSingleNode("@ProviderObject");c=b.item(e).selectSingleNode("@ConsumerObject");h=false;g=false;if(d!=null&&c!=null){for(var f=0;f<a.length;f++){if(a[f]==d.text)h=true;if(a[f]==c.text)g=true}if(!h)a[a.length]=d.text;if(!g)a[a.length]=c.text}}FirePartCommunicationEvents(a,true);FirePartCommunicationEvents(a,false)}function RaiseConnectionEventSpecial(InterfaceName,EventName,EventArgsNames,EventArgsValues){ULSfXY:;var eventArgs={},tempNames=ConvertVBArrayIfNecessary(EventArgsNames),tempValues=ConvertVBArrayIfNecessary(EventArgsValues);if(tempNames.length==tempValues.length){for(var i=0;i<tempNames.length;i++)eval("eventArgs."+tempNames[i]+"=ConvertVBArrayIfNecessary(tempValues[i])");RaiseConnectionEvent(InterfaceName,EventName,eventArgs)}}function ConvertVBArrayIfNecessary(a){ULSfXY:;try{var b=new VBArray(a);return b.toArray()}catch(c){return a}}function RaiseConnectionEvent(InterfaceName,EventName,EventParams){ULSfXY:;var fProvider=false,xmlNodes,xmlSourceRef,xmlTargetRef,strEval;if(MSOConnections.selectSingleNode("Connections/Connection[@ProviderIntName='"+InterfaceName+"']")!=null)fProvider=true;if(fProvider)xmlNodes=MSOConnections.selectNodes("Connections/Connection[@ProviderIntName='"+InterfaceName+"']");else xmlNodes=MSOConnections.selectNodes("Connections/Connection[@ConsumerIntName='"+InterfaceName+"']");if(xmlNodes!=null)for(var i=0;i<xmlNodes.length;i++){if(fProvider){xmlSourceRef=xmlNodes.item(i).selectSingleNode("@ProviderObject");xmlTargetRef=xmlNodes.item(i).selectSingleNode("@ConsumerObject")}else{xmlSourceRef=xmlNodes.item(i).selectSingleNode("@ConsumerObject");xmlTargetRef=xmlNodes.item(i).selectSingleNode("@ProviderObject")}if(xmlSourceRef!=null&&xmlTargetRef!=null){strEval=xmlTargetRef.text;strEval+="."+EventName;strEval+="("+xmlSourceRef.text+", EventParams)";eval(strEval)}}}function RegisterForPromptedSave(a,b,c){ULSfXY:;StateService.RegisterForPromptedSave(a,b,c)}function Init(a){ULSfXY:;AttachEvent("beforeunload",StateService.BeforeUnloading,window);null!=document.body&&AttachEvent("click",new Function("if(StateService.IsScriptHREF()) {MSOWebPartPage_hideNextBeforeUnload=true;}"),document.body);this.WebPartPage=new WebPartPageDef(a);return this.WebPartPage}function Convert(a,d,c){ULSfXY:;var b=a;if("URL"==d){if("UNICODE"==c)b=URL2Unicode(a)}else if("UNICODE"==d)if("URL"==c)b=Unicode2URL(a);return b}function MSOMenu_GetMenuItem(c,d){ULSfXY:;var a=null,b=document.all.item(c);if(b!=null)a=b.all.item(d);return a}function MSOMenu_SetChecked(b,c,d){ULSfXY:;var a=MSOMenu_GetMenuItem(b,c);if(a!=null)a.checked=d?"true":"false"}function MSOMenu_SetVisible(b,c,d){ULSfXY:;var a=MSOMenu_GetMenuItem(b,c);if(a!=null)a.style.display=d?"":"none"}function MSOMenu_SetEnabled(b,c,d){ULSfXY:;var a=MSOMenu_GetMenuItem(b,c);if(a!=null)a.disabled=!(d==true)}function MSOMenu_GetChecked(b,c){ULSfXY:;var a=MSOMenu_GetMenuItem(b,c);if(a!=null)return a.checked=="true"?true:false;return null}function MSOMenu_GetVisible(b,c){ULSfXY:;var a=MSOMenu_GetMenuItem(b,c);if(a!=null)return a.style.display!="none"?true:false;return null}function MSOMenu_GetEnabled(b,c){ULSfXY:;var a=MSOMenu_GetMenuItem(b,c);if(a!=null)return a.disabled!=true?true:false;return null}this.RaiseConnectionEvent=RaiseConnectionEvent;this.RaiseConnectionEventSpecial=RaiseConnectionEventSpecial;this.InitPartCommunication=InitPartCommunication;this.RaiseEvent=NotificationService.RaiseEvent;this.RegisterForEvent=NotificationService.RegisterForEvent;this.UnRegisterForEvent=NotificationService.UnRegisterForEvent;this.RegisterForPromptedSave=RegisterForPromptedSave;this.Init=Init;this.WebPartPage=InternalWebPartPage;this.Convert=Convert;this.MSOMenu_SetChecked=MSOMenu_SetChecked;this.MSOMenu_SetVisible=MSOMenu_SetVisible;this.MSOMenu_SetEnabled=MSOMenu_SetEnabled;this.MSOMenu_GetChecked=MSOMenu_GetChecked;this.MSOMenu_GetVisible=MSOMenu_GetVisible;this.MSOMenu_GetEnabled=MSOMenu_GetEnabled}var StateService=new StateServiceDef,WPSC=new WPSCDef,MSOWPSC_SavePerformed=false;function MSOWPSC_OnSubmit(){ULSfXY:;StateService.ProcessDirtyParts()}function Row2ParamsIn_GetRow(m,n,d){ULSfXY:;for(var c=new Array(d.length),a=new Array(d.length),b=0;b<c;b++)c[b]=-1;for(var b=0;b<a;b++)a[b]=-1;var g=d,f=n,h=m,e=0;this.RowProviderInit=j;this.RowReady=l;this.ParametersInConsumerInit=k;function k(h,f){ULSfXY:;var a=f.ParameterInProperties;e=a.length;if(a!=null&&a.length>0)for(var b=0;b<a.length;b++)for(var d=0;d<g.length;d++)if(a[b].ParameterName==g[d])c[d]=b}function j(g,e){ULSfXY:;var b=e.FieldList;if(b!=null&&b.length>0)for(var c=0;c<b.length;c++)for(var d=0;d<f.length;d++)if(b[c]==f[d])a[d]=c}function i(a){ULSfXY:;this.ParameterValues=a}function l(o,l){ULSfXY:;var j=l.Rows;if(l.SelectionStatus=="Standard"||l.SelectionStatus=="New"){if(j!=null){j.MoveFirst();for(var d=new Array(e),b=0;b<e;b++){var k=false;try{for(var f=0;f<c.length;f++)if(c[f]==b){if(j.Fields.Item(a[f]).Value!=null){var g=j.Fields.Item(a[f]).Type,m=j.Fields.Item(a[f]).Value;d[b]=String(m);if(g==12){if(typeof m=="date")d[b]=P2P_DateToString(d[b])}else if(g==7||g==133||g==134||g==135)d[b]=P2P_DateToString(d[b])}else d[b]="";k=true}}catch(n){k=false}if(!k)d[b]=""}WPSC.RaiseConnectionEvent(h,"ParametersInReady",new i(d))}}else WPSC.RaiseConnectionEvent(h,"NoParametersIn",null)}}function Row2Cell_GetRow(h,i){ULSfXY:;var d=i,a=-1,b=h;this.RowProviderInit=e;this.RowReady=g;function e(j,i){ULSfXY:;var e=i.FieldList,g=i.FieldDisplayList;if(e!=null&&e.length>0)for(var c=0;c<e.length;c++)if(e[c]==d){a=c;var h=null;if(g!=null&&g.length>c)h=g[c];WPSC.RaiseConnectionEvent(b,"CellProviderInit",new f(d,h))}}function f(b,a){ULSfXY:;this.FieldName=b;this.FieldDisplayName=a}function c(a){ULSfXY:;this.Cell=a}function g(f,e){ULSfXY:;var d=e.Rows;if(d!=null){d.MoveFirst();if(e.SelectionStatus&&(e.SelectionStatus=="Standard"||e.SelectionStatus=="New")&&a!=-1&&d.Fields!=null&&d.Fields.Item(a)!=null)WPSC.RaiseConnectionEvent(b,"CellReady",new c(d.Fields.Item(a).Value));else WPSC.RaiseConnectionEvent(b,"CellReady",new c(null))}}}function Row2Cell_GetCell(){ULSfXY:;this.CellConsumerInit=a;function a(){}}function Row2Filter_GetFilter(){ULSfXY:;this.FilterConsumerInit=a;function a(){}}function Row2Filter_GetRow(h,i,j){ULSfXY:;var k=j,e=i,a=-1,b=h;this.RowProviderInit=g;this.RowReady=f;function g(e,d){ULSfXY:;var b=d.FieldList;if(b!=null&&b.length>0)for(var c=0;c<b.length;c++)if(b[c]==k)a=c}function c(a){ULSfXY:;this.FilterExpression=a}function d(d){ULSfXY:;function c(a){ULSfXY:;if(a<10)return "0"+a;else return a}var b=new Date(Date.parse(d)),a=c(b.getMonth()+1)+"/";a+=c(b.getDate())+"/";a+=b.getFullYear()+" ";a+=c(b.getHours())+":";a+=c(b.getMinutes())+":";a+=c(b.getSeconds());return a}function f(l,i){ULSfXY:;var h=i.Rows;if((i.SelectionStatus=="Standard"||i.SelectionStatus=="New")&&a!=-1)if(h!=null){h.MoveFirst();var f="";try{if(h.Fields.Item(a).Value!=null){var j=h.Fields.Item(a).Value,g=h.Fields.Item(a).Type;f=String(j);if(g==12){if(typeof j=="date")f=d(f)}else if(g==7||g==133||g==134||g==135)f=d(f)}}catch(k){}WPSC.RaiseConnectionEvent(b,"SetFilter",new c("FilterField1="+WPSC.Convert(e,"UNICODE","URL")+"&FilterValue1="+WPSC.Convert(f,"UNICODE","URL")))}else WPSC.RaiseConnectionEvent(b,"SetFilter",new c("FilterField1="+WPSC.Convert(e,"UNICODE","URL")+"&FilterValue1="));else WPSC.RaiseConnectionEvent(b,"NoFilter",null)}}function ParamsOut2In_GetParamsOut(m,n,c){ULSfXY:;var b=new Array(c.length),d=new Array(c.length),f=c,e=n,g=m,a=0;this.ParametersOutProviderInit=h;this.ParametersOutReady=k;this.ParametersInConsumerInit=l;this.NoParametersOut=i;function i(){ULSfXY:;WPSC.RaiseConnectionEvent(g,"NoParametersIn",null)}function l(h,g){ULSfXY:;var c=g.ParameterInProperties;a=c.length;if(c!=null&&c.length>0)for(var d=0;d<c.length;d++)for(var e=0;e<f.length;e++)if(c[d].ParameterName==f[e])b[e]=d}function h(g,f){ULSfXY:;var a=f.ParameterOutProperties;if(a!=null&&a.length>0)for(var b=0;b<a.length;b++)for(var c=0;c<e.length;c++)if(a[b].ParameterName==e[c])d[c]=b}function j(a){ULSfXY:;this.ParameterValues=a}function k(l,k){ULSfXY:;var h=k.ParameterValues;if(h!=null&&h.length>0){for(var f=new Array(a),c=0;c<a;c++){for(var i=false,e=0;e<b.length;e++)if(b[e]==c){f[c]=h[d[e]];i=true}if(!i)f[c]=""}WPSC.RaiseConnectionEvent(g,"ParametersInReady",new j(f))}}}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(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;MSOLayout_inDesignMode=true;MSOLayout_topObject=document.getElementById("MSOTlPn_WebPartPageDiv")!=null?document.getElementById("MSOTlPn_WebPartPageDiv"):document.body}function MSOLayout_GetRealOffset(f,c,d){ULSfXY:;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(){ULSfXY:;var a=document.getElementById("_wikiPageMode");if(!a)return false;return a.value=="Edit"}function MSOLayout_MoveWebPartStart(h,a,d,f){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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(){ULSfXY:;if(MSOLayout_currentDragMode!="move"||MSOLayout_iBar.style.display=="none")return;window.event.returnValue=false;window.event.cancelBubble=true}function MSOLayout_MoveWebPart(OriginalTableCell,DestinationTableCell){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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(){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;while(a!=null){if(a.getAttribute(b)!=null)break;a=a.parentNode}return a}function MSOLayout_MinimizeRestoreToolPart(f,j,e,i,h){ULSfXY:;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){ULSfXY:;MSOLayout_AddChange(a,"isIncluded","False");document.forms[MSOWebPartPageFormName].MSOWebPartPage_PostbackSource.value=19;if(a.SelectedWebPart)MSOTlPn_onToolPaneCloseClick();else __doPostBack(MSOWebPartPageFormName,"")}function MSOLayout_RefreshIFrame(a){ULSfXY:;document.forms[MSOWebPartPageFormName].MSOWebPartPage_PostbackSource.value=23;a.src=a.src}function MSOLayout_GetStyleFromClass(sClass,sRule){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;DetachEvent("unload",MSOLayout_SaveChanges,window)}function MSOLayout_SaveChanges(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;document.body.style.cursor="auto";alert(MSOStrings.NoInitArgs)}function MSOConn_TargetGroupDlgCallback(b){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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(){ULSfXY:;MSOConn_ShowXFormsAndPersist();MSOConn_ConnCancelled=true}function MSOConn_ShowXFormsAndPersist(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;if(browseris.safari)return a.toLowerCase();return a}function SelectSingleNode(b,a){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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(){ULSfXY:;var a=event.srcElement.parentNode;MSOLayout_ShowHideErrorDetails(a.nextSibling,a)}function MSOLayout_HideErrorDetails(){ULSfXY:;var a=event.srcElement.parentNode.parentNode;MSOLayout_ShowHideErrorDetails(a.previousSibling,a)}function MSOLayout_ShowHideErrorDetails(b,a){ULSfXY:;a.style.display="none";b.style.display="inline"}function MoveSiteTitle(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;document.forms[MSOWebPartPageFormName].MSOWebPartPage_PostbackSource.value=b;if(arguments[2]==null)MSOTlPn_ShowToolPane2(a);else MSOTlPn_ShowToolPane2(a,arguments[2])}function MSOTlPn_ShowToolPane(a){ULSfXY:;if(arguments.length>1)MSOTlPn_ShowToolPane2(ConvertToAspPartDisplayMode(a),arguments[1]);else MSOTlPn_ShowToolPane2(ConvertToAspPartDisplayMode(a))}function MSOTlPn_ShowToolPaneWrapper(b,a){ULSfXY:;if(arguments[2]==null)MSOTlPn_ShowToolPane2Wrapper(ConvertToAspPartDisplayMode(b),a);else MSOTlPn_ShowToolPane2Wrapper(ConvertToAspPartDisplayMode(b),a,arguments[2])}function MSOLayout_CheckAndSaveChanges(){ULSfXY:;document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges!=null&&document.forms[MSOWebPartPageFormName].MSOLayout_LayoutChanges.value!=""&&MSOLayout_SaveChanges()}function MSOWebPartPage_ExportCheckWarning(d,c){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;MSOPGrid_HidePrevBuilder();MSOTlPn_prevBuilder=null;a.style.display="inline"}function MSOPGrid_HidePrevBuilder(){ULSfXY:;if(MSOTlPn_prevBuilder!=null)(eval(MSOTlPn_prevBuilder)).style.display="none"}function MSOPGrid_doBuilder(d,a,b){ULSfXY:;var c=showModalDialog(d,a,b);a.value=c;try{a.focus()}catch(e){}}function MSOWebPartPage_RestorePageDefault(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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){ULSfXY:;var a=b.toLowerCase();if(a.indexOf("javascript:")==0||a.indexOf("vbscript:")==0)MSOWebPartPage_hideNextBeforeUnload=true;window.location=b}function MSOWebPartPage_SetNewWindowLocation(b,a){ULSfXY:;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(){ULSfXY:;var b="Browse",a="49";MSOTlPn_ShowToolPane2Wrapper(b,a)}function MSOPGrid_InvokeFPBuilder(c,b,a){ULSfXY:;a.value=window.external.InvokeBuilder(c,b,a.id);a.focus()}function MSOMenu_KeyboardClick(c,e,f,d){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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(){ULSfXY:;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(){ULSfXY:;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){ULSfXY:;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(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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){ULSfXY:;if(MSOTlPn_shownViewChangeWarning)return;alert(a);MSOTlPn_shownViewChangeWarning=true}function MSOTlPn_CustomWindowResize(){ULSfXY:;var a=document.getElementById("MSOTlPn_Tbl");if(a==null||a.offsetWidth==0)return;a.style.pixelWidth=document.body.clientWidth}function MSOTlPn_ShowListFilter(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;MSOLayout_CheckAndSaveChanges();document.forms[MSOWebPartPageFormName].action=MSOMode_GetNewUrl(true);MSOTlPn_ShowToolPane2Wrapper(a,c,b)}function MSOLayout_MakeInvisibleIfEmpty(){ULSfXY:;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){ULSfXY:;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){ULSfXY:;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("ie55up.js")
