function ULSroH(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="bpstd.js";return o;}
function UpLevelBrowser(){ULSroH:;return navigator.appName=="Microsoft Internet Explorer"&&!browseris.mac}function ShowEditor(a,d,b,c){ULSroH:;if(UpLevelBrowser()){webUrlPrefix=a;if(webUrlPrefix=="/")webUrlPrefix="";MsoContentToolpartBasicEdit(webUrlPrefix+"/_layouts/htmledit.aspx",null,c,d,a)}else MSOTlPn_ShowToolPane2("Edit",b)}function BasicPageOnLoadeventHandler(d,e,b,c){ULSroH:;if(location.search.match(/[?&]ContentEditorPopUp=True(&|$)/i)&&location.search.match(/[?&]PageView=Shared(&|$)/i)){var f=function(){ULSroH:;document.forms[MSOWebPartPageFormName].action=MSOMode_RemoveMode(document.forms[MSOWebPartPageFormName].action,/(&)*ContentEditorPopUp=True/ig);ShowEditor(d,e,b,c)},a;try{a=typeof MSOMode_RemoveMode}catch(g){a="undefined"}EnsureScript("browserScript",a,f)}}function BasicPageEditContentEventHandler(e,f,c,d){ULSroH:;try{event.returnValue=false}catch(g){}if(!location.search.match(/[?&]PageView=Shared(&|$)/i)){var b=/(&)*ContentEditorPopUp=True/ig,a=MSOMode_GetNewUrl(true,document.forms[MSOWebPartPageFormName].action);a=MSOMode_RemoveMode(a,b);a=MSOMode_AddMode(a,b,"ContentEditorPopUp=True");document.forms[MSOWebPartPageFormName].action=a;if(UpLevelBrowser()){RestoreToOriginalFormAction();document.forms[MSOWebPartPageFormName].submit()}else MSOTlPn_ShowToolPane2("Edit",c)}else ShowEditor(e,f,c,d)}var Mso_ContentSaveSucceeded=true,Mso_TargetHiddenField=null;function MsoSimpleFormToolpartBasicEdit(d,a,b,c){ULSroH:;MsoToolpartBasicEdit(d,a,b,1033,c,"http://schemas.microsoft.com/WebPart/v2/SimpleForm#Content")}function MsoContentToolpartBasicEdit(e,a,b,d,c){ULSroH:;MsoToolpartBasicEdit(e,a,b,d,c,"http://schemas.microsoft.com/WebPart/v2/ContentEditor#Content")}function MsoToolpartBasicEdit(l,f,c,b,k,i){ULSroH:;if(f==null){if(Mso_TargetHiddenField==null)try{var j=c.Properties.Item(i).Value;Mso_TargetHiddenField={};Mso_TargetHiddenField.value=j}catch(e){return}}else Mso_TargetHiddenField=f;if(typeof b!="undefined"){Mso_TargetHiddenField.LCID=b;Mso_TargetHiddenField.docBodyDirection=b==1025||b==1037?"rtl":"ltr";Mso_TargetHiddenField.dir=Mso_TargetHiddenField.docBodyDirection;Mso_TargetHiddenField.LCID=b}else Mso_TargetHiddenField.LCID=void 0;Mso_TargetHiddenField.SaveButton=1;try{var h=document.getElementById("onetidThemeCSS");if(h!=null){var a;themeHref=h.href;a=location.protocol+"//"+location.host;if(themeHref.charAt(0)!="/"){var g=location.pathname.lastIndexOf("/");if(g>=0)a=a+location.pathname.substring(0,g+1)}a=a+themeHref;Mso_TargetHiddenField.Theme=a}}catch(e){}Mso_TargetHiddenField.BaseURL=location.href;Mso_TargetHiddenField.BodyClassName="ms-WPBody";Mso_TargetHiddenField.fAllowRelativeLinks=true;Mso_TargetHiddenField.WebUrl=k;var d=window.showModalDialog(l,Mso_TargetHiddenField,"dialogHeight:500px;dialogWidth:620px;resizable:yes;status:no;help:no;");if(typeof d!="undefined"&&(!Mso_ContentSaveSucceeded||d!=Mso_TargetHiddenField.value)){Mso_TargetHiddenField.value=d;if(c!=null)try{Mso_ContentSaveSucceeded=false;c.Properties.Item(i).Value=d;c.Save(false,SaveCallBack)}catch(e){alert(MSOStrings.ContentEditorSaveFailed)}}}function SaveCallBack(a,c,b){ULSroH:;Mso_ContentSaveSucceeded=a;if(Mso_ContentSaveSucceeded){Mso_TargetHiddenField=null;RestoreToOriginalFormAction();document.forms[MSOWebPartPageFormName].submit();return}else if(b=="401")alert(MSOStrings.AccessDenied);else alert(MSOStrings.ContentEditorSaveFailed)}function WP_SetHtml(a){ULSroH:;if(a.hiddenField==null)try{var b=a.webPart.Properties.Item("http://schemas.microsoft.com/WebPart/v2/ContentEditor#Content").Value;a.html=b;a.hiddenField.value=b}catch(c){}else a.html=a.hiddenField.value}function WP_SaveHtml(a){ULSroH:;if(a.webPart==null)return;try{Mso_ContentSaveSucceeded=false;a.webPart.Properties.Item("http://schemas.microsoft.com/WebPart/v2/ContentEditor#Content").Value=a.html;a.webPart.Save(false,SaveCallBack)}catch(b){alert(MSOStrings.ContentEditorSaveFailed)}}typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();typeof NotifyScriptLoadedAndExecuteWaitingJobs=="function"&&NotifyScriptLoadedAndExecuteWaitingJobs("bpstd.js")
