Link to home
Start Free TrialLog in
Avatar of guessdip
guessdip

asked on

How to Hide Edit Property from Documnet Library in sharepoint 2010?

Hii All,
 I have sharepoint 2010 and i have one Document library. User uploaded some documents. Now user wants to update metadata and word file by only opening file in word. They dont want anybody to edit metadata by using edit property in document or document set.

So how can i remove Edit Property from document menu and Document set menu ?
Edit-Property.JPG
Avatar of thman
thman
Flag of United States of America image

Here is what you can do:
(1) Browse to your document library view.
(2) Select Edit Page from Site Actions menu.
(3) Add a Content Editor web part to the page.
(4) Modify the Content Editor web part to be hidden (in the layout section) and paste the attached codes as content source. (You click Source Editor button to pop up the source pane)
(5) Click OK to finish configuring the Content Editor web part.
(6) Click Exit Edit Mode below Site Actions.
You show see that the item level menu items are now without the Edit Properties menuitem.
Rational behind the steps: what the above does is to modify the default item level menu items javascript function provided by SharePoint (core.js). I copied the one of the functions that is used to popup the menuitems. I commented out the codes that would add the Edit Properties menu item.

<script type="text/javascript">
function AddSharedNamespaceMenuItems(m, ctx)
{
	var RootFolder=GetRootFolder(ctx);
	setupMenuContext(ctx);
	if (currentItemFileUrl==null)
		currentItemFileUrl=GetAttributeFromItemTable(itemTable, "Url", "ServerUrl");
	if (currentItemFSObjType==null)
		currentItemFSObjType=GetAttributeFromItemTable(itemTable, "OType", "FSObjType");
	if (currentItemModerationStatus==null)
		currentItemModerationStatus=GetAttributeFromItemTable(itemTable, "MS", "MStatus");
	if (currentItemCheckedOutUserId==null)
		currentItemCheckedOutUserId=itemTable.getAttribute("COUId");
	if (currentItemCheckedoutToLocal==null)
		currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable, "COut", "IsCheckedoutToLocal ");
	if (currentItemCheckedoutToLocal !=1)
		currentItemCheckedoutToLocal=0;
	bIsCheckout=0;
	if (ctx.isForceCheckout==true &&  currentItemCheckedOutUserId=="" &&
		currentItemFSObjType !=1)
	{
		bIsCheckout=1;
	}
	var currentItemEscapedFileUrl;
	if (currentItemFileUrl !=null)
		currentItemEscapedFileUrl=escapeProperly(
		unescapeProperly(currentItemFileUrl));
	var menuOption;
	if (ctx.listBaseType==1)
		strDisplayText=L_ViewProperties_Text;
	else if (ctx.listBaseType==4)
		strDisplayText=L_ViewResponse_Text;
	else
		strDisplayText=L_ViewItem_Text;
	strAction="STSNavigate('"+ctx.displayFormUrl+"?ID="+currentItemID+				"&Source="+GetSource()+RootFolder+"')";
	strImagePath="";
	menuOption=CAMOpt(m, strDisplayText, strAction, strImagePath, null, 200);
	if (ctx.listBaseType==1)
		menuOption.id="ID_ViewProperties";
	else
		menuOption.id="ID_ViewItem";
	if (HasRights(0x0, 0x4) &&
	      !currentItemIsEventsDeletedExcp)
	{
		if (ctx.listBaseType==1)
			strDisplayText=L_EditProperties_Text;
		else if (ctx.listBaseType==4)
			strDisplayText=L_EditResponse_Text;
		else
			strDisplayText=L_EditItem_Text;
	   if (ctx.listBaseType==1)
	   {
		   strAction="STSNavigateWithCheckoutAlert('"+ctx.editFormUrl+"?ID="+currentItemID+					   "&Source="+GetSource()+RootFolder+"',"+bIsCheckout+",'"
+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+ctx.HttpRoot+"')";
	   }
	   else
	   {
		   strAction="STSNavigate('"+ctx.editFormUrl+"?ID="+currentItemID+"&Source="+GetSource()+"')";
	   }
		strImagePath=ctx.imagesPath+"edititem.gif";
/*
		menuOption=CAMOpt(m, strDisplayText, strAction, strImagePath, null, 220);
		if (ctx.listBaseType==1)
			menuOption.id="ID_EditProperties";
		else
			menuOption.id="ID_EditItem";
*/
		if (ctx.listTemplate==106 &&
			currentItemID.indexOf(".0.") > 0)
		{
			var SeriesIdEnd=currentItemID.indexOf(".0.");
			var itemSeriesID=currentItemID.substr(0, SeriesIdEnd);
			strDisplayText=L_EditSeriesItem_Text;
			strAction="STSNavigate('"+ctx.editFormUrl+"?ID="+itemSeriesID+"&Source="+					   GetSource()+"')";
			strImagePath=ctx.imagesPath+"recurrence.gif";
			menuOption=CAMOpt(m, strDisplayText, strAction, strImagePath, null, 230);
			menuOption.id="ID_EditSeriesItem";
		}
	}
	AddManagePermsMenuItem(m, ctx, ctx.listName, currentItemID);
}
</script>

Open in new window

Avatar of guessdip
guessdip

ASKER

Hi,
 I tried this. But it does not work for me. i have sharepoint 2010. and tried to add content editor web part and i did paste script in editor.
Sorry I do not have SharePoint 2010 at this point so I cannot tell exactly why it did not work for you. I tested on SharePoint 2007 and it worked fine. I do not think 2010 would be that much different from 2007 in web part behaviors. Could you paste here the CORE.js in 2010?
Sure,
 I found it in 14 folder.(14/Template/LayOuts\1033
function ULSrLq(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="core.js";return o;}
function GetXMLHttpRequestObject(){ULSrLq:;return new XMLHttpRequest}function insertAdjacentElement(a,c,b){ULSrLq:;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){ULSrLq:;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){ULSrLq:;if(a.insertAdjacentText)return a.insertAdjacentText(c,b);var d=document.createTextNode(b);return insertAdjacentElement(a,c,d)}function contains(c,a){ULSrLq:;var b=false;do{if(b=c==a)break;a=a.parentNode}while(a!=null);return b}function getFirstElementByName(b,c){ULSrLq:;if(b.name==c)return b;var a=b.firstChild;while(a&&a!="undefined"){var d=getFirstElementByName(a,c);if(d)return d;a=a.nextSibling}}function documentGetElementsByName(c){ULSrLq:;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){ULSrLq:;var a=b.firstChild;while(a&&a.nodeType==3)a=a.nextSibling;return a}var IsMenuShown=false,ChevronContainer=null,itemTableDeferred=null,imageCell=null,onKeyPress=false,downArrowText=null,currentEditMenu=null,currentItemID=null,currentItemAppName=null,currentItemProgId=null,currentItemIcon=null,currentItemOpenControl=null,currentItemFileUrl=null,currentItemFSObjType=null,currentItemContentTypeId=null,currentItemCheckedOutUserId=null,currentItemCheckoutExpires=null,currentItemModerationStatus=null,currentItemUIString=null,currentItemCheckedoutToLocal=null,bIsCheckout=0,currentItemCanModify=null,currentItemPermMaskH=null,currentItemPermMaskL=null,currentItemEvtType=0,currentItemIsEventsExcp=null,currentItemIsEventsDeletedExcp=null,currentItemContentTypeId=null;String.prototype.trim=function(){ULSrLq:;return this.replace(/^\s\s*/,"").replace(/\s\s*$/,"")};var L_Edit_Text="Edit",L_SharepointSearch_Text="Search this site...",L_CreateWebPageDialogWidth_Text="400",L_CreateWebPageDialogHeight_Text="250",g_MaximumSelectedItemsAllowed=100,L_BulkSelection_TooManyItems="You cannot select more than 100 items at once.",g_ExpGroupWPState=new LRUCache,DocOpen={CLIENT:0,BROWSER:1};function FilterNoteField(b,d,e,j){ULSrLq:;if(j!=13)return;event.returnValue=false;var a=window.location.href;pagedPart=/&Paged=TRUE&p_[^&]*&PageFirstRow=[^&]*/gi;a=a.replace(pagedPart,"");viewGuid=GetUrlKeyValue("View",true);if(viewGuid==""){a=StURLSetVar2(a,"View",b);viewGuid=b}if(b.toUpperCase()!=viewGuid.toUpperCase()){var g=escapeProperly(b);if(g.toUpperCase()!=viewGuid.toUpperCase()){var k=/\?[^?]*/i,f=a.indexOf("?");if(f!=-1)a=a.replace(k,"?View="+b);else a=a+"?View="+b}}var c=a.match("FilterField([0-9]+)="+d);if(!c){var f=a.indexOf("?");if(f!=-1)a=a+"&";else a=a+"?";i=0;do{i++;FilterArray=a.match("FilterField"+i+"=[^&]*&FilterValue"+i+"=[^&]*")}while(FilterArray);a=a+"FilterField"+i+"="+d+"&FilterValue"+i+"="+escapeProperly(e);a=a.replace("Filter=1&","")}else{filterNo=parseInt(c[1]);var h=a.match("&FilterValue"+filterNo+"=[^&]*");strTemp="&"+c[0]+h[0];strNewFilter="&FilterField"+c[1]+"="+d+"&FilterValue"+c[1]+"="+escapeProperly(e);a=a.replace(strTemp,strNewFilter);a=a.replace("Filter=1&","")}window.location.href=STSPageUrlValidation(a)}function _SelectField(b,k){ULSrLq:;var a=window.location.href,g=window.location.hash,c=false,f=/\#.*/i;a=a.replace(f,"");viewGuid=GetUrlKeyValue("View",true);pageView=GetUrlKeyValue("PageView",true);var h=GetUrlKeyValue("ID",true),e=GetUrlKeyValue("ContentTypeId",true);if(b.toUpperCase()!=viewGuid.toUpperCase()){var i=escapeProperly(b);if(i.toUpperCase()!=viewGuid.toUpperCase()){var f=/\?[^?]*/i,j=a.indexOf("?");if(j!=-1)a=a.replace(f,"?View="+b);else a=a+"?View="+b;c=true}}if(!c&&GetUrlKeyValue("SelectedID")!=""){var d=/&SelectedID=[^&]*/gi;a=a.replace(d,"");d=/\?SelectedID=[^&]*&?/;a=a.replace(d,"?")}a=a+"&SelectedID=";a=a+k;if(c&&pageView!="")a=a+"&PageView="+pageView;if(h!="")a=a+"&ID="+h;if(e!="")a=a+"&ContentTypeId="+e;if(g!="")a=a+g;_SubmitFormPost(a);return false}function _FilterField(d,b,a,c){ULSrLq:;return FilterFieldV3(d,b,a,c,false)}function FilterFieldV3(e,k,o,q,u){ULSrLq:;var a=CanonicalizeUrlEncodingCase(window.location.href),l=new CUrl(a);a=l.query;var b=a.match("[&?]Paged=TRUE[^&]*");if(b){var c=/&p_[^&]*/gi;a=a.replace(c,"");c=/&PageFirstRow=[^&]*/gi;a=a.replace(c,"");c=/&PageLastRow=[^&]*/gi;a=a.replace(c,"");c=/&PagedPrev=TRUE[^&]*/i;a=a.replace(c,"");b=a.match("[?]Paged=TRUE[^&]*");if(b){var f=a.substr(b["index"]).indexOf("&");if(f!=-1)a=a.substr(0,b["index"]+1)+a.substr(f+b["index"]+1);else a=a.substr(0,b["index"])}else{c=/&Paged=TRUE[^&]*/i;a=a.replace(c,"")}}viewGuid=GetUrlKeyValue("View",true);if(viewGuid==""){a=StURLSetVar2(a,"View",e);viewGuid=e}if(e.toUpperCase()!=viewGuid.toUpperCase()){var t=escapeProperly(e);if(t.toUpperCase()!=viewGuid.toUpperCase()){var v=/\?[^?]*/i,f=a.indexOf("?");if(f!=-1)a=a.replace(v,"?View="+e);else a=a+"?View="+e}}b=a.match("FilterField([0-9]+)="+k+"&");if(!b)if(0==q){a=a.replace("Filter=1&","");a=a.replace("?Filter=1","")}else{var f=a.indexOf("?");if(f!=-1)a=a+"&";else a=a+"?";i=0;do{i++;FilterArray=a.match("FilterField"+i+"=[^&]*")}while(FilterArray);a=a+"FilterField"+i+"="+k+"&FilterValue"+i+"="+escapeProperly(o);a=a.replace("Filter=1&","")}else{filterNo=parseInt(b[1]);var h=a.match("FilterValue"+filterNo+"=[^&]*"),r=a.match("&FilterOp"+filterNo+"=[^&]*"),n=a.match("&FilterLookupId"+filterNo+"=[^&]*"),p=a.match("&FilterData"+filterNo+"=[^&]*"),d="&"+b[0]+h[0];if(0==q){if(a.indexOf(d)==-1)d=b[0]+h[0]+"&";a=a.replace(d,"");if(r)a=a.replace(r[0],"");if(n)a=a.replace(n[0],"");if(p)a=a.replace(p[0],"");j=filterNo+1;FilterArray=a.match("FilterField"+j+"=[^&]*");for(i=filterNo;FilterArray;i++){strNew="FilterField"+i;strOld="FilterField"+j;a=a.replace(strOld,strNew);strNew="FilterValue"+i;strOld="FilterValue"+j;a=a.replace(strOld,strNew);strNew="FilterOp"+i;strOld="FilterOp"+j;a=a.replace(strOld,strNew);strNew="FilterLookupId"+i;strOld="FilterLookupId"+j;a=a.replace(strOld,strNew);strNew="FilterData"+i;strOld="FilterData"+j;a=a.replace(strOld,strNew);j++;FilterArray=a.match("FilterField"+j+"=[^&]*")}a=a.replace("Filter=1&","");a=a.replace("?Filter=1","");a=a.replace("&Filter=1","")}else{var g;if(a.indexOf(d)==-1){d="?"+b[0]+h[0];g="?"}else g="&";var s=g+"FilterField"+b[1]+"="+k+"&FilterValue"+b[1]+"="+escapeProperly(o);a=a.replace(d,s);a=a.replace("Filter=1&","");a=a.replace("&Filter=1","")}}b=a.match("FilterField([0-9]+)=");if(!b)a=a+"&FilterClear=1";else a=a.replace("&FilterClear=1","");l.query=a;a=l.ToString();if(u){var m=a.indexOf("?");m=a.substr(m+1).indexOf("?");if(m>=0)debugger;return a}else _SubmitFormPost(a)}function CanonicalizeUrlEncodingCase(c){ULSrLq:;for(var b="",a=0;a<c.length;a++){var d=c.charAt(a);if(d=="%"&&a+2<c.length){b+=d;a++;b+=c.charAt(a).toString().toUpperCase();a++;b+=c.charAt(a).toString().toUpperCase()}else b+=d}return b}function _SetControlValue(b,c){ULSrLq:;var a=document.getElementById(b);if(a!=null)a.value=c}var bValidSearchTerm=false;function SetSearchView(){ULSrLq:;if(typeof bValidSearchTerm!="undefined")bValidSearchTerm=true}function GroupCollapse(){ULSrLq:;return typeof _groupCollapse!="undefined"&&_groupCollapse}function HandleFilter(c,b){ULSrLq:;if(FV4UI()){var a;try{a=typeof inplview.HandleFilterReal}catch(g){a="undefined"}if(a!="undefined")inplview.HandleFilterReal(c,b);else{var f="inplview.HandleFilterReal",d=f.split(".");if(d.length>1){var e=function(){ULSrLq:;inplview.HandleFilterReal(c,b)};EnsureScript(d[0],a,e)}}return}_SubmitFormPost(b)}function _SubmitFormPost(a,d,c){ULSrLq:;if(typeof MSOWebPartPageFormName!="undefined"){var b=document.forms[MSOWebPartPageFormName];if(null!=b)if(d!=undefined&&d==true||!b.onsubmit||b.onsubmit()!=false){typeof WebForm_OnSubmit=="function"&&WebForm_OnSubmit();if(window.location.search.match("[?&]IsDlg=1"))a+=a.indexOf("?")==-1?"?IsDlg=1":"&IsDlg=1";if(FV4UI())try{currentTabId=SP.Ribbon.PageManager.get_instance().get_ribbon().get_selectedTabId();if(currentTabId){a=StURLSetVar2(a,"InitialTabId",escapeProperly(currentTabId));a=StURLSetVar2(a,"VisibilityContext","WSSTabPersistence")}}catch(e){}if(c!=undefined&&c==true){a=DemoteIntoFormBody(b,a,"owsfileref");a=DemoteIntoFormBody(b,a,"NextUsing")}b.action=STSPageUrlValidation(a);b.method="POST";if(isPortalTemplatePage(a))b.target="_top";!bValidSearchTerm&&_ClearSearchTerm("");b.submit()}}}function DemoteIntoFormBody(e,c,b){ULSrLq:;var d=GetUrlKeyValue(b,false,c);if(d.length>0){var a=document.createElement("INPUT");if(a!=null){a.setAttribute("type","hidden");a.setAttribute("id",b);a.setAttribute("name",b);a.setAttribute("value",d);e.appendChild(a);return RemoveUrlKeyValue(b,c)}}return c}function RemoveUrlKeyValue(c,a){ULSrLq:;var b=new RegExp(c+"=[^&]*&");a=a.replace(b,"");b=new RegExp(c+"=[^&]*");a=a.replace(b,"");return a}function _RefreshPageTo(c,b,a){ULSrLq:;return _SubmitFormPost(b,a)}var g_varSkipRefreshOnFocus=0;function RefreshOnFocus(){ULSrLq:;(typeof g_varSkipRefreshOnFocus=="undefined"||!g_varSkipRefreshOnFocus)&&_RefreshPage(1)}function RefreshOnFocusForOneRow(){ULSrLq:;RefreshOnFocus()}function DisableRefreshOnFocus(){ULSrLq:;g_varSkipRefreshOnFocus=1}function SetWindowRefreshOnFocus(){ULSrLq:;window.onbeforeunload=DisableRefreshOnFocus;window.onfocus=RefreshOnFocus}function RemoveParametersFromUrl(a){ULSrLq:;var b=a.indexOf("?");if(b==-1)return a;else return a.substr(0,b)}function _GoToPageRelative(a){ULSrLq:;if(a.substr(0,4)!="http"&&a.substr(0,1)!="/"){var b=RemoveParametersFromUrl(window.location.href),c=b.lastIndexOf("/");if(c>0)a=b.substring(0,c+1)+a}GoToPage(a)}function _EnterFolder(c){ULSrLq:;var b=RemoveParametersFromUrl(window.location.href),a=RemoveParametersFromUrl(c),d=a!=null&&a.length>0&&a.charAt(0)=="/"&&a.length<b.length&&b.indexOf(a)==b.length-a.length;if(!d&&a.toLowerCase()!=b.toLowerCase())STSNavigate(c);else _SubmitFormPost(c)}function _HandleFolder(q,c,r,h,d,g,l,j,p,b,a,k,m,i,f,o){ULSrLq:;var n=b&&b!="",e=a&&a!="";if(n&&e)return DispEx(q,c,h,d,g,l,j,p,b,a,k,m,i,f,o);else{c&&CancelEvent(c);_EnterFolder(r);return false}}function UseDialogsForFormsPages(c){ULSrLq:;if(!FV4UI())return false;var b=null,a=GetUrlKeyValue("LISTID",false,c.toUpperCase());if(a=="")a=GetUrlKeyValue("LIST",false,c.toUpperCase());if(a!=""&&g_ctxDict!=null)for(var e in g_ctxDict){var d=g_ctxDict[e];if(d.listName.toUpperCase()==a.toUpperCase()){b=d;break}}if(b==null||!b.NavigateForFormsPages)return true;return false}function _EditItemWithCheckoutAlert(c,a,b,d,g,h,f,e){ULSrLq:;if(CheckoutAlertBeforeNavigate(a,b,d,g,h,f,e))if(b&&UseDialogsForFormsPages(a))NewOrEditV4Core(c,a,true);else _EditItem2(c,a)}function _STSNavigateWithCheckoutAlert(a,g,b,e,f,d,c){ULSrLq:;CheckoutAlertBeforeNavigate(a,g,b,e,f,d,c)&&STSNavigate(a)}function ShowInPopUI(b,a,c){ULSrLq:;var d=function(){ULSrLq:;if(a==null&&b.fromRibbon&&b.currentCtx)a=b.currentCtx;if(typeof a!="undefined"&&a!=null&&a.clvp!=null){var d=a.clvp;GetFocusInfo(b,d);d.ShowPopup(c)}else STSNavigate(c)};EnsureScript("inplview",typeof inplview,d)}function TakeOfflineToClientReal(d,c,h,b,a,g,f){ULSrLq:;try{if(TakeOfflineDisabled(d,c,b,a))return;g_OfflineClient!=null&&g_OfflineClient.TakeOffline(d,c,h,b,a,g,f)}catch(e){alert(e.message)}}function CheckoutAlertBeforeNavigate(g,f,d,c,e,a,b){ULSrLq:;if(typeof a=="undefined"||a==null||a=="")a=currentItemCheckedOutUserId;if((typeof b=="undefined"||b==null||b=="")&&typeof ctx!="undefined")b=ctx.CurrentUserId;if(d=="1"){alert(L_CannotEditPropertyForLocalCopy_Text);return false}if(a!=null&&a!=""&&b!=null&&a!=b){alert(L_CannotEditPropertyCheckout_Text);return false}if(f=="1")if(confirm(L_ConfirmCheckout_Text)){if(c.charAt(0)=="/"||c.substr(0,3).toLowerCase()=="%2f")c=document.location.protocol+"//"+document.location.host+c;return CheckoutviaXmlhttp(e,c)}else return false;return true}function CheckoutviaXmlhttp(c,b){ULSrLq:;var a,e;a=new XMLHttpRequest;if(a==null)return false;a.open("POST",c+"/_vti_bin/lists.asmx",false);a.setRequestHeader("Content-Type","text/xml; charset=utf-8");a.setRequestHeader("SOAPAction","http://schemas.microsoft.com/sharepoint/soap/CheckOutFile");var d='<?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><CheckOutFile xmlns="http://schemas.microsoft.com/sharepoint/soap/"><pageUrl>'+b+"</pageUrl></CheckOutFile></soap:Body></soap:Envelope>";a.send(d);if(a.status==200&&a.responseText.indexOf("true")!=0)return true;else return false}var g_ExtensionNotSupportCheckoutToLocal=["ascx","asp","aspx","htm","html","master","odc","exe","bat","com","cmd","onetoc2"],g_ExtensionDefaultForRead=["jpg","jpeg","bmp","png","gif","onetoc2","one","odc"];function FSupportCheckoutToLocal(a){ULSrLq:;var c=true;if(a==null||a=="")return false;a=a.toLowerCase();for(var b=0,b=0;b<g_ExtensionNotSupportCheckoutToLocal.length;b++)if(a==g_ExtensionNotSupportCheckoutToLocal[b])return false;return true}function FDefaultOpenForReadOnly(a){ULSrLq:;var c=false;if(a==null||a=="")return true;a=a.toLowerCase();for(var b=0,b=0;b<g_ExtensionDefaultForRead.length;b++)if(a==g_ExtensionDefaultForRead[b])return true;return false}function CheckoutDocument(g,a,e){ULSrLq:;var d=null,b=true,c=false;if(a.charAt(0)=="/"||a.substr(0,3).toLowerCase()=="%2f")a=document.location.protocol+"//"+document.location.host+a;var f=SzExtension(unescapeProperly(a));if(FSupportCheckoutToLocal(f)&&e=="SharePoint.OpenDocuments.3")d=StsOpenEnsureEx2(e);if(d!=null)try{b=d.CheckoutDocumentPrompt(unescapeProperly(a),false,"");b&&RefreshOnFocus();c=b;if(c||!(IsSupportedMacBrowser()||IsSupportedFirefoxOnWin()))return b}catch(i){}if(!c){var h="FileName="+escapeProperly(unescapeProperly(a))+"&Checkout=true";NavigateToCheckinAspx(g,h)}return true}function NewOrEditV4Core(a,b,c){ULSrLq:;if(a!=null){var d=function(){ULSrLq:;var b=CLVPFromEventReal(a);GetFocusInfo(a,b)};EnsureScript("inplview",typeof InitAllClvps,d)}if(c)_OpenPopUpPage(b,RefreshOnDialogClose);else _OpenPopUpPage(b,RefreshPage);return false}function _NewItem2(b,a){ULSrLq:;if(UseDialogsForFormsPages(a))return NewOrEditV4Core(b,a);else _NewItem(a)}function _NewItem(a){ULSrLq:;GoToPage(a)}function _EditItem2(b,a){ULSrLq:;if(UseDialogsForFormsPages(a))return NewOrEditV4Core(b,a);_EditItem(a)}function _EditItem(a){ULSrLq:;GoToPage(a)}function _CorrectUrlForRefreshPageSubmitForm(){ULSrLq:;var a=window.location.hash;if(a.indexOf("ServerFilter=")==1){a=a.replace(/-/g,"&").replace(/&&/g,"-");var d=GetUrlKeyValue("RootFolder",true,a),c=GetUrlKeyValue("RootFolder",true);if(""==d&&""!=c)a+="&RootFolder="+c;var b=new CUrl(window.location.href);b.hash="";b.query="?"+a.substr("ServerFilter=".length+1);return b.ToString()}else return window.location.href}function _RefreshPage(a){ULSrLq:;if(a==1)_SubmitFormPost(_CorrectUrlForRefreshPageSubmitForm());else{var b=function(){ULSrLq:;SetFocusBack(a)};EnsureScript("inplview",typeof InitAllClvps,b)}}function RefreshOnDialogClose(){ULSrLq:;_RefreshPage(SP.UI.DialogResult.OK)}function OpenPopUpPageWithTitle(f,b,e,c,d){ULSrLq:;var g=function(){ULSrLq:;var a={url:f,args:null,title:d,dialogReturnValueCallback:b,width:e,height:c},g=SP.UI.ModalDialog.showModalDialog(a)},a;try{a=typeof SP.UI.ModalDialog.showModalDialog}catch(h){a="undefined"}EnsureScript("SP.UI.Dialog.js",a,g)}function _OpenPopUpPage(d,a,c,b){ULSrLq:;OpenPopUpPageWithTitle(d,a,c,b,null)}function _RemoveQueryStringsAndHash(a){ULSrLq:;if(a){var b=a.indexOf("#");if(b>=0)a=a.substr(0,b);b=a.indexOf("?");if(b>=0)a=a.substr(0,b)}return a}function _OpenCreateWebPageDialog(a){ULSrLq:;if(!a&&typeof _spPageContextInfo!="undefined"&&_spPageContextInfo.webServerRelativeUrl){a=_spPageContextInfo.webServerRelativeUrl;if(a.charAt(a.length-1)!="/")a=a+"/";a=a+"_layouts/createwebpage.aspx"}var b=window.location.href;b=_RemoveQueryStringsAndHash(b);a=StURLSetVar2(a,"Url",escapeProperly(b));if(FV4UI()){var d=parseInt(L_CreateWebPageDialogWidth_Text),c=parseInt(L_CreateWebPageDialogHeight_Text);if(isNaN(d))d=400;if(isNaN(c))c=250;_OpenPopUpPage(a,null,d,c)}else GoToPage(a)}function PreventDefaultNavigation(){ULSrLq:;var a=window.event;if(a)if(!a.preventDefault)a.returnValue=false;else a.preventDefault()}function _EditLink2(a,b){ULSrLq:;var c=function(){ULSrLq:;var d=GetGotoLinkUrl(a);if(d==null)return;var c=window["ctx"+b];if(c!=null&&c.clvp!=null){var e=c.clvp;if(FV4UI()&&!c.NavigateForFormsPages){PreventDefaultNavigation();e.ShowPopup(d);return false}}GoToLink(a)};EnsureScript("inplview",typeof inplview,c)}function EditLink(a,b){ULSrLq:;if(FV4UI())EditLink2(a,b);else GotoLink(a)}function _GoBack(a){ULSrLq:;window.location.href=unescapeProperly(GetSource(a))}function _ReplyItem(a,b,d,c){ULSrLq:;if(b.length>=504){var L_ReplyLimitMsg_Text="Cannot reply to this thread. The reply limit has been reached.";alert(L_ReplyLimitMsg_Text)}else{a+="?Threading="+b;a+="&Guid="+d;a+="&Subject="+c;GoToPage(a)}}function GoBacktoCurrentIssue(a,b){ULSrLq:;a+="?ID="+b;GoToPage(a)}function _ExportToDatabase(d,e,f,c){ULSrLq:;if(g_expDatabase==null){var a=GetCookie("databaseBtnText");if(a!=null&&a!="0")try{g_expDatabase=new ActiveXObject("SharePoint.ExportDatabase")}catch(b){return null}else if(a==null)GetDataBaseInstalled();else return null}if(g_expDatabase!=null){var L_NoWSSClient_Text="To export a list, you must have a Microsoft SharePoint Foundation-compatible application and Microsoft Internet Explorer 7.0 or greater.",L_ExportDBFail_Text="Export to database failed. To export a list, you must have a Microsoft SharePoint Foundation-compatible application.";if(browseris.ie5up&&browseris.win32)try{g_expDatabase.SiteUrl=makeAbsUrl(d);g_expDatabase.ListID=e;g_expDatabase.ViewID=f;g_expDatabase.DoExport(c)}catch(b){alert(L_ExportDBFail_Text);return}else alert(L_NoWSSClient_Text)}}function _ExportList(a){ULSrLq:;g_ssImporterObj==null&&EnsureSSImporter();if(g_ssImporterObj==null)(g_fSSImporter||GetCookie("EnsureSSImporter")==null)&&EnsureSSImporter(true);var L_ExportListSpreadsheet_Text="To export a list, you must have a Microsoft SharePoint Foundation-compatible application.";if(IsSupportedMacBrowser()){if(g_fSSImporter&&g_ssImporterObj.IqyExportEnabled){var b=g_ssImporterObj.IqyExport(makeAbsUrl(a));if(!b)window.location.href=STSPageUrlValidation(makeAbsUrl(a))}else if(confirm(L_ExportListSpreadsheet_Text))window.location.href=STSPageUrlValidation(makeAbsUrl(a))}else if(g_fSSImporter&&g_ssImporterObj.IqyImportEnabled()||confirm(L_ExportListSpreadsheet_Text))window.location.href=STSPageUrlValidation(makeAbsUrl(a))}function ExportDiagram(m,f,l,g,i,h){ULSrLq:;if(g_objDiagramLaunch==null){var a=GetCookie("digInstalled");if(a!=null&&a!="0")try{g_objDiagramLaunch=new ActiveXObject("DiagramLaunch.DiagramLauncher")}catch(b){return null}else if(a==null)GetDiagramLaunchInstalled();else return null}try{var d="",j=m,e=h,c=f,k=l;g_objDiagramLaunch.CreateDiagram(d,j,e,c,g,i,k)}catch(b){var L_DiagramLaunchFail_Text="Unable to create diagram.";alert(L_DiagramLaunchFail_Text)}}function OpenTasks(m,f,l,g,i,h){ULSrLq:;if(g_objProjectTaskLaunch==null){var a=GetCookie("projInstalled");if(a!=null&&a!="0")try{g_objProjectTaskLaunch=new ActiveXObject("TaskLaunch.TaskLauncher")}catch(b){return null}else if(a==null)GetProjectTaskLaunchInstalled();else return null}if(g_objProjectTaskLaunch!=null)try{var d="",j=m,e=h,c=f,k=l;g_objProjectTaskLaunch.OpenTasks(d,j,e,c,g,i,k)}catch(b){var L_OpenTasksFail_Text="Unable to open tasks.";alert(L_OpenTasksFail_Text)}}var ListCtrlObj,fListControl=false,fListErrorShown=false,L_EditInGrid_Text="The list cannot be displayed in Datasheet view for one or more of the following reasons: \n\n- A datasheet component compatible with Microsoft SharePoint Foundation is not installed.\n- Your Web browser does not support ActiveX controls. \n- A component is not properly configured for 32-bit or 64-bit support.";function CatchListCreateError(){ULSrLq:;alert(L_EditInGrid_Text);fListErrorShown=true;return false}function EnsureListControl(){ULSrLq:;if(!fListControl){fListErrorShown=false;if(browseris.ie5up&&browseris.win32){var b='try{    ListCtrlObj=new ActiveXObject("ListNet.ListNet");    if (ListCtrlObj)        fListControl=true;} catch (e){    fListControl=false;};',a=new Function(b);a()}else{window.onerror=CatchListCreateError;ListCtrlObj=new ActiveXObject("ListNet.ListNet");if(ListCtrlObj)fListControl=true}}ListCtrlObj=null;return fListControl}var L_NoQuestion_Text="The survey contains no questions.",L_NoVoteAllowed_Text="You are not allowed to respond again to this survey.";function IsVoteOK(a){ULSrLq:;if(1==a)alert(L_NoQuestion_Text);else if(2==a)alert(L_NoVoteAllowed_Text);else return true}function hasHighChar(b){ULSrLq:;for(var a=0,a=0;a<b.length;a++)if(b.charCodeAt(a)>127)return true;return false}function _ClearSearchTerm(a){ULSrLq:;if(typeof MSOWebPartPageFormName!="undefined"){var c=document.forms[MSOWebPartPageFormName];if(null!=c)if(a!=null){var b=c["SearchString"+a];if(b!=null)b.value=""}}bValidSearchTerm=true}function _SubmitSearchRedirect(a){ULSrLq:;var b=document.forms["frmSiteSearch"];if(b==null)if(typeof MSOWebPartPageFormName!="undefined")b=document.forms[MSOWebPartPageFormName];if(b!=null){var c=b.elements["SearchString"].value.trim();if(c===L_SharepointSearch_Text||c==="")return false;a=a+"?k="+escapeProperly(c);var e=b.elements["SearchScope"];if(e!=null){var d=e.value;if(d)a=a+"&u="+escapeProperly(d)}window.location.href=a}return false}function ShowGridUrlInHTML(a){ULSrLq:;if(a.indexOf("?")>0)a=a+"&";else a=a+"?";a=a+"ShowInGrid=HTML";return a}function SearchOnBodyLoad(){ULSrLq:;var a=document.getElementById("idSearchString");if(a!=null&&(a.value.trim()===L_SharepointSearch_Text||a.value.trim()===""))a.className="ms-sharepointsearchtext"}function SearchOnBlur(){ULSrLq:;var a=document.getElementById("idSearchString");if(a!=null&&a.value.trim()===""){a.value=L_SharepointSearch_Text;a.className="ms-sharepointsearchtext"}}function SearchOnFocus(){ULSrLq:;var a=document.getElementById("idSearchString");if(a!=null&&a.value.trim()===L_SharepointSearch_Text){a.value="";a.className="ms-searchtext"}}function SubmitSearch(){ULSrLq:;_SubmitSearchForView("")}function _SubmitSearchForView(e){ULSrLq:;var a=document.forms[0],c="SearchString"+e,d=a.elements[c].value;if(""==d){var L_Enter_Text="Please enter one or more search words.";alert(L_Enter_Text);a.elements[c].focus()}else{var b;b=RemovePagingArgs(a.action);if(typeof bGridViewPresent!="undefined"&&bGridViewPresent)b=ShowGridUrlInHTML(b);a.action=b;a.submit()}}function IsKeyDownSubmit(a){ULSrLq:;if(a!=null){var c,b;if(browseris.ie){c=a.keyCode;b=a.altKey||a.ctrlKey}else{c=a.which;b=a.modifers&(a.ALT_MASK|a.CONTROL_MASK)}if(c==13&&!b)return true}return false}function SearchViewKeyDown(a){ULSrLq:;IsKeyDownSubmit(event)&&_SubmitSearchForView(a)}function SearchKeyDown(b,a){ULSrLq:;if(IsKeyDownSubmit(b)){_SubmitSearchRedirect(a);return false}return true}function SearchKeyDownGoSearch(a){ULSrLq:;if(IsKeyDownSubmit(a)){GoSearch();return false}return true}function _AlertAndSetFocus(b,a){ULSrLq:;a.focus();a.select();window.alert(b)}function _AlertAndSetFocusForDropdown(b,a){ULSrLq:;a.focus();window.alert(b)}function setElementValue(c,b){ULSrLq:;var a=document.getElementsByName(c).item(0);if(a==null)return false;a.value=b;return true}function GetMultipleSelectedText(b){ULSrLq:;if(b){var a;a="";for(var c=0;c<b.options.length;c++)if(b.options[c].selected)a+=","+b.options[c].text;if(a.length>0)a=a.substring(1);return a}else return ""}function GetCBSelectedValues(c){ULSrLq:;if(c==null)return;var a={};a.strList="";a.fAllChecked=true;for(var d=0;d<c.elements.length;d++){var b=c.elements[d];if(b.type=="checkbox"&&!b.disabled)if(b.checked){if(a.strList!="")a.strList+=",";a.strList+=b.value}else a.fAllChecked=false}return a}var fNewDoc=false,fNewDoc2=false,fNewDoc3=false,L_EditDocumentProgIDError_Text="'Edit Document' requires a Microsoft SharePoint Foundation-compatible application and web browser.",L_EditDocumentRuntimeError_Text="The document could not be opened for editing.  A Microsoft SharePoint Foundation compatible application could not be found to edit the document.",L_SPDesignerDownloadWindow_Text="Microsoft SharePoint Designer",SPDesignerDownloadUrl="http://r.office.microsoft.com/r/rlidBrowserToSPD",SPDesignerProgID="SharePoint.WebPartPage.Document";function editDocumentWithProgID(a,b){ULSrLq:;if(fNewDoc){if(a.charAt(0)=="/"||a.substr(0,3).toLowerCase()=="%2f")a=document.location.protocol+"//"+document.location.host+a;if(!fNewDoc2&&!fNewDoc3)!EditDocumentButton.EditDocument(a,b)&&alert(L_EditDocumentRuntimeError_Text);else!EditDocumentButton.EditDocument2(window,a,b)&&alert(L_EditDocumentRuntimeError_Text)}else alert(L_EditDocumentProgIDError_Text)}function GetSPDDownLoadUrl(){ULSrLq:;var a=navigator.userLanguage;if(!a)a=navigator.browserLanguage;return SPDesignerDownloadUrl+"?clid="+a}function EditInSPD(a,d){ULSrLq:;var b=GetSPDDownLoadUrl();if(a.charAt(0)=="/")a=document.location.protocol+"//"+document.location.host+a;var c=StsOpenEnsureEx2("SharePoint.OpenDocuments.3");if(c!=null){if(!c.EditDocument3(window,a,false,SPDesignerProgID))OpenPopUpPageWithTitle(b,null,null,null,L_SPDesignerDownloadWindow_Text);else if(d)window.onfocus=RefreshOnNextFocus}else OpenPopUpPageWithTitle(b,null,null,null,L_SPDesignerDownloadWindow_Text)}function editDocumentWithProgID2(e,b,h,g,f,c){ULSrLq:;var a=editDocumentWithProgIDNoUI(e,b,h,g,f,c);if(a==1){if(b==SPDesignerProgID){var d=GetSPDDownLoadUrl();OpenPopUpPageWithTitle(d,null,null,null,L_SPDesignerDownloadWindow_Text)}else alert(L_EditDocumentRuntimeError_Text);window.onfocus=RefreshOnNextFocus}else a==2&&alert(L_EditDocumentProgIDError_Text)}function editDocumentWithProgIDNoUI(a,c,d,h,k,i){ULSrLq:;var b,l,g=false;d=d.replace(/(?:\.\d+)$/,"");if(a.charAt(0)=="/"||a.substr(0,3).toLowerCase()=="%2f")a=document.location.protocol+"//"+document.location.host+a;var j=SzExtension(unescapeProperly(a));if(FSupportCheckoutToLocal(j))try{b=StsOpenEnsureEx2(d+".3");if(b!=null){if(h=="1"){if(!b.CheckoutDocumentPrompt(a,true,c))return 1}else{if(i=="1")g=true;if(!b.EditDocument3(window,a,g,c))return 1}var f=false;f=b.PromptedOnLastOpen();if(f)window.onfocus=RefreshOnNextFocus;else SetWindowRefreshOnFocus();return}}catch(e){}if(h=="1")if(confirm(L_ConfirmCheckout_Text))NavigateToCheckinAspx(k,"FileName="+escapeProperly(unescapeProperly(a))+"&Checkout=true");else return;b=StsOpenEnsureEx2(d);if(b!=null){try{if(!b.EditDocument2(window,a,c))return 1;window.onfocus=RefreshOnNextFocus;return}catch(e){}try{window.onfocus=null;if(SzExtension(a)=="ppt"&&c=="")c="PowerPoint.Slide";if(!b.EditDocument(a,c))return 1;SetWindowRefreshOnFocus();return}catch(e){return 2}}return 1}function RefreshOnNextFocus(){ULSrLq:;SetWindowRefreshOnFocus()}function createNewDocumentWithProgID2Ex(f,b,a,d,c,e){ULSrLq:;createNewDocumentWithProgID2(b,a,d,c,e)}function createNewDocumentWithProgID2(b,a,e,d,c){ULSrLq:;!createNewDocumentWithProgIDCore(b,a,e,c,false)&&createNewDocumentWithProgIDCore(b,a,d,c,true)}function createNewDocumentWithProgIDEx(e,b,a,c,d){ULSrLq:;createNewDocumentWithProgID(b,a,c,d)}function createNewDocumentWithProgID(b,a,c,d){ULSrLq:;createNewDocumentWithProgIDCore(b,a,c,d,true)}function createNewDocumentWithProgIDCore(d,c,e,h,g){ULSrLq:;var a,L_NewDocumentRuntimeError_Text,L_NewDocumentError_Text,b=false;if(h)var L_NewDocumentRuntimeError_Text=L_NewFormLibTb1_Text,L_NewDocumentError_Text=L_NewFormLibTb2_Text;else var L_NewDocumentRuntimeError_Text=L_NewDocLibTb1_Text,L_NewDocumentError_Text=L_NewDocLibTb2_Text;try{a=StsOpenEnsureEx2(e+".2");!a.CreateNewDocument2(window,d,c)&&alert(L_NewDocumentRuntimeError_Text);b=a.PromptedOnLastOpen();if(b)window.onfocus=RefreshOnNextFocus;else SetWindowRefreshOnFocus();return true}catch(f){}try{a=StsOpenEnsureEx2(e+".1");window.onfocus=null;!a.CreateNewDocument(d,c)&&alert(L_NewDocumentRuntimeError_Text);SetWindowRefreshOnFocus();return true}catch(f){g&&alert(L_NewDocumentError_Text)}}function createNewDocumentWithRedirect2(h,d,b,e,f,c,g,a){ULSrLq:;createNewDocumentWithRedirect(d,b,e,f,c,g,a)}function createNewDocumentWithRedirect(e,a,b,f,d,g,c){ULSrLq:;if(g)if(IsClientAppInstalled(b))createNewInClient(e,a,b,f);else createNewInBrowser(d,a,c);else if(IsClientAppInstalled(b)&&c!=1)createNewInClient(e,a,b,f);else createNewInBrowser(d,a,c)}function createNewInClient(c,b,d,e){ULSrLq:;var a=d.replace(/(?:\.\d+)$/,"");createNewDocumentWithProgID(c,b,a,e)}function createNewInBrowser(a,c,b){ULSrLq:;a=a+"&SaveLocation="+makeAbsUrl(escapeProperly(c));a=AddSourceToUrl(a);a=a+"&DefaultItemOpen="+b;STSNavigate(a)}function LRUCache(){ULSrLq:;this.state=[];this.ageStack=[];this.count=0}function LRUCache_Add(a,b){ULSrLq:;if(!a)return;oldAge=a.state[b];if(oldAge!=null)a.ageStack[oldAge]=null;else a.count++;age=a.ageStack.length;a.state[b]=age;a.ageStack.push(b)}function LRUCache_Remove(a,b){ULSrLq:;if(!a)return;age=a.state[b];if(age!=null){a.ageStack[age]=null;a.state[b]=null;a.count--}}function _AddGroupToCookie(c){ULSrLq:;var a=ExpGroupFetchWebPartID(c);if(a==null)return;LRUCache_Add(g_ExpGroupWPState,a);if(g_ExpGroupTable[a]==null)g_ExpGroupTable[a]=new LRUCache;var b=ExpGroupFetchGroupString(c);if(b==null)return;LRUCache_Add(g_ExpGroupTable[a],b);ExpGroupRenderCookie()}function _RemoveGroupFromCookie(d){ULSrLq:;var a=ExpGroupFetchWebPartID(d);if(a==null)return;if(g_ExpGroupTable[a]==null)return;LRUCache_Add(g_ExpGroupWPState,a);var c=ExpGroupFetchGroupString(d);if(c==null)return;var b;for(b in g_ExpGroupTable[a].state)g_ExpGroupTable[a].state[b]!=null&&b.substring(0,c.length)==c&&LRUCache_Remove(g_ExpGroupTable[a],b);ExpGroupRenderCookie()}function ExpGroupRenderCookie(){ULSrLq:;if(!g_ExpGroupWPState)return;for(var c=ExpGroupWPListName+"=",a=0,d=g_ExpGroupWPState.ageStack.length-1;d>=0;d--)if(g_ExpGroupWPState.ageStack[d]!=null){var b=g_ExpGroupWPState.ageStack[d];if(a==ExpGroupMaxWP){DeleteCookie(ExpGroupCookiePrefix+b);break}else if(g_ExpGroupTable[b]==null){a++;if(a>1)c+=escape(ExpGroupCookieDelimiter);c+=escape(b)}else if(g_ExpGroupTable[b].count==0)DeleteCookie(ExpGroupCookiePrefix+b);else if(a<ExpGroupMaxWP){a++;ExpGroupRenderCookieForWebPart(b);if(a>1)c+=escape(ExpGroupCookieDelimiter);c+=escape(b)}}if(a==0)DeleteCookie(ExpGroupWPListName);else document.cookie=c}function ExpGroupRenderCookieForWebPart(a){ULSrLq:;if(!g_ExpGroupTable[a].ageStack)return;for(var d=ExpGroupCookiePrefix+a+"=",e=true,c=g_ExpGroupTable[a].ageStack.length-1;c>=0;c--)if(g_ExpGroupTable[a].ageStack[c]!=null){var f=g_ExpGroupTable[a].ageStack[c],b="";if(!e)b+=escape(ExpGroupCookieDelimiter);b+=escape(f);if(d.length+b.length<=ExpGroupMaxCookieLength){d+=b;e=false}}document.cookie=d+";"}function ExpDataViewGroupOnPageLoad(){ULSrLq:;ExpGroupOnPageLoad("PageLoad")}function ExpGroupOnPageLoad(a){ULSrLq:;flag=document.getElementById("GroupByColFlag");if(flag!=null){g_ExpGroupNeedsState=true;ExpGroupParseCookie(a)}}function ExpGroupParseCookie(e){ULSrLq:;var c=GetCookie(ExpGroupWPListName);if(c==null)return;g_ExpGroupParseStage=true;for(var d=c.split(ExpGroupCookieDelimiter),b=d.length-1;b>=0;b--){var a=d[b];LRUCache_Add(g_ExpGroupWPState,a);if(g_ExpGroupTable[a]==null)document.getElementById("GroupByCol"+a)!=null&&ExpGroupParseCookieForWebPart(a,e)}g_ExpGroupParseStage=false;g_ExpGroupQueue.length>0&&ExpGroupFetchData(g_ExpGroupQueue.shift(),e)}function ExpGroupParseCookieForWebPart(d,l){ULSrLq:;var k=GetCookie(ExpGroupCookiePrefix+d);if(k==null)return;var m=k.split(ExpGroupCookieDelimiter),a;g_ExpGroupTable[d]=new LRUCache;for(a=m.length-1;a>=0;a--){var h=m[a];LRUCache_Add(g_ExpGroupTable[d],h)}var c=[],n=document.getElementById("GroupByCol"+d).parentNode;tbodyTags=n.getElementsByTagName("TBODY");for(a=0;a<tbodyTags.length;a++){var h=tbodyTags[a].getAttribute("groupString");if(h!=null){var i=tbodyTags[a].id;if(i==null)continue;var b=i.substring(4,i.length);if(g_ExpGroupTable[d].state[h]!=null&&c[b]==null){ExpCollGroup(b,"img_"+b,l);c[b]=true;tbody=document.getElementById("tbod"+b+"_");if(tbody!=null){isLoaded=tbody.getAttribute("isLoaded");isLoaded=="false"&&g_ExpGroupQueue.push(b)}}}}var e;for(e in c){var j=e.indexOf("_");if(j!=e.length-1&&j!=-1){var f=e.substring(0,j+1);if(c[f]==null){var g=ExpGroupFetchGroupString(f);if(g!=null){LRUCache_Add(g_ExpGroupWPState,g);ExpCollGroup(f,"img_"+f,l);c[g]=true}}}}}function _ExpGroupBy(e){ULSrLq:;if(browseris.w3c&&!browseris.ie)document.all=document.getElementsByTagName("*");docElts=document.all;numElts=docElts.length;images=e.getElementsByTagName("IMG");img=images[0];srcPath=img.src;index=srcPath.lastIndexOf("/");imgName=srcPath.slice(index+1);var b="auto";if(imgName=="plus.gif"){b="";img.src="/_layouts/images/minus.gif"}else{b="none";img.src="/_layouts/images/plus.gif"}oldName=img.name;img.name=img.alt;img.alt=oldName;spanNode=img;while(spanNode!=null){spanNode=spanNode.parentNode;if(spanNode!=null&&spanNode.id!=null&&spanNode.id.length>5&&spanNode.id.substr(0,5)=="group")break}parentNode=spanNode;while(parentNode!=null){parentNode=parentNode.parentNode;if(parentNode!=null&&parentNode.tagName=="TABLE")break}lastNode=null;if(parentNode!=null){lastNode=parentNode.lastChild;if(lastNode!=null&&lastNode.tagName=="TBODY")lastNode=lastNode.lastChild;if(lastNode!=null&&lastNode.tagName=="TR"&&lastNode.lastChild!=null)lastNode=lastNode.lastChild}for(var c=0;c<numElts;c++){var a=docElts.item(c);if(a==spanNode)break}ID=spanNode.id.slice(5);displayStyle=b;for(var d=c+1;d<numElts;d++){var a=docElts.item(d);if(a.id.length>5&&a.id.substr(0,5)=="group"){curID=a.id.slice(5);if(curID<=ID)return}parentNode=a;while(parentNode!=null){parentNode=parentNode.parentNode;if(parentNode==spanNode)break}if(parentNode==spanNode)continue;if(a.id!=null&&a.id.substring(0,5)=="group")b=displayStyle;if(a.id!=null&&a.id.substring(0,8)=="footer"+ID)b=displayStyle;if(displayStyle!="none"&&a!=img&&a.tagName=="IMG"&&a.src!=null)if(a.src.slice(a.src.length-25)=="/_layouts/images/plus.gif")b="none";else if(a.src.slice(a.src.length-26)=="/_layouts/images/minus.gif")b="";if(a.tagName==spanNode.tagName&&a.id!="footer")a.style.display=b;if(a.tagName=="TABLE"&&lastNode==null||a==lastNode)break}}function SzExtension(a){ULSrLq:;var c=new String(a),b=/^.*\.([^\.]*)$/;return c.replace(b,"$1").toLowerCase()}function SzServer(a){ULSrLq:;var c=new String(a),b=/^([^:]*):\/\/([^\/]*).*$/;return c.replace(b,"$1://$2")}var v_stsOpenDoc=null,v_strStsOpenDoc=null;function NavigateParentOrSelf(b,a){ULSrLq:;if(b.target=="_top")window.frameElement.navigateParent(a);else STSNavigate(a)}function StsOpenEnsureEx(a){ULSrLq:;if(v_stsOpenDoc==null||v_strStsOpenDoc!=a)if(window.ActiveXObject)try{v_stsOpenDoc=new ActiveXObject(a);v_strStsOpenDoc=a}catch(b){v_stsOpenDoc=null;v_strStsOpenDoc=null}return v_stsOpenDoc}function _DispDocItem(b,a){ULSrLq:;return _DispDocItemEx(b,"FALSE","FALSE","FALSE",a)}function _DispDocItemExWithServerRedirect(f,c,j,g,i,e,k,a){ULSrLq:;var d=a!=null&&a!="",h=IsClientAppInstalled(e)&&HasRights(16,0);if(d){a=a.substring(1);d=a!=""}if(d)if(k==1||!h){var b=a;b=AddSourceToUrl(b);b=b+"&DefaultItemOpen="+DocOpen.BROWSER;if(window.location.search.match("[?&]IsDlg=1"))window.frameElement.navigateParent(b);else if(c.shiftKey||c.ctrlKey)return true;else NavigateParentOrSelf(f,b);c.cancelBubble=true;c.returnValue=false;return false}return DispDocItemExWithEvent(f,c,j,g,i,e)}var L_OpenDocumentLocalError_Text="This document was being edited offline, but there is no application configured to open the document from SharePoint.  The document can only be opened for reading.";function _DispDocItemEx(e,c,a,b,d){ULSrLq:;return DispDocItemExWithEvent(e,null,c,a,b,d)}function DispDocItemExWithEvent(g,e,p,m,o,a){ULSrLq:;itemTable=FindSTSMenuTable(g,"CTXName");if((!browseris.ie||!browseris.win32)&&!IsSupportedMacBrowser()&&!IsSupportedFirefoxOnWin()){if(browseris.ie)event.cancelBubble=false;var k=g.href;if(window.location.search.match("[?&]IsDlg=1"))window.frameElement.navigateParent(k);else STSNavigate(k);return false}var d,c,h,b=true,s=itemTable!=null?GetAttributeFromItemTable(itemTable,"Ext","FileType"):"",j="",r=document.getElementById("FileDialogViewTable");if(r!=null){if(browseris.ie){event.cancelBubble=false;event.returnValue=false}return true}c=itemTable!=null?GetAttributeFromItemTable(itemTable,"Url","ServerUrl"):"";if(c==null||c=="")c=g.href;else c=SzServer(g.href)+c;h=SzExtension(c);if(currentItemProgId==null&&itemTable!=null)currentItemProgId=GetAttributeFromItemTable(itemTable,"Type","HTMLType");if(currentItemProgId!=null)j=currentItemProgId;if(FDefaultOpenForReadOnly(h)){if(a.indexOf("SharePoint.OpenDocuments")>=0)a="SharePoint.OpenDocuments.3"}else if(!FSupportCheckoutToLocal(h))a="";if(currentItemCheckedOutUserId==null&&itemTable!=null)currentItemCheckedOutUserId=itemTable.COUId;if(currentItemCheckedoutToLocal==null&&itemTable!=null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");if(currentItemCheckedOutUserId!=null&&currentItemCheckedOutUserId!=""&&currentItemCheckedOutUserId==ctx.CurrentUserId&&(a==""||a.indexOf("SharePoint.OpenDocuments")>=0)&&FSupportCheckoutToLocal(h)||a=="SharePoint.OpenDocuments")a="SharePoint.OpenDocuments.3";var i=2;if(a!=""&&HasRights(16,0)){if(a.indexOf(".3")>=0)i=3;d=StsOpenEnsureEx2(a);if(d==null&&i==3){a=a.replace(".3",".2");d=StsOpenEnsureEx2(a);i=2}}if(d!=null)if(i==2||itemTable==null&&currentItemCheckedOutUserId==null||ctx.isVersions==1&&(itemTable==null||itemTable.isMostCur=="0")){try{if(currentItemCheckedOutUserId!=null&&currentItemCheckedOutUserId!=""&&(currentItemCheckedOutUserId==ctx.CurrentUserId||ctx.CurrentUserId==null))if(currentItemCheckedoutToLocal=="1"){alert(L_OpenDocumentLocalError_Text);b=false}else b=d.EditDocument2(window,c,j);else b=d.ViewDocument2(window,c,j)}catch(l){b=false}if(b)window.onfocus=RefreshOnNextFocus}else{var f=0;if(currentItemCheckedOutUserId!="")if(currentItemCheckedOutUserId!=ctx.CurrentUserId&&ctx.CurrentUserId!=null)f=1;else if(currentItemCheckedoutToLocal==null||currentItemCheckedoutToLocal!="1")f=2;else f=4;else if(!HasRights(0,4)||FDefaultOpenForReadOnly(h))f=1;else if(ctx.isForceCheckout==true)f=3;try{b=d.ViewDocument3(window,c,f,j)}catch(l){b=false}if(b){var n=d.PromptedOnLastOpen();if(n)window.onfocus=RefreshOnNextFocus;else SetWindowRefreshOnFocus()}}else currentItemCheckedoutToLocal=="1"&&alert(L_OpenDocumentLocalError_Text);if(d==null||!b){if(p=="TRUE"&&m=="TRUE"&&o=="TRUE"){if(itemTable==null)return b;if(browseris.ie){event.cancelBubble=true;event.returnValue=false}else if(IsSupportedMacBrowser()||IsSupportedFirefoxOnWin()){e.preventDefault&&e.preventDefault();e.stopPropagation&&e.stopPropagation()}var q=new Function("return "+itemTable.getAttribute("CTXName")+".HttpRoot;"),k=q()+"/_layouts/htmltrverify.aspx?doc="+escapeProperly(c);if(window.location.search.match("[?&]IsDlg=1"))window.frameElement.navigateParent(k);else GoToPage(k)}else if(window.location.search.match("[?&]IsDlg=1"))window.frameElement.navigateParent(g.href);else STSNavigate(g.href);return false}if(browseris.ie){event.cancelBubble=true;event.returnValue=false}else if(IsSupportedMacBrowser()||IsSupportedFirefoxOnWin()){if(d!=null&&b){e.preventDefault&&e.preventDefault();e.stopPropagation&&e.stopPropagation()}return true}return b}function DispDocItemEx2(d,a,i,f,h,l,k,c,e){ULSrLq:;var n=false,m=e!=null&&e!="",g=IsClientAppInstalled(c)&&HasRights(16,0);if(m)if(k==1||!g){var b=e;b=AddSourceToUrl(b);b=b+"&DefaultItemOpen="+DocOpen.BROWSER;if(window.location.search.match("[?&]IsDlg=1"))window.frameElement.navigateParent(b);else if(a.shiftKey||a.ctrlKey)return true;else NavigateParentOrSelf(d,b);a.cancelBubble=true;a.returnValue=false;return false}else if(g)if(c==""||c.indexOf("SharePoint.OpenDocuments")>=0)return DispDocItemExWithEvent(d,a,i,f,h,l);else{if(!ViewDoc(d.href,c)){var j=editDocumentWithProgIDNoUI(d.href,currentItemProgId,c,false,ctx.HttpRoot,"0");if(j==1||j==2){var b=AddSourceToUrl(e);if(window.location.search.match("[?&]IsDlg=1"))window.frameElement.navigateParent(b);else NavigateParentOrSelf(d,b)}}a.cancelBubble=true;a.returnValue=false;return false}return DispDocItemExWithEvent(d,a,i,f,h,c)}function DispDocItemExWithOutContext(o,n,e,a,d,i,g,m,k,b,h,j,f,c,l){ULSrLq:;DispEx(o,n,e,a,d,i,g,m,k,b,h,j,f,c,l)}function AddSourceToUrl(a){ULSrLq:;var b=GetSource(),c=a.length+b.length;if(c>1950)return a;else{var d=a.indexOf("?")>=0?"&":"?";return a+d+"Source="+b}}function _VerifyFolderHref(f,e,j,h,g,i,d,a){ULSrLq:;var c=d!=null&&d!=""&&a!=null&&a!="";if(c){a=a.substring(1);c=a!=""}if(c){var b=a;b=AddSourceToUrl(b);b=b+"&DefaultItemOpen="+DocOpen.BROWSER;f.href=STSPageUrlValidation(b);e.cancelBubble=true;e.returnValue=true;DetachEvent("mousedown",VerifyFolderHref,f)}return false}function _VerifyHref(e,d,g,h,a){ULSrLq:;var c=a!=null&&a!="",f=IsClientAppInstalled(h)&&HasRights(16,0);if(c){a=a.substring(1);c=a!=""}if(c){if(g==1||!f){var b=a;b=AddSourceToUrl(b);b=b+"&DefaultItemOpen="+DocOpen.BROWSER;e.href=STSPageUrlValidation(b);d.cancelBubble=true;d.returnValue=true}DetachEvent("mousedown",VerifyHref,e)}return false}function _DispEx(p,a,h,e,g,k,c,o,m,b,j,l,i,f,d){ULSrLq:;if(a.shiftKey||a.ctrlKey)return true;var n=document.getElementById("FileDialogViewTable");if(n!=null){a.cancelBubble=false;a.returnValue=false;return true}if(typeof ctx=="undefined"||ctx==null)ctx=new ContextInfo;ctx.CurrentUserId=l;if(i=="1")ctx.isForceCheckout=true;else ctx.isForceCheckout=false;currentItemCheckedOutUserId=j;currentItemCheckedoutToLocal=f;currentItemProgId=m;if(d!=null&&d!=""){SetCurrentPermMaskFromString(d,null);if(c=="0"&&!HasRights(0,32))c="1"}a.cancelBubble=true;if(b!=null&&b!="")b=b.substring(1);return DispDocItemEx2(p,a,h,e,g,k,c,o,b)}function IsClientAppInstalled(a){ULSrLq:;var b=null;if(a!="")b=StsOpenEnsureEx2(a);return b!=null}function ViewDoc(d,c){ULSrLq:;var b=StsOpenEnsureEx2(c),a=false;if(b!=null)try{a=b.ViewDocument2(window,d)}catch(e){a=false}return a}function _PortalPinToMyPage(a,c,b){ULSrLq:;a.action=c+"_vti_bin/portalapi.aspx?Cmd=PinToMyPage";a.ReturnUrl.value=window.location.href;a.ListViewUrl.value=MakeMtgInstanceUrl(a.ListViewUrl.value,b);a.submit()}function _PortalPinToMyPage(a,g,e,f,b,d,h,c){ULSrLq:;a.action=g+"_vti_bin/portalapi.aspx?Cmd=PinToMyPage";SetFieldValue(a,"ReturnUrl",window.location.href);SetFieldValue(a,"ListViewUrl",MakeMtgInstanceUrl(d,e));SetFieldValue(a,"ListTitle",f);SetFieldValue(a,"ListDescription",b);SetFieldValue(a,"BaseType",h);SetFieldValue(a,"ServerTemplate",c);a.submit()}function SetFieldValue(c,b,d){ULSrLq:;var a=c[b];if(a==null){a=document.createElement("INPUT");a.setAttribute("type","hidden");a.setAttribute("name",b);c.appendChild(a)}a.value=d}function _MoveToViewDate(b,a,c){ULSrLq:;if(FV4UI()&&typeof _fV4Calendar!="undefined"&&_fV4Calendar){var d=function(){ULSrLq:;var d;if(c)d=SP.UI.ApplicationPages.CalendarInstanceRepository.lookupInstance(c);else d=SP.UI.ApplicationPages.CalendarInstanceRepository.firstInstance();if(d)if(a!=null)d.moveToViewType(a);else d.moveToDate(b)};AjaxCalendarCall(d)}else MoveToViewDatePostBack(b,a)}function MoveToViewDatePostBack(c,b){ULSrLq:;var a=window.location.href;if(c!=null)a=StURLSetVar2(a,"CalendarDate",escapeProperly(c));if(b!=null)a=StURLSetVar2(a,"CalendarPeriod",b);_SubmitFormPost(a,true)}function AjaxCalendarCall(b){ULSrLq:;var a;try{a=typeof SP.UI.ApplicationPages.CalendarInstanceRepository}catch(c){a="undefined"}EnsureScript("SP.js",a,b)}function _MoveToDate(a,b){ULSrLq:;_MoveToViewDate(a,null,b)}function MoveToToday(){ULSrLq:;_MoveToViewDate("",null)}function MoveView(a){ULSrLq:;_MoveToViewDate(null,a)}function _ClickDay(a){ULSrLq:;_MoveToDate(a)}function GetIframe(){ULSrLq:;return null}function _GetMonthView(c){ULSrLq:;var b=window.location.href,a=document.getElementById("ExpandedWeeksId");if(a!=null)a.value=c;else return;_SubmitFormPost(b,true)}function NewItemDT(a,c,b){ULSrLq:;if(a==null)return;if(b!=null)a=StURLSetVar2(a,"CalendarTime",b);if(c!=null)a=StURLSetVar2(a,"CalendarDate",c);_NewItem(a,false)}function ClickTime(b,a){ULSrLq:;NewItemDT(b,null,a)}function NewItemDay(b,a){ULSrLq:;NewItemDT(b,a,null)}function ScrollToAnchorInInnerScrollPane(k,h,j){ULSrLq:;try{var l=document.getElementById(k),b=document.getElementById(l[h].value);if(typeof b=="undefined"||b==null)throw"";var d=b.parentNode.previousSibling;if(typeof d!="undefined"&&d!=null){var e=d.previousSibling;if(typeof e!="undefined"&&e!=null)b=e;else b=d}else throw""}catch(n){for(var f=null,i=document.anchors.length,g=0;g<i;g++){f=document.anchors[g];var m=f.href;if(m.search(j)!=-1){b=f;break}}}if(typeof b!="undefined"&&b!=null){var c=b.parentNode;while(c!=null&&c.tagName!="TABLE")c=c.parentNode;if(typeof c!="undefined"&&c!=null){var a=c.parentNode;while(a!=null&&(a.tagName!="DIV"||a.style.overflow!="auto"))a=a.parentNode;if(typeof a!="undefined"&&a!=null){var o=b.offsetLeft;a.scrollLeft=o;a.scrollTop=c.offsetTop-a.clientHeight+c.offsetHeight}}}}function FilterChoice(e,d,D,u){ULSrLq:;var a,h=0,g=false,l="",w=e.id,v=e.name,j="",s="",C=d.choices,c=C.split("|"),z=AbsLeft(d),n=AbsTop(d)+d.offsetHeight,r=document.getElementById("s4-workspace");if(r)n-=AbsTop(r);var B=d.optHid,x=c.length-1,m=-1,q=false,p="";if(e!=null&&e.selectedIndex>=0){g=true;p=e.options[e.selectedIndex].innerText}for(a=0;a<c.length;a=a+2){var b=c[a];while(a<x-1&&c[a+1].length==0){b=b+"|";a++;if(a<x-1)b=b+c[a+1];a++}var k=c[a+1],i=b.toLocaleLowerCase(),A=D.toLocaleLowerCase();if(u.length!=0)g=true;if(i.indexOf(A)==0){var o=u.toLocaleLowerCase();if(o.length!=0&&i.indexOf(o)==0&&j.length==0)g=false;if(i.length>20)q=true;if(!g||i==p){l+='<option selected value="'+k+'">'+STSHtmlEncode(b)+"</option>";g=true;j=b;s=k;m=a}else l+='<option value="'+k+'">'+STSHtmlEncode(b)+"</option>";h++}}var t=' ondblclick="HandleOptDblClick()" onkeydown="HandleOptKeyDown()"',f="";if(q)f='<select tabIndex="-1" ctrl="'+d.id+'" name="'+v+'" id="'+w+'"'+t;else f='<select class="ms-lookuptypeindropdown" tabIndex="-1" ctrl="'+d.id+'" name="'+v+'" id="'+w+'"'+t;if(h==0)f+=' style="display:none;position:absolute;z-index:2;left:'+z+"px;top:"+n+'px" onfocusout="OptLoseFocus(this)"></select>';else f+=' style="position:absolute;z-index:2;left:'+z+"px;top:"+n+'px" size="'+(h<=8?h:8)+'"'+(h==1?'multiple="true"':"")+' onfocusout="OptLoseFocus(this)">'+l+"</select>";e.outerHTML=f;var y=document.getElementById(B);if(m!=0||c[1]!="0")y.value=s;else y.value="0";if(m!=0||c[1]!="0")return j;else return ""}function _OptLoseFocus(a){ULSrLq:;var b=document.getElementById(a.ctrl);a.selectedIndex>=0&&_SetCtrlFromOpt(b,a);a.style.display="none"}function SetCtrlMatch(b,a){ULSrLq:;var c=document.getElementById(b.optHid);c.value=a.options[a.selectedIndex].value;if(c.value!=0)b.match=a.options[a.selectedIndex].innerText;else b.match=""}function _SetCtrlFromOpt(b,a){ULSrLq:;var c=document.getElementById(b.optHid);c.value=a.options[a.selectedIndex].value;if(a.options[a.selectedIndex].value==0){b.value=a.options[a.selectedIndex].innerText;b.match=""}else{b.value=a.options[a.selectedIndex].innerText;b.match=b.value}}function HandleOptDblClick(){ULSrLq:;var a=event.srcElement,b=document.getElementById(a.ctrl);_SetCtrlFromOpt(b,a);SetCtrlMatch(b,a);a.style.display="none"}function HandleOptKeyDown(){ULSrLq:;var a=event.srcElement,b=document.getElementById(a.ctrl),c=event.keyCode;switch(c){case 13:case 9:_SetCtrlFromOpt(b,a);event.returnValue=false;a.style.display="none";return}return}function CommitInlineEditChange(tr,cancel){ULSrLq:;if(tr.cells.length>0){c=tr.cells[0];if(c.width=="1%")eval(cancel==true?c.firstChild.lastChild.href:c.firstChild.firstChild.href);else if(tr.cells.length>1){c=tr.cells[1];if(c.width="1%")eval(cancel==true?c.firstChild.lastChild.href:c.firstChild.firstChild.href)}}}function InlineEditNextTR(tr,nextTr,element,down){ULSrLq:;if(nextTr!=null){_inlineEditString=tr.getAttribute("automode")+"#";var index=null;while(element!=null&&element.nodeType==1&&element.getAttribute("automode")==null){var siblingCount=0,sibling=element.previousSibling;while(sibling!=null){siblingCount++;sibling=sibling.previousSibling}if(index==null)index=siblingCount;else index=siblingCount+","+index;element=element.parentNode}_inlineEditString+=index;var tab=nextTr;while(tab!=null&&tab.tagName!="TABLE")tab=tab.parentNode;if(tab!=null&&nextTr!=null&&nextTr.getAttribute("iid")!=null){var inlineEditString=tab.getAttribute("inlineedit");if(inlineEditString!=null){inlineEditString=inlineEditString.replace("{@ID}","{"+IdFromRow(nextTr)+"}");inlineEditString=inlineEditString.replace("__cancel;","__commit;dvt_inlineedit={"+_inlineEditString+"};");eval(inlineEditString)}}else if(down==true&&nextTr!=null)if(nextTr.cells.length>0){var inlineEditString=null;c=nextTr.cells[0];if(c.width=="1%")inlineEditString=c.firstChild.href;else if(nextTr.cells.length>1){c=nextTr.cells[1];if(c.width="1%")inlineEditString=c.firstChild.href}if(inlineEditString!=null){inlineEditString=inlineEditString.replace("__cancel;","__commit;dvt_inlineedit={"+_inlineEditString+"};");eval(inlineEditString)}}}}function HandleInlineEditKeyDown(c){ULSrLq:;var b=event.srcElement;if(b.tagName!="INPUT")return;var e=event.keyCode,a=c.parentNode;switch(e){case 27:CommitInlineEditChange(a,true);break;case 38:var d=a.previousSibling;InlineEditNextTR(a,d,b);break;case 13:case 40:var d=a.nextSibling;InlineEditNextTR(a,d,b,true)}if(window.event)window.event.cancelBubble=true;else c!=null&&c.stopPropagation()}function EnsureSelectElement(c,b){ULSrLq:;var a=document.getElementById(b);if(a==null){a=document.createElement("SELECT");c.parentNode.appendChild(a);a.outerHTML='<select id="'+b+'" ctrl="'+c.id+'" class="ms-lookuptypeindropdown" name="'+b+'" style="display:none" onfocusout="OptLoseFocus(this)"></select>';FilterChoice(a,c,c.value,"")}return document.getElementById(b)}function HandleKey(){ULSrLq:;var g=event.keyCode,b=event.srcElement,c=b.value,a=EnsureSelectElement(b,b.opt),d=false,f,e;switch(g){case 8:if(c.length>0)c=c.substr(0,c.length-1);d=true;break;case 16:case 17:case 18:return;case 9:case 16:case 17:case 18:return;case 13:f=b.value.toLocaleLowerCase();e=b.match.toLocaleLowerCase();if(e.indexOf(f)!=0)b.match=FilterChoice(a,b,b.value,"");if(a.style.display!="none"){b.value=b.match;a.style.display="none";event.returnValue=false}return;case 27:a.style.display="none";event.returnValue=false;return;case 38:if(a.style.display!="none"){if(a.selectedIndex>0)a.selectedIndex=a.selectedIndex-1;else a.selectedIndex=a.options.length-1;SetCtrlMatch(b,a);event.returnValue=false}return;case 40:if(a.style.display!="none"&&a.selectedIndex<a.options.length-1){a.selectedIndex=a.selectedIndex+1;SetCtrlMatch(b,a);event.returnValue=false;return}d=true}if(d);b.match=FilterChoice(a,b,c,"")}function ShowDropdown(b){ULSrLq:;var a=document.getElementById(b),d=a.value,c=EnsureSelectElement(a,a.opt);a.match=FilterChoice(c,a,"",a.value);a.focus()}function HandleChar(){ULSrLq:;var a=event.srcElement,b=a.value,d=document.getElementById(a.opt),c=event.keyCode;if(c==13)return;b=b+String.fromCharCode(c).toLocaleLowerCase();a.match=FilterChoice(d,a,b,"")}function HandleLoseFocus(){ULSrLq:;var b=event.srcElement,a=document.getElementById(b.opt);a!=null&&a.style.display!="none"&&document.activeElement!=a&&_OptLoseFocus(a)}function HandleChange(){ULSrLq:;var a=event.srcElement,c=a.value,b=document.getElementById(a.opt);a.match=FilterChoice(b,a,c,"")}function IsSafeHref(a){ULSrLq:;return a.match(new RegExp("^http://","i"))||a.match(new RegExp("^https://","i"))||a.match(new RegExp("^ftp://","i"))||a.match(new RegExp("^file://","i"))||a.match(new RegExp("^mailto:","i"))||a.match(new RegExp("^news:","i"))||a.match(new RegExp("^pnm://","i"))||a.match(new RegExp("^mms://","i"))||a.match(new RegExp("^/","i"))||a.match(new RegExp("^#","i"))||a.match(new RegExp("^\\\\\\\\","i"))}var L_UnknownProtocolUrlError_Text="Hyperlinks must begin with http://, https://, mailto:, news:, ftp://, file://, /, # or \\\\. Check the address and try again.",L_UrlTooLongError_Text="The URL for the location must be no longer than 256 characters without the query parameters. The query parameters start at the question mark (?).";function IsSafeHrefAlert(a,b){ULSrLq:;if(a.match("^[^?]{257}")){alert(L_UrlTooLongError_Text);return false}else if(IsSafeHref(a))return true;else if(a.match("^[a-zA-Z]*:")){alert(L_UnknownProtocolUrlError_Text);return false}else if(true==b)return true;else{alert(L_UnknownProtocolUrlError_Text);return false}}function Discuss(a){ULSrLq:;var L_IE5upRequired_Text="'Discuss' requires a Microsoft SharePoint Foundation-compatible application and Microsoft Internet Explorer 7.0 or greater.";if(browseris.ie5up&&browseris.win32)window.parent.location.href=a;else alert(L_IE5upRequired_Text)}var g_AdditionalNavigateHierarchyQString="";function GetAdditionalNavigateHierarchyQString(){ULSrLq:;return g_AdditionalNavigateHierarchyQString}function SetAdditionalNavigateHierarchyQString(a){ULSrLq:;g_AdditionalNavigateHierarchyQString=a}function ProcessDefaultNavigateHierarchy(g,e,d,b,c,j,i,h,f){ULSrLq:;if(typeof _spCustomNavigateHierarchy=="function")_spCustomNavigateHierarchy(g,e,d,b,c,j);else if(c==false)top.location=b;else{var a=document.createElement("INPUT");a.type="hidden";a.name="_spTreeNodeClicked";a.value=d;i.appendChild(a);var k="?RootFolder="+escapeProperly(b)+h+"&"+g_AdditionalNavigateHierarchyQString;_SubmitFormPost(f+k);return false}}function ParseMultiColumnValue(b,d){ULSrLq:;var f=[];if(d==null)d=";#";var o=d.charCodeAt(0),n=d.charCodeAt(1);if(b==null||b.length==0)return f;var h=d.charAt(0),m=h+h,k=new RegExp(m,"g"),j=d.charAt(0),c=0;if(b.substr(0,2)==d)c=2;var a=c,g=false,i=b.length;while(a<i){var l=b.indexOf(h,a);if(l>=0){a=l;a++;if(b.charCodeAt(a)==n){if(a-1>c){var e=b.substr(c,a-c-1);if(g)e=e.replace(k,j);f.push(e);g=false}else f.push("");a++;c=a;continue}else if(b.charCodeAt(a)==o){a++;g=true;continue}else throw"ArgumentException"}else a=i}if(a>c){var e=b.substr(c,a-c);if(g)e=e.replace(k,j);f.push(e)}return f}function ConvertMultiColumnValueToString(f,b,c){ULSrLq:;if(b==null)b=";#";if(c==null)c=true;for(var h=b.charAt(0),i=h+h,j=new RegExp(b.charAt(0),"g"),g=false,d="",e=0;e<f.length;e++){var a=f[e];if(a!=null&&a.length>0)a=a.replace(j,i);if(a!=null&&a.length>0)g=true;if(c||e!=0)d+=b;d+=a}if(g){if(c)d+=b;return d}else return ""}var httpFolderTarget=null,httpFolderSource=null,httpFolderDiv=null;function NavigateHttpFolderCore(){ULSrLq:;if(httpFolderDiv==null){httpFolderDiv=document.createElement("DIV");document.body.appendChild(httpFolderDiv);httpFolderDiv.onreadystatechange=NavigateHttpFolderCore;httpFolderDiv.addBehavior("#default#httpFolder")}if(httpFolderDiv.readyState=="complete"){httpFolderDiv.onreadystatechange=null;try{var a=document.frames.item(httpFolderTarget);if(a!=null)a.document.body.innerText=L_WebFoldersRequired_Text}catch(c){}var b=false;try{var d="";d=httpFolderDiv.navigateFrame(httpFolderSource,httpFolderTarget);if(d=="OK")b=true}catch(c){}if(!b&&0==httpFolderSource.search("http://[a-zA-Z0-9-.]+(:80)?/")){var e=httpFolderSource.replace(/http:\/\/([a-zA-Z0-9\-\.]+)(:80)?[\/]/,"//$1/").replace(/[\/]/g,"\\");try{var a=document.frames.item(httpFolderTarget);if(a!=null){a.onload=null;a.document.location.href=e;b=true}}catch(c){}}!b&&alert(L_WebFoldersError_Text)}}function NavigateHttpFolder(a,b){ULSrLq:;if("/"==a.charAt(0))a=document.location.protocol+"//"+document.location.host+a;httpFolderSource=a;httpFolderTarget=b;NavigateHttpFolderCore()}function NavigateHttpFolderIfSupported(b,a){ULSrLq:;if(a=="_blank")if(SupportsNavigateHttpFolder())NavigateHttpFolder(b,a);else alert(L_WebFoldersError_Text);else alert(L_NoExplorerView_Text)}function AutoIndexForRelationshipsConfirmation(){ULSrLq:;var L_Lookup_AutoIndexForRelationships_Confirm_Text="To enable relationship behaviors on this column, it needs to be indexed. Do you want this column to be indexed?",a=L_Lookup_AutoIndexForRelationships_Confirm_Text;return confirm(a)}function SetHomePage2(d){ULSrLq:;if(!window.confirm(SP.Res.confirmWelcomePage))return;var e=new SP.ClientContext,c=e.get_web().get_rootFolder(),a="";if(d.length>0){var a=(new CUrl(document.URL)).path,b=a.indexOf("//");a=a.substr(b+2);b=a.indexOf("/");a=a.substr(b);a=unescapeProperly(a);a=a.substr(d.length);if(a.indexOf("/")==0)a=a.substr(1);var b=a.indexOf("?");if(b>0)a=a.substr(0,b)}c.set_welcomePage(a);c.update();var f=STSHtmlEncode(SP.Res.sending),g=addNotification(f,true);e.executeQueryAsync(function(){ULSrLq:;removeNotification(g);addNotification(STSHtmlEncode(SP.Res.pageIsSiteHomePage),false)})}function SetHomePage(b){ULSrLq:;var a=function(){ULSrLq:;SetHomePage2(b)};if(typeof SP!="undefined")EnsureScript("SP.js",typeof SP.ClientContext,a);else EnsureScript("SP.js",typeof SP,a)}function SendEmail(b){ULSrLq:;var a;try{a=typeof SP.Ribbon.EMailLink.openMailerWithUrl}catch(f){a="undefined"}if(a!="undefined")SP.Ribbon.EMailLink.openMailerWithUrl(b);else{var e="SP.Ribbon.EMailLink.openMailerWithUrl",c=e.split(".");if(c.length>1){var d=function(){ULSrLq:;SP.Ribbon.EMailLink.openMailerWithUrl(b)};EnsureScript(c[0],a,d)}}}function TryCopyStringToClipboard(b){ULSrLq:;if(window.clipboardData&&clipboardData.setData)clipboardData.setData("Text",b);else{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");var c=Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);if(!c)return false;c.data=b;var a=Components.classes["@mozilla.org/widget/transferable;1"].createInstance(Components.interfaces.nsITransferable);if(!a)return false;a.addDataFlavor("text/unicode");a.setTransferData("text/unicode",c,b.length*2);var d=Components.interfaces.nsIClipboard,e=Components.classes["@mozilla.org/widget/clipboard;1"].getService(d);if(!e)return false;e.setData(a,null,d.kGlobalClipboard)}return true}function CopyStringToClipboard(c){ULSrLq:;var a=false;try{a=TryCopyStringToClipboard(c)}catch(b){a=false}!a&&alert(SP.Res.clipboardNoAccess)}function CopyPageAddressToClipboard(){ULSrLq:;CopyStringToClipboard(window.location.href)}function showViewSelector(b,a,d){ULSrLq:;if(b==null)b=window.event;CancelEvent(b);a=EnsureValidPositioningElement(b,a);a=AdjustViewSelectorParentInTitleArea(a);var e=function(){ULSrLq:;SP.Application.UI.ViewSelectorMenuBuilder.showMenu(a,d)},c;try{c=typeof SP.Application.UI.ViewSelectorMenuBuilder.showMenu}catch(f){c="undefined"}EnsureScript("SP.js",c,e)}function EnsureValidPositioningElement(d,c){ULSrLq:;if(c!=null)return c;var b=GetEventSrcElement(d),a=b;while(a!=null&&a.tagName!="BODY"){if(a.tagName=="TD"&&(a.className=="ms-viewselector"||a.className=="ms-viewselectorhover"))return a;a=a.parentNode}return b}function AdjustViewSelectorParentInTitleArea(a){ULSrLq:;if(a&&a.className=="ms-ltviewselectormenuheader"&&a.childNodes)for(var d=a.childNodes,c=0;c<d.length;c++){var b=d[c];if(b&&b.id&&b.id.indexOf("ListTitleViewSelectorMenu")>=0)return b}return a}function EnsureCheckoutAndChangeLayoutModeToEdit(f,e,d){ULSrLq:;var a,c=function(){ULSrLq:;var a;try{a=typeof browserScript.MSOLayout_ChangeLayoutMode}catch(f){a="undefined"}if(a!="undefined")browserScript.MSOLayout_ChangeLayoutMode(d);else{var e="browserScript.MSOLayout_ChangeLayoutMode",b=e.split(".");if(b.length>1){var c=function(){ULSrLq:;browserScript.MSOLayout_ChangeLayoutMode(d)};EnsureScript(b[0],a,c)}}},g=function(){ULSrLq:;var g=a.get_item("CheckoutUser");if(!g){if(confirm(L_ConfirmCheckout_Text)){var b=new SP.ClientContext,d=b.get_web().get_lists().getById(new SP.Guid(f));a=d.getItemById(e);a.get_file().checkOut();b.executeQueryAsync(c)}}else c()},h=function(){ULSrLq:;var b=new SP.ClientContext,c=b.get_web().get_lists().getById(new SP.Guid(f));a=c.getItemById(e);b.load(a,"CheckoutUser");b.executeQueryAsync(g)},b;try{b=typeof SP.ClientContext}catch(i){b="undefined"}EnsureScript("SP.js",b,h)}function _ChangeLayoutMode(b,c){ULSrLq:;var a;try{a=typeof browserScript.MSOLayout_ChangeLayoutMode}catch(g){a="undefined"}if(a!="undefined")browserScript.MSOLayout_ChangeLayoutMode(b,c);else{var f="browserScript.MSOLayout_ChangeLayoutMode",d=f.split(".");if(d.length>1){var e=function(){ULSrLq:;browserScript.MSOLayout_ChangeLayoutMode(b,c)};EnsureScript(d[0],a,e)}}}function OpenWebPartMenuFromLink(b,a,c,d){ULSrLq:;while(a!=null&&a.parentNode!=null&&a.tagName!="TD")a=a.parentNode;OpenWebPartMenu(b,a,c,d)}function OpenWebPartMenu(b,c,d,e,f){ULSrLq:;var a;try{a=typeof browserScript.MSOWebPartPage_OpenMenu}catch(j){a="undefined"}if(a!="undefined")browserScript.MSOWebPartPage_OpenMenu(b,c,d,e,f);else{var i="browserScript.MSOWebPartPage_OpenMenu",g=i.split(".");if(g.length>1){var h=function(){ULSrLq:;browserScript.MSOWebPartPage_OpenMenu(b,c,d,e,f)};EnsureScript(g[0],a,h)}}return true}function UpdateWebPartMenuFocus(a,d,c){ULSrLq:;if(a)a.className=d;var b=null;if(a&&a.childNodes){b=a.childNodes[0];if(b&&b.tagName=="SPAN")b.className=c}}function _WebPartMenuKeyboardClick(e,b,c,d){ULSrLq:;var a;try{a=typeof browserScript.MSOMenu_KeyboardClick}catch(i){a="undefined"}if(a!="undefined")browserScript.MSOMenu_KeyboardClick(e,b,c,d);else{var h="browserScript.MSOMenu_KeyboardClick",f=h.split(".");if(f.length>1){var g=function(){ULSrLq:;browserScript.MSOMenu_KeyboardClick(e,b,c,d)};EnsureScript(f[0],a,g)}}}function _ShowToolPane2Wrapper(b,c,d){ULSrLq:;var a;try{a=typeof browserScript.MSOTlPn_ShowToolPane2Wrapper}catch(h){a="undefined"}if(a!="undefined")browserScript.MSOTlPn_ShowToolPane2Wrapper(b,c,d);else{var g="browserScript.MSOTlPn_ShowToolPane2Wrapper",e=g.split(".");if(e.length>1){var f=function(){ULSrLq:;browserScript.MSOTlPn_ShowToolPane2Wrapper(b,c,d)};EnsureScript(e[0],a,f)}}}function ChangeWebPartPageView(b){ULSrLq:;var a;try{a=typeof browserScript.MSOLayout_ToggleView}catch(f){a="undefined"}if(a!="undefined")browserScript.MSOLayout_ToggleView(b);else{var e="browserScript.MSOLayout_ToggleView",c=e.split(".");if(c.length>1){var d=function(){ULSrLq:;browserScript.MSOLayout_ToggleView(b)};EnsureScript(c[0],a,d)}}}function _SetupFixedWidthWebParts(){ULSrLq:;var a;try{a=typeof browserScript.MSOWebPartPage_SetupFixedWidthWebParts}catch(e){a="undefined"}if(a!="undefined")browserScript.MSOWebPartPage_SetupFixedWidthWebParts();else{var d="browserScript.MSOWebPartPage_SetupFixedWidthWebParts",b=d.split(".");if(b.length>1){var c=function(){ULSrLq:;browserScript.MSOWebPartPage_SetupFixedWidthWebParts()};EnsureScript(b[0],a,c)}}}function EnsureSelectionHandlerOnFocusDeferred(d,c,b){ULSrLq:;var a=c;while(a.tagName!="TABLE")a=a.parentNode;EnsureSelectionHandlerDeferred(d,a,b)}function ChangeWikiPageMode(b){ULSrLq:;var a;try{a=typeof ribbon.ChangeWikiPageMode}catch(f){a="undefined"}if(a!="undefined")ribbon.ChangeWikiPageMode(b);else{var e="ribbon.ChangeWikiPageMode",c=e.split(".");if(c.length>1){var d=function(){ULSrLq:;ribbon.ChangeWikiPageMode(b)};EnsureScript(c[0],a,d)}}}function EnsureSelectionHandlerDeferred(m,d,i){ULSrLq:;var b=window["ctx"+i];if(!FV4UI()||!b){d.onmouseover=null;return}ctxInitItemState(b);for(var j=d.rows,g=0;g<j.length;g++){var a=j[g];if(HasCssClass(a,"ms-viewheadertr")){var f=a.cells[0];if(f){var e=f.getElementsByTagName("INPUT")[0];if(e!=null){b.SelectAllCbx=e;b.TableCbxFocusHandler=e.onfocus;e.onfocus=null;e.className="s4-selectAllCbx"}}}var k=a.getAttribute("iid");if(k!=null){var h=false;if(ItemIsCurrentlySelected(b,k)){h=true;b.CurrentSelectedItems++}if(ItemIsCurrentlyVisible(a)){b.TotalListItems++;b.LastSelectableRowIdx=g}if(a.cells.length>0){f=a.cells[0];var c=f.getElementsByTagName("INPUT")[0];if(c){if(!h)c.checked=false;if(!c._setup){c._setup=true;var l=TooltipOfRow(a);if(l!=null)c.title=l;c.onblur=HideItemCbx;c.onfocus=DisplayItemCbx;c.onclick=ToggleItemRowSelection;f.onclick=ToggleItemRowSelection}if(a.getAttribute("automode")==null)a.onclick=SingleItemSelect}UpdateAutoMode(a);AddSpaceToEmptyTDs(a);AddBorderToLastCell(a)}}}b.TableMouseoverHandler=d.onmouseover;d.onmouseover=null;if(d.getAttribute("handleDeleteInit")==null){d.setAttribute("handleDeleteInit","true");$addHandler(d,"keydown",function(a){ULSrLq:;HandleItemDelete(a,i)})}}function ItemIsSelectable(a){ULSrLq:;if(!a||!ItemHasiid(a)||!ItemIsCurrentlyVisible(a))return false;return true}function ItemIsCurrentlyVisible(a){ULSrLq:;if(!a||!a.parentNode)return false;if(GetCurrentEltStyle(a.parentNode,"display")=="none"||GetCurrentEltStyle(a,"display")=="none")return false;return true}function ItemIsCurrentlySelected(b,c){ULSrLq:;if(!b||!c)return false;var a=GetSelectedItemsDict(b);if(a==null||a[c]==null)return false;return true}function ItemHasiid(a){ULSrLq:;if(!a||a.getAttribute("iid")==null)return false;return true}function HandleItemDelete(g,d){ULSrLq:;if(g.keyCode==Sys.UI.Key.del){var b=window["ctx"+d],a;try{a=typeof inplview.DeleteSelectedItems}catch(h){a="undefined"}if(a!="undefined")inplview.DeleteSelectedItems(b);else{var f="inplview.DeleteSelectedItems",c=f.split(".");if(c.length>1){var e=function(){ULSrLq:;inplview.DeleteSelectedItems(b)};EnsureScript(c[0],a,e)}}return false}}function GetItemRow2(b){ULSrLq:;var a=b;while(a!=null&&a.nodeType==1&&a.tagName!="BODY"&&a.getAttribute("iid")==null){if(typeof a.parentNode=="undefined"||a.parentNode==null||typeof a.parentNode.tagName=="undefined"){a=null;break}a=a.parentNode}if(a!=null&&a.nodeType==1&&a.tagName=="TR")return a;return null}function GetItemRow(a){ULSrLq:;if(a==null)a=window.event;var b=GetEventSrcElement(a);return GetItemRow2(b)}function TooltipOfRow(d){ULSrLq:;for(var c=d.cells,a=0,a=0;a<c.length;a++){var e=c[a];if(HasCssClass(e,"ms-vb-title"))return e.innerText}var b=d.getAttribute("iid");if(b!=null){var f=b.split(",");if(f.length>2)return ""+f[1]}return null}function AlertCheckOut(){ULSrLq:;alert(L_MustCheckout_Text)}function UpdateAutoModeImage(a){ULSrLq:;if(a==null)a=window.event;if(a!=null){var b=a.srcElement!=null?a.srcElement:a.currentTarget;if(b&&b.tagName=="A")if(a.type=="blur")RemoveCssClassFromElement(b,"ms-inlineEditLink");else a.type=="focus"&&AddCssClassToElement(b,"ms-inlineEditLink")}}function AddAutoModeTag(f,e,g){ULSrLq:;var a=document.createElement("A");a.onblur=UpdateAutoModeImage;a.onfocus=UpdateAutoModeImage;var c=e;while(c.tagName!="TABLE")c=c.parentNode;if(f.getAttribute("requiresCheckout")!=null)a.onclick=AlertCheckOut;else{var d=c.getAttribute("inlineedit");if(d!=null)a.href=d.replace("{@ID}","{"+IdFromRow(e)+"}")}var b=document.createElement("IMG");b.className="s4-itm-inlineedit";b.src=g;b.border=0;b.alt=L_Edit_Text;a.appendChild(b);f.appendChild(a)}function GetItemRowCbx(a){ULSrLq:;var b=null;if(a!=null&&a.cells&&a.cells.length>0){var c=a.cells[0];b=c.getElementsByTagName("INPUT")[0]}return b}function UpdateAutoMode(b){ULSrLq:;if(b!=null){var c=CtxFromRow(b);if(!c||!c.InlineEdit)return;if(b.cells&&b.cells.length>0){var a=b.cells[0];if(a.innerHTML==""&&a.width=="1%"){if(a.getAttribute("requiresCheckout")==null)a.onclick=ClickToEdit;AddAutoModeTag(a,b,"/_layouts/images/edititem.gif")}else if(b.cells.length>1){a=b.cells[1];if(a.innerHTML==""&&a.width=="1%"){if(a.getAttribute("requiresCheckout")==null)a.onclick=ClickToEdit;AddAutoModeTag(a,b,"/_layouts/images/edititem.gif")}}}}}function ClickToEdit(a){ULSrLq:;var d=GetItemRow(a);if(d!=null&&d.cells.length>1){c=d.cells[1];var e=c.firstChild;if(e!=null){var b=e.firstChild;if(b!=null&&b.tagName=="IMG")b.src="/_layouts/images/spinnyrefresh.gif"}}if(window.event)window.event.cancelBubble=true;else a!=null&&a.stopPropagation()}function HideItemCbx(b){ULSrLq:;if(b==null)b=window.event;var c=GetItemRow(b),a=GetItemRowCbx(c);if(a&&a.tagName=="INPUT"){a.style.top="";a.style.position="";a.onmouseout=null}}function DisplayItemCbx(b){ULSrLq:;if(b==null)b=window.event;var c=GetItemRow(b),a=GetItemRowCbx(c);if(a&&a.tagName=="INPUT"){a.style.top="0px";a.style.position="relative";a.onmouseout=HideItemCbx}}function Log(b){ULSrLq:;var a=document.createElement("DIV");a.innerHTML=b;document.body.appendChild(a)}function _ToggleAllItems(a,b,c){ULSrLq:;IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSSelectOrDeselectAllStart);if(a==null)a=window.event;MenuHtc_hide();ToggleAllItems2(b,c,b.checked);if(window.event)window.event.cancelBubble=true;else a.stopPropagation();IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSSelectOrDeselectAllEnd);return false}function ToggleAllItems2(b,f,g){ULSrLq:;var a=window["ctx"+f];if(!a){b.checked=false;return}var c=b;while(c.tagName!="TABLE")c=c.parentNode;var e=c.rows,d=CountTotalItems(a);if(d==0){b.checked=false;return}if(g){if(d>g_MaximumSelectedItemsAllowed){b.checked=false;alert(L_BulkSelection_TooManyItems);return}SelectAllItems(a,e)}else DeselectAllItems(a,e,true)}function SelectAllItems(a,b){ULSrLq:;if(!a||!b)return;for(var e=a.LastSelectableRowIdx,c=1;c<e;c++){var d=b[c],f=d.getAttribute("iid");if(f!=null)ItemIsCurrentlyVisible(d)&&ToggleItemRowSelection2(a,d,true,false)}ToggleItemRowSelection2(a,b[e],true,true)}function DeselectAllItems(a,d,f){ULSrLq:;if(!a||!d)return;for(var g=a.LastSelectableRowIdx,c=1;c<=g;c++){var e=d[c],b=e.getAttribute("iid");if(b!=null){var h=b.split(",");SelectListItem(a,b,h,e,false)}}f&&RefreshCommandUI()}function DeselectCollapsedGroup(e,b){ULSrLq:;if(!b)return;var c=b.rows,a=GetLastSelectableRowIdx(b,ItemHasiid);if(c&&a!=-1){for(var d=0;d<a;d++){var f=c[d];ItemHasiid(f)&&ToggleItemRowSelection2(e,f,false,false)}ToggleItemRowSelection2(e,c[a],false,true)}}function HandleSingleGroupByRow(a,b,d){ULSrLq:;if(!a||!b)return;var c=b.getAttribute("iid");if(c==null)return;if(!d){a.TotalListItems--;ItemIsCurrentlySelected(a,c)&&ToggleItemRowSelection2(a,b,false,true)}else a.TotalListItems++}function RefreshCommandUI(){ULSrLq:;if(IsFullNameDefined("SP.Ribbon.PageManager")){var a=SP.Ribbon.PageManager.get_instance();a&&a.get_commandDispatcher().executeCommand(Commands.CommandIds.ApplicationStateChanged,null)}}function _CommandUIExecuteCommand(b){ULSrLq:;if(IsFullNameDefined("SP.Ribbon.PageManager")){var a=SP.Ribbon.PageManager.get_instance();a&&a.get_commandDispatcher().executeCommand(b,null)}}function OnItemSelectionChanged(e,a,c){ULSrLq:;var b=e;if(FV4UI()){var d=function(){ULSrLq:;var d=[];if(typeof _ribbon!="undefined"&&_ribbon)if(c)b.clvp.EnsureEcbInfo(RefreshCommandUI,d,a);else b.clvp.EnsureEcbInfo(null,null,a)};EnsureScript("inplview",typeof InitAllClvps,d)}}function IdFromRow(c){ULSrLq:;var b=c.getAttribute("iid"),a=b.split(",");return a[1]}function CtxFromRow(d){ULSrLq:;var c=d.getAttribute("iid"),b=c.split(","),a=b[0];return window["ctx"+a]}function GroupNameFromRow(d){ULSrLq:;var b=d.parentNode,a=b.id;if(a==null||a==""){siblingNode=b.previousSibling;if(siblingNode!=null&&siblingNode.childNodes.length==0&&siblingNode.tagName==b.tagName)a=siblingNode.id}if(a==null||a=="")return null;var c=a.substr(4,a.length-6);return c==""?null:c}function GroupStringFromGroupName(a){ULSrLq:;if(a==null||a=="")return null;var c=document.getElementById("titl"+a+"_");if(c==null)return null;var b=c.getAttribute("groupString");return b==""?null:b}function SingleItemSelect(a){ULSrLq:;if(a==null)a=window.event;var g=GetEventSrcElement(a);if(g!=null&&ElementContainsLink(g))return;if(clearECBMenu(g)){CancelEvent(a);return false}var d=GetItemRow(a),c=d;while(c.tagName!="TABLE")c=c.parentNode;var h=c.rows,b=CtxFromRow(d),i=d.getAttribute("iid"),k=i.split(","),e=false;if(!ItemIsCurrentlySelected(b,i)){e=true;if(CountSelectedItems(b)>0)for(var f=0;f<h.length;f++){var j=h[f];ItemIsSelectable(j)&&ToggleItemRowSelection2(b,j,false,false)}}ToggleItemRowSelection2(b,d,e,true);UpdateSelectAllCbx(b,e);CancelEvent(a);return true}function ElementContainsLink(a){ULSrLq:;while(a!=null&&a.tagName!="TD"){if(a.tagName=="A")return true;a=a.parentNode}return false}function clearECBMenu(b){ULSrLq:;if(g_menuHtc_lastMenu==null)return false;if(b!=null){var a=b;while(a!=null&&a.tagName!="TD")a=a.parentNode;var c=GetItemRow2(a);MenuHtc_hide();tdHasEcbMenu(a)&&OnChildItem(a)}return true}function tdHasEcbMenu(d){ULSrLq:;for(var b=0;b<d.childNodes.length;b++){var a=d.childNodes[b];if(a.nodeType==1&&a.tagName=="DIV"){var c=a.getAttribute("CTXName");if(c!=null&&c!="")return true}}return false}function ToggleItemRowSelection(a){ULSrLq:;IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSSelectItemStart);if(a==null)a=window.event;MenuHtc_hide();var c=GetItemRow(a),b=CtxFromRow(c),f=c.getAttribute("iid"),d=!ItemIsCurrentlySelected(b,f);if(d&&CountSelectedItems(b)==g_MaximumSelectedItemsAllowed){var e=GetItemRowCbx(c);e.checked=false;alert(L_BulkSelection_TooManyItems);CancelEvent(a);return true}ToggleItemRowSelection2(b,c,d,true);UpdateSelectAllCbx(b,d);if(window.event)window.event.cancelBubble=true;else a.stopPropagation();IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSSelectItemEnd);return true}function ToggleItemRowSelection2(b,a,f,e){ULSrLq:;var d=a.getAttribute("iid"),c=d.split(",");if(c[1]=="")return;SelectListItem(b,d,c,a,f);OnItemSelectionChanged(b,GroupNameFromRow(a),e);return true}function UpdateSelectAllCbx(a,c){ULSrLq:;if(!a||!a.SelectAllCbx)return;a.SelectAllCbx.checked=false;if(c){var d=CountTotalItems(a),b=CountSelectedItems(a);if(b==d&&b>0)a.SelectAllCbx.checked=true}}function SelectListItem(a,b,e,c,d){ULSrLq:;var f=GetItemRowCbx(c);f.checked=d;if(typeof a.dictSel=="undefined")a.dictSel=[];if(d){AddCssClassToElement(c,"s4-itm-selected");if(a.dictSel[b]==null){a.CurrentSelectedItems++;a.dictSel[b]={id:e[1],fsObjType:e[2]}}}else{RemoveCssClassFromElement(c,"s4-itm-selected");if(a.dictSel[b]!=null){delete a.dictSel[b];a.CurrentSelectedItems--}}}function CountTotalItems(a){ULSrLq:;if(a.TotalListItems==null)a.TotalListItems=0;return a.TotalListItems}function CountSelectedItems(a){ULSrLq:;if(a.CurrentSelectedItems==null)a.CurrentSelectedItems=0;return a.CurrentSelectedItems}function GetCtxRgiidFromIid(c){ULSrLq:;if(c==null)return null;var b=c.split(",");if(b.length!=3)return null;if(b[1]=="")return null;var d=b[0],a=window["ctx"+d];if(a==null)return null;if(typeof a.dictSel=="undefined")a.dictSel=[];if(a.CurrentSelectedItems==null)a.CurrentSelectedItems=0;return {ctx:a,rgiid:b}}function SelectListItemNative(b,e){ULSrLq:;var c=GetCtxRgiidFromIid(b);if(c==null)return false;var a=c.ctx,d=c.rgiid;if(e){if(a.CurrentSelectedItems==g_MaximumSelectedItemsAllowed)return false;if(a.dictSel[b]==null){a.CurrentSelectedItems++;a.dictSel[b]={id:d[1],fsObjType:d[2]}}}else if(a.dictSel[b]!=null){delete a.dictSel[b];a.CurrentSelectedItems--}OnItemSelectionChanged(a,null,true);return true}function DeselectAllListItemsNative(c){ULSrLq:;var b=GetCtxRgiidFromIid(c);if(b==null)return false;var a=b.ctx;a.dictSel=[];a.CurrentSelectedItems=0;OnItemSelectionChanged(a,null,true);return true}function GetSelectedItemsNative(){ULSrLq:;var a=GetCurrentCtx();if(a==null||typeof a.dictSel=="undefined")return [];var d=0,b=[];for(var c in a.dictSel){b[d]={id:a.dictSel[c].id,fsObjType:a.dictSel[c].fsObjType};d++}return b}function GetSelectedListNative(){ULSrLq:;var a=GetCurrentCtx();if(a==null)return null;return a.listName}function GetCurrentCtx(){ULSrLq:;var c=document.getElementById("_wpSelected");if(c==null)return null;var a=c.getAttribute("value");if(a==null||a=="")return null;a=a.substr(12);c=document.getElementById(a);if(c==null)return null;var b;if(window._spWebPartComponents&&_spWebPartComponents[a]&&_spWebPartComponents[a].storageId)b=_spWebPartComponents[a].storageId;else b=c.getAttribute("WebPartID");if(b==null)return null;b=b.toUpperCase();var d=g_ViewIdToViewCounterMap["{"+b+"}"];if(d==null)return null;var e=window["ctx"+d];return e}function GetLastSelectableRowIdx(c,d){ULSrLq:;if(!c||!d)return;for(var b=c.rows,a=b.length-1;a>=0;a--){var e=b[a];if(d(e))return a}return -1}function UpdateCtxLastSelectableRow(a,c){ULSrLq:;if(!a||!c)return;a.LastSelectableRowIdx=0;var b=GetLastSelectableRowIdx(c,ItemIsSelectable);if(b!=-1)a.LastSelectableRowIdx=b}function DeselectAllWPItems(){ULSrLq:;var a=GetCurrentCtx();if(!a||!a.clvp||!a.clvp.tab)return;var c=a.clvp.tab,b=getSelectAllCbxFromTable(c);if(!b)return;b.checked=false;CountSelectedItems(a)>0&&DeselectAllItems(a,c.rows,false)}function callOpenBreadcrumbMenu(a,g,j,i,c,d,e,f,n,o,h,k){ULSrLq:;IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSBreadcrumbStart);if(!a)var a=window.event;a.cancelBubble=true;a.stopPropagation&&a.stopPropagation();var l=function(){ULSrLq:;SP.UI.PopoutMenu.createPopoutMenuInstanceAndLaunch(g,j,i,c,d,e,f,n,o,h,k)},b;try{b=typeof SP.UI.PopoutMenu.createPopoutMenuInstanceAndLaunch}catch(m){b="undefined"}EnsureScript("SP.js",b,l);IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSBreadcrumbEnd)}function HasCssClass(d,f,e){ULSrLq:;var c=d.className;if(c==null)return false;for(var a=c.split(" "),b=0;b<a.length;b++)if(a[b]==f){if(e){a.splice(b,1);d.className=a.join(" ")}return true}return false}function AddSpaceToEmptyTDs(b){ULSrLq:;if(browseris.ie7down&&b!=null){if(b.getAttribute("addEmptySpace")==null)b.setAttribute("addEmptySpace","true");else return;for(i=0;i<b.childNodes.length;i++){var a=b.childNodes[i];if(a.nodeType==1&&a.tagName=="TD"&&a.width!="1%")if(a.innerHTML=="")a.innerHTML="&#8203;";else if(a.innerText==""){while(a&&a.nodeType==1&&a.innerHTML!="")a=a.firstChild;if(a&&a.nodeType==1&&a.innerHTML==""&&(a.tagName=="SPAN"||a.tagName=="DIV"||a.tagName=="NOBR"))a.innerHTML="&#8203;"}}}}function AddBorderToLastCell(c){ULSrLq:;if(c.getAttribute("setEdgeBorder")!=null)return;var a=c.cells;if(a&&a.length>0){if(browseris.ie7down)a[0].className+="";var b=a[a.length-1];if(b)if(b.className!="")b.className+=" ms-vb-lastCell";else b.className="ms-vb-lastCell"}c.setAttribute("setEdgeBorder","true")}function AddCssClassToElement(a,b){ULSrLq:;var c=a.className;if(c!=null){if(!HasCssClass(a,b))a.className=a.className+" "+b}else a.className=b}function RemoveCssClassFromElement(b,a){ULSrLq:;HasCssClass(b,a,true)}function AddGallery_TypeOf(c){ULSrLq:;if(c!=null){var b=typeof c;if(b=="object")if(b.constructor!=null){var a=c.constructor.toString(),d=a.indexOf(" "),e=a.indexOf("("),f=a.substr(d+1,e-d-1);return f}return b}return null}function IsLanguageSupportedInSilverlight(a){ULSrLq:;if(a==1025||a==1037||a==1054||a==1081)return false;return true}function IsSilverlightInstalled(b){ULSrLq:;if(b==undefined)b=null;var a=false,m=null;try{var i=null,j=false;if(window.ActiveXObject)try{i=new ActiveXObject("AgControl.AgControl");if(b===null)a=true;else if(i.IsVersionSupported(b))a=true;i=null}catch(l){j=true}else j=true;if(j){var k=navigator.plugins["Silverlight Plug-In"];if(k)if(b===null)a=true;else{var h=k.description;if(h==="1.0.30226.2")h="2.0.30226.2";var c=h.split(".");while(c.length>3)c.pop();while(c.length<4)c.push(0);var e=b.split(".");while(e.length>4)e.pop();var d,g,f=0;do{d=parseInt(e[f]);g=parseInt(c[f]);f++}while(f<e.length&&d===g);if(d<=g&&!isNaN(d))a=true}}}catch(l){a=false}return a}function IsAddGalleryProviderEnabled(c,b){ULSrLq:;var a;try{if(window.XMLHttpRequest)a=new XMLHttpRequest;else a=new ActiveXObject("Microsoft.XMLHTTP");a.open("HEAD",c+b+".deny.xml",false);a.send();if(a.status==200)return false;else return true}catch(d){return true}}function DownloadSolutionHandler(){ULSrLq:;LaunchCreateHandler("Provider:AddGallery.OfficeOnlineProvider")&&STSNavigate("http://r.office.microsoft.com/r/rlidSPTemplates")}function SilverlightBasedCreateHandler(a){ULSrLq:;var k=new Date,f,b,c,i,h;if(typeof _spPageContextInfo!="undefined"){if(_spPageContextInfo.siteServerRelativeUrl){b=_spPageContextInfo.siteServerRelativeUrl;if(b.charAt(b.length-1)!="/")b=b+"/"}else return true;if(_spPageContextInfo.webServerRelativeUrl){c=_spPageContextInfo.webServerRelativeUrl;if(c.charAt(c.length-1)!="/")c=c+"/";f=c+"_layouts/AddGallery.aspx"}else return true;if(_spPageContextInfo.webLanguage)i=_spPageContextInfo.webLanguage;else return true;if(_spPageContextInfo.currentLanguage)h=_spPageContextInfo.currentLanguage;else return true}else return true;if(FV4UI()&&IsSilverlightInstalled("3.0.40624.0")&&IsLanguageSupportedInSilverlight(i)&&IsLanguageSupportedInSilverlight(h)){if(a==null)a="All";if(AddGallery_TypeOf(a)!="string")return true;a=a.toLowerCase();if(a=="page"||a=="publishingpage")return true;var d=[];d=a.split(":");if(d.length==2&&d[0]=="provider")if(!IsAddGalleryProviderEnabled(b+"_layouts/AddGalleryProviders/",d[1]))return true;var g=function(a,b){ULSrLq:;if(FV4UI()){if(a)if(b)window.location=b;else window.location.reload()}else if(a)window.location=a;else window.location.reload()},j=function(){ULSrLq:;var i={scope:a,currentWeb:c,currentSiteCollection:b,clickDateTime:k},e=a=="page"?660:1012,d=a=="page"?360:600;if(FV4UI())var j={width:e,height:d,resizable:true,status:false,menubar:false,help:false,url:f,dialogReturnValueCallback:g,args:i},l=SP.UI.ModalDialog.showModalDialog(j);else{var h;if(window.showModalDialog)h="dialogWidth:"+e+"px;dialogHeight:"+d+"px;resizable:yes;status:no;menubar:no;help:no";else h="width="+e+",height="+d+",resizable=yes,status=no,menubar=no,help=no";var m=commonShowModalDialog(f,h,g,i)}},e;try{e=typeof SP.UI.ModalDialog.showModalDialog}catch(l){e="undefined"}EnsureScript("SP.UI.Dialog.js",e,j);return false}return true}function LaunchCreateHandler(a){ULSrLq:;if(typeof __CreateHandler!="undefined"&&__CreateHandler!=null){var b=__CreateHandler(a);return b}else try{return SilverlightBasedCreateHandler(a)}catch(c){return true}}if(FV4UI()){var isdlg=window.location.search.match("[?&]IsDlg=1");if(_spBodyOnLoadFunctionNames!=null&&typeof _spBodyOnLoadFunctionNames!="undefined"){!isdlg&&_spBodyOnLoadFunctionNames.push("FixRibbonAndWorkspaceDimensions");_spBodyOnLoadFunctionNames.push("SearchOnBodyLoad")}!isdlg&&AddEvtHandler(window,"onresize",FixRibbonAndWorkspaceDimensionsForResize)}function QstringStruct(g){ULSrLq:;this.nonFilterParams={};this.filterParams={};for(var e=g.split("&"),d=0;d<e.length;d++){var a=e[d].split("=");if(a.length==2)if(a[0].search("^Filter")!=-1){var c=a[0].match("[0-9]*$"),b;if(typeof this.filterParams[c]!="undefined")b=this.filterParams[c];else{b={};this.filterParams[c]=b}var f=a[0].match("^Filter[^0-9]*");b[f]=a[1]}else this.nonFilterParams[a[0]]=a[1]}}QstringStruct.prototype.toString=QstringStructToString;function QstringStructToString(){ULSrLq:;for(var c=[],e=1,d=0;d<this.filterParams.length;d++){var f=this.filterParams[d];for(var b in f){var a=[];a.push(b);a.push(e);a.push("=");a.push(f[b]);c.push(a.join(""))}e++}for(var b in this.nonFilterParams){var a=[];a.push(b);a.push("=");a.push(this.nonFilterParams[b]);c.push(a.join(""))}return "?"+c.join("&")}function ReconcileQstringFilters(i,j){ULSrLq:;var c=[];c.push(new QstringStruct(i));c.push(new QstringStruct(j));for(var f=[],a=0;a<c.length;a++)for(var e in c[a].nonFilterParams)if(a==0||typeof c[0].nonFilterParams[e]=="undefined"&&a==1){var b=[];b.push(e);b.push("=");b.push(c[a].nonFilterParams[e]);f.push(b.join(""))}for(var h=1,g={},a=0;a<c.length;a++)for(var k in c[a].filterParams){var d=c[a].filterParams[k];if(typeof g[d.FilterField]=="undefined"){for(var e in d){var b=[];b.push(e);b.push(h);b.push("=");b.push(d[e]);f.push(b.join(""))}h++;g[d.FilterField]=d}}return f.join("&")}function PageActionClick(){ULSrLq:;EnsureScript("ribbon",TypeofFullName("SP.Ribbon.PageStateActionButton"),function(){ULSrLq:;SP.Ribbon.PageStateActionButton.sendCommand()})}function ShowWebPartAdder(a){ULSrLq:;LoadWPAdderOnDemand();ExecuteOrDelayUntilEventNotified(function(){ULSrLq:;var b=window.WPAdder;if(b!=null){b._showCategoryColumn(true);b._setZone(a);b.show()}},"_spEventWebPartAdderReady")}var g_notiIcs=null,g_notiNoti=null,g_notiAnimationInProgress=false,g_notiRetiring=false,g_notiQueue=[],g_notiFrameCount,g_notiAnimationIntervalId,g_notiAnimationRight,g_notiAnimationOpacity,g_notiAnimationSettings,g_notiAnimationSettingsInited=false;function addNotification(g,f,h,d,e){ULSrLq:;!g_notiAnimationSettingsInited&&_initNotiAnimationSettings();var b=document.createElement("span"),c;b.id=c="notification_"+getUniqueIndex();if(g_notiAnimationInProgress){var a={};a.bIsAdd=true;a.id=c;a.elm=b;a.strHtml=g;a.bSticky=f;a.tooltip=h;a.bNoAnimate=e;a.onclickHandler=d;g_notiQueue.push(a)}else{g_notiAnimationInProgress=true;_addNotificationInternal(b,g,f,h,d,e)}return c}function _initNotiAnimationSettings(){ULSrLq:;var a={};if(browseris.ie){a.frames=14;a.interval=20;a.right=4;a.opacity=7.143}else{a.frames=28;a.interval=12;a.right=2;a.opacity=3.572}g_notiAnimationSettings=a;g_notiAnimationSettingsInited=true}function _addNotificationInternal(a,j,l,k,g,h){ULSrLq:;var d=g_notiIcs==null?(g_notiIcs=document.getElementById("notificationArea")):g_notiIcs;if(d!=null){d.setAttribute("aria-live","polite");d.setAttribute("aria-relevant","all");var e=document.createElement("span"),f=document.createElement("span"),b=document.createElement("span");a.className="s4-noti-noti";e.className="s4-noti-in1";f.className="s4-noti-in2";b.className="s4-noti-in3";f.appendChild(b);e.appendChild(f);a.appendChild(e);if(k)a.title=k;if(g){var c=document.createElement("a");c.href="javascript:;";c.onclick=function(){ULSrLq:;g();removeNotification(a.id,h);return false};c.innerHTML=j;b.appendChild(c)}else b.innerHTML=j;a.setAttribute("role","alert");var i=document.getElementById("s4-mainarea");if(i){var m=AbsTop(i);d.style.top=m+1+"px"}_opNotificationInternal(true,a,l,h)}}function retireNotification(){ULSrLq:;if(g_notiRetiring)return;g_notiRetiring=true;for(var c=g_notiIcs==null?(g_notiIcs=document.getElementById("notificationArea")):g_notiIcs,f=c.getElementsByTagName("span"),k,j=new Date,i=j.valueOf(),a=[],e=true,d=0;d<f.length;d++){var b=f[d],g=b.getAttribute("expires");if(g!=null)if(i>g)a.push(b);else e=false}while(a.length>0){var b=a.shift();_opNotificationInternal(false,b)}if(e){var h=c.getAttribute("timerSet");c.setAttribute("timerSet","false");window.clearInterval(h)}g_notiRetiring=false}function removeNotification(e,f){ULSrLq:;var a,d,b=false;for(a=0,d=g_notiQueue.length;a<d;a++)if(e==g_notiQueue[a].id){b=true;break}if(b){g_notiQueue.splice(a,1);return}var g=g_notiIcs==null?(g_notiIcs=document.getElementById("notificationArea")):g_notiIcs;if(g!=null){var c=document.getElementById(e);c!=null&&_opNotificationInternal(false,c,false,f)}}function _opNotificationInternal(e,b,d,c){ULSrLq:;var f=g_notiIcs==null?(g_notiIcs=document.getElementById("notificationArea")):g_notiIcs;if(!e&&g_notiAnimationInProgress){var a={};a.elm=b;a.bIsAdd=false;a.bSticky=d;a.bNoAnimate=c;g_notiQueue.push(a)}else if(e){_doAddNotification(b,c);!d&&_setExpireTimer(b)}else _doRemoveNotification(b,c)}function _setExpireTimer(c){ULSrLq:;var b=g_notiIcs?(g_notiIcs=document.getElementById("notificationArea")):g_notiIcs,e=new Date;c.setAttribute("expires",e.valueOf()+5e3);var a=b.getAttribute("timerSet");if(a==null||a=="false"){var d=window.setInterval(retireNotification,750);b.setAttribute("timerSet",d)}}function _doAddNotification(a,c){ULSrLq:;var b=g_notiIcs?(g_notiIcs=document.getElementById("notificationArea")):g_notiIcs;if(c||IsAccessibilityFeatureEnabled()){a.style.right="32px";b.appendChild(a);g_notiAnimationIntervalId=-1;_onAnimateComplete();return}a.style.right="-24px";_setOpacity(a,0);b.appendChild(a);g_notiNoti=a;g_notiFrameCount=0;g_notiAnimationRight=-24;g_notiAnimationOpacity=0;g_notiAnimationIntervalId=window.setInterval(_animateAddFrame,g_notiAnimationSettings.interval)}function _animateAddFrame(){ULSrLq:;var a=g_notiAnimationSettings;if(++g_notiFrameCount>a.frames){_onAnimateComplete();return}var c=g_notiNoti,d=g_notiAnimationRight+=a.right,b=g_notiAnimationOpacity+=a.opacity;if(b>100)g_notiAnimationOpacity=b=100;c.style.right=d+"px";_setOpacity(c,b)}function _doRemoveNotification(a,b){ULSrLq:;g_notiAnimationInProgress=true;var c=g_notiIcs?(g_notiIcs=document.getElementById("notificationArea")):g_notiIcs;if(b||IsAccessibilityFeatureEnabled()){try{c.removeChild(a)}catch(d){}g_notiAnimationIntervalId=-1;_onAnimateComplete();return}g_notiNoti=a;g_notiFrameCount=0;g_notiAnimationOpacity=100;g_notiAnimationIntervalId=window.setInterval(_animateRemoveFrame,g_notiAnimationSettings.interval)}function _animateRemoveFrame(){ULSrLq:;var c=g_notiNoti,b=g_notiAnimationSettings;if(++g_notiFrameCount>b.frames){var d=g_notiIcs?(g_notiIcs=document.getElementById("notificationArea")):g_notiIcs;try{d.removeChild(c)}catch(e){retireNotification()}_onAnimateComplete();return}var a=g_notiAnimationOpacity-=b.opacity;if(a<0)g_notiAnimationOpacity=a=0;_setOpacity(c,a)}function _onAnimateComplete(){ULSrLq:;g_notiAnimationIntervalId!=-1&&window.clearInterval(g_notiAnimationIntervalId);if(g_notiQueue.length>0){var a=g_notiQueue.shift();if(a.bIsAdd)_addNotificationInternal(a.elm,a.strHtml,a.bSticky,a.tooltip,a.onclickHandler,a.bNoAnimate);else _doRemoveNotification(a.elm,a.bNoAnimate)}else g_notiAnimationInProgress=false}function _setOpacity(b,a){ULSrLq:;if(browseris.ie)b.style.filter="alpha(opacity="+a+")";else b.style.opacity=a/100}cGCMinimumWidth=400;cGCMinimumHeight=200;cGCMaxGCResizeCount=10;var glGCObjectHeight=0,glGCObjectWidth=0;glGCResizeCounter=0;function GCComputeSizing(e){ULSrLq:;if(TestGCObject(e)){var g=document.documentElement.currentStyle.direction=="rtl",d=document.compatMode=="BackCompat"?document.documentElement.scrollWidth:document.documentElement.clientWidth,f=document.compatMode=="BackCompat"?document.documentElement.scrollHeight:document.documentElement.clientHeight,b=0,c=0;if(g){b=-180;c=120}else{b=32;c=-2}var a=e.parentElement;while(a!=document.body){b+=a.offsetLeft;c+=a.offsetTop;a=a.offsetParent;if(a==null)break;if(g)if(a.offsetLeft>0)break}b+=e.parentElement.offsetLeft;c+=e.parentElement.offsetTop;glGCObjectHeight=f-c;if(glGCObjectHeight>f)glGCObjectHeight=f;if(glGCObjectHeight<cGCMinimumHeight)glGCObjectHeight=cGCMinimumHeight;if(g)glGCObjectWidth=d+b;else glGCObjectWidth=d-b;if(glGCObjectWidth>d)glGCObjectWidth=d;if(glGCObjectWidth<cGCMinimumWidth)glGCObjectWidth=cGCMinimumWidth}}function GCResizeGridControl(a){ULSrLq:;if(TestGCObject(a)){var c=glGCObjectHeight,b=glGCObjectWidth;GCComputeSizing(a);if(c!=glGCObjectHeight)a.height=glGCObjectHeight;if(b!=glGCObjectWidth)a.width=glGCObjectWidth}}function GCWindowResize(a){ULSrLq:;if(TestGCObject(a)){glGCResizeCounter=0;GCResizeGridControl(a)}}function GCOnResizeGridControl(a){ULSrLq:;if(TestGCObject(a))if(glGCResizeCounter<cGCMaxGCResizeCount){glGCResizeCounter++;GCResizeGridControl(a)}}function _GCActivateAndFocus(a){ULSrLq:;if(TestGCObject(a)){a.SetActive;a.Focus}}function _GCNavigateToNonGridPage(){ULSrLq:;var a=window.location.href;gridPart=a.match("ShowInGrid=");if(gridPart){gridSet=/ShowInGrid=\w*/;a=a.replace(gridSet,"")}var b=a.indexOf("?");if(b!=-1){var c=a.indexOf("?",b+1);if(c!=-1)a=a.slice(0,c);a=a+"&"}else a=a+"?";a=a+"ShowInGrid=False";document.location.replace(STSPageUrlValidation(a))}function GCAddNewColumn(a,b){ULSrLq:;if(TestGCObject(a)){var h=window.location.href,e=a.Name,g=a.SelectedColumnUniqueName,i=a.RightToLeft,f=a.ViewGUID,c="FldNew.aspx",d=a.ServerTemplate;if(d=="102")c="QstNew.aspx";b=b+"/_layouts/"+c+"?List="+e+"&View="+f+"&Source="+h+"&RelativeToField="+g+"&LTR="+i;window.location=b}}function GCEditDeleteColumn(a,b){ULSrLq:;if(TestGCObject(a)){var g=window.location.href,f=a.SelectedColumnUniqueName,e=a.Name,c="FldEdit.aspx",d=a.ServerTemplate;if(d=="102")c="QstEdit.aspx";b=b+"/_layouts/"+c+"?List="+e+"&Field="+f+"&Source="+g;window.location=b}}var objGCGlobal=null;function GCShowTaskPane(){ULSrLq:;if(objGCGlobal!=null){objGCGlobal.DisplayTaskPane=true;objGCGlobal=null}}function GCShowHideTaskPane(a){ULSrLq:;if(TestGCObject(a)){var b=a.DisplayTaskPane;a.DisplayTaskPane=!b;if(!b){objGCGlobal=a;window.setTimeout("GCShowTaskPane()",5)}}}function GCShowHideTotalsRow(a){ULSrLq:;if(TestGCObject(a)){var b=a.DisplaySheetTotals;a.DisplaySheetTotals=!b}}function GCGridNewRow(a){ULSrLq:;TestGCObject(a)&&a.SelectNewRow()}function GCRefresh(a){ULSrLq:;TestGCObject(a)&&a.Refresh()}function GCNewFolder(a){ULSrLq:;TestGCObject(a)&&a.NewFolder()}var L_Edit_Text="Edit",L_ViewItem_Text="View Item",L_EditItem_Text="Edit Item",L_EditSeriesItem_Text="Edit Series",L_DeleteItem_Text="Delete Item",L_DeleteDocItem_Text="Delete",L_ViewProperties_Text="View Properties",L_EditProperties_Text="Edit Properties",L_ViewResponse_Text="View Response",L_EditResponse_Text="Edit Response",L_DeleteResponse_Text="Delete Response",L_Subscribe_Text="Alert Me",L_CustomizeNewButton_Text="Change New Button Order",L_Review_Text="Send for Review",L_EditIn_Text="Edit in ^1",L_EditInApplication_Text="Edit Document",L_Checkin_Text="Check In",L_Checkout_Text="Check Out",L_DiscardCheckou_Text="Discard Check Out",L_CreateDWS_Text="Create Document Workspace",L_PublishBack_Text="Publish to Source Location",L_Versions_Text="Version History",L_WorkOffline_Text="Outlook",L_Reply_Text="Reply",L_ExportContact_Text="Export Contact",L_ExportEvent_Text="Export Event",L_Reschedule_Text="Rescheduling Options",L_Move_Text="Move",L_Keep_Text="Keep",L_Delete_Text="Delete",L_Open_Text="Open",L_SiteSettings_Text="Change Site Settings",L_ManageUsers_Text="Manage Users",L_DeleteSite_Text="Delete Site",L_SiteStorage_Text="Manage Site Storage",L_MngPerms_Text="Manage Permissions",L_Settings_Text="Settings",L_Remove_Text="Remove from this list",L_ModerateItem_Text="Approve/Reject",L_PublishItem_Text="Publish a Major Version",L_CancelPublish_Text="Cancel Approval",L_UnPublishItem_Text="Unpublish this version",L_DownloadOriginal_Text="Download Picture",L_EditVersion_Text="Edit",L_EditInOIS_Text="Edit Picture",L_Workflows_Text="Workflows",L_OpenMenu_Text="Open Menu",L_Send_Text="Send To",L_ExistingCopies_Text="Existing Copies",L_OtherLocation_Text="Other Location",L_GoToSourceItem_Text="Go to Source Item",L_NotifyThisIsCopy_Text="This item was copied from another location and may be receiving updates from there.  You should make sure that the source stops sending updates or this item may get recreated.\n\n",L_SendToEmail_Text="E-mail a Link",L_DownloadACopy_Text="Download a Copy",L_DocTran_Text="Convert Document",L_AddToMyLinks_Text="Add to My Links",L_AddToCategory_Text="Submit to Portal Area",L_VS_DownArrow_Text="Select a View",L_ModifyView="Modify this view",L_CreateView="Create a new view",L_SubmitFileCopyWarning_Text="Are you sure you want to copy this document to ^1?",L_SubmitFileMoveWarning_Text="Are you sure you want to move this document to ^1?",L_SubmitFileLinkWarning_Text="Are you sure you want to move this document to ^1? A link will be created to the destination document.",SubmitFileConfirmation=[];SubmitFileConfirmation["Copy"]=L_SubmitFileCopyWarning_Text;SubmitFileConfirmation["Move"]=L_SubmitFileMoveWarning_Text;SubmitFileConfirmation["Link"]=L_SubmitFileLinkWarning_Text;var L_ServerBusyError="The server is busy.  Please try again later.",L_ItemGone="This item is no longer available.  It may have been deleted by another user.  Click 'OK' to refresh the page.",L_ActivateSolution_Text="Activate",L_DeactivateSolution_Text="Deactivate",L_UpgradeSolution_Text="Upgrade",L_Notification_Delete="Deleting...",L_Notification_CheckIn="Checking In...",L_Notification_CheckOut="Checking Out...",L_Notification_DiscardCheckOut="Discarding Check Out...";function CUIInfo(a,c,b){ULSrLq:;a.CUICommand=c;a.CUIEnabledCommands=b}function resetExecutionState(){ULSrLq:;IsMenuShown=false;itemTable=null;imageCell=null;onKeyPress=false;currentCtx=null;currentEditMenu=null;currentItemID=null;downArrowText=null;resetItemGlobals()}function resetItemGlobals(){ULSrLq:;currentItemAppName=null;currentItemProgId=null;currentItemIcon=null;currentItemOpenControl=null;currentItemModerationStatus=null;currentItemUIString=null;currentItemCheckedoutToLocal=null;currentItemCanModify=null;currentItemFileUrl=null;currentItemFSObjType=null;currentItemContentTypeId=null;currentItemCheckedOutUserId=null;currentItemCheckoutExpires=null;currentItemPermMaskH=null;currentItemPermMaskL=null;currentItemIsEventsExcp=null;currentItemIsEventsDeletedExcp=null}function IsMenuEnabled(){ULSrLq:;return browseris.ie55up||browseris.nav6up||browseris.safari125up}function GetSelectedElement(a,c,b){ULSrLq:;while(a!=null&&a.tagName!=c&&(b==null||a.tagName!=b))a=a.parentNode;return a}function setupMenuContext(a){ULSrLq:;currentCtx=a}function setupMenuContextName(strCtx){ULSrLq:;try{eval("var ctx="+strCtx+";")}catch(e){eval("var ctx=g_ctxDict['"+strCtx+"'];")}setupMenuContext(ctx)}function FindSTSMenuTable(a,c){ULSrLq:;var b=a.getAttribute(c);while(a!=null&&(b==null||b=="")){a=GetSelectedElement(a.parentNode,"TABLE","DIV");if(a!=null)b=a.getAttribute(c)}return a}function OnLinkDeferCall(a){ULSrLq:;if(!IsMenuEnabled())return false;a.onfocusout=OutItem;a.onkeydown=PopMenu;var b=FindSTSMenuTable(a,"CTXName");if(b==null)return false;OnItem(b);return false}function StartDeferItem(a){ULSrLq:;if(a!=itemTable){itemTableDeferred=a;var c=a.tagName=="TABLE";if(c){a.onmouseout=EndDeferItem;a.onclick=DeferredOnItem;a.oncontextmenu=DeferredOnItem}else{var b=a.parentNode;b.onmouseout=EndDeferItem;b.oncontextmenu=DeferredOnItem}}}function IsAjaxMenu(d){ULSrLq:;var a=d.getAttribute("eventtype");if(a!=null&&(a==5||a==3||a==4))return false;var c=d.className;if(c!=null&&c.length>0){var b=c.split(" ");if(b!=null&&b.length>1&&b[b.length-1]=="itx")return true}return false}function DeferredOnItem(b){ULSrLq:;var a=itemTableDeferred;if(a!=null){MenuHtc_hide();OnItem(a);if(IsAjaxMenu(a))CreateAjaxMenu(b);else CreateMenu(b);return false}}function EndDeferItem(){ULSrLq:;var a=itemTableDeferred;if(a!=null){itemTableDeferred=null;var c=a.tagName=="TABLE";if(c){a.onmouseout=null;a.onclick=null;a.oncontextmenu=null}else{var b=a.parentNode;b.onmouseout=null;b.onclick=null;b.oncontextmenu=null}}}function GetLastChildElement(b){ULSrLq:;for(var a=b.childNodes.length-1;a>=0;a--)if(b.childNodes[a].nodeType==1)return b.childNodes[a];return null}function CreateCtxImg(c,h){ULSrLq:;var a=FindCtxImg(c);if(a!=null&&a.shown==true)return a;if(a==null){a=document.createElement("DIV");a.className="s4-ctx";var b=[];b.push("<span>\u00a0</span>");b.push("<a onfocus='");if(c.tagName=="TD")b.push("OnChildItem(this.parentNode.parentNode); return false;'");else if(c.tagName=="TH")b.push("OnChildColumn(this.parentNode.parentNode); return false;'");else b.push("return false;'");b.push("href='javascript:;' onclick='PopMenuFromChevron(event); return false;' title='");b.push(L_OpenMenu_Text+"'></a>");b.push("<span>\u00a0</span>");a.innerHTML=b.join("");delete b;c.appendChild(a)}if(typeof a.shown=="undefined"){for(var g=a.getElementsByTagName("SPAN"),i=g.length,e=0;e<i;e++)if(browseris.ie&&browseris.iever==6)g[e].style.lineHeight="1px";var f=a.getElementsByTagName("A")[0];f.onfocusout=h;var d=document.createElement("img");d.style.visibility="hidden";d.src="/_layouts/images/ecbarw.png";d.alt=L_OpenMenu_Text;f.appendChild(d)}ShowCtxImg(a,true,c);return a}function FindCtxImg(f){ULSrLq:;for(var d=null,c=f.childNodes,e=c.length,b=0;b<e;b++){var a=c[b];if(a.nodeType==1&&a.className.indexOf("s4-ctx")!=-1){d=a;break}}return d}function RemoveCtxImg(b){ULSrLq:;var a=FindCtxImg(b);a!=null&&ShowCtxImg(a,false,b)}function ShowCtxImg(a,e,d){ULSrLq:;var c=null,b=null;if(a!=null)c=a.getElementsByTagName("A")[0];if(c!=null)b=c.getElementsByTagName("IMG")[0];if(b!=null)if(e==true){a.className+=" s4-ctx-show";PositionCtxImg(a,d,b);b.style.visibility="visible";a.shown=true;ChevronContainer=d}else{b.style.visibility="hidden";a.className="s4-ctx";a.shown=false;ChevronContainer=null}}function GetPosition(b){ULSrLq:;if(b==null)return null;var c=0,d=0,h=0,g=0,j=null,f=null;f=b.offsetParent;var e=b,a=b;while(a.parentNode!=null){a=a.parentNode;if(a.offsetParent!=null){var i=true;if(a.scrollTop&&a.scrollTop>0)d-=a.scrollTop;if(a.scrollLeft&&a.scrollLeft>0)c-=a.scrollLeft}if(a==f){c+=b.offsetLeft;if(a.clientLeft&&a.nodeName!="TABLE")c+=a.clientLeft;d+=b.offsetTop;if(a.clientTop&&a.nodeName!="TABLE")d+=a.clientTop;b=a;if(b.offsetParent==null){if(b.offsetLeft)c+=b.offsetLeft;if(b.offsetTop)d+=b.offsetTop}f=b.offsetParent}}if(e.offsetWidth)h=e.offsetWidth;if(e.offsetHeight)g=e.offsetHeight;return {left:c,top:d,width:h,height:g}}function PositionCtxImg(c,b,h){ULSrLq:;var i=GetPosition(b),g=GetPosition(c.offsetParent),e=i.top-g.top,d=i.left-g.left;e=e+b.clientTop;var a=c.style;a.top=e+"px";if(!IsElementRtl(b))d=d+b.offsetWidth-c.offsetWidth;a.left=d+"px";var f=b.clientHeight;if(browseris.ie&&document.compatMode=="BackCompat"&h!=null)f-=h.offsetHeight;a.height=f+"px";a.lineHeight=c.style.height;a.margin="0px"}function IsInCtxImg(a){ULSrLq:;while(a!=null&&a.tagName!="TD"&&a.tagName!="BODY"&&a.className.indexOf("s4-ctx")==-1)a=a.parentNode;if(a!=null&&a.className.indexOf("s4-ctx")!=-1)return a;return null}function OnItemDeferCall(g){ULSrLq:;if(!IsMenuEnabled())return false;if(IsMenuOn()){StartDeferItem(g);return false}if(itemTable==g)return;itemTable!=null&&OutItem();itemTable=g;currentItemID=GetAttributeFromItemTable(itemTable,"ItemId","Id");var b=itemTable.tagName=="TABLE",j=new Function("setupMenuContextName('"+itemTable.getAttribute("CTXName")+"');");j();var i=currentCtx,h=IsAjaxMenu(itemTable);if(b){if(browseris.nav6up)itemTable.className="ms-selectedtitlealternative";else itemTable.className="ms-selectedtitle";if(h)itemTable.className=itemTable.className+" itx"}var a=itemTable.parentNode;while(a.tagName!="TD"&&a.tagName!="BODY")a=a.parentNode;var f=null;if(!b)f=CreateCtxImg(a,OutItem);if(browseris.ie5up&&!browseris.ie55up){itemTable.onclick=EditMenuDefaultForOnclick;itemTable.oncontextmenu=EditMenuDefaultForOnclick}else{var c=h?CreateAjaxMenu:CreateMenu;if(b){itemTable.onclick=c;itemTable.oncontextmenu=c}else{if(f!=null)f.onclick=c;a.oncontextmenu=c}}if(b)itemTable.onmouseout=OutItem;else a.onmouseout=OutItem;if(b){var e;e=GetFirstChildElement(GetFirstChildElement(itemTable));if(e!=null)imageCell=GetLastChildElement(e);if(i.listTemplate==200){if(itemTable.getAttribute("menuType")=="Orphaned")downArrowText=L_Reschedule_Text}else downArrowText=L_Edit_Text;var d=GetFirstChildElement(imageCell);d.src=i.imagesPath+"menudark.gif";d.alt=downArrowText;d.style.visibility="visible";imageCell.className="ms-menuimagecell"}return false}function OutItem(b){ULSrLq:;if(!IsMenuOn()&&itemTable!=null){var d=itemTable.tagName=="TABLE";if(d){if(IsAjaxMenu(itemTable))itemTable.className="ms-unselectedtitle itx";else itemTable.className="ms-unselectedtitle";itemTable.onclick=null;itemTable.oncontextmenu=null;itemTable.onmouseout=null}else{var a=itemTable.parentNode,c=null;if(b==null)b=window.event;if(b!=null){c=b.toElement!=null?b.toElement:b.relatedTarget;if(a!=null&&c!=null&&IsContained(c,a))return true}if(a!=null){a.onclick=null;a.oncontextmenu=null;a.onmouseout=null;RemoveCtxImg(a)}}if(d&&imageCell!=null){GetFirstChildElement(imageCell).style.visibility="hidden";imageCell.className=""}resetExecutionState()}}function IsContained(a,d){ULSrLq:;if(a==d)return true;for(var c=d.getElementsByTagName(a.tagName),b=0;b<c.length;b++)if(a==c[b])return true;return false}function IsMenuOn(){ULSrLq:;if(!IsMenuShown)return false;var a=false;a=MenuHtc_isOpen(currentEditMenu);if(!a)IsMenuShown=false;return a}function PopMenuFromChevron(b){ULSrLq:;IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSFilterSortStart);if(b==null)b=window.event;var e=b.srcElement?b.srcElement:b.target,a=e.parentNode;while(a.tagName!="TD"&&a.tagName!="TH"&&a.tagName!="BODY")a=a.parentNode;if(a.tagName=="TD"){var d=a.getElementsByTagName("DIV")[0];d!=null&&OnItemDeferCall(d)}else if(a.tagName=="TH"){var c=a.getElementsByTagName("DIV")[0];c!=null&&OnMouseOverFilterDeferCall(c)}IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSFilterSortEnd);return false}function PopMenu(a){ULSrLq:;if(!IsMenuEnabled())return true;if(a==null)a=window.event;var b;if(a==null)return true;if(browseris.nav6up)b=a.which;else b=a.keyCode;if(!IsMenuOn()&&(a.shiftKey&&b==13||a.altKey&&b==40)){onKeyPress=true;var d=a.srcElement?a.srcElement:a.target,c=FindSTSMenuTable(d,"CTXName");if(c==null)return false;OnItemDeferCall(c);if(IsAjaxMenu(c))CreateAjaxMenu(a);else CreateMenu(a);onKeyPress=false;return false}else return true}function CreateMenuEx(f,a,e){ULSrLq:;IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSECBClickStart);if(a==null)return;IsMenuShown=true;document.body.onclick="";var c;c=BuildMenu(f);currentEditMenu=c;a.onmouseout=null;var b=a.tagName=="DIV"?a.parentNode:a,d=FindCtxImg(b);d!=null&&d.shown==false&&ShowCtxImg(d,true,b);OMenu(c,b,null,null,-1);if(itemTable!=null&&itemTable.tagName!="DIV")itemTable=GetSelectedElement(a,"TABLE","DIV");if(b.tagName=="TD")b.onclick=SingleItemSelect;c._onDestroy=OutItem;if(e!=null)e.cancelBubble=true;IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSECBClickEnd);return false}function BuildMenuWithInit(a){ULSrLq:;resetItemGlobals();setDocType();currentItemID=GetAttributeFromItemTable(itemTable,"ItemId","Id");currentItemCheckedOutUserId=itemTable.COUId;currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");return BuildMenu(a)}function BuildMenu(a){ULSrLq:;var b=CMenu(currentItemID+"_menu");if(!b)return;else if(a.isVersions)AddVersionMenuItems(b,a);else if(a.listTemplate==121)AddSolutionsCatalogMenuItems(b,a);else if(a.listBaseType==1)AddDocLibMenuItems(b,a);else if(a.listTemplate==200)AddMeetingMenuItems(b,a);else AddListMenuItems(b,a);InsertFeatureMenuItems(b,a);return b}function CreateAjaxMenu(a){ULSrLq:;if(!IsContextSet())return;if(a==null)a=window.event;var c=a.srcElement?a.srcElement:a.target;if(itemTable==null||itemTable.tagName=="TABLE"&&imageCell==null||onKeyPress==false&&!IsInCtxImg(c)&&(c.tagName=="A"||c.parentNode.tagName=="A"))return;var b=itemTable,d=b.parentNode;if(d!=null&&d.getAttribute("creatingAjax")==1)return;b.parentNode.setAttribute("creatingAjax","1");var e=currentCtx,f=function(c,a){ULSrLq:;b.parentNode.replaceChild(a,b);a.onclick=b.onclick;a.onmousehover=OnItem;OnItemDeferCall(a);CreateMenuEx(c,a,null);a.parentNode.removeAttribute("creatingAjax")};FetchEcbInfo(e,itemTable.id,itemTable.tagName,f);a.cancelBubble=true;return false}var nidEcbMenu=null;function FetchEcbInfo(b,f,h,g){ULSrLq:;var a=[],d=escapeUrlForCallback(b.HttpRoot);a.push(d);d[d.length-1]!="/"&&a.push("/");a.push("_layouts/inplview.aspx?Cmd=Ctx&List=");a.push(b.listName);b.HasRelatedCascadeLists==1&&b.CascadeDeleteWarningMessage==null&&a.push("&CascDelWarnMessage=1");if(b.view!=null){a.push("&View=");a.push(b.view)}a.push("&ViewCount=");a.push(b.ctxId);if(typeof b.isXslView!="undefined"&&b.isXslView){a.push("&IsXslView=TRUE");a.push("&Field=");if(itemTable!=null)a.push(GetAttributeFromItemTable(itemTable,"Field","Field"));else a.push("LinkFilename")}a.push("&ID=");a.push(f);var e=GetUrlKeyValue("RootFolder",true,document.URL);if(e.length>0){a.push("&RootFolder=");a.push(e)}a.push("&ListViewPageUrl=");var j=new CUrl(document.URL);d=j.path;a.push(d);if(typeof b.overrideScope!="undefined"){a.push("&OverrideScope=");a.push(escapeProperlyCore(b.overrideScope))}var i=a.join("");if(nidEcbMenu==null)nidEcbMenu=addNotification(L_Loading_Text,true);var c;if(window.XMLHttpRequest)c=new XMLHttpRequest;else c=new ActiveXObject("Microsoft.XMLHTTP");c.open("GET",i,true);c.onreadystatechange=function(){ULSrLq:;if(c.readyState!=4)return;if(c.status==601){if(nidEcbMenu!=null){removeNotification(nidEcbMenu);nidEcbMenu=null}alert(c.responseText)}else if(c.status==503){if(nidEcbMenu!=null){removeNotification(nidEcbMenu);nidEcbMenu=null}alert(L_ServerBusyError)}else{var a=c.responseText,j=document.createElement("DIV");j.style.visibility="hidden";if(b.HasRelatedCascadeLists==1&&b.CascadeDeleteWarningMessage==null){var l="<CascadeDeleteWarningMessage>",m="</CascadeDeleteWarningMessage>";if(a.startsWith(l)){var k=a.indexOf(m);if(k!==-1){b.CascadeDeleteWarningMessage=a.substring(l.length,k);a=a.substring(k+m.length)}}}j.innerHTML=a;for(var i=j.getElementsByTagName(h),d,e=0;e<i.length;e++){d=i[e];if(d.id==f)break}if(e==i.length)d=null;if(d!=null){g(b,d);if(nidEcbMenu!=null){removeNotification(nidEcbMenu);nidEcbMenu=null}}else{if(nidEcbMenu!=null){removeNotification(nidEcbMenu);nidEcbMenu=null}alert(L_ItemGone);RefreshPage(1)}}};c.send(null)}function CreateMenu(a){ULSrLq:;if(!IsContextSet())return;var c=currentCtx;if(a==null)a=window.event;var b=a.srcElement?a.srcElement:a.target;if(itemTable==null||itemTable.tagName=="TABLE"&&imageCell==null||onKeyPress==false&&!IsInCtxImg(b)&&(b.tagName=="A"||b.parentNode.tagName=="A"))return;return CreateMenuEx(c,itemTable,a)}function AddSendSubMenu(w,a){ULSrLq:;strDisplayText=L_Send_Text;var v=GetAttributeFromItemTable(itemTable,"Url","ServerUrl"),d,j,e;if(currentItemFileUrl!=null){j=unescapeProperly(currentItemFileUrl);d=escapeProperly(j);e=SzExtension(j);if(e!=null&&e!="")e=e.toLowerCase()}var h=itemTable.getAttribute("SRed"),p=itemTable.getAttribute("DefaultIO");if(p=="0"&&!HasRights(0,32))p="1";var m=currentItemProgId!="SharePoint.WebPartPage.Document"&&(h==null||h==""||HasRights(0,32))&&e!="aspx",n=HasRights(16,0),l=currentItemFSObjType!=1&&a.listBaseType==1&&(h==null||h==""||HasRights(0,32));if(!m&&!n&&!l)return;var c=CASubM(w,strDisplayText,"","",400);CUIInfo(c,"SendTo",["SendTo","PopulateSendToMenu"]);c.IsSubMenu=true;c.id="ID_Send";var b;if(m){if(typeof a.SendToLocationName!="undefined"&&a.SendToLocationName!=null&&a.SendToLocationName!=""&&typeof a.SendToLocationUrl!="undefined"&&a.SendToLocationUrl!=null&&a.SendToLocationUrl!=""){strAction="STSNavigate('"+a.HttpRoot+"/_layouts/copy.aspx?SourceUrl="+d+"&FldUrl="+escapeProperly(a.SendToLocationUrl);strAction=AddSourceToUrl(strAction)+"')";b=CAMOpt(c,a.SendToLocationName,strAction,"");CUIInfo(b,"SendToRecommendedLocation",["SendToRecommendedLocation"])}if(typeof itemTable.getAttribute("HCD")!="undefined"&&itemTable.getAttribute("HCD")=="1"){strDisplayText=L_ExistingCopies_Text;strAction="STSNavigate('"+a.HttpRoot+"/_layouts/updatecopies.aspx?SourceUrl="+d;strAction=AddSourceToUrl(strAction)+"')";strImagePath=a.imagesPath+"existingLocations.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath);b.id="ID_ExistingCopies";CUIInfo(b,"SendToExistingCopies",["SendToExistingCopies"])}strDisplayText=L_OtherLocation_Text;strAction="NavigateToSendToOtherLocationV4(event, '"+a.HttpRoot+"/_layouts/copy.aspx?SourceUrl="+d;strAction=AddSourceToUrl(strAction)+"')";strImagePath=a.imagesPath+"sendOtherLoc.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath);b.id="ID_OtherLocation";CUIInfo(b,"SendToOtherLocation",["SendToOtherLocation"]);if(a.OfficialFileNames!=null&&a.OfficialFileNames!=""){var k=a.OfficialFileNames.split("__HOSTSEPARATOR__");if(k!=null)for(var i=0;i<k.length;i++){var u=k[i],f=u.split(",");strDisplayText=f[0];var t=0,s="Copy";if(f.length==3){strDisplayText=f[0].replace(/%2c/g,",").replace(/%25/g,"%");t=f[1];s=f[2]}strAction='if(confirm("'+StBuildParam(SubmitFileConfirmation[s],STSScriptEncode(strDisplayText))+"\")!=0) SubmitFormPost('"+a.HttpRoot+"/_layouts/SendToOfficialFile.aspx?ID="+escapeProperly(strDisplayText)+"&Index="+t+"&SourceUrl="+d;strAction=AddSourceToUrl(strAction)+"')";strImagePath="";b=CAMOpt(c,strDisplayText,strAction,strImagePath);var o="SendToOfficialFile"+i;CUIInfo(b,o,[o])}}CAMSep(c)}if(n){strDisplayText=L_SendToEmail_Text;var v=GetAttributeFromItemTable(itemTable,"Url","ServerUrl"),g=a.HttpRoot.substr(0);if(g[g.length-1]!="/")g+="/";var q=-1,r="";q=g.substring(8).indexOf("/")+8;r=g.substr(0,q)+escapeProperlyCore(unescapeProperly(v),true);strAction="javascript:SendEmail('"+r+"')";strImagePath=a.imagesPath+"gmailnew.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath);CUIInfo(b,"EmailLink",["EmailLink"]);b.id="ID_SendToEmail"}if(l){a.listTemplate!=109&&a.listTemplate!=119&&AddWorkspaceMenuItem(c,a);if(a.listTemplate!=119){strAction="STSNavigate('"+a.HttpRoot+"/_layouts/download.aspx?SourceUrl="+d+"&FldUrl="+escapeProperly(a.SendToLocationUrl);strAction=AddSourceToUrl(strAction)+"')";b=CAMOpt(c,L_DownloadACopy_Text,strAction,"");CUIInfo(b,"DownloadCopy",["DownloadCopy"]);b.id="ID_DownloadACopy"}}}function AddDocTransformSubMenu(l,h){ULSrLq:;if(typeof rgDocTransformers=="undefined"||rgDocTransformers==null)return;var b=null,c=GetAttributeFromItemTable(itemTable,"Url","ServerUrl"),d;if(currentItemFileUrl!=null)d=escapeProperly(unescapeProperly(currentItemFileUrl));var g=c.lastIndexOf(".");if(g>0)for(var j=c.substring(g+1,c.length).toLowerCase(),e=false,a=0;a<rgDocTransformers.length;a++)if(rgDocTransformers[a].ConvertFrom==j){var f=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId"),k=new RegExp("/|"+f+"|/");if(f&&!k.test(rgDocTransformers[a].ExcludedContentTypes)){if(!e){b=CASubM(l,L_DocTran_Text,h.imagesPath+"ConvertDocument.gif",L_DocTran_Text,500);b.IsSubMenu=true;b.Id="ID_ConvertDocument";e=true}strAction="STSNavigate('"+h.HttpRoot+"/_layouts/"+escapeProperlyCore(rgDocTransformers[a].TransformUIPage,true)+"?FileName="+d+"&TID="+rgDocTransformers[a].Id;strAction=AddSourceToUrl(strAction)+"')";var i;i=CAMOpt(b,rgDocTransformers[a].Name,strAction,"");i.Id="ID_Transform"+rgDocTransformers[a].Id}}}function AddMeetingMenuItems(d,b){ULSrLq:;if(itemTable.getAttribute("menuType")=="Orphaned"){var a,c=GetAttributeFromItemTable(itemTable,"ItemId","Id");strDisplayText=L_Move_Text;strAction="GoToMtgMove('"+b.listUrlDir+"',"+c+",'"+itemTable.getAttribute("DateTime")+"','"+itemTable.getAttribute("DateTimeISO")+"')";strImagePath="";a=CAMOpt(d,strDisplayText,strAction,strImagePath);a.id="ID_Move";strDisplayText=L_Keep_Text;strAction="MtgKeep('"+b.HttpPath+"','"+b.listName+"',"+c+")";strImagePath="";a=CAMOpt(d,strDisplayText,strAction,strImagePath);a.id="ID_Keep";strDisplayText=L_Delete_Text;strAction="MtgDelete('"+b.HttpPath+"','"+b.listName+"',"+c+")";strImagePath=b.imagesPath+"delitem.gif";a=CAMOpt(d,strDisplayText,strAction,strImagePath);a.id="ID_Delete"}}function AddListMenuItems(c,a){ULSrLq:;if(typeof Custom_AddListMenuItems!="undefined")if(Custom_AddListMenuItems(c,a))return;if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");var d;if(currentItemFileUrl!=null)d=escapeProperly(unescapeProperly(currentItemFileUrl));var g=currentItemID;if(currentItemIsEventsExcp==null){currentItemIsEventsExcp=false;currentItemIsEventsDeletedExcp=false;currentItemEvtType=itemTable.getAttribute("EventType");if(currentItemEvtType!=null&&(currentItemEvtType==2||currentItemEvtType==3||currentItemEvtType==4)){currentItemIsEventsExcp=true;if(currentItemEvtType==3)currentItemIsEventsDeletedExcp=true;if(currentItemID.indexOf(".")!=-1)g=currentItemID.split(".")[0]}}var b;if(a.listBaseType==3&&a.listTemplate==108){strDisplayText=L_Reply_Text;if(itemTable.getAttribute("Ordering").length>=504){var L_ReplyLimitMsg_Text="Cannot reply to this thread. The reply limit has been reached.";strAction="alert('"+L_ReplyLimitMsg_Text+"')"}else{strAction="STSNavigate('"+a.newFormUrl+"&Threading="+escapeProperly(itemTable.getAttribute("Ordering"))+"&Guid="+escapeProperly(itemTable.getAttribute("ThreadID"))+"&Subject="+escapeProperly(itemTable.getAttribute("Subject"));strAction=AddSourceToUrl(strAction)+"')"}strImagePath=a.imagesPath+"reply.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,100);b.id="ID_Reply"}AddSharedNamespaceMenuItems(c,a);var f=itemTable.getAttribute("CId");if(f!=null&&f.indexOf("0x0106")==0&&HasRights(16,0)){strDisplayText=L_ExportContact_Text;strAction="STSNavigate('"+a.HttpPath+"&Cmd=Display&CacheControl=1&List="+a.listName+"&ID="+currentItemID+"&Using="+escapeProperly(a.listUrlDir)+"/vcard.vcf')";strImagePath=a.imagesPath+"exptitem.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,350);CUIInfo(b,"ExportContact",["ExportContact"]);b.id="ID_ExportContact"}CAMSep(c);a.verEnabled==1&&AddVersionsMenuItem(c,a,d);if(a.isModerated==true&&HasRights(0,16)&&HasRights(0,4)&&HasRights(0,135168)&&a.listBaseType!=4&&currentItemID.indexOf(".0.")<0){strDisplayText=L_ModerateItem_Text;strAction="NavigateToApproveRejectAspx(event, '"+a.HttpRoot+"/_layouts/approve.aspx?List="+a.listName+"&ID="+g;strAction=AddSourceToUrl(strAction)+"')";strImagePath=a.imagesPath+"apprj.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,850);CUIInfo(b,"Moderate",["Moderate"]);b.id="ID_ModerateItem"}CAMSep(c);AddWorkflowsMenuItem(c,a);var e=typeof _spPageContextInfo!="undefined"&&_spPageContextInfo!=null&&_spPageContextInfo.alertsEnabled;if(currentItemID.indexOf(".0.")<0&&HasRights(128,0)&&!a.ExternalDataList&&e){strDisplayText=L_Subscribe_Text;strAction="NavigateToSubNewAspxV4(event, '"+a.HttpRoot+"', 'List="+a.listName+"&ID="+currentItemID+"')";strImagePath="";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,1100);b.id="ID_Subscribe";CUIInfo(b,"Subscribe",["Subscribe"])}(e||a.WorkflowsAssociated&&HasRights(0,4))&&CAMSep(c);AddManagePermsMenuItem(c,a,a.listName,currentItemID);if(currentItemID.indexOf(".0.")<0&&HasRights(0,8)&&!currentItemIsEventsExcp){if(a.listBaseType==4)strDisplayText=L_DeleteResponse_Text;else strDisplayText=L_DeleteItem_Text;strAction="DeleteListItem()";strImagePath=a.imagesPath+"delitem.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,1180);CUIInfo(b,"Delete",["Delete"]);b.id="ID_DeleteItem";CUIInfo(b,"Delete",["Delete"])}var h=currentItemProgId!=null&&currentItemProgId!="";if(currentItemFSObjType==1&&!h&&a.ContentTypesEnabled&&a.listTemplate!=108){strDisplayText=L_CustomizeNewButton_Text;strAction="STSNavigate('"+a.HttpRoot+"/_layouts/ChangeContentTypeOrder.aspx?List="+a.listName+"&RootFolder="+d;strAction=AddSourceToUrl(strAction)+"')";strImagePath="";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,1170);CUIInfo(b,"ChangeNewButton",["ChangeNewButton"]);b.id="ID_CustomizeNewButton"}}function ReplaceUrlTokens(c,d){ULSrLq:;if(c==null||c==undefined||c==""){c="";return c}if(currentItemID!=null)c=c.replace(/{ItemId}/g,currentItemID);var a=null,b=null,f=c.indexOf("?");if(-1!=f&&f+2<c.length){a=c.substr(f+1);b=c.substr(0,f+1)}else b=c;if(currentItemFileUrl!=null){if(null!=a){var e=escapeProperly(unescapeProperly(currentItemFileUrl));a=a.replace(/{ItemUrl}/g,e)}b=b.replace(/{ItemUrl}/g,currentItemFileUrl)}if(d.HttpRoot!=null){if(null!=a){var e=escapeProperly(unescapeProperly(d.HttpRoot));a=a.replace(/{SiteUrl}/g,e)}b=b.replace(/{SiteUrl}/g,d.HttpRoot)}if(d.listName!=null){if(null!=a){var e=escapeProperly(d.listName);a=a.replace(/{ListId}/g,e)}b=b.replace(/{ListId}/g,d.listName)}if(d.listUrlDir!=null){if(null!=a){var e=escapeProperly(unescapeProperly(d.listUrlDir));a=a.replace(/{ListUrlDir}/g,e)}b=b.replace(/{ListUrlDir}/g,d.listUrlDir)}var g=GetSource();b=b.replace(/{Source}/g,g);if(a!=null)if(b.length+a.length+g.length>1950)a=a.replace(/{Source}/g,"");else a=a.replace(/{Source}/g,g);if(null==a)return b;else return b+a}var SYSTEM_ACCOUNT_ID=1073741823;function InsertFeatureMenuItems(r,c){ULSrLq:;CAMSep(r);var f=GetAttributeFromItemTable(itemTable,"Ext","FileType"),i=GetAttributeFromItemTable(itemTable,"Type","HTMLType"),e=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId"),j=null,g=null,o="ECBItems";if(c!=null){j=c.listTemplate;if(null!=c.listName&&0<c.listName.length){g=c.listName.toLowerCase();o=o+"_"+g}}if(f)f=f.toLowerCase();if(i)i=i.toLowerCase();if(e)e=e.toLowerCase();var x,k=document.getElementById(o);if(k!=null)for(var l=0;l<k.childNodes.length;l++){var a=k.childNodes[l],p=parseInt(GetInnerText(a.childNodes[3])),q=parseInt(GetInnerText(a.childNodes[4])),h=GetInnerText(a.childNodes[5]),b=GetInnerText(a.childNodes[6]),d=false;if(b){b=b.toLowerCase();if(h=="FileType")d=f==b.toLowerCase();else if(h=="ProgId")d=i==b.toLowerCase();else if(h=="ContentType")d=e&&e.indexOf(b.toLowerCase())==0;else if(h=="List")if(null!=j&&j==b)d=true;else if(null!=g&&g==b)d=true}if(d&&HasRights(p,q)&&!IsTrimmedBySystem(p,q)){var w=a.childNodes[0],s=a.childNodes[1],u=a.childNodes[2],y=parseInt(GetInnerText(a.childNodes[7])),t=GetInnerText(w),n=ReplaceUrlTokens(GetInnerText(u),c),m;if(n.substr(0,11)=="javascript:")m=n;else m="STSNavigate('"+STSScriptEncode(n)+"')";var v=ReplaceUrlTokens(GetInnerText(s),c);x=CIMOpt(r,t,m,v,null,y)}}}function GetRootFolder2(c){ULSrLq:;var b=GetUrlKeyValue("RootFolder",false);if(c.clvp!=null&&c.clvp.rootFolder!=null)b=c.clvp.rootFolder;if(b==""||bValidSearchTerm){var a;if(itemTable)a=GetAttributeFromItemTable(itemTable,"DRef","FileDirRef");if(a!=null&&a!="")if(a.substring(0,1)=="/")b=a;else b="/"+a;else b=c.listUrlDir}return b}function GetRootFolder(b){ULSrLq:;var a=GetRootFolder2(b);return "&RootFolder="+escapeProperly(a)}function HasRights(a,b){ULSrLq:;if(currentItemPermMaskH==null){if(itemTable==null)return true;var c=GetAttributeFromItemTable(itemTable,"Perm","PermMask");if(c==null)return true;var d=itemTable.getAttribute("Author");SetCurrentPermMaskFromString(c,d)}if(!currentItemCanModify&&(EqualRights(a,b,0,4)||EqualRights(a,b,0,8)||EqualRights(a,b,1073741824,0)))return false;return (b&currentItemPermMaskL)==b&&(a&currentItemPermMaskH)==a}function EqualRights(a,c,b,d){ULSrLq:;return a==b&&c==d}function CheckIfHasRights(a,b,c,d){ULSrLq:;return (b&d)==b&&(a&c)==a}function IsTrimmedBySystem(b,c){ULSrLq:;var a=false;if(CheckIfHasRights(0,4,b,c)&&itemTable!=null){if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");a=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&ctx.CurrentUserId!=SYSTEM_ACCOUNT_ID}return a}function SetCurrentPermMaskFromString(b,c){ULSrLq:;var a=b.length;if(a<=10){currentItemPermMaskH=0;currentItemPermMaskL=parseInt(b)}else{currentItemPermMaskH=parseInt(b.substring(2,a-8),16);currentItemPermMaskL=parseInt(b.substring(a-8,a),16)}currentItemCanModify=c==null||HasRights(0,2048)||ctx.CurrentUserId==c||ctx.CurrentUserId==null||ctx.WriteSecurity==1}function AddSharedNamespaceMenuItems(f,a){ULSrLq:;var g=GetRootFolder(a);setupMenuContext(a);if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;bIsCheckout=0;if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";var e=a.displayFormUrl+c+"ID="+currentItemID+d;e=AddSourceToUrl(e)+g;if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";strImagePath="";b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);CUIInfo(b,"ViewProperties",["ViewProperties"]);if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp){if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;else strDisplayText=L_EditItem_Text;c="&";if(a.editFormUrl.indexOf("?")==-1)c="?";if(a.listBaseType==1){strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"}else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";else{strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;strAction=AddSourceToUrl(strAction)+"')"}strImagePath=a.imagesPath+"edititem.gif";b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);if(a.listBaseType==1){b.id="ID_EditProperties";CUIInfo(b,"EditProperties",["EditProperties"])}else{b.id="ID_EditItem";CUIInfo(b,"EditProperties",["EditProperties"])}if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0){var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);strDisplayText=L_EditSeriesItem_Text;strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";strImagePath=a.imagesPath+"recurrence.gif";b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);b.id="ID_EditSeriesItem"}}}function AddSolutionsCatalogMenuItems(a,h){ULSrLq:;if(HasRights(0,4))if(currentItemFSObjType!=1){var b=true,c=GetAttributeFromItemTable(itemTable,"Url",null);if(c.length>4){var i=c.substr(c.length-4).toLowerCase();if(i==".wsp"){var d=GetAttributeFromItemTable(itemTable,"SolutionHash",null),g=GetAttributeFromItemTable(itemTable,"Hash",null),f=GetAttributeFromItemTable(itemTable,"SolutionItemID",null),e=GetAttributeFromItemTable(itemTable,"Status",null),j=GetAttributeFromItemTable(itemTable,"id",null);if(d!="")if(e=="")AddSolutionMenuActivate(a);else if(d==g){if(j==f)if(e=="1"){b=false;AddSolutionMenuDeactivate(a)}else AddSolutionMenuActivate(a)}else AddSolutionMenuUpgrade(a);else b=false}}b&&AddSolutionMenuDelete(a,h)}}function AddSolutionMenuHelper(i,d,f,e,g,b,c){ULSrLq:;var a,h="if(event){event.currentItemID="+currentItemID+';}RunSolutionOperation(event, "'+f+'")';a=CAMOpt(i,d,h,e,null,g);CUIInfo(a,b,[b]);a.id=c}function AddSolutionMenuActivate(a){ULSrLq:;window.SPUserCanManageSolutions==true&&AddSolutionMenuHelper(a,L_ActivateSolution_Text,"ACT","",1210,"ActivateSolution","ID_ActivateSolution")}function AddSolutionMenuDeactivate(a){ULSrLq:;window.SPUserCanManageSolutions==true&&AddSolutionMenuHelper(a,L_DeactivateSolution_Text,"DEA","",1220,"DeactivateSolution","ID_DeactivateSolution")}function AddSolutionMenuUpgrade(a){ULSrLq:;window.SPUserCanManageSolutions==true&&AddSolutionMenuHelper(a,L_UpgradeSolution_Text,"UPG","",1230,"UpgradeSolution","ID_UpgradeSolution")}function AddSolutionMenuDelete(e,b){ULSrLq:;var a,c;currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");if(currentItemFileUrl!=null)c=escapeProperly(unescapeProperly(currentItemFileUrl));strDisplayText=L_DeleteDocItem_Text;var d="false";if(typeof itemTable.getAttribute("CSrc")!="undefined"&&itemTable.getAttribute("CSrc")!=null&&itemTable.getAttribute("CSrc")!="")d="true";strAction="DeleteDocLibItem('"+b.HttpPath+"&Cmd=Delete&List="+b.listName+"&ID="+currentItemID+"&owsfileref="+c+"&NextUsing="+GetSource()+"',"+d+")";strImagePath=b.imagesPath+"delitem.gif";a=CAMOpt(e,strDisplayText,strAction,strImagePath,null,310);a.id="ID_DeleteDocItem";CUIInfo(a,"Delete",["Delete"])}function RunSolutionOperation(b,g){ULSrLq:;if(!b&&!IsContextSet())return;var d=currentCtx?currentCtx:b.currentCtx,e=currentItemID?currentItemID:b.currentItemID,f=d.listUrlDir,i=GetSource(),a=f+"/Forms/Activate.aspx?Op="+g+"&ID="+e+"&Source="+i;if(d.listBaseType==1)a=a+GetRootFolder(d);var h=function(){ULSrLq:;var a=window.location.href,b=a.indexOf("#");if(b==-1)window.location.href=a;else window.location.href=a.substring(0,b)},j=function(){ULSrLq:;var b={url:a,args:null,width:650,height:450,dialogReturnValueCallback:h},c=SP.UI.ModalDialog.showModalDialog(b)},c;try{c=typeof SP.UI.ModalDialog.showModalDialog}catch(k){c="undefined"}EnsureScript("SP.UI.Dialog.js",c,j)}function AddDocLibMenuItems(c,a){ULSrLq:;if(typeof Custom_AddDocLibMenuItems!="undefined")if(Custom_AddDocLibMenuItems(c,a))return;var i=GetRootFolder(a),b;AddSharedNamespaceMenuItems(c,a);CAMSep(c);var d;if(currentItemFileUrl!=null)d=escapeProperly(unescapeProperly(currentItemFileUrl));var e=itemTable.getAttribute("SRed"),f=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;if(HasRights(0,4)&&HasRights(16,0)&&!f&&(e==null||e==""||HasRights(0,32)))if(a.isWebEditorPreview==0&&a.listBaseType==1)if(a.listTemplate==109&&itemTable.getAttribute("IsImage")=="1"){if(currentItemFSObjType!=1){strDisplayText=L_EditInOIS_Text;strAction="EditSingleImage('"+currentItemID+"')";strImagePath=a.imagesPath+"oisweb.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,260);b.id="ID_EditInOIS";CUIInfo(b,"EditDocument",["EditDocument"])}}else if(a.listTemplate!=119){setDocType();if(currentItemAppName!=""&&currentItemOpenControl!=""){strDisplayText="";if(currentItemAppName!=" ")strDisplayText=StBuildParam(L_EditIn_Text,currentItemAppName);else{var h=StsOpenEnsureEx2(currentItemOpenControl+".3");if(h!=null)strDisplayText=L_EditInApplication_Text}if(strDisplayText!=""){strAction="editDocumentWithProgID2('"+currentItemFileUrl+"', '"+currentItemProgId+"', '"+currentItemOpenControl+"', '"+bIsCheckout+"', '"+a.HttpRoot+"', '"+currentItemCheckedoutToLocal+"')";strImagePath=a.imagesPath+currentItemIcon;b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,260);b.id="ID_EditIn_"+currentItemAppName;CUIInfo(b,"EditDocument",["EditDocument"])}}}CAMSep(c);if(HasRights(0,4))if(currentItemFSObjType!=1)a.listBaseType==1&&AddCheckinCheckoutMenuItem(c,a,d);(a.verEnabled==1||a.isModerated)&&currentItemFSObjType!=1&&AddVersionsMenuItem(c,a,d);if(HasRights(0,4))if(a.isModerated==true&&HasRights(0,16)&&((currentItemModerationStatus==2||!a.EnableMinorVersions)&&currentItemCheckedOutUserId==""||currentItemFSObjType==1)){strDisplayText=L_ModerateItem_Text;strAction="NavigateToApproveRejectAspx(event, '"+a.HttpRoot+"/_layouts/approve.aspx?List="+a.listName+"&ID="+currentItemID;strAction=AddSourceToUrl(strAction)+GetRootFolder(a)+"')";strImagePath=a.imagesPath+"apprj.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,850);CUIInfo(b,"Moderate",["Moderate"]);b.id="ID_ModerateItem"}CAMSep(c);AddWorkflowsMenuItem(c,a);if(currentItemFSObjType!=1){if(a.PortalUrl!=null){strDisplayText=L_AddToMyLinks_Text;strAction="Portal_Tasks('PinToMyPage')";strImagePath="";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,1e3);CUIInfo(b,"AddToMyLinks",["AddToMyLinks"]);b.id="ID_AddToMyLinks"}}else a.listBaseType==1&&HasRights(16,0)&&AddWorkOfflineMenuItem(c,a,currentItemFileUrl);if(HasRights(128,0)&&typeof _spPageContextInfo!="undefined"&&_spPageContextInfo!=null&&_spPageContextInfo.alertsEnabled){strDisplayText=L_Subscribe_Text;strAction="NavigateToSubNewAspxV4(event, '"+a.HttpRoot+"', 'List="+a.listName+"&ID="+currentItemID+"')";strImagePath="";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,1100);CUIInfo(b,"Subscribe",["Subscribe"]);b.id="ID_Subscribe"}if(currentItemFSObjType!=1){AddSendSubMenu(c,a);AddGotoSourceItemMenuItem(c,a,itemTable,currentItemFSObjType);AddDocTransformSubMenu(c,a)}if(currentItemFSObjType!=1&&a.listTemplate==109&&typeof DownloadOriginalImage=="function"){strAction="DownloadOriginalImage("+currentItemID+")";strImagePath=a.imagesPath+"download.gif";strDisplayText=L_DownloadOriginal_Text;b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,550);CUIInfo(b,"DownloadOriginalImage",["DownloadOriginalImage"]);b.id="ID_DownloadOriginal"}CAMSep(c);AddManagePermsMenuItem(c,a,a.listName,currentItemID);if(HasRights(0,8)&&!f){strDisplayText=L_DeleteDocItem_Text;var g="false";if(typeof itemTable.getAttribute("CSrc")!="undefined"&&itemTable.getAttribute("CSrc")!=null&&itemTable.getAttribute("CSrc")!="")g="true";strAction="DeleteDocLibItem('"+a.HttpPath+"&Cmd=Delete&List="+a.listName+"&ID="+currentItemID+"&owsfileref="+d+"&NextUsing="+GetSource()+"',"+g+")";strImagePath=a.imagesPath+"delitem.gif";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,1190);b.id="ID_DeleteDocItem";CUIInfo(b,"Delete",["Delete"])}if(currentItemFSObjType==1&&a.ContentTypesEnabled&&a.listTemplate!=108){strDisplayText=L_CustomizeNewButton_Text;strAction="STSNavigate('"+a.HttpRoot+"/_layouts/ChangeContentTypeOrder.aspx?List="+a.listName+"&RootFolder="+d;strAction=AddSourceToUrl(strAction)+"')";strImagePath="";b=CAMOpt(c,strDisplayText,strAction,strImagePath,null,1170);CUIInfo(b,"ChangeNewButton",["ChangeNewButton"]);b.id="ID_CustomizeNewButton"}}function AddManagePermsMenuItem(e,a,c,d){ULSrLq:;if(!HasRights(1073741824,0)||currentItemIsEventsExcp||a.ExternalDataList||currentItemEvtType==5)return;strDisplayText=L_MngPerms_Text;strAction="NavigateToManagePermsPage('"+a.HttpRoot+"', '"+c+"','"+d+"')";strImagePath=a.imagesPath+"permissions16.png";var b=CAMOpt(e,strDisplayText,strAction,strImagePath,null,1160);b.id="ID_MngPerms";CUIInfo(b,"ManagePermissions",["ManagePermissions"])}function AddGotoSourceItemMenuItem(e,d,a,c){ULSrLq:;if(c!=1&&typeof a.getAttribute("CSrc")!="undefined"&&a.getAttribute("CSrc")!=null&&a.getAttribute("CSrc")!=""){strDisplayText=L_GoToSourceItem_Text;strAction="NavigateToSourceItem(event, '"+STSScriptEncode(a.getAttribute("CSrc"))+"')";strImagePath=d.imagesPath+"goToOriginal.gif";var b=CAMOpt(e,strDisplayText,strAction,strImagePath,null,440);b.id="ID_GoToSourceItem";CUIInfo(b,"GotoSourceItem",["GotoSourceItem"])}}function CheckoutSingleItemFromECB(b,c){ULSrLq:;var a;try{a=typeof inplview.CheckOutSingleItem}catch(g){a="undefined"}if(a!="undefined")inplview.CheckOutSingleItem(b,c);else{var f="inplview.CheckOutSingleItem",d=f.split(".");if(d.length>1){var e=function(){ULSrLq:;inplview.CheckOutSingleItem(b,c)};EnsureScript(d[0],a,e)}}}function AddCheckinCheckoutMenuItem(d,a,c){ULSrLq:;var b;if(!HasRights(0,4))return;if(currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID)return;if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");if(currentItemCheckedOutUserId!=""){if(currentItemCheckedOutUserId==a.CurrentUserId||a.CurrentUserId==null||HasRights(0,256)){strDisplayText=L_Checkin_Text;if(!FV4UI()||a.listTemplate==109)strAction="NavigateToCheckinAspx('"+a.HttpRoot+"', 'List="+a.listName+"&FileName="+c+"')";else strAction="CheckInSingleItemFromECB_Stub(event, currentCtx, itemTable)";strImagePath=a.imagesPath+"checkin.gif";b=CAMOpt(d,strDisplayText,strAction,strImagePath,null,300);b.id="ID_Checkin";CUIInfo(b,"CheckIn",["CheckIn"]);strDisplayText=L_DiscardCheckou_Text;strAction="UnDoCheckOutwithNotification('"+a.HttpRoot+"', '"+c+"')";strImagePath=a.imagesPath+"unchkout.gif";b=CAMOpt(d,strDisplayText,strAction,strImagePath,null,310);b.id="ID_DiscardCheckou";CUIInfo(b,"DiscardCheckOut",["DiscardCheckOut"])}}else if(typeof g_disableCheckoutInEditMode=="undefined"||!g_disableCheckoutInEditMode){strDisplayText=L_Checkout_Text;currentItemOpenControl==""&&setDocType();var h="";if(a.listTemplate!=109)h=currentItemOpenControl+".3";var g=itemTable.getAttribute("SRed");if(g==null||g==""||HasRights(0,32)){if(!FV4UI()||a.listTemplate==109)strAction="CheckoutDocument('"+a.HttpRoot+"', '"+c+"', '"+h+"')";else strAction="CheckoutSingleItemFromECB(currentCtx, itemTable)";strImagePath=a.imagesPath+"checkout.gif";b=CAMOpt(d,strDisplayText,strAction,strImagePath,null,300);b.id="ID_Checkout";CUIInfo(b,"CheckOut",["CheckOut"])}if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");if(a.EnableMinorVersions){if(currentItemUIString==null)currentItemUIString=GetAttributeFromItemTable(itemTable,"UIS","UIString");var i=currentItemUIString%512;if((currentItemModerationStatus==1||currentItemModerationStatus==3)&&a.isModerated||!a.isModerated&&i!=0){strDisplayText=L_PublishItem_Text;strAction="PublishMajorVersion(event, '"+a.HttpRoot+"', 'List="+a.listName+"&FileName="+c+"&Publish=true')";strImagePath=a.imagesPath+"pubmajor.gif";b=CAMOpt(d,strDisplayText,strAction,strImagePath,null,320);CUIInfo(b,"Publish",["Publish"]);b.id="ID_PublishItem"}else{var f,e=false;if(!a.isModerated||currentItemModerationStatus==0){strDisplayText=L_UnPublishItem_Text;f="ID_UnPublishItem";strImagePath=a.imagesPath+"unpub.gif"}else{strDisplayText=L_CancelPublish_Text;f="ID_CancelPublish";strImagePath=a.imagesPath+"unapprv.gif";e=true}strAction="UnPublish('"+a.HttpRoot+"', 'FileName="+c+"&UnPublish=true',"+e+")";b=CAMOpt(d,strDisplayText,strAction,strImagePath,null,330);if(e)CUIInfo(b,"CancelApproval",["CancelApproval"]);else CUIInfo(b,"Unpublish",["Unpublish"]);b.id=f}}}}function AddWorkflowsMenuItem(h,a){ULSrLq:;if(a.WorkflowsAssociated&&HasRights(0,4)){var f=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");if(f==null||f.substr(0,8)!="0x010801"){var g=a.imagesPath+"workflows.gif",c,d=(""+currentItemID).indexOf(".0.");if(d>0)c=currentItemID.substr(0,d);else c=currentItemID;var b="STSNavigate('"+a.HttpRoot+"/_layouts/Workflow.aspx?ID="+c+"&List="+a.listName;b=AddSourceToUrl(b)+"')";var e=CAMOpt(h,L_Workflows_Text,b,g,null,900);CUIInfo(e,"ViewWorkflows",["ViewWorkflows"]);e.id="ID_Workflows"}}}function AddWorkspaceMenuItem(d,b){ULSrLq:;var a,c=GetAttributeFromItemTable(itemTable,"SUrl","SourceUrl");if(c!=null&&c!=""&&c!="%20"){if(HasRights(0,135168)){strAction="STSNavigate('"+b.HttpRoot+"/_layouts/publishback.aspx?list="+b.listName+"&item="+currentItemID+GetRootFolder(b)+"')";a=CAMOpt(d,L_PublishBack_Text,strAction,"",null,1140);CUIInfo(a,"PublishBack",["PublishBack"]);a.id="ID_PublishBack"}}else if(HasRights(0,8388608)&&HasRights(0,135168)&&HasRights(0,67108864)){strAction="STSNavigate('"+b.HttpRoot+"/_layouts/createws.aspx?list="+b.listName+"&item="+currentItemID+GetRootFolder(b)+"')";a=CAMOpt(d,L_CreateDWS_Text,strAction,"",null,1140);CUIInfo(a,"CreateDocumentWorkspace",["CreateDocumentWorkspace"]);a.id="ID_CreateDWS"}}function AddVersionsMenuItem(f,a,e){ULSrLq:;if(currentItemID!=null){var d=currentItemID.toString();if(d.indexOf(".0.")>=0)return}var b=currentItemID;if(currentItemIsEventsExcp)if(currentItemID.indexOf(".")!=-1)b=currentItemID.split(".")[0];if(!HasRights(0,64))return;strDisplayText=L_Versions_Text;strAction="NavigateToVersionsAspxV4(event, '"+a.HttpRoot+"', 'list="+a.listName+"&ID="+b+"&FileName="+e+"')";strImagePath=a.imagesPath+"versions.gif";var c=CAMOpt(f,strDisplayText,strAction,strImagePath,null,800);CUIInfo(c,"ViewVersions",["ViewVersions"]);c.id="ID_Versions"}function AddWorkOfflineMenuItem(e,a,d){ULSrLq:;var b=GetStssyncData("documents",L_WorkOffline_Text,a.imagesPath+"tbsprsht.gif",a.imagesPath);if(b){strDisplayText=b.BtnText;strImagePath=b.BtnImagePath;if(strDisplayText){var c="";if(a.SiteTitle!=null)c=STSScriptEncode(a.SiteTitle);strAction="javascript:ExportHailStorm('documents','"+a.HttpRoot+"','"+STSScriptEncode(a.listName)+"','"+STSScriptEncode(c)+"','"+STSScriptEncode(a.ListTitle)+"','"+STSScriptEncode(a.listUrlDir)+"','','"+STSScriptEncode(unescapeProperly(a.listUrlDir))+"'";strAction+=",'"+STSScriptEncode(unescapeProperly(d))+"','"+currentItemID+"')";menuOption=CAMOpt(e,strDisplayText,strAction,strImagePath);CUIInfo(menuOption,"ConnectFolderToClient",["ConnectFolderToClient"]);menuOption.id="ID_WorkOffline"}}}function AddVersionMenuItems(b,a){ULSrLq:;typeof AddVersionMenuItemsCore=="function"&&AddVersionMenuItemsCore(b,a)}function NavigateToApproveRejectAspx(b,a){ULSrLq:;if(FV4UI())ShowInPopUI(b,currentCtx,a);else STSNavigate(a)}function PublishMajorVersion(d,b,c){ULSrLq:;var a=b+"/_layouts/Checkin.aspx?"+c;a=AddSourceToUrl(a);if(FV4UI())ShowInPopUI(d,currentCtx,a);else SubmitFormPost(a)}function _NavigateToSubNewAspx(b,c){ULSrLq:;var a=b+"/_layouts/SubNew.aspx?"+c;a=AddSourceToUrl(a);STSNavigate(a)}function NavigateToSubNewAspxV4(d,b,c){ULSrLq:;var a=b+"/_layouts/SubNew.aspx?"+c;a=AddSourceToUrl(a);if(FV4UI())ShowInPopUI(d,currentCtx,a);else STSNavigate(a)}function NavigateToVersionsAspx(b,c){ULSrLq:;var a=b+"/_layouts/Versions.aspx?"+c;a=AddSourceToUrl(a);STSNavigate(a)}function NavigateToVersionsAspxV4(d,b,c){ULSrLq:;var a=b+"/_layouts/Versions.aspx?"+c;a=AddSourceToUrl(a);if(FV4UI())ShowInPopUI(d,currentCtx,a);else STSNavigate(a)}function NavigateToSendToOtherLocationV4(b,a){ULSrLq:;if(FV4UI())ShowInPopUI(b,currentCtx,a);else STSNavigate(a)}var L_UndoCheckoutWarning_Text="If you discard your check out, you will lose all changes made to the document.  Are you sure you want to discard your check out?",L_UnPublishWarning_Text=" Are you sure you want to unpublish this version of the document?",L_CancleApproval_TEXT=" Are you sure that you want to cancel the approval of this document?";function UnDoCheckOutwithNotification(a,c){ULSrLq:;var b=UnDoCheckOut(a,c);if(b){var d=L_Notification_DiscardCheckOut;addNotification(d,true)}}function UnDoCheckOut(f,c){ULSrLq:;try{var b=null,e=SzExtension(unescapeProperly(c));if(FSupportCheckoutToLocal(e))b=StsOpenEnsureEx2("SharePoint.OpenDocuments.3");if(b!=null){var a=unescapeProperly(c);if(a.charAt(0)=="/")a=document.location.protocol+"//"+document.location.host+a;var d=b.DiscardLocalCheckout(a);if(d){SetWindowRefreshOnFocus();return d}if(IsSupportedMacBrowser()||IsSupportedFirefoxOnWin()){if(!confirm(L_UndoCheckoutWarning_Text))return false}else return d}else if(!confirm(L_UndoCheckoutWarning_Text))return false}catch(g){}NavigateToCheckinAspx(f,"FileName="+c+"&DiscardCheckout=true");return true}function UnPublish(c,d,b){ULSrLq:;var a=L_UnPublishWarning_Text;if(b)a=L_CancleApproval_TEXT;if(!confirm(a))return;NavigateToCheckinAspx(c,d)}function NavigateToCheckinAspx(b,c){ULSrLq:;var a=b+"/_layouts/Checkin.aspx?"+c;a=AddSourceToUrl(a);SubmitFormPost(a)}function CheckInSingleItemFromECB_Stub(c,b,d){ULSrLq:;var a;try{a=typeof inplview.CheckInSingleItemFromECB}catch(h){a="undefined"}if(a!="undefined")inplview.CheckInSingleItemFromECB(c,b,d);else{var g="inplview.CheckInSingleItemFromECB",e=g.split(".");if(e.length>1){var f=function(){ULSrLq:;inplview.CheckInSingleItemFromECB(c,b,d)};EnsureScript(e[0],a,f)}}}function _NavigateToManagePermsPage(a,c,b){ULSrLq:;NavigateToManagePermsPageEx(a,c,b,false)}function NavigateToManagePermsPageEx(c,b,d,f){ULSrLq:;var e=",LISTITEM",a=c+"/_layouts/User.aspx?obj="+b+","+d+e+"&List="+b;a=AddSourceToUrl(a);if(f)window.frameElement.navigateParent(a);else STSNavigate(a)}function NavigateToSourceItem(e,a){ULSrLq:;var d=a.match(/[^\/]*\/\/[^\/]*/g),c=d[0];a=escapeProperly(a);var b=c+"/_layouts/copyutil.aspx?GoToDispForm=1&Use=url&ItemUrl="+a;b=AddSourceToUrl(b);STSNavigate(b)}function setDocType(){ULSrLq:;var a=GetAttributeFromItemTable(itemTable,"Icon","DocIcon");a=a?a.split("|"):[];currentItemIcon=a[0];currentItemAppName=a[1];currentItemOpenControl=a[2];currentItemProgId=GetAttributeFromItemTable(itemTable,"Type","HTMLType")}function DeleteListItem(){ULSrLq:;if(!IsContextSet())return;var b=currentCtx,e=currentItemID,g=currentItemFSObjType,c=L_STSRecycleConfirm_Text;if(!b.RecycleBinEnabled||b.ExternalDataList)c=L_STSDelConfirm_Text;if(b.HasRelatedCascadeLists&&b.CascadeDeleteWarningMessage!=null)c=b.CascadeDeleteWarningMessage+c;if(confirm(c)){var h=L_Notification_Delete,f=addNotification(h,true),a=b.clvp;if(b.ExternalDataList&&a!=null){a.DeleteItemCore(e,g,false);a.pendingItems=[];a.cctx.executeQueryAsync(function(){ULSrLq:;if(typeof a.rgehs!="undefined"){if(a.rgehs.length==1&&a.rgehs[0].get_serverErrorCode()==SP.ClientErrorCodes.redirect){GoToPage(a.rgehs[0].get_serverErrorValue());return}removeNotification(f);a.ShowErrorDialog(RefreshOnDialogClose)}else RefreshPage(SP.UI.DialogResult.OK)},function(){ULSrLq:;removeNotification(f);typeof a.rgehs!="undefined"&&a.ShowErrorDialog()})}else{var d=b.HttpPath+"&Cmd=Delete&List="+b.listName+"&ID="+e+"&NextUsing="+GetSource();if(null!=currentItemContentTypeId)d+="&ContentTypeId="+currentItemContentTypeId;SubmitFormPost(d)}}}function DeleteDocLibItem(d,e){ULSrLq:;if(!IsContextSet())return;var b=currentCtx,h=currentItemID,g=currentItemFSObjType,a,c=false;if(currentItemFSObjType==1){if(currentItemContentTypeId!=null){d+="&ContentTypeId="+currentItemContentTypeId;if(currentItemContentTypeId.substr(0,8).toLowerCase()=="0x0120d5")c=true}if(c)a=b.RecycleBinEnabled?L_STSRecycleConfirm2_Text:L_STSDelConfirm2_Text;else a=b.RecycleBinEnabled?L_STSRecycleConfirm1_Text:L_STSDelConfirm1_Text}else a=b.RecycleBinEnabled?L_STSRecycleConfirm_Text:L_STSDelConfirm_Text;if(b.HasRelatedCascadeLists&&b.CascadeDeleteWarningMessage!=null)a=b.CascadeDeleteWarningMessage+a;if(e&&currentItemFSObjType!=1)a=L_NotifyThisIsCopy_Text+a;if(confirm(a)){var f=L_Notification_Delete;addNotification(f,true);SubmitFormPost(d,false,true)}}function EditMenuDefaultForOnclick(){ULSrLq:;if(!IsContextSet())return;var a=currentCtx;if(a.isVersions)STSNavigate(itemTable.getAttribute("verUrl"));else if(a.listTemplate==200){var b=currentItemID;MtgNavigate(b)}else EditListItem()}function EditListItem(){ULSrLq:;if(event.srcElement.tagName=="A"||event.srcElement.parentNode.tagName=="A")return;if(!IsContextSet())return;var b=currentCtx,c="&";if(b.editFormUrl.indexOf("?")==-1)c="?";var a=b.editFormUrl+c+"ID="+currentItemID;a=AddSourceToUrl(a);if(b.listBaseType==1)a=a+GetRootFolder(b);STSNavigate2(event,a)}function _DoNavigateToTemplateGallery(a,b){ULSrLq:;document.cookie="MSOffice_AWS_DefSaveLoc="+a;STSNavigate(b)}function Portal_Tasks(j){ULSrLq:;if(!IsContextSet())return;var b=currentCtx,g=unescapeProperly(currentItemFileUrl),c=0,d=0;c=g.lastIndexOf("/");d=g.lastIndexOf(".");if(c<0||d<0||c>d)return;var i=g.substr(c+1,d-c-1),f="";c=b.HttpRoot.indexOf("://");if(c>0){d=b.HttpRoot.indexOf("/",c+3);if(d>0)f=b.HttpRoot.substring(0,d);else f=b.HttpRoot}var e="";if(currentItemFileUrl.charAt(0)=="/"||currentItemFileUrl.substr(0,3).toLowerCase()=="%2f")e=f+currentItemFileUrl;else e=currentItemFileUrl;var a="";if(false==setElementValue("ListViewURL",e))a=a+"&ListViewURL="+escapeProperly(e);if(false==setElementValue("ListTitle",i))a=a+"&ListTitle="+escapeProperly(i);if(false==setElementValue("ListDescription",""))a=a+"&ListDescription=";if(false==setElementValue("ReturnUrl",window.location.href))a=a+"&ReturnUrl="+escapeProperly(window.location.href);if(b.PortalUrl.substr(0,4)!="http")b.PortalUrl=f+b.PortalUrl;var h=b.PortalUrl+"_vti_bin/portalapi.aspx?cmd="+j;h=h+"&IconUrl="+b.imagesPath+currentItemIcon+a;SubmitFormPost(h)}function IsContextSet(){ULSrLq:;if(currentCtx==null)return false;else if(currentCtx.isExplictLogin)return true;else if(currentCtx.HttpPath==null||currentItemID==null)return false;return true}function ChangeContentType(d){ULSrLq:;var b=document.getElementById(d),a=window.location.href,e=a.indexOf("?");if(a.indexOf("?")<=0)a=a+"?ContentTypeId="+b.value;else if(a.indexOf("&ContentTypeId=")<=0)a=a+"&ContentTypeId="+b.value;else{var c=/&ContentTypeId=[^&]*/i;a=a.replace(c,"&ContentTypeId="+b.value)}STSNavigate(a)}function _TopHelpButtonClick(a){ULSrLq:;if(typeof navBarHelpOverrideKey!="undefined")return HelpWindowKey(navBarHelpOverrideKey);if(a!=null)HelpWindowKey(a);else HelpWindowKey("HelpHome")}function HelpWindowHelper(d){ULSrLq:;var c;if(typeof d=="undefined")c="?Lcid="+L_Language_Text;else c="?Lcid="+L_Language_Text+d;var b;if(typeof ctx=="undefined"||ctx==null)if(typeof currentCtx!="undefined"&&currentCtx!=null)ctx=currentCtx;else if(typeof ctxFilter!="undefined"&&ctxFilter!=null)ctx=ctxFilter;if(typeof ctx!="undefined"&&ctx!=null&&typeof ctx.HttpRoot!="undefined"&&ctx.HttpRoot!=null){var a=ctx.HttpRoot;if(a.charAt(a.length-1)!="/")a=a+"/";b=a+"_layouts/help.aspx"}if(b==null&&typeof _spPageContextInfo!="undefined"&&_spPageContextInfo!=null&&typeof _spPageContextInfo.webServerRelativeUrl!="undefined"&&_spPageContextInfo.webServerRelativeUrl!=null){var a=_spPageContextInfo.webServerRelativeUrl;if(a.charAt(a.length-1)!="/")a=a+"/";b=a+"_layouts/help.aspx"}if(b==null){b="/_layouts/help.aspx";c=c+"&Source="+escapeProperly(window.location.href)}var e=window.open(b+c,"STSHELP","height=500,location=no,menubar=no,resizable=yes,scrollbars=no,status=yes,toolbar=no,width=475");e.focus()}function _HelpWindowKey(a){ULSrLq:;if(a!=null)HelpWindowHelper("&Key="+a+"&ShowNav=true");else HelpWindowHelper("&Key=HelpHome&ShowNav=true")}function _HelpWindowUrl(a){ULSrLq:;HelpWindowHelper("&Url="+a)}function _HelpWindow(){ULSrLq:;HelpWindowKey("HelpHome")}var L_EmptySlideShow_Text="No pictures found in the library. Add pictures and try again.",L_NotOurView_Text="This operation cannot be completed within current view. Please select another view and try again.";function EditSelectedImages(){ULSrLq:;if(!IsImgLibJssLoaded()){alert(L_NotOurView_Text);return}_EditSelectedImages()}function DeleteImages(){ULSrLq:;if(!IsImgLibJssLoaded()){alert(L_NotOurView_Text);return}_DeleteImages()}function SendImages(){ULSrLq:;if(!IsImgLibJssLoaded()){alert(L_NotOurView_Text);return}_SendImages()}function DownloadImages(){ULSrLq:;if(!IsImgLibJssLoaded()){alert(L_NotOurView_Text);return}_DownloadImages()}function MtgToggleTimeZone(){ULSrLq:;var b=document.getElementById("TimeZoneSection"),a=document.getElementById("TimeZoneLink"),L_ShowTZ_Text="Show time zone",L_HideTZ_Text="Hide time zone";if(b.style.display=="none"){b.style.display="";a.innerHTML="&lt;&lt;";a.title=L_HideTZ_Text;SetCookie("MtgTimeZone","1","")}else{b.style.display="none";a.innerHTML="&gt;&gt;";a.title=L_ShowTZ_Text;SetCookie("MtgTimeZone","0","")}}function GetPageUrl(a){ULSrLq:;return unescapeProperly(a?g_webUrl:g_pageUrl)}function MtgNavigate(a){ULSrLq:;if(a==g_instanceId)return;var b=!g_fPageGlobal;window.location.href=GetPageUrl(b)+"?InstanceID="+a+"&"+g_thispagedata}function GoToMtgMove(d,c,b,a){ULSrLq:;window.location.href=d+"/movetodt.aspx?FromInstanceID="+c+"&FromInstanceDate="+escapeProperly(b)+"&FromInstanceDateISO="+escapeProperly(a)+"&Source="+escapeProperly(window.location.href)}function MtgKeep(b,c,a){ULSrLq:;var L_MtgKeepConfirm_Text="The information for this meeting date does not match the information in your calendar and scheduling program. If you keep this meeting date, it will continue to appear in the Meeting Series list in the workspace.";confirm(L_MtgKeepConfirm_Text)&&SubmitFormPost(b+"&Cmd=MtgKeep&List="+escapeProperly(c)+"&EditInstanceID="+a+"&NextUsing="+escapeProperly(window.location.href))}function MtgDelete(c,d,a){ULSrLq:;var L_MtgDeleteConfirm_Text="This meeting date and the content associated with it will be deleted from the workspace.";if(confirm(L_MtgDeleteConfirm_Text)){var b=a==g_instanceId;SubmitFormPost(c+"&Cmd=MtgMove&List="+escapeProperly(d)+"&FromInstanceID="+a+"&ToInstanceID=-3&NextUsing="+escapeProperly(b?GetPageUrl(true):window.location.href))}}function SetCookie(b,a,c){ULSrLq:;document.cookie=b+"="+a+";path="+c}function SetAsLastTabVisited(){ULSrLq:;typeof g_pageUrl!="undefined"&&typeof g_webUrl!="undefined"&&SetCookie("MtgLastTabVisited",escapeProperly(unescapeProperly(g_pageUrl)),escapeProperlyCore(unescapeProperly(g_webUrl),true))}function MtgRedirect(){ULSrLq:;var a=GetCookie("MtgLastTabVisited");if(a==null)if(typeof g_webUrl!="undefined")a=g_webUrl;else a="../../";else a=escapeProperlyCore(a,true);window.location.href=a}function MakeMtgInstanceUrl(a,c){ULSrLq:;if(c!="undefined"&&c!=""){var b=a.indexOf("?");if(b==-1||a.indexOf("InstanceID=",b)==-1)a=a+(b==-1?"?":"&")+"InstanceID="+c}return a}var filterTable=null,bIsFilterMenuShown=false,bIsFilterDataLoaded=false,filterImageCell=null,currentFilterMenu=null,loadingFilterMenu=null,ctxFilter=null,bIsFilterKeyPress=false,filterStr=null,strFieldName="",bMenuLoadInProgress=false,strFilteredValue=null,fnOnFilterMouseOut=null,L_NotSortable_Text="This column type cannot be sorted",L_NotFilterable_Text="This column type cannot be filtered",L_AOnTop_Text="A on Top",L_ZOnTop_Text="Z on Top",L_SmallestOnTop_Text="Smallest on Top",L_LargestOnTop_Text="Largest on Top",L_OldestOnTop_Text="Oldest on Top",L_NewestOnTop_Text="Newest on Top",L_AttachmentsOnTop_Text="Attachments on Top",L_BlanksOnTop_Text="Blanks on Top",L_Ascending_Text="Ascending",L_Descending_Text="Descending",L_DontFilterBy_Text="Clear Filter from ^1",L_Loading_Text="Loading....",L_FilterMode_Text="Show Filter Choices",L_OpenMenu_Text="Open Menu",L_FilterThrottled_Text="Cannot show the value of the filter. The field may not be filterable, or the number of items returned exceeds the list view threshold enforced by the administrator.";function resetFilterMenuState(){ULSrLq:;if(bMenuLoadInProgress)return;bIsFilterMenuShown=false;bIsFilterDataLoaded=false;filterTable=null;filterImageCell=null;currentFilterMenu=null;loadingFilterMenu=null;ctxFilter=null;bIsFilterKeyPress=false;fnOnFilterMouseOut!=null&&fnOnFilterMouseOut();fnOnFilterMouseOut=null}function setupFilterMenuContext(a){ULSrLq:;ctxFilter=a}function IsFilterMenuOn(){ULSrLq:;if(!bIsFilterMenuShown)return false;var a=false;a=MenuHtc_isOpen(currentFilterMenu)||MenuHtc_isOpen(loadingFilterMenu);if(!a)bIsFilterMenuShown=false;return a}function IsFilterMenuEnabled(){ULSrLq:;return true}function OnMouseOverFilterDeferCall(a){ULSrLq:;if(!IsFilterMenuEnabled())return false;if(IsFilterMenuOn()||bMenuLoadInProgress)return false;if(window.location.href.search("[?&]Filter=1")!=-1)return false;if(a.FilterDisable=="TRUE")return false;if(IsFieldNotFilterable(a)&&IsFieldNotSortable(a))return false;if(filterTable==a)return;filterTable!=null&&OnMouseOutFilter();filterTable=a;var e=filterTable.tagName=="TABLE",f=new Function("setupFilterMenuContext(ctx"+filterTable.getAttribute("CtxNum")+");");f();if(e){filterTable.className="ms-selectedtitle";filterTable.onclick=CreateFilterMenu;filterTable.oncontextmenu=CreateFilterMenu;filterTable.onmouseout=OnMouseOutFilter}else{var b=filterTable.parentNode;b.onclick=CreateFilterMenu;b.oncontextmenu=CreateFilterMenu;b.onmouseout=OnMouseOutFilter;CreateCtxImg(b,OnMouseOutFilter)}if(e){var d=filterTable.childNodes[0].childNodes[0];filterImageCell=d.childNodes[d.childNodes.length-1];var c=filterImageCell.childNodes[0];c.src=ctxFilter.imagesPath+"menudark.gif";c.alt=L_OpenMenu_Text;c.style.visibility="visible";if(IsElementRtl(filterTable)){filterImageCell.style.right=null;filterImageCell.style.left="1px"}else{filterImageCell.style.left=null;filterImageCell.style.right="1px"}filterImageCell.className="ms-menuimagecell"}return true}function OnMouseOutFilter(b){ULSrLq:;if(!IsFilterMenuOn()&&filterTable!=null&&!bMenuLoadInProgress){var c=filterTable.tagName=="TABLE",a=filterTable.parentNode;if(c||a==null){filterTable.className="ms-unselectedtitle";filterTable.onclick="";filterTable.oncontextmenu="";filterTable.onmouseout=""}else{if(b==null)b=window.event;if(b!=null){var d=b.toElement!=null?b.toElement:b.relatedTarget;if(a!=null&&d!=null&&IsContained(d,a))return}a.onclick="";a.oncontextmenu="";a.onmouseout="";RemoveCtxImg(a)}if(c&&filterImageCell!=null&&filterImageCell.childNodes.length>0){filterImageCell.childNodes[0].style.visibility="hidden";filterImageCell.className=""}resetFilterMenuState()}}function _OnFocusFilter(a){ULSrLq:;if(window.location.href.search("[?&]Filter=1")!=-1)return false;if(!IsFilterMenuEnabled())return false;a.onfocusout=OnMouseOutFilter;a.onkeydown=PopFilterMenu;var b=a.getAttribute("FilterString");if(b!=null)filterStr=b;var c=FindSTSMenuTable(a,"CTXNum");if(c==null)return false;OnMouseOverFilter(c);return false}function PopFilterMenu(a){ULSrLq:;if(!IsFilterMenuEnabled())return true;if(a==null)a=window.event;var b;if(browseris.nav6up)b=a.which;else b=a.keyCode;if(!IsFilterMenuOn()&&(a.shiftKey&&b==13||a.altKey&&b==40)){var d=a.srcElement?a.srcElement:a.target,c=FindSTSMenuTable(d,"CTXNum");if(c==null)return false;OnMouseOverFilterDeferCall(c);CreateFilterMenu(a);return false}else return true}function CreateFilterMenu(b){ULSrLq:;if(filterTable==null||filterTable.tagName=="TABLE"&&filterImageCell==null)return true;var c=filterTable.tagName=="DIV"?filterTable.parentNode:filterTable,a=FindCtxImg(c);a!=null&&a.shown==false&&ShowCtxImg(a,true,c);if(b==null)b=window.event;bIsFilterMenuShown=true;window.document.body.onclick="";currentFilterMenu=CMenu("filter_menu");loadingFilterMenu=CMenu("filter_menu_loading");currentFilterMenu.setAttribute("CompactMode","true");addSortMenuItems(currentFilterMenu,loadingFilterMenu);if(filterStr==null)addFilterMenuItems(currentFilterMenu,loadingFilterMenu);else addAdHocFilterMenuItems(currentFilterMenu,loadingFilterMenu);b.cancelBubble=true;return false}function GetUrlWithNoSortParameters(e){ULSrLq:;var a=window.location.href,h=new CUrl(a);h.hash="";a=h.ToString();var b,f=0,d,g;do{d=e.indexOf("=",f);if(d==-1)return a;b=e.substring(f,d);if(b!="");a=RemoveQueryParameterFromUrl(a,b);if(typeof b=="string"&&b.length>"FilterField".length&&b.substring(0,"FilterField".length)=="FilterField"){var c=b.substring("FilterField".length);a=RemoveQueryParameterFromUrl(a,"FilterValue"+c);a=RemoveQueryParameterFromUrl(a,"FilterLookupId"+c);a=RemoveQueryParameterFromUrl(a,"FilterOp"+c);a=RemoveQueryParameterFromUrl(a,"FilterData"+c)}g=e.indexOf("&",d+1);if(g==-1)return a;f=g+1}while(b!="");return a}function IsFieldNotSortable(a){ULSrLq:;if(a.getAttribute("Sortable")=="FALSE"||a.getAttribute("SortDisable")=="TRUE"||a.getAttribute("FieldType")=="MultiChoice")return true;return false}function addSortMenuItems(b,a){ULSrLq:;if(IsFieldNotSortable(filterTable)){CAMOptFilter(b,a,L_NotSortable_Text,"","",false,"fmi_ns");CAMSep(b);CAMSep(a);return}var c="",e="",d="",f="/_layouts/"+L_Language_Text+"/images/SORTAZLang.gif",g="/_layouts/"+L_Language_Text+"/images/SORTZALang.gif";if(filterStr==null){var i=filterTable.getAttribute("SortFields"),l=new CUrl(i);if(l.query.length>0)i=l.query.substr(1);var q=i.indexOf("&SortDir");if(q==-1){CAMOptFilter(b,a,L_NotSortable_Text,"","",false,"fmi_ns");CAMSep(b);CAMSep(a);return}var p=i.indexOf("&",q+1),s=GetUrlWithNoSortParameters(i);s=RemovePagingArgs(s);l=new CUrl(s);var h=l.query;if(h.length>1)h+="&";else if(h.length==0)h+="?";var w=h;if(p<0)p=i.length;h+=i.substr(0,q)+"&SortDir=Asc"+i.substr(p);l.query=h;c="HandleFilter(event, '"+STSScriptEncode(l.ToString())+"');";h=w;h+=i.substr(0,q)+"&SortDir=Desc"+i.substr(p);l.query=h;e="HandleFilter(event, '"+STSScriptEncode(l.ToString())+"');";if(c.indexOf("?")>=0)if(c.substr(c.indexOf("?")+1).indexOf("?")>=0)debugger;var d=filterTable.getAttribute("FieldType");strFieldName=filterTable.getAttribute("Name")}else{var r=" ",k=filterStr.lastIndexOf(r);d=filterStr.substring(k+1);if(d.substring(0,2)=="x:")d=d.substring(2);var n=filterStr.substring(0,k);k=n.lastIndexOf(r);strFieldName=n.substring(k+1);if(strFieldName.substring(0,1)=="@")strFieldName=strFieldName.substring(1);n=filterStr.substring(0,k);k=n.lastIndexOf(r);if(k>0)strFieldName=n.substring(0,k);var v=filterTable.tagName=="TABLE",j=null;if(v){var u=filterTable.childNodes[0].childNodes[0],j=u.childNodes[0].childNodes[0];if(j.tagName=="TABLE")j=j.childNodes[0].childNodes[0].childNodes[1].childNodes[0]}else j=filterTable.firstChild;if(j.tagName=="DIV")j=j.childNodes[0];var m=j.href;m=m.replace(/%20/g," ");if(m.indexOf("'ascending'")>0){c=m;e=m.replace("'ascending'","'descending'")}else{e=m;c=m.replace("'descending'","'ascending'")}}d=d.toLowerCase();if(d=="dateTime"){CAMOptFilter(b,a,L_OldestOnTop_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_NewestOnTop_Text,e,g,true,"fmi_desc")}else if(d=="integer"||d=="number"||d=="currency"){CAMOptFilter(b,a,L_SmallestOnTop_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_LargestOnTop_Text,e,g,true,"fmi_desc")}else if(d=="text"||d=="user"||d=="string"){CAMOptFilter(b,a,L_AOnTop_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_ZOnTop_Text,e,g,true,"fmi_desc")}else if(d=="calculated"){var o=filterTable.getAttribute("ResultType");if(o=="Number"||o=="Currency"){CAMOptFilter(b,a,L_SmallestOnTop_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_LargestOnTop_Text,e,g,true,"fmi_desc")}else if(o=="dateTime"){CAMOptFilter(b,a,L_OldestOnTop_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_NewestOnTop_Text,e,g,true,"fmi_desc")}else if(o=="boolean"){CAMOptFilter(b,a,L_Ascending_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_Descending_Text,e,g,true,"fmi_desc")}else{CAMOptFilter(b,a,L_AOnTop_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_ZOnTop_Text,e,g,true,"fmi_desc")}}else if(d=="attachments"){CAMOptFilter(b,a,L_BlanksOnTop_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_AttachmentsOnTop_Text,e,g,true,"fmi_desc")}else if(d=="lookup"){var t=filterTable.getAttribute("Name");if(t=="Last_x0020_Modified"||t=="Created_x0020_Date"){CAMOptFilter(b,a,L_OldestOnTop_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_NewestOnTop_Text,e,g,true,"fmi_desc")}else{CAMOptFilter(b,a,L_Ascending_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_Descending_Text,e,g,true,"fmi_desc")}}else{CAMOptFilter(b,a,L_Ascending_Text,c,f,true,"fmi_asc");CAMOptFilter(b,a,L_Descending_Text,e,g,true,"fmi_desc")}CAMSep(b);CAMSep(a)}function CAMOptFilter(h,g,d,f,c,b,e){ULSrLq:;var a;a=CAMOpt(h,d,f,c);a.id=e;!b&&a.setAttribute("enabled","false");a=CAMOpt(g,d,f,c);a.id=e+"_p";!b&&a.setAttribute("enabled","false")}function ShowFilterLoadingMenu(){ULSrLq:;!bIsFilterDataLoaded&&filterTable!=null&&FilterOMenu(loadingFilterMenu,filterTable)}function getFilterQueryParam(){ULSrLq:;var d=document.getElementById("FilterIframe"+filterTable.getAttribute("CtxNum"));if(d==null)return;var e=d.getAttribute("FilterLink"),f=escapeProperly(filterTable.getAttribute("Name")),b="",c=0,a;do{c++;a=e.match("FilterField"+c+"=[^&]*&FilterValue"+c+"=[^&]*");if(a!=null)b=b+"&"+a}while(a);return b}function IsFieldNotFilterable(a){ULSrLq:;if(a.getAttribute("Filterable")=="FALSE"||a.getAttribute("FilterDisable")=="TRUE"||a.getAttribute("FieldType ")=="Note"||a.getAttribute("FieldType ")=="URL")return true;return false}function addFilteringDisabledMenuItem(b){ULSrLq:;var a=filterTable.getAttribute("FilterDisableMessage");if(a==null||a.length==0)a=L_NotFilterable_Text;var c=CAMOpt(b,a,"");c.setAttribute("enabled","false");FilterOMenu(b,filterTable);b._onDestroy=OnMouseOutFilter}function addFilterMenuItems(m,j){ULSrLq:;if(IsFieldNotFilterable(filterTable)){addFilteringDisabledMenuItem(m);return}var d=document.getElementById("FilterIframe"+filterTable.getAttribute("CtxNum"));if(d==null)return;var c=d.getAttribute("FilterLink");if(!c||c=="")c=CanonicalizeUrlEncodingCase(window.location.href);var g=escapeProperly(filterTable.getAttribute("Name"));strFilteredValue=null;var a="",e=0,b,f;do{e++;b=c.match("FilterField"+e+"=[^&#]*");f=c.match("&FilterValue"+e+"=[^&#]*");if(b!=null&&f!=null){if(strFilteredValue==null)strFilteredValue=getFilterValueFromUrl(b.toString()+f.toString(),g);a=a+"&"+b+f;var p=c.match("&FilterOp"+e+"=[^&#]*");if(p!=null)a=a+p;var h=c.match("&FilterLookupId"+e+"=[^&#]*");if(h!=null)a=a+h;var l=c.match("&FilterData"+e+"=[^&#]*");if(l!=null)a=a+l;if(h!=null&&l==null&&strFilteredValue!=null){addFilteringDisabledMenuItem(m);return}}}while(b);var o=strFilteredValue!=null;strDisplayText=StBuildParam(L_DontFilterBy_Text,filterTable.getAttribute("DisplayName"));var q="javascript:HandleFilter(event, '"+STSScriptEncode(FilterFieldV3(ctxFilter.view,g,"",0,true))+"')",k;if(o)k=ctxFilter.imagesPath+"FILTEROFF.gif";else k=ctxFilter.imagesPath+"FILTEROFFDISABLED.gif";CAMOptFilter(m,j,strDisplayText,q,k,o,"fmi_clr");var r=CAMOpt(j,L_Loading_Text,"");r.setAttribute("enabled","false");setTimeout("ShowFilterLoadingMenu()",500);j._onDestroy=OnMouseOutFilter;b=c.match("MembershipGroupId=[^&]*");if(b!=null)a=a+"&"+b;b=c.match("InstanceID=[^&]*");if(b!=null)a=a+"&"+b;if(a!=null&&a.length>0){if(ctxFilter.overrideFilterQstring!=null&&ctxFilter.overrideFilterQstring.length>0)a="&"+ReconcileQstringFilters(a.substring(1),ctxFilter.overrideFilterQstring)}else if(ctxFilter.overrideFilterQstring!=null&&ctxFilter.overrideFilterQstring.length>0)a="&"+ctxFilter.overrideFilterQstring;var i="";if(ctxFilter!=null&&ctxFilter.clvp!=null&&ctxFilter.clvp.rootFolder!=null&&ctxFilter.clvp.rootFolder.length>0)i="&RootFolder="+escapeProperlyCore(ctxFilter.clvp.rootFolder,true);else{b=c.match("RootFolder=[^&]*");if(b!=null)i="&"+b}var n="";b=a.match("OverrideScope=[^&]*");if(ctxFilter!=null&&typeof ctxFilter.overrideScope!="undefined"&&b==null)n="&OverrideScope="+escapeProperlyCore(ctxFilter.overrideScope);if(browseris.safari){d.src="/_layouts/blank.htm";d.style.offsetLeft="-550px";d.style.offsetTop="-550px";d.style.display="block"}d.src=ctxFilter.HttpRoot+"/_layouts/filter.aspx?ListId="+ctxFilter.listName+i+n+"&FieldInternalName="+g+"&ViewId="+ctxFilter.view+"&FilterOnly=1&Filter=1"+a;bMenuLoadInProgress=true}function getFilterValueFromUrl(b,f){ULSrLq:;var a,c,e;a=b.indexOf("=");if(a==-1)return;c=b.indexOf("&");if(c==-1)return;if(c<a)return;b=CanonicalizeUrlEncodingCase(b);e=b.substring(a+1,c);if(e==f){var d;a=b.indexOf("=",c+1);if(a==-1)return;d=b.substr(a+1);d=unescapeProperly(d);return d}return null}function _OnIframeLoad(){ULSrLq:;bMenuLoadInProgress=false;if(filterTable!=null&&filterTable.getAttribute("Name")!=null){var c=null;c=document.getElementById("FilterIframe"+filterTable.getAttribute("CtxNum"));if(c!=null){var a=null,e=filterTable.getAttribute("Name");if(c.contentDocument)a=c.contentDocument;else if(c.contentWindow&&c.contentWindow.document)a=c.contentWindow.document;else if(c.document)a=c.document;if(a!=null){var g=a.getElementById("diidFilterCustomTable");if(g!=null&&(a.parentWindow&&a.parentWindow.CustomPopulateFilterMenu!=null||a.defaultView&&a.defaultView.CustomPopulateFilterMenu!=null))if(a.parentWindow)a.parentWindow.CustomPopulateFilterMenu(currentFilterMenu,g,"FilterIframe"+filterTable.getAttribute("CtxNum"),ctxFilter.view,e);else a.defaultView.CustomPopulateFilterMenu(currentFilterMenu,g,"FilterIframe"+filterTable.getAttribute("CtxNum"),ctxFilter.view,e);else{var h=a.getElementById("diidFilter"+e);e=escapeProperly(e);if(h!=null){var i=h.childNodes.length;if(i>500)addFilterOptionMenuItem();else for(var d=h.childNodes,b=1;b<i;b++){var f;if(d[b].innerText)f=d[b].innerText;else if(d[b].textContent)f=d[b].textContent;else f=d[b].innerHTML;var j="javascript:HandleFilter(event, '"+STSScriptEncode(FilterFieldV3(ctxFilter.view,e,d[b].value,b,true))+"')",k=CAMOpt(currentFilterMenu,f,j);strFilteredValue!=null&&strFilteredValue==d[b].value&&k.setAttribute("checked","true")}}else{alert(L_FilterThrottled_Text);return}}bIsFilterDataLoaded=true;if(loadingFilterMenu!=null)loadingFilterMenu._onDestroy=null;if(currentFilterMenu!=null){currentFilterMenu._onDestroy=OnMouseOutFilter;FilterOMenu(currentFilterMenu,filterTable)}}}}}function addFilterOptionMenuItem(){ULSrLq:;var a=window.location.href;a=StURLSetVar2(a,"Filter","1");a=StURLSetVar2(a,"View",ctxFilter.view);a="javascript:SubmitFormPost('"+a+"')";CAMOpt(currentFilterMenu,L_FilterMode_Text,a)}function OnMouseOverAdHocFilterDeferCall(f,e){ULSrLq:;filterStr=e;if(IsFilterMenuOn())return false;filterTable!=null&&OnMouseOutFilter();filterTable=f;var d=filterTable.tagName=="TABLE";if(d){filterTable.className="ms-selectedtitle";filterTable.onclick=CreateFilterMenu;filterTable.oncontextmenu=CreateFilterMenu;filterTable.onmouseout=OnMouseOutFilter}else{var a=filterTable.parentNode;a.onclick=CreateFilterMenu;a.oncontextmenu=CreateFilterMenu;a.onmouseout=OnMouseOutFilter;CreateCtxImg(a,OnMouseOutFilter)}if(d){var c=filterTable.childNodes[0].childNodes[0];filterImageCell=c.childNodes[c.childNodes.length-1];var b=filterImageCell.childNodes[0];b.src="/_layouts/images/menudark.gif";b.alt=L_OpenMenu_Text;b.style.visibility="visible";if(IsElementRtl(filterTable)){filterImageCell.style.right=null;filterImageCell.style.left="1px"}else{filterImageCell.style.left=null;filterImageCell.style.right="1px"}filterImageCell.className="ms-menuimagecell"}return true}function addAdHocFilterMenuItems(b,a){ULSrLq:;if(IsFieldNotFilterable(filterTable)){addFilteringDisabledMenuItem(b);return}var c=CAMOpt(a,L_Loading_Text,"");c.setAttribute("enabled","false");FilterOMenu(a,filterTable);a._onDestroy=OnMouseOutFilter;DoCallBack("__filter={"+filterStr+"}");filterStr=null}function UpdateFilterCallback(b){ULSrLq:;var i="</OPTION>",a=-1;a=b.indexOf(i,a+1);var c=b.lastIndexOf(">",a),l=StBuildParam(L_DontFilterBy_Text,strFieldName),h,e="";if(c<a-1){var d=b.lastIndexOf('"',a);if(d>0){var g=b.lastIndexOf('"',d-1);if(g>0)e=b.substring(g+1,d)}}if(c==a-1)h="/_layouts/images/FILTEROFFDISABLED.gif";else h="/_layouts/images/FILTEROFF.gif";if(a>0){var j=CAMOpt(currentFilterMenu,l,e,h);j.setAttribute("enabled",c==a-1?"false":"true");var d=a,m='<OPTION href="';a=b.indexOf(i,a+8);while(a>0){c=b.indexOf(m,d+8);c=b.indexOf('"',c+20);if(c>0&&c<a){var k=b.indexOf(">",c),f=b.substring(k+1,a),e="";d=b.lastIndexOf('"',c);if(d>0){var g=b.lastIndexOf('"',d-1);if(g>0){e=b.substring(g+1,d);e=e.replace(/&amp;/g,"&")}}if(f.length>40)f=f.substring(0,40)+"...";if(f.length>0){var j=CAMOpt(currentFilterMenu,f,e);k>c+1&&j.setAttribute("checked","true")}}d=a;a=b.indexOf(i,a+8)}}else{var j=CAMOpt(currentFilterMenu,L_NotFilterable_Text,"");j.setAttribute("enabled","false");FilterOMenu(currentFilterMenu,filterTable);return}loadingFilterMenu._onDestroy=null;FilterOMenu(currentFilterMenu,filterTable);currentFilterMenu._onDestroy=OnMouseOutFilter}function FilterOMenu(c,a){ULSrLq:;if(a==null)return;var b=a.tagName=="DIV"?a.parentNode:a;OMenu(c,b,null,null,-1)}function _OnClickFilter(d,b){ULSrLq:;if(FV4UI()){if(browseris.ie){b.cancelBubble=true;b.returnValue=false}else b.stopPropagation();var c;try{c=typeof inplview.OnClickFilterV4}catch(b){c="undefined"}if(c!="undefined")inplview.OnClickFilterV4(d);else{var i="inplview.OnClickFilterV4",g=i.split(".");if(g.length>1){var h=function(){ULSrLq:;inplview.OnClickFilterV4(d)};EnsureScript(g[0],c,h)}}return false}var e=FindSTSMenuTable(d,"CTXNum");if(e!=null&&e.getAttribute("SortFields")!=null){var f=e.getAttribute("SortFields"),a=GetUrlWithNoSortParameters(f);a=RemovePagingArgs(a);if(a.indexOf("?")<0)a+="?";else a+="&";SubmitFormPost(a+f)}if(!bIsFileDialogView)b.cancelBubble=true;return false}function ToggleSelectionAllUsers(b){ULSrLq:;var a=document.getElementById("spToggleUserSelectionCheckBox_"+b.toString());if(a!=null){var h="spUserSelectionCheckBox_"+b.toString(),e=document.getElementsByName(h);a.checked=!a.checked;for(var d=0;d<e.length;d++){var g=e[d];g.checked=a.checked}var f="cbxUserSelectAll"+b.toString(),c=document.getElementById(f);if(c!=null)if(a.checked)c.src="/_layouts/images/checkall.gif";else c.src="/_layouts/images/unchecka.gif"}}function _UserSelectionOnClick(j,c){ULSrLq:;var g="cbxUserSelectAll"+c.toString(),b=document.getElementById(g),a=document.getElementById("spToggleUserSelectionCheckBox_"+c.toString());if(!j.checked){if(a!=null)a.checked=false;if(b!=null)b.src="/_layouts/images/unchecka.gif"}else{for(var i="spUserSelectionCheckBox_"+c.toString(),f=document.getElementsByName(i),e=true,d=0;d<f.length;d++){var h=f[d];if(!h.checked){e=false;break}}if(e){if(b)b.src="/_layouts/images/checkall.gif";if(a)a.checked=true}}}function initPageRequestManagerForDFWP(){ULSrLq:;var a=Sys.WebForms.PageRequestManager.getInstance();a.add_beginRequest(hideMRBForRequest)}function hideMRBForRequest(d,c){ULSrLq:;var a=c.get_postBackElement();if(a==undefined)return;else if(a.value==undefined||a.value=="")return;var b=$get(a.value);if(b==undefined||b==null)return;hideMRB(b.parentElement)}function hideMRB(b){ULSrLq:;if(b==undefined||b==null)return;var a=b.all;for(i=0;i<a.length;i++)if(a[i].tagName=="IMG"){regEx=new RegExp("ManualRefresh","i");if(a[i].id!=undefined&&regEx.test(a[i].id)){hideElement(a[i]);break}}}function hideElement(a){ULSrLq:;if(a==null||a==undefined)return;a.style.visibility="hidden";a.style.display="none"}function MSOWebPartPage_GetLocalizedStrings(){ULSrLq:;var L_ResetPagePersonalizationDialog_TXT="You are about to reset all personalized Web Parts to their shared values and delete any private Web Parts. Click OK to complete this operation. Click Cancel to keep your personalized Web Part settings and private Web Parts.",L_ResetPartPersonalizationDialog_TXT="Resetting this Web Part will cause you to lose any changes you made.  Are you sure you want to do this? To reset this Web Part, click OK. To keep your changes, click Cancel.",L_RemoveConnection_TXT="Are you sure you want to remove the connection between the %0 Web Part and the %1 Web Part? To remove the connection, click OK. To keep the connection, click Cancel.",L_ExportPersonalization_TXT="This Web Part Page has been personalized. As a result, one or more Web Part properties may contain confidential information. Make sure the properties contain information that is safe for others to read. After exporting this Web Part, view properties in the Web Part description file (.webpart or .dwp) by using a text editor, such as Microsoft Notepad.",L_GetPropertiesFailure_ERR="Cannot retrieve properties at this time.",L_SaveDirtyParts_TXT="Changes have been made to the contents of one or more Web Parts on this page. To save the changes, press OK.  To discard the changes, press Cancel.",L_ToolPaneWidenToolTip_TXT="Widen",L_ToolPaneShrinkToolTip_TXT="Narrow",L_ToolPartExpandToolTip_TXT="Expand Toolpart: %0",L_ToolPartCollapseToolTip_TXT="Collapse Toolpart: %0",L_WebPartBackgroundColor_TXT="Web Part Background Color",L_TransparentTooltip_TXT="Transparent Web Part Background Color",L_InvalidURLPath_ERR="The URL is not valid for the %0 property. Check the URL spelling and path and try again.",L_InvalidFolderPath_ERR="The path to the folder is not valid for the %0 property. Check the path name and try again.",L_InvalidFilePath_ERR="The path to the file or folder is not valid. Check the path and try again.",L_FileOrFolderUnsupported_ERR="The current browser does not support links to files or folders. To specify a link to a file or folder, you must use Microsoft Internet Explorer 5.0 or later",L_Link_TXT="Link",L_TransparentLiteral_TXT="Transparent",L_ContentEditorSaveFailed_ERR="Cannot save your changes.",L_AccessDenied_ERR="Access Denied saving Web Part properties: either the Web Part is embedded directly in the page, or you do not have sufficient permissions to save properties.",L_NoInitArgs_ERR="Cannot create or modify the connection. One of the Web Parts does not have any data fields.",L_PageNotYetSaved_ERR="page not yet saved",a={};a.ResetPagePersonalizationDialogText=L_ResetPagePersonalizationDialog_TXT;a.ResetPartPersonalizationDialogText=L_ResetPartPersonalizationDialog_TXT;a.RemoveConnection=L_RemoveConnection_TXT;a.ExportPersonalizationDialogText=L_ExportPersonalization_TXT;a.GetPropertiesFailure=L_GetPropertiesFailure_ERR;a.SaveDirtyPartsDialogText=L_SaveDirtyParts_TXT;a.ToolPaneWidenToolTip=L_ToolPaneWidenToolTip_TXT;a.ToolPaneShrinkToolTip=L_ToolPaneShrinkToolTip_TXT;a.ToolPartExpandToolTip=L_ToolPartExpandToolTip_TXT;a.ToolPartCollapseToolTip=L_ToolPartCollapseToolTip_TXT;a.WebPartBackgroundColor=L_WebPartBackgroundColor_TXT;a.TransparentTooltip=L_TransparentTooltip_TXT;a.InvalidURLPath=L_InvalidURLPath_ERR;a.InvalidFolderPath=L_InvalidFolderPath_ERR;a.InvalidFilePath=L_InvalidFilePath_ERR;a.FileOrFolderUnsupported=L_FileOrFolderUnsupported_ERR;a.Link=L_Link_TXT;a.TransparentLiteral=L_TransparentLiteral_TXT;a.ContentEditorSaveFailed=L_ContentEditorSaveFailed_ERR;a.AccessDenied=L_AccessDenied_ERR;a.NoInitArgs=L_NoInitArgs_ERR;a.PageNotYetSaved=L_PageNotYetSaved_ERR;return a}var MSOStrings=MSOWebPartPage_GetLocalizedStrings(),L_AccessibleMenu_Text="Menu";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();typeof NotifyScriptLoadedAndExecuteWaitingJobs!="undefined"&&NotifyScriptLoadedAndExecuteWaitingJobs("msstring.js");function FNEmpWz(a){ULSrLq:;return a&&a!=""}function AChld(b,a){ULSrLq:;b&&a&&b.appendChild(a)}function AImg(a,c,b){ULSrLq:;if(!a)return;FNEmpWz(c)&&a.setAttribute("iconSrc",c);if(FNEmpWz(b))a.setAttribute("iconAltText",b);else a.setAttribute("iconAltText","")}function CMenu(b){ULSrLq:;var a=document.getElementById(b);if(a){a._initialized=false;a._oContents=null;a.innerHTML="";return a}a=document.createElement("MENU");if(!a)return null;if(b)a.id=b;a.className="ms-SrvMenuUI";AChld(document.body,a);return a}function CMItm(b){ULSrLq:;var a=document.createElement("SPAN");if(!a)return null;a.setAttribute("type",b);return a}function SetInnerText(a,b){ULSrLq:;if(document.createTextNode!=null){var c=document.createTextNode(b);a.innerHTML="";a.appendChild(c)}else a.innerText=b}function CMOpt(f,g,e,d,c,b){ULSrLq:;var a=CMItm("option");if(!a)return null;a.setAttribute("text",f);a.setAttribute("onMenuClick",g);b&&a.setAttribute("description",b);AImg(a,e,d);FNEmpWz(c)&&a.setAttribute("sequence",c);return a}function CAMOpt(h,f,g,e,c,d,b){ULSrLq:;var a=CMOpt(f,g,e,c,d,b);if(!a)return null;AChld(h,a);return a}function CIMOpt(c,h,i,g,f,d){ULSrLq:;var a=CMOpt(h,i,g,f,d);if(!a)return null;for(var b=0;b<c.childNodes.length;b++){var e=c.childNodes[b].getAttribute("sequence");if(e)if(e>d){c.childNodes[b].parentNode.insertBefore(a,c.childNodes[b]);return a}}AChld(c,a);return a}function CMSep(){ULSrLq:;var a=CMItm("separator");SetInnerText(a,"");return a}function CAMSep(b){ULSrLq:;var a=CMSep();if(!a)return null;AChld(b,a);return a}function CSubM(f,e,d,c,b){ULSrLq:;var a=CMItm("submenu");if(!a)return null;a.setAttribute("text",f);b&&a.setAttribute("description",b);AImg(a,e,d);FNEmpWz(c)&&a.setAttribute("sequence",c);return a}function CASubM(g,f,e,c,d,b){ULSrLq:;var a=CSubM(f,e,c,d,b);if(!a)return null;AChld(g,a);return a}function FRdy(a){ULSrLq:;if(!a)return false;if(a.readyState==null)return true;switch(a.readyState){case "loaded":case "interactive":case "complete":return true;default:return false}}function OMenu(a,e,c,d,b){ULSrLq:;if(typeof a=="string")a=document.getElementById(a);a&&OMenuInt(a,e,c,d,b);return false}function OMenuInt(a,e,b,d,c){ULSrLq:;(a&&!MenuHtc_isOpen(a)||a&&b)&&MenuHtc_show(a,e,b,d,c)}function OMenuEvnt(){ULSrLq:;var a=event.srcElement;if(a&&FRdy(document)&&FRdy(a)){var e=a.getAttribute("relativeTo"),c=a.getAttribute("forceRefresh"),d=a.getAttribute("flipTop"),b=a.getAttribute("yOffsetTop");e!=null&&a.removeAttribute("relativeTo");c!=null&&a.removeAttribute("forceRefresh");d!=null&&a.removeAttribute("flipTop");b!=null&&a.removeAttribute("yOffsetTop");a.onreadystatechange=null;OMenuInt(a,e,c,d,b)}}var kfnDisableEvent=new Function("return false"),g_menuHtc_lastMenu=null,g_uniqueNumber=0,g_MenuEndOfDOM=false;function RenderECBBackwardCompatibilityMode(a){ULSrLq:;g_MenuEndOfDOM=a}function IsAccessibilityFeatureEnabledProxy(){ULSrLq:;if(typeof IsAccessibilityFeatureEnabled!="undefined")return IsAccessibilityFeatureEnabled();return false}function MenuHtc_show(oMaster,oParent,fForceRefresh,fFlipTop,yOffset){ULSrLq:;if(!(browseris.ie55up||browseris.nav6up||browseris.safari125up))return false;MenuHtc_hide();MenuHtc_init(oMaster);oMaster._oParent=oParent;oMaster._fIsRtL=IsElementRtl(oMaster._oParent);if((browseris.ie||browseris.nav)&&IsAccessibilityFeatureEnabledProxy()){var menu=null;if(oParent.foa!=null){menu=byid(oParent.foa);if(menu==null)menu=eval(oParent.foa)}menu!=null&&menu.onblur!=null&&menu.onblur();RenderAccessibleMenu(oMaster,fForceRefresh);g_menuHtc_lastMenu=oMaster}else{SetBodyEventHandlers(null);AssureId(oParent);var result=ShowRoot(oMaster,oParent,fForceRefresh,fFlipTop,yOffset);g_menuHtc_lastMenu=oMaster;!(typeof _fV4UI!="undefined"&&_fV4UI)&&NavigateToMenu(oMaster);SetBodyEventHandlers(HandleDocumentBodyClick)}if(browseris.ie)if(window.event!=null)window.event.cancelBubble=true;return false}function MenuHtc_hide(){ULSrLq:;ClearTimeOutToHideMenu();var a=g_menuHtc_lastMenu;if(a!=null)if(a._accessibleMenu!=null)CloseAccessibleMenu(a);else HideMenu(a);g_menuHtc_lastMenu=null}function MenuHtc_isOpen(a){ULSrLq:;if(!a||!a._initialized)return false;var b=IsOpen(a);return b}function MenuHtc_item(a,c,b){ULSrLq:;MenuHtc_init(a);var d=GetItem(a,c,b);return d}function TrapMenuClick(a){ULSrLq:;if(a!=null)a.cancelBubble=true;return false}function SetBodyEventHandlers(a){ULSrLq:;document.body.onclick=a}function HandleDocumentBodyClick(){ULSrLq:;if(g_menuHtc_lastMenu!=null){var a=g_menuHtc_lastMenu;a!=null&&HideMenu(a)}return false}function GetEventPopup(b){ULSrLq:;var a=GetEventSrcElement(b);while(a!=null){if(a.master!=null)return a;a=a.parentNode}return null}function GetUniqueNumber(){ULSrLq:;g_uniqueNumber++;return g_uniqueNumber}function MenuHtc_init(a){ULSrLq:;if(a._initialized)return;a._initialized=true;a._wzPrefixID="mp"+GetUniqueNumber();if(a.id==null)a.id=a._wzPrefixID+"_id";a._nLevel=0;a._arrPopup=[];a._arrSelected=[];if(typeof a._onDestroy=="undefined")a._onDestroy=null;a._fLargeIconMode=false;a._fCompactItemsWithoutIcons=false}function PrepContents(a){ULSrLq:;a._fLargeIconMode=a.getAttribute("largeIconMode")=="true";a._fCompactItemsWithoutIcons=a.getAttribute("CompactMode")=="true";if(!browseris.safari){a._oContents=document.createElement("span");a._oContents.style.display="none";var b=a.innerHTML;if(b.indexOf("<IE:MENUITEM ")<0&&b.indexOf("<MENUITEM ")>=0){b="<?XML:NAMESPACE PREFIX=IE />"+b;b=b.replace(/<MENUITEM/g,"<IE:MENUITEM");b=b.replace(/<\/MENUITEM/g,"</IE:MENUITEM")}a._oContents.innerHTML=b}else{a._oContents=a.cloneNode(true);a._oContents.style.display="none"}if(a._fLargeIconMode)if(a._fIsRtL)a._wzMenuStyle="ms-MenuUILargeRtL";else a._wzMenuStyle="ms-MenuUILarge";else if(a._fIsRtL)a._wzMenuStyle="ms-MenuUIRtL";else a._wzMenuStyle="ms-MenuUI";a._wzChkMrkPath="/_layouts/images/ChkMrk.gif";a._wzMArrPath="/_layouts/images/MArr.gif";a._wzMArrPathRtL="/_layouts/images/MArrRtL.gif"}function FixUpMenuStructure(i){ULSrLq:;for(var g=i._oRoot.childNodes,f=null,a=null,d=false,c=0;c<g.length;c++){var b=g[c];if(b.nodeType!=1)continue;var e=false,j=b.style!=null&&b.style.display=="none",k=FIsIHidden(b);if(j||k)e=true;else if(FIsIType(b,"separator"))if(a!=null||c==0)e=true;else{a=b;d=true}else{var h=b.getAttribute("menuGroupId");if(h!=f&&a==null&&c!=0){var a=document.createElement("ie:menuitem");a.setAttribute("type","separator");i._oRoot.insertBefore(a,b)}else if(FIsIType(b,"submenu")&&a!=null&&!d){b.parentNode.removeChild(a);a=null}else a=null;f=h;d=false}if(e){b.parentNode.removeChild(b);c--}}a!=null&&a.parentNode.removeChild(a)}function IsElementRtl(a){ULSrLq:;while(a!=null&&a.tagName!=null){var b=a.getAttribute("dir");if((b==null||b=="")&&a.style!=null)b=a.style.direction;if(b=="rtl")return true;else if(b=="ltr")return false;a=a.parentNode}return false}function getElementOverFlowStyle(b){ULSrLq:;try{var a=b.currentStyle;if(a=="undefined"||a==null)return document.defaultView.getComputedStyle(b,null).getPropertyValue("overflow").toLowerCase();else return a.overflow.toLowerCase()}catch(c){return ""}}function AdjustScrollPosition(d,e,b){ULSrLq:;var a=d;while(a!=null&&a!=e&&a!=d.offsetParent&&a.tagName!=null&&a.tagName.toLowerCase()!="body"&&a.tagName.toLowerCase()!="html"&&!(getElementOverFlowStyle(a)=="hidden")){if(a.scrollWidth>a.clientWidth&&a.offsetWidth>=a.clientWidth&&a.clientWidth!=0)if(!IsElementRtl(a)){if(a.scrollLeft>0)b.x-=a.scrollLeft}else if(browseris.ie8standard)b.x+=a.scrollLeft;else if(browseris.firefox)b.x-=a.scrollLeft;else{var c=getElementOverFlowStyle(a);if(browseris.ie||browseris.safari&&(c=="auto"||c=="scroll"))b.x+=a.scrollWidth-a.clientWidth-a.scrollLeft}if(a.scrollTop>0)b.y-=a.scrollTop;a=a.parentNode}}function MenuHtc_GetElementPosition(a,d){ULSrLq:;var b={};b.x=0;b.y=0;b.width=0;b.height=0;if(a.offsetParent){var c=a;while(c!=null&&c!=d){b.x+=c.offsetLeft;b.y+=c.offsetTop;AdjustScrollPosition(c,d,b);var e=c.tagName.toLowerCase();if(e!="body"&&e!="html"&&c.clientTop!=null&&c.clientLeft!=null&&c!=a){b.x+=c.clientLeft;b.y+=c.clientTop}c=c.offsetParent}}else if(a.offsetLeft||a.offsetTop){b.x=a.offsetLeft;b.y=a.offsetTop}else{if(a.x)b.x=a.x;if(a.y)b.y=a.y}if(a.offsetWidth&&a.offsetHeight){b.width=a.offsetWidth;b.height=a.offsetHeight}else if(a.style&&a.style.pixelWidth&&a.style.pixelHeight){b.width=a.style.pixelWidth;b.height=a.style.pixelHeight}return b}function MenuTag(b,a){ULSrLq:;this.tagName=b;this.className=a}function CreateMenuTag(a){ULSrLq:;if(a.tagName!=null){var b=document.createElement(a.tagName);if(a.className!=null)b.className=a.className;return b}return null}function TransferEventToMenu(b,c){ULSrLq:;var a;if(browseris.ie)a={srcElement:b,keyCode:c.keyCode};else a={target:b,which:c.which};PopupKeyDown(a)}function MenuHtcInternal_Show(c,b,A,n){ULSrLq:;var e={};if(!(typeof _fV4UI!="undefined"&&_fV4UI)){e.popup=new MenuTag("div","ms-MenuUIPopupBody");e.inner=new MenuTag("div",null);e.section=new MenuTag("table",null);e.menubody=new MenuTag("tbody",null)}else{e.popup=new MenuTag("div","ms-MenuUIPopupBody ms-MenuUIPopupScreen");e.inner=new MenuTag("div","ms-MenuUIPopupInner");e.section=new MenuTag("div",null);e.menubody=new MenuTag("ul","ms-MenuUIUL")}var a=c._arrPopup[c._nLevel],i;!c._oContents&&PrepContents(c);if(!c._oContents||IsOpen(c))return;if(!a&&!c._oRoot){c._nLevel=0;c._oRoot=c._oContents}var g=c._nLevel==0;n=n&&g;if(!a){a=CreateMenuTag(e.popup);if(browseris.ie||browseris.safari)a.title="";else if(browseris.nav)a.title=" ";c._arrPopup[c._nLevel]=a;a.isMenu=true;a.master=c;a.level=c._nLevel;i=CreateMenuTag(e.inner);var h=CreateMenuTag(e.section),j=CreateMenuTag(e.menubody);i.isInner=true;a.style.position="absolute";if(c._fIsRtL)a.setAttribute("dir","rtl");else a.setAttribute("dir","ltr");a.style.visibility="hidden";i.style.overflow="visible";h.className=c._wzMenuStyle;if(!(typeof _fV4UI!="undefined"&&_fV4UI)){h.cellSpacing=0;h.cellPadding=0}h.appendChild(j);i.appendChild(h);a.appendChild(i);if(!(typeof _fV4UI!="undefined"&&_fV4UI)||g_MenuEndOfDOM==true)document.body.appendChild(a);else if(b.tagName=="TABLE")b.parentNode.appendChild(a);else b.appendChild(a);FixUpMenuStructure(c);for(var x=0,y=c._oRoot.childNodes.length,p=0;p<y;p++){var q=c._oRoot.childNodes[p];if(q.nodeType!=1)continue;if(!FIsIType(q,"label")){var v=CreateMenuItem(c,q,MakeID(c,c._nLevel,x));v&&j.appendChild(v);x++}}if(typeof _fV4UI!="undefined"&&_fV4UI&&!c._fLargeIconMode){for(var f=0,o=j.getElementsByTagName("a"),m=null,l=0,k=0;k<o.length;k++){l=o[k].childNodes[1].offsetWidth;if(l>f){m=k;f=l}}f=0;if(m==null)f=200;else for(var u=o[m],z=u.childNodes.length,r=0;r<z;r++)f+=u.childNodes[r].offsetWidth;f+=16+5;j.style.width=f+"px";h.style.width=f+4+"px"}a.oncontextmenu=kfnDisableEvent;a.ondragstart=kfnDisableEvent;a.onselectstart=kfnDisableEvent;if(b._onmouseover==null)b._onmouseover=b.onmouseover;if(b._onmouseout==null)b._onmouseout=b.onmouseout;if(b._onmousedown==null)b._onmousedown=b.onmousedown;if(b._onclick==null)b._onclick=b.onclick;if(b._oncontextmenu==null)b._oncontextmenu=b.oncontextmenu;if(typeof _fV4UI!="undefined"&&_fV4UI&&g)if(b._onkeydown==null)b._onkeydown=b.onkeydown;if(browseris.nav){a.onkeypress=function(){ULSrLq:;return false};a.onkeyup=function(){ULSrLq:;return false};a.onkeydown=function(a){ULSrLq:;PopupKeyDown(a);a.cancelBubble=true;return false};a.onmousedown=function(a){ULSrLq:;TrapMenuClick(a);return false};a.onmouseover=function(a){ULSrLq:;PopupMouseOver(a);return false};a.onmouseout=function(a){ULSrLq:;PopupMouseLeave(a);return false};a.onclick=function(a){ULSrLq:;PopupMouseClick(a);TrapMenuClick(a);return false};b.onmouseover=function(a){ULSrLq:;PopupMouseOverParent(a);return false};b.onmouseout=function(a){ULSrLq:;PopupMouseLeaveParent(a);return false};b.onmousedown=function(a){ULSrLq:;TrapMenuClick(a);return false};b.onclick=function(a){ULSrLq:;TrapMenuClick(a);return false};b.oncontextmenu=function(a){ULSrLq:;TrapMenuClick(a);return false};if(typeof _fV4UI!="undefined"&&_fV4UI&&g)b.onkeydown=function(b){ULSrLq:;TransferEventToMenu(a,b);return false}}else{a.onkeydown=new Function("PopupKeyDown(event); event.cancelBubble=true; return false;");a.onmousedown=new Function("TrapMenuClick(event); return false;");a.onmouseover=new Function("PopupMouseOver(event); return false;");a.onmouseout=new Function("PopupMouseLeave(event); return false;");a.onclick=new Function("PopupMouseClick(event); TrapMenuClick(event); return false;");b.onmouseover=new Function("PopupMouseOverParent(event); return false;");b.onmouseout=new Function("PopupMouseLeaveParent(event); return false;");b.onmousedown=new Function("TrapMenuClick(event); return false;");b.onclick=new Function("TrapMenuClick(event); return false;");b.oncontextmenu=new Function("TrapMenuClick(event); return false;");if(typeof _fV4UI!="undefined"&&_fV4UI&&g)b.onkeydown=function(){ULSrLq:;TransferEventToMenu(a,event);return false}}if(g){var t=c.getAttribute("onunloadtext");if(t)a.onunload=new Function(t)}}else{var w=c._arrSelected[c._nLevel];w&&UnselectItem(w)}c._arrSelected[c._nLevel]=null;var d;if(browseris.ie){var s=document.body.scrollLeft;d=document.createElement("iframe");AssureId(d);d.src="/_layouts/blank.htm";d.style.position="absolute";d.style.display="none";d.scrolling="no";d.frameBorder="0";if(!(typeof _fV4UI!="undefined"&&_fV4UI)||g_MenuEndOfDOM==true)document.body.appendChild(d);else if(b.tagName=="TABLE")b.parentNode.appendChild(d);else b.appendChild(d);a.style.zIndex=103;a._backgroundFrameId=d.id;if(s!=document.body.scrollLeft)document.body.scrollLeft=s}SetMenuPosition(c,b,a,i,n,g);a.style.visibility="visible";if(browseris.ie){SetBackFrameSize(null,a);a.onresize=new Function("SetBackFrameSize(event, null);");d.style.display="block";d.style.zIndex=101}}function SetMenuPosition(D,H,d,g,M,z){ULSrLq:;var h=window.screen.width,j=window.screen.height;if(self.innerHeight){h=self.innerWidth;j=self.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){h=document.documentElement.clientWidth;j=document.documentElement.clientHeight}else if(document.body){h=document.body.clientWidth;j=document.body.clientHeight}var c=d.offsetWidth,f=d.offsetHeight,G=false,x=false;if(c>h-50){G=true;c=h-50<0?0:h-50}if(D._fCompactItemsWithoutIcons&&f>=375){x=true;f=375}if(f>=j-50){x=true;f=j-50<0?0:j-50}if(!G&&!x)g.style.overflow="visible";else if(browseris.ie){if(G){d.style.width=c+"px";g.style.width=c+"px";g.style.overflowX="scroll"}else{g.style.width=c+"px";g.style.overflowX="visible"}if(x){d.style.height=f+"px";g.style.height=f+"px";g.style.overflowY="scroll"}else{g.style.height=f+"px";g.style.overflowY="visible"}}else{d.style.height=f+"px";g.style.height=f+"px";d.style.width=c+"px";g.style.width=c+"px";g.style.overflow="auto"}c=d.offsetWidth;f=d.offsetHeight;var A=0,y=h,a=0,O=0,r=0,s=H;if(browseris.safari)if(s.tagName=="TR"&&s.childNodes.length>0)s=s.childNodes[0];var t=MenuHtc_GetElementPosition(s);a=t.x;r=t.y;var k;if(z){k=t.width;r+=t.height}else k=t.width+1;var N=!M&&!document.body.getAttribute("flipped"),w,F,B,C;if(!D._fIsRtL){var u,q;if(z){B=a;u=a+c;q=a+k-c}else{B=a+k;u=a+k+c;q=a-c}C=q;w=u>y&&q>A;F=!(q<A&&u<y)}else{var p,v;if(z){p=a+k-c;v=a+c;C=a}else{p=a-c;v=a+k+c;C=a+k}B=p;w=p<A&&v<y;F=!(v>y&&p>A)}var l=N?w:F,E=l?C:B,i,n;if(browseris.firefox){i=window.pageXOffset;n=window.pageYOffset}else{var m=document.body.parentElement;if(!IsElementRtl(document.body)){i=document.body.scrollLeft;i+=m.scrollLeft}else if(browseris.ie8standard){i=-document.body.scrollLeft;i+=-m.scrollLeft}else{var I=getElementOverFlowStyle(document.body);if(browseris.ie||browseris.safari&&(I=="auto"||I=="scroll"))i=-document.body.scrollWidth+document.body.clientWidth+document.body.scrollLeft;i+=-m.scrollWidth+m.offsetWidth+m.scrollLeft}n=document.body.scrollTop;n+=m.scrollTop}if(c>=h)E=i;else if(E-i+c>=h)E=i+h-c;var o;if(f>=j)o=n;else if(r+f-n>=j)o=n+j-f;else o=r;if(browseris.safari)o+=window.pageYOffset;else o+=document.documentElement.scrollTop;d.setAttribute("flipped",M?l&&w:l);var b=E,e=o;if(browseris.safari)e-=window.pageYOffset;else e-=document.documentElement.scrollTop;if(typeof _fV4UI!="undefined"&&_fV4UI&&g_MenuEndOfDOM==false)if(!z){if(D._fIsRtL)if(browseris.ie)if(l)b=b-a;else b=b-a+1;else if(l)b=b-a;else b=b-a+3;else if(browseris.ie)if(l)b=b-a+1;else b=b-a;else if(l)b=b-a+3;else b=b-a;if(e==0)e=H.offsetTop-d.offsetParent.firstChild.scrollTop;else e=e-r+H.offsetTop-d.offsetParent.firstChild.scrollTop;if(browseris.ie8standard)e=e-1}else if(d.offsetParent!=null&&d.offsetParent.tagName.toLowerCase()!="body"){var J,K,L=MenuHtc_GetElementPosition(d.offsetParent);J=L.x;K=L.y;e=e-K;b=b-J;if(!D._fLargeIconMode)e=e-1}d.style.left=b+"px";d.style.top=e+"px";d.LeftForBackIframe=b;d.TopForBackIframe=e}function SetBackFrameSize(e,a){ULSrLq:;if(a==null)a=GetEventSrcElement(e);var d=a.offsetWidth,c=a.offsetHeight,b=document.getElementById(a._backgroundFrameId);if(b!=null){b.style.left=a.LeftForBackIframe+"px";b.style.top=a.TopForBackIframe+"px";b.style.width=d+"px";b.style.height=c+"px"}}function HideMenu(a,c){ULSrLq:;ClearTimeOutToHideMenu();if(c==null)c=0;if(c==2){if(a._onDestroy!=null){a._onDestroy();a._onDestroy=null}return}if(IsOpen(a)&&!IsAccessibilityFeatureEnabledProxy()){if(a._oParent!=null){a._oParent.onclick=a._oParent._onclick;a._oParent.onmouseover=a._oParent._onmouseover;a._oParent.onmouseout=a._oParent._onmouseout;a._oParent.onmousedown=a._oParent._onmousedown;a._oParent.oncontextmenu=a._oParent._oncontextmenu;if(typeof _fV4UI!="undefined"&&_fV4UI)a._oParent.onkeydown=a._oParent._onkeydown}SetBodyEventHandlers(null);UpdateLevel(a,0);var b=a._arrPopup[0];if(b!=null){var d=document.getElementById(b._backgroundFrameId);d!=null&&d.parentNode.removeChild(d);b.parentNode!=null&&b.parentNode.removeChild(b);a._arrPopup[0]=null;if(c==0)if(a._onDestroy!=null&&typeof a._onDestroy=="function"){a._onDestroy();a._onDestroy=null}}g_menuHtc_lastMenu=null;RenderECBBackwardCompatibilityMode(false)}}function IsOpen(a){ULSrLq:;if(a._accessibleMenuInProgress||a._accessibleMenu&&!a._accessibleMenu.closed)return true;if(!a._arrPopup)return false;var b=a._arrPopup[a._nLevel];return b}function FindLabel(d){ULSrLq:;var a=d?d.childNodes:null;if(a)for(var b=0;b<a.length;b++){var c=a[b];if(c.nodeType!=1)continue;if(FIsIType(c,"label"))return c}return null}function ShowRoot(a,b,f,d,e){ULSrLq:;UpdateLevel(a,0);if(f){a._oContents=null;a._oRoot=null;a._nLevel=0;a._arrPopup=[];a._arrSelected=[]}else a._oRoot=a._oContents;var c=0;if(b)c+=b.offsetHeight;if(browseris.safari)if(b.tagName=="TR"&&b.childNodes.length>0)c+=b.childNodes[0].offsetTop+b.childNodes[0].offsetHeight-b.offsetTop;if(e)c+=e;d=d!=false;MenuHtcInternal_Show(a,b,c,d)}function ShowSubMenu(a,c,b){ULSrLq:;if(!b)return;if(b.submenuRoot==null)return;UpdateLevel(a,c);a._oRoot=b.submenuRoot;a._nLevel=a._nLevel+1;MenuHtcInternal_Show(a,b,-1)}function ShowSubMenuEvnt(a){ULSrLq:;if(a!=null){var b=a._arrPopup[a._nLevel];if(b){b.removeAttribute("timeoutID");ShowSubMenu(a,a._nLevel,a._arrSelected[a._nLevel])}}}function SetShowSubMenuEvnt(a){ULSrLq:;var b=a._arrPopup[a._nLevel];if(b){ClearTimeOut("timeoutID");document.body.setAttribute("timeoutID",window.setTimeout(function(){ULSrLq:;ShowSubMenuEvnt(a)},100))}}function ClearTimeOut(a){ULSrLq:;var b=document.body.getAttribute(a);b!=null&&window.clearTimeout(b);document.body.removeAttribute(a)}function ClearShowSubMenuEvnt(){ULSrLq:;ClearTimeOut("timeoutID")}function GetEventSrcItem(d,b){ULSrLq:;var c=null;if(!(typeof _fV4UI!="undefined"&&_fV4UI))c="tr";else{if(b!=null&&FIStringEquals(b.tagName,"div")&&b.className.indexOf("ms-MenuUIPopupInner")!=-1)return null;c="li"}for(var a=b;a&&!FIStringEquals(a.tagName,"body");a=a.parentNode)if(FIStringEquals(a.tagName,c)&&a.id.substring(0,d._wzPrefixID.length)==d._wzPrefixID)return a;return null}function UpdateLevel(a,d){ULSrLq:;var b;while(a._nLevel>d){if(a._arrPopup!=null)b=a._arrPopup[a._nLevel];if(b){ClearShowSubMenuEvnt(b);var c=document.getElementById(b._backgroundFrameId);c!=null&&c.parentNode.removeChild(c);b.parentNode.removeChild(b)}a._arrPopup[a._nLevel]=null;a._arrSelected[a._nLevel]=null;a._oRoot=a._oRoot.parentNode;a._nLevel--}if(a._arrPopup!=null)b=a._arrPopup[a._nLevel];b&&ClearShowSubMenuEvnt(b)}function PopupMouseOver(e){ULSrLq:;var d=GetEventPopup(e);if(d!=null){var a=d.master,c=d.level;if(c<0)return;var b=GetEventSrcItem(a,GetEventSrcElement(e));if(b)if(b!=a._arrSelected[c]){if(FIsIType(b,"separator"))return;ToggleMenuItem(a,c,b);FIsIType(b,"submenu")&&EngageSelection(a,true,true,false)}else c<a._nLevel&&UnselectCurrentOption(a);ClearTimeOutToHideMenu()}}function PopupMouseLeave(b){ULSrLq:;var a;a=GetEventPopup(b);if(a!=null){UnselectCurrentOption(a.master);SetTimeOutToHideMenu()}return false}function PopupMouseOverParent(){ULSrLq:;if(g_menuHtc_lastMenu!=null){ClearTimeOutToHideMenu();g_menuHtc_lastMenu._oParent!=null&&g_menuHtc_lastMenu._oParent._onmouseover!=null&&typeof g_menuHtc_lastMenu._oParent._onmouseover=="function"&&g_menuHtc_lastMenu._oParent._onmouseover()}}function PopupMouseLeaveParent(){ULSrLq:;if(g_menuHtc_lastMenu!=null){g_menuHtc_lastMenu._oParent!=null&&g_menuHtc_lastMenu._oParent._onmouseout!=null&&typeof g_menuHtc_lastMenu._oParent._onmouseout=="function"&&g_menuHtc_lastMenu._oParent._onmouseout();SetTimeOutToHideMenu()}}function ClearTimeOutToHideMenu(){ULSrLq:;document.body.getAttribute("HideMenuTimeOut")!=null&&ClearTimeOut("HideMenuTimeOut")}function SetTimeOutToHideMenu(){ULSrLq:;ClearTimeOut("HideMenuTimeOut");document.body.setAttribute("HideMenuTimeOut",window.setTimeout(MenuHtc_hide,5e3))}function PopupMouseClick(a){ULSrLq:;var g=GetEventPopup(a),b=g.master,c=g.level;if(c<0)return;var h=b._arrSelected[c],e=GetEventSrcItem(b,GetEventSrcElement(a));if(h!=e)if(e)b._arrSelected[c]=e;UpdateLevel(b,c);var d,f;if(browseris.nav){f=a&&a.target&&a.target.className=="hierarchy";d=a&&a.target&&a.target.getAttribute("onExpand")}else{f=a&&a.srcElement&&a.srcElement.className=="hierarchy";d=a&&a.srcElement&&a.srcElement.getAttribute("onExpand")}EngageSelection(b,true,false,false,f,d)}function PopupKeyDown(c){ULSrLq:;var d=GetEventPopup(c),b=d.master,f=d.level;if(f<0)return;var a=GetEventKeyCode(c),e=c.shiftKey;if(b._fIsRtL)if(a==37)a=39;else if(a==39)a=37;if(a==9)a=!e?40:38;ClearShowSubMenuEvnt(d);switch(a){case 38:MoveMenuSelection(b,-1);break;case 40:MoveMenuSelection(b,1);break;case 37:case 27:CloseCurrentLevel(b,a==27);break;case 39:case 13:EngageSelection(b,a==13,false,true)}c.returnValue=false}function SetNewId(a){ULSrLq:;a.id="msomenuid"+GetUniqueNumber();return a.id}function AssureId(a){ULSrLq:;if(a.id==null||a.id=="")a.id="msomenuid"+GetUniqueNumber();return a.id}function NavigateToMenu(c){ULSrLq:;if(IsAccessibilityFeatureEnabledProxy())return;var b=null;b=c._arrPopup[c._nLevel].firstChild;AssureId(b);try{var a=b.firstChild.firstChild.firstChild;if(!(typeof _fV4UI!="undefined"&&_fV4UI))a.tabIndex=0;else a=a.getElementsByTagName("A")[0];if(a!=null)if(a.setActive!=null)a.setActive();else a.focus!=null&&a.focus()}catch(d){}}function ExecuteOnClick(fnOnClick,oMaster){ULSrLq:;try{if(browseris.safari)if(FIStringEquals(typeof fnOnClick,"string"))eval("var document=window.document; {"+fnOnClick+"}");else fnOnClick();else{if(FIStringEquals(typeof fnOnClick,"string"))fnOnClick=new Function("event","var document=window.document; {"+fnOnClick+"}");var oTemp=window.document.body.appendChild(window.document.createElement("span"));oTemp.master=oMaster;oTemp.onclick=fnOnClick;var evt,ctx=null;if(typeof currentCtx!="undefined"&&currentCtx!=null)ctx=currentCtx;else if(typeof ctxFilter!="undefined"&&ctxFilter!=null)ctx=ctxFilter;if(browseris.ie)evt={srcElement:oTemp,fakeEvent:1,currentCtx:ctx};else evt={target:oTemp,fakeEvent:1,currentCtx:ctx};oTemp.onclick(evt);oTemp.parentNode.removeChild(oTemp)}}catch(e){}}function EngageSelection(oMaster,fDoSelection,fDelayExpandSM,fEnterSM,fExpand,fCommand){ULSrLq:;var oItem=oMaster._arrSelected[oMaster._nLevel];if(!oItem||oItem.optionDisabled)return;if(FIsIType(oItem,"submenu"))if(fDelayExpandSM)SetShowSubMenuEvnt(oMaster);else{ShowSubMenu(oMaster,oMaster._nLevel,oItem);fEnterSM&&MoveMenuSelection(oMaster,1)}else if(fDoSelection){var fEnabled=oItem.getAttribute("enabled");if(fEnabled!="false")if(!fExpand){var fnOnClick=oItem.getAttribute("onMenuClick");if(fnOnClick){HideMenu(oMaster,1);ExecuteOnClick(fnOnClick,oMaster);HideMenu(oMaster,2)}}else eval(fCommand)}}function CloseCurrentLevel(oMaster,fAllowHideRoot){ULSrLq:;if(oMaster._nLevel>0){UpdateLevel(oMaster,oMaster._nLevel-1);var obj=oMaster._arrSelected[oMaster._nLevel];if(obj!=null&&obj.onclick!=null)obj.onclick=obj._onclick;if(obj!=null)if(!(typeof _fV4UI!="undefined"&&_fV4UI))if(browseris.nav){obj=obj.firstChild.firstChild.firstChild.firstChild.firstChild.nextSibling.firstChild.firstChild;obj.focus!=null&&obj.focus()}else obj.focus!=null&&obj.focus();else{obj=obj.getElementsByTagName("a")[0];if(obj!=null)if(obj.setActive!=null)obj.setActive();else obj.focus!=null&&obj.focus()}}else if(fAllowHideRoot){HideMenu(oMaster);var oParent=oMaster._oParent;while(oParent!=null&&oParent.tagName=="SPAN"&&oParent.getAttribute("contentEditable")=="true")oParent=oParent.parentElement;if(oParent!=null){var focusElement=oParent,foastr=oParent.getAttribute("foa");if(foastr!=null){var foa=null;foa=eval(foastr);if(foa==null)foa=byid(foastr);if(foa!=null)focusElement=foa}else if(focusElement.tagName!="A"){var anchorList=focusElement.getElementsByTagName("a"),anchorListLen=anchorList.length;if(anchorListLen>0)focusElement=anchorList[anchorListLen-1]}if(focusElement!=null)if(focusElement.setActive!=null)focusElement.setActive();else focusElement.focus!=null&&focusElement.focus()}}}function UnselectCurrentOption(a){ULSrLq:;if(a._nLevel>=0){var b=a._arrSelected[a._nLevel];if(FIsIType(b,"option")){UnselectItem(b);a._arrSelected[a._nLevel]=null}}}function MakeID(a,c,b){ULSrLq:;return a._wzPrefixID+"_"+c+"_"+b}function GetItem(a,b,c){ULSrLq:;var d=a._arrPopup[b];return d?document.getElementById(MakeID(a,b,c)):null}function MoveMenuSelection(b,g){ULSrLq:;var a=-1,d=b._oRoot.childNodes.length,f=b._arrSelected[b._nLevel];if(f){var e=f?f.id:null;if(e){var i=parseInt(e.substring(e.lastIndexOf("_")+1,e.length));a=(i+d+g)%d}}if(a<0)a=g>0?0:d-1;var c,h=a;do{c=GetItem(b,b._nLevel,a);a=(a+d+g)%d}while(a!=h&&(!c||c.style.display=="none"||!(FIsIType(c,"option")||FIsIType(c,"submenu"))));ToggleMenuItem(b,b._nLevel,c)}function ToggleMenuItem(d,e,a){ULSrLq:;var b=d._arrSelected[e];if(!a||b&&a.id==b.id)return;if(b){UnselectItem(b);b.onkeydown=null;b.onmousedown=null;b.onmouseover=null;b.onmouseout=null;b.oncontextmenu=null}UpdateLevel(d,e);SelectItem(a);d._arrSelected[e]=a;if(!(typeof _fV4UI!="undefined"&&_fV4UI)){a.tabIndex=0;if(a.setActive!=null)a.setActive();else a.focus!=null&&a.focus()}else{var c=a.firstChild.firstChild;if(c!=null)if(c.setActive!=null)c.setActive();else c.focus!=null&&c.focus()}}function SelectItem(b){ULSrLq:;if(!b)return;if(!(typeof _fV4UI!="undefined"&&_fV4UI)){var a=b.firstChild,d=a.firstChild;if(a.className=="ms-MenuUIItemTableCellCompact")a.className="ms-MenuUIItemTableCellCompactHover";else a.className="ms-MenuUIItemTableCellHover";d.className="ms-MenuUIItemTableHover"}else{var c=b.firstChild;if(c.className.indexOf("ms-MenuUISeparator")==-1)c.className="ms-MenuUIULItemHover"}}function UnselectItem(b){ULSrLq:;if(!b)return;if(!(typeof _fV4UI!="undefined"&&_fV4UI)){var a=b.firstChild,d=a.firstChild;if(a.className=="ms-MenuUIItemTableCellCompactHover")a.className="ms-MenuUIItemTableCellCompact";else a.className="ms-MenuUIItemTableCell";d.className="ms-MenuUIItemTable"}else{var c=b.firstChild;if(c.className.indexOf("ms-MenuUISeparator")==-1)c.className="ms-MenuUIULItem"}}function SetImageSize(c,b,a){ULSrLq:;if(a==null)if(c._fLargeIconMode)a=32;else a=16;b.width=a;b.height=a}function CreateMenuOption(e,l,d,D,C){ULSrLq:;var c={};if(!(typeof _fV4UI!="undefined"&&_fV4UI)){c.icon=new MenuTag("td",null);c.label=new MenuTag("td",null);c.accKey=new MenuTag("td",null);c.arrow=new MenuTag("td",null)}else{c.icon=new MenuTag("span",null);c.label=new MenuTag("span",null);c.accKey=new MenuTag("span",null);c.arrow=new MenuTag("span",null)}var f=null,m=CreateMenuTag(c.icon),b=CreateMenuTag(c.label),i=CreateMenuTag(c.accKey),p=CreateMenuTag(c.arrow);if(!(typeof _fV4UI!="undefined"&&_fV4UI)){l.appendChild(m);l.appendChild(b);l.appendChild(i);l.appendChild(p)}else{f=document.createElement("a");f.className="ms-MenuUIULLink";f.id=D+"_Anchor";f.appendChild(m);f.appendChild(b);f.appendChild(i);f.appendChild(p);if(!e._fIsRtL)i.style.cssFloat="left";else i.style.cssFloat="right";i.style.width="auto";f.href="javascript:;";f.setAttribute("onclick","return false;")}if(e._fLargeIconMode)m.className=!e._fIsRtL?"ms-MenuUIIconLarge":"ms-MenuUIIconLargeRtl";else m.className=!e._fIsRtL?"ms-MenuUIIcon":"ms-MenuUIIconRtL";m.align="center";if(e._fCompactItemsWithoutIcons&&!d.getAttribute("iconSrc"))b.className=!e._fIsRtL?"ms-menuuilabelcompact":"ms-menuuilabelcompactRtl";else b.className=!e._fIsRtL?"ms-MenuUILabel":"ms-MenuUILabelRtL";i.className="ms-MenuUIAccessKey";p.className="ms-MenuUISubmenuArrow";if(!e._fLargeIconMode)b.style.whiteSpace="nowrap";m.style.whiteSpace="nowrap";i.style.whiteSpace="nowrap";p.style.whiteSpace="nowrap";p.style.display="none";b.id=d.id;if(d.getAttribute("enabled")=="false"){l.disabled=true;if(!(typeof _fV4UI!="undefined"&&_fV4UI))b.className+=" ms-MenuUIItemTableCellDisabled"}var q=null,o=null;if(d.getAttribute("checked")=="true"){q=e._wzChkMrkPath;o="*"}else{q=EvalAttributeValue(d,"iconSrc","iconScript");o=d.getAttribute("iconAltText")}var s;if(C)s=C;else s="";var j=EvalAttributeValue(d,"text","textScript");if(j==null||j==""){var t=d.firstChild;if(t!=null&&t.nodeType==3)j=t.nodeValue}var x=EvalAttributeValue(d,"description","descriptionScript"),h=null;if(!(typeof _fV4UI!="undefined"&&_fV4UI))h=document.createElement("div");if(x!=null&&e._fLargeIconMode){var a=document.createElement("span"),u=document.createTextNode(j),E=document.createElement("br"),n=document.createElement("span"),y=document.createTextNode(x);a.style.whiteSpace="normal";n.className="ms-menuitemdescription";n.style.whiteSpace="normal";if(!(typeof _fV4UI!="undefined"&&_fV4UI)){h.appendChild(a);a.appendChild(u);h.appendChild(E);h.appendChild(n);n.appendChild(y)}else{b.appendChild(a);a.appendChild(u);b.appendChild(E);b.appendChild(n);n.appendChild(y)}}else if(j!=null){var a=document.createElement("span"),r=d.getAttribute("hierarchy");if(r!=null){var k=document.createElement("span");k.setAttribute("style","white-space: nowrap;");var B=d.getAttribute("onExpand");B!=null&&k.setAttribute("onExpand",B);k.className="hierarchy";if(!(typeof _fV4UI!="undefined"&&_fV4UI)){h.appendChild(k);k.innerHTML=r;a.setAttribute("style","white-space: nowrap;");h.appendChild(a);a.innerHTML=j}else{b.appendChild(k);k.innerHTML=r;a.setAttribute("style","white-space: nowrap;");b.appendChild(a);a.innerHTML=j}}else{var u=document.createTextNode(j);a.setAttribute("style","white-space: nowrap;");if(!(typeof _fV4UI!="undefined"&&_fV4UI))h.appendChild(a);else b.appendChild(a);a.appendChild(u)}}var v=document.createElement("span");v.innerHTML=s;if(!(typeof _fV4UI!="undefined"&&_fV4UI))h.appendChild(v);else b.appendChild(v);var A=D+"_ICON",g=document.createElement("img");g.className="ms-MenuUIULImg";SetImageSize(e,g);m.appendChild(g);g.id=A;if(!(typeof _fV4UI!="undefined"&&_fV4UI)){var w=document.createElement("LABEL");b.appendChild(w);w.htmlFor=A;w.appendChild(h)}if(q){g.src=q;g.alt=o?o:"";g.title=o?o:""}else{g.src="/_layouts/images/blank.gif";g.alt="";g.title=""}var z=d.getAttribute("accessKeyText");if(z)i.innerHTML=z;else i.style.display="none";SetIType(l,"option");typeof _fV4UI!="undefined"&&_fV4UI&&l.appendChild(f)}function CreateMenuSeparator(a,b){ULSrLq:;if(!(typeof _fV4UI!="undefined"&&_fV4UI)){var d=document.createElement("td"),c=document.createElement("div");b.appendChild(d);d.appendChild(c);if(a._fLargeIconMode)c.className=!a._fIsRtL?"ms-MenuUISeparatorLarge":"ms-MenuUISeparatorLargeRtl";else c.className=!a._fIsRtL?"ms-MenuUISeparator":"ms-MenuUISeparatorRtL";c.innerHTML="&nbsp;"}else{if(a._fLargeIconMode)b.className=!a._fIsRtL?"ms-MenuUISeparatorLarge":"ms-MenuUISeparatorLargeRtl";else b.className=!a._fIsRtL?"ms-MenuUISeparator":"ms-MenuUISeparatorRtL";b.innerHTML="&nbsp;"}SetIType(b,"separator")}function CreateSubmenu(c,b,e,g){ULSrLq:;var f=FindLabel(e);CreateMenuOption(c,b,e,g,f?f.innerHTML:null);var d=null;if(!(typeof _fV4UI!="undefined"&&_fV4UI))d=b.childNodes[3];else d=b.childNodes[0].childNodes[3];d.style.display="inline";var a=document.createElement("img");a.className="ms-MenuUIULImg";SetImageSize(c,a,16);d.appendChild(a);a.src=!c._fIsRtL?c._wzMArrPath:c._wzMArrPathRtL;a.alt=L_SubMenu_Text;a.title="";SetIType(b,"submenu");b.submenuRoot=e}function MergeAttributes(c,b){ULSrLq:;if(browseris.nav||c.mergeAttributes==null){for(var e=b.attributes,d=0;d<e.length;d++){var a=e[d];a!=null&&a.specified&&a.nodeName!="id"&&a.nodeName!="ID"&&a.nodeName!="name"&&c.setAttribute(a.nodeName,a.nodeValue)}b.getAttribute("type")!=null&&c.setAttribute("type",b.getAttribute("type"));if(b.submenuRoot!=null)c.submenuRoot=b.submenuRoot}else c.mergeAttributes(b)}function CreateMenuItem(g,c,h,n){ULSrLq:;if(FIsIType(c,"label"))return;var j={};if(!(typeof _fV4UI!="undefined"&&_fV4UI))j.menuitem=new MenuTag("tr",null);else j.menuitem=new MenuTag("div","ms-MenuUIULItem");var a=CreateMenuTag(j.menuitem);MergeAttributes(a,c);if(FIsIType(c,"separator"))if(!(typeof _fV4UI!="undefined"&&_fV4UI)){CreateMenuSeparator(g,a);return a}else{var b=document.createElement("li");MergeAttributes(b,a);CreateMenuSeparator(g,a);b.appendChild(a);b.id=h;return b}!GetIType(c)&&SetIType(c,"option");var d=null,f=null,e=null,i=null,b=null;if(!(typeof _fV4UI!="undefined"&&_fV4UI)){d=document.createElement("tr");f=document.createElement("td");e=document.createElement("table");i=document.createElement("tbody");d.appendChild(f);f.appendChild(e);e.appendChild(i);i.appendChild(a);if(g._fCompactItemsWithoutIcons&&!c.getAttribute("iconSrc"))f.className="ms-MenuUIItemTableCellCompact";else f.className="ms-MenuUIItemTableCell";e.className="ms-MenuUIItemTable";e.width="100%";e.cellSpacing=0;e.cellPadding=0;if(a.disabled==true||a.getAttribute("enabled")=="false")f.className+=" ms-MenuUIItemTableCellDisabled"}else{b=document.createElement("li");b.appendChild(a)}if(FIsIType(c,"submenu"))CreateSubmenu(g,a,c,h);else FIsIType(c,"option")&&CreateMenuOption(g,a,c,h,n);if(a.disabled==true||a.getAttribute("enabled")=="false"){a.disabled=false;a.className+=" ms-MenuUIDisabled";a.disabled=false;for(var m=a.childNodes.length,l=0;l<m;l++){var k=a.childNodes[l];if(k.nodeType!=1||k.tagName=="A")continue;k.disabled=true}a.optionDisabled=true}if(!(typeof _fV4UI!="undefined"&&_fV4UI)){MergeAttributes(d,a);if(a.optionDisabled!=null)d.optionDisabled=a.optionDisabled;d.id=h;SetIType(d,GetIType(a));return d}else{MergeAttributes(b,a);if(a.optionDisabled!=null)b.optionDisabled=a.optionDisabled;b.id=h;SetIType(b,GetIType(a));return b}}function GetItems(a){ULSrLq:;!a._oContents&&PrepContents(a);return a._oContents.childNodes}function GetIType(a){ULSrLq:;return a?a.getAttribute("type"):null}function FIsIType(b,a){ULSrLq:;return FIStringEquals(GetIType(b),a)}function SetIType(a,b){ULSrLq:;a&&a.setAttribute("type",b)}function FIStringEquals(a,b){ULSrLq:;return a!=null&&b!=null&&a.toLowerCase()==b.toLowerCase()}function RenderAccessibleMenu(a,c){ULSrLq:;if(c){a._oContents=null;a._oRoot=null;a._nLevel=0;a._arrPopup=[];a._arrSelected=[]}else a._oRoot=a._oContents;!a._oContents&&PrepContents(a);if(!a._oContents)return;if(!a._oRoot){a._nLevel=0;a._oRoot=a._oContents}FixUpMenuStructure(a);var d=a._fIsRtL?"rtl":"ltr";g_menuHtc_html="<html dir='"+d+"'><head><title>"+L_AccessibleMenu_Text+"</title></head><body><ul id='root'>";RenderMenuLevel(a,a._oRoot,true);g_menuHtc_html=g_menuHtc_html+"</ul></body></html>";a._accessibleMenuInProgress=true;var b=window.open("/_layouts/blank.htm","_blank","status=no,toolbar=no,menubar=no,location=no");a._accessibleMenu=b;b.document.write(g_menuHtc_html);b.document.close();b.onunload=MenuHtc_hide;b.focus()}function CloseAccessibleMenu(a,b){ULSrLq:;if(b==null)b=0;if(a!=null){a._accessibleMenuInProgress=false;if(b==0||b==1)if(a._accessibleMenu!=null){a._accessibleMenu.close();try{a._accessibleMenu.opener!=null&&a._accessibleMenu.opener.focus()}catch(c){}a._accessibleMenu=null}if(b==0||b==2)if(a._onDestroy!=null){a._onDestroy();a._onDestroy=null}}}function GetMenuItemText(d,b,a){ULSrLq:;if(a==""){a=EvalAttributeValue(b,"text","textScript");var c=EvalAttributeValue(b,"description","descriptionScript");if(c!=null&&c!=""&&d._fLargeIconMode){if(a!="")a=a+": ";a=a+c}}if(b.getAttribute("checked")=="true")a="* "+a;if(b.title!=null&&b.title!="")a=a+": "+b.title;return a}function GetMenuItemEnabled(a,b){ULSrLq:;if(!b)return false;if(a.getAttribute("enabled")=="false")return false;if(a.getAttribute("disabled")!=null&&a.getAttribute("disabled")!="")return false;return true}var g_menuHtc_html;function RenderMenuLevel(c,h,g){ULSrLq:;for(var d=0;d<h.childNodes.length;d++){var a=h.childNodes[d];if(a.nodeType!=1)continue;if(a.style.display=="none")continue;if(FIsIType(a,"option")){var f=GetMenuItemText(c,a,a.innerHTML.trim());if(!GetMenuItemEnabled(a,g))g_menuHtc_html=g_menuHtc_html+'<li><span id="'+a.id+'">'+f+"</span></li>";else g_menuHtc_html=g_menuHtc_html+'<li><a href="#" id="'+a.id+'" onMenuClick="'+a.getAttribute("onMenuClick")+'" onclick="javascript:opener.ExecuteOnAccessibleClick(this.getAttribute(\'onMenuClick\')); return false;">'+f+"</a></li>"}else if(FIsIType(a,"submenu")){var f=GetMenuItemText(c,a,"");g_menuHtc_html=g_menuHtc_html+'<li><span id="'+a.id+'">'+f;for(var e=0;e<a.childNodes.length;e++){var b=a.childNodes[e];if(b.nodeType!=1)continue;if(b.style.display=="none")continue;if(FIsIType(b,"label")){g_menuHtc_html=g_menuHtc_html+" "+b.innerHTML;break}}g_menuHtc_html=g_menuHtc_html+"</span><ul>";RenderMenuLevel(c,a,GetMenuItemEnabled(a,g));g_menuHtc_html=g_menuHtc_html+"</ul></li>"}}}function ExecuteOnAccessibleClick(b){ULSrLq:;var a=g_menuHtc_lastMenu;if(a!=null){CloseAccessibleMenu(a,1);ExecuteOnClick(b,a);CloseAccessibleMenu(a,2)}}function FIsIHidden(oItem){ULSrLq:;if(oItem){var hiddenFunc=oItem.getAttribute("hidden");if(!hiddenFunc)return false;return eval(hiddenFunc)}else return false}function EvalAttributeValue(oNode,sAttribute1,sAttribute2){ULSrLq:;var result=oNode.getAttribute(sAttribute2);if(result!=null&&result.toLowerCase().indexOf("javascript:")==0){result=eval(result.substring(11));if(result!=null&&result!="")return result}var result=oNode.getAttribute(sAttribute1);if(result==null)return "";return result}var MMU_chDelim=",",MMU_chDelimEnc="%2c",MMU_postbackPrefix="javascript:__doPostBack(",MMU_chDelim2="%",MMU_chDelim2Enc="%25";function MHash_New(){ULSrLq:;var a={};a._keys=[];a._values=[];return a}function MHash_Add(a,c,b){ULSrLq:;a._keys.push(c);a._values.push(b)}function MHash_Count(a){ULSrLq:;return a._keys.length}function MHash_Keys(a){ULSrLq:;return a._keys}function MHash_Values(a){ULSrLq:;return a._values}function MHash_Exists(b,c){ULSrLq:;for(var a=0;a<b._keys.length;a++)if(b._keys[a]==c)return true;return false}function MHash_Item(b,c){ULSrLq:;for(var a=0;a<b._keys.length;a++)if(b._keys[a]==c)return b._values[a];return null}var MMU_reDelimEnc=new RegExp(MMU_chDelimEnc,"g"),MMU_reDelim2Enc=new RegExp(MMU_chDelim2Enc,"g"),MMU_reDelimDec=new RegExp(MMU_chDelim,"g"),MMU_reDelim2Dec=new RegExp(MMU_chDelim2,"g");function MMU_EncVal(a){ULSrLq:;return a.replace(MMU_reDelimDec,MMU_chDelimEnc).replace(MMU_reDelim2Dec,MMU_chDelim2Enc)}function MMU_DecVal(a){ULSrLq:;return a.replace(MMU_reDelim2Enc,MMU_chDelim2).replace(MMU_reDelimEnc,MMU_chDelim)}function MMU_ParseNV(h){ULSrLq:;var g=MHash_New(),c=h.split(MMU_chDelim);if(c!=null)for(var f=0;f<c.length;f++){var a=c[f],b=a.indexOf("=");if(b==0)continue;var e=null,d=null;if(b<0)e=a;else{e=a.substr(0,b);if(b<a.length-1)d=MMU_DecVal(a.substr(b+1));else d=""}MHash_Add(g,e,d)}return g}function MMU_ParseNVAttr(a,c){ULSrLq:;var b=a.getAttribute(c);if(b==null&&a.childNodes.length>0&&a.childNodes[0].nodeType==1)b=a.childNodes[0].getAttribute(c);if(b==null)return MHash_New();return MMU_ParseNV(b)}function MMU_ResetMenuState(f,h,i,g,b){ULSrLq:;for(var e=0;e<f.childNodes.length;e++){var a=f.childNodes[e];if(a.nodeType!=1)continue;var c=a.getAttribute("id");if(a!=null&&c!=null&&c.length>0){if(a.childNodes.length>0){MMU_ResetMenuState(a,h,i,g,b);continue}if(MHash_Exists(i,c))a.style.display="none";else{a.style.display="";var d=a.getAttribute("enabledOverride");if(d!=null&&d.length>0)a.setAttribute("enabled",d,0);else if(MHash_Exists(h,c))a.setAttribute("enabled","false",0);else{a.setAttribute("enabled","true",0);if(MHash_Exists(g,c))a.setAttribute("checked","true",0);else a.setAttribute("checked","false",0)}}MMU_ReplTokValAttr(a,"onMenuClick",b);MMU_ReplTokValAttr(a,"text",b);MMU_ReplTokValAttr(a,"description",b);MMU_ReplTokValVal(a,b)}}}function MMU_ReplTokValAttr(c,b,f){ULSrLq:;var a=c.getAttribute(b),d=c.getAttribute(b+"_Original");if(a!=null&&d==null&&MHash_Count(f)>0)c.setAttribute(b+"_Original",a,0);else if(a!=null&&d!=null&&a!=d)a=d;if(a==null||a.length<=0)return;var e=MMU_ReplTokVal(a,f);e!=a&&c.setAttribute(b,e,0)}function MMU_ReplTokValVal(c,e){ULSrLq:;if(c.nextSibling==null)return;var a=c.nextSibling.nodeValue,b=c.getAttribute("valOrig");if(a!=null&&b==null&&MHash_Count(e)>0){b=a;c.setAttribute("valOrig",b,0)}else if(a!=null&&b!=null&&a!=b)a=b;var d=MMU_ReplTokVal(a,e);if(a!=null&&d!=null&&d!=a)c.nextSibling.nodeValue=d}function MMU_ReplTokVal(a,b){ULSrLq:;if(a!=null&&a.indexOf("%")>=0&&b!=null&&MHash_Count(b)>0)for(var d=MHash_Keys(b),e=MHash_Values(b),c=0;c<d.length;c++){var f=d[c],g=e[c];a=a.replace("%"+f+"%",g)}return a}var g_MMU_HighlightedEcbTable=null,g_MMU_HighlightedEcbTableOpen=null,g_MMU_OpenTimeoutHandle=null;function MMU_Open(menu,ecbLink,e,fAlignRight,alignId,delay){ULSrLq:;IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSMMUOpenStart);try{if(menu==null||ecbLink==null)return;if(ecbLink.getAttribute("suppressBubbleIfPostback")!=null&&e!=null&&e.srcElement!=null&&e.srcElement.href!=null&&e.srcElement.href.substr(0,MMU_postbackPrefix.length)==MMU_postbackPrefix){event.cancelBubble=true;return}ClearHighlightedEcbTableOpen();if(fAlignRight==null)fAlignRight=true;MMU_ResetMenuState(menu,MMU_ParseNVAttr(ecbLink,"menuItemsDisabled"),MMU_ParseNVAttr(ecbLink,"menuItemsHidden"),MMU_ParseNVAttr(ecbLink,"menuItemsChecked"),MMU_ParseNVAttr(ecbLink,"menuTokenValues"));var elemAlign=null;if(alignId!=null&&alignId.length>0)elemAlign=document.getElementById(alignId);if(elemAlign==null)elemAlign=document.getElementById(ecbLink.id+"_t");if(elemAlign==null)elemAlign=ecbLink;MMU_EcbHighlight(MMU_GetHighlightElement(ecbLink),true);var openMenuScript="MenuHtc_show(document.getElementById('"+menu.id+"'), document.getElementById('"+elemAlign.id+"'), true, "+fAlignRight+", null);";openMenuScript+="SetEcbMouseOutAndDestroy('"+menu.id+"');";if(delay!=null&&delay>0){openMenuScript+=" g_MMU_OpenTimeoutHandle=null;";g_MMU_OpenTimeoutHandle=window.setTimeout(openMenuScript,delay,"javascript")}else eval(openMenuScript);if(e!=null)e.cancelBubble=true}catch(ex){alert(L_Loading_Error_Text)}IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(CUI.PMarker.perfWSSMMUOpenEnd)}function SetEcbMouseOutAndDestroy(a){ULSrLq:;if(g_MMU_HighlightedEcbTable!=null){g_MMU_HighlightedEcbTable.onmouseout=null;g_MMU_HighlightedEcbTableOpen=g_MMU_HighlightedEcbTable;document.getElementById(a)._onDestroy=ClearHighlightedEcbTableOpen}}function ClearHighlightedEcbTableOpen(){ULSrLq:;if(g_MMU_HighlightedEcbTableOpen!=null){MMU_EcbHighlight(g_MMU_HighlightedEcbTableOpen,false);g_MMU_HighlightedEcbTableOpen=null}}function MMU_EcbLinkOnFocusBlurDeferCall(d,c,a){ULSrLq:;if(a)c.onblur=a?new Function("MMU_EcbLinkOnFocusBlurDeferCall(null, this, false)"):null;if(g_MMU_HighlightedEcbTableOpen!=null)return;var b=document.getElementById(c.id+"_t");b!=null&&MMU_EcbHighlight(b,a)}function MMU_EcbTableMouseOverOutDeferCall(b,a){ULSrLq:;if(a){if(b==g_MMU_HighlightedEcbTableOpen)return;b.onmouseout=a?new Function("MMU_EcbTableMouseOverOut(this, false)"):null}MMU_EcbHighlight(b,a)}function MMU_EcbHighlight(a,b){ULSrLq:;if(a==null&&!b)a=g_MMU_HighlightedEcbTableOpen;if(a==null)return;if(b==null)b=false;var d=a.getAttribute("hoverActive"),c=a.getAttribute("hoverInactive");if(d==null)d="ms-selectedtitle";if(c==null)c="ms-unselectedtitle";if(b){a.className=d;g_MMU_HighlightedEcbTable=a}else a.className=c;var e=a.getAttribute("menuformat"),f=document.getElementById(a.id+"i");if(f!=null&&e!=null&&e=="ArrowOnHover")f.style.visibility=b?"visible":"hidden";if(!b)g_MMU_HighlightedEcbTable=null}function MMU_PopMenuIfShowingDeferCall(b){ULSrLq:;if(!IsAccessibilityFeatureEnabledProxy()&&g_menuHtc_lastMenu){var a=g_menuHtc_lastMenu.getAttribute("type");a&&a=="ServerMenu"&&b.onclick()}}function MMU_HandleArrowSplitButtonKeyDown(a,c,b){ULSrLq:;if(!a.shiftKey&&!a.altKey&&!a.ctrlKey&&GetEventKeyCode(a)==13)return;if(b)return MMU_EcbLinkOnKeyDown(byid(c),b,a)}function MMU_HandleArrowOnHoverKeyDown(c,b,a){ULSrLq:;if(!a.shiftKey&&!a.altKey&&!a.ctrlKey&&GetEventKeyCode(a)==13)return;if(b)return MMU_EcbLinkOnKeyDown(c,b,a)}function MMU_GetHighlightElement(b){ULSrLq:;var a=null;a=document.getElementById(b.id+"_t");if(a!=null)return a;else return b}var g_MMU_theFormActionAtPageLoad=null,g_MMU_theFormActionAtPreMenuOpen=null,g_MMU_Form0ActionAtPageLoad=null,g_MMU_Form0ActionAtPreMenuOpen=null;function MMU_CallbackPreMenuOpen(templateClientId,menuClientId,callbackEventReference,timeoutLength,timeoutMessage,e){ULSrLq:;try{g_MMU_theFormActionAtPreMenuOpen=theForm!=null?theForm.action:"null";g_MMU_Form0ActionAtPreMenuOpen=document.forms!=null&&document.forms.length>0?document.forms[0].action:"null";var menuTemplate=document.getElementById(templateClientId),menuLink=document.getElementById(menuClientId);if(menuLink.getAttribute("suppressBubbleIfPostback")!=null&&e!=null&&e.srcElement!=null&&e.srcElement.href!=null&&e.srcElement.href.substr(0,MMU_postbackPrefix.length)==MMU_postbackPrefix){event.cancelBubble=true;return}MMU_StopPendingTimerEventsFromCallback();MMU_RemoveCallbackItemsFromMenuTemplate(menuTemplate);var menu=document.getElementById(menuClientId);menu.setAttribute("callbackInProgress","true",0);var loadingMessageMenuItem=CAMOpt(menuTemplate,L_Loading_Text,"null");if(loadingMessageMenuItem!=null){loadingMessageMenuItem.setAttribute("callbackitem","true",0);loadingMessageMenuItem.setAttribute("enabled","false",0)}var callbackContext=templateClientId+";"+menuClientId+";"+timeoutMessage.replace(/;/g,"%semi%").replace(/\'/g,"%quot%");callbackEventReference=callbackEventReference.replace(/__CALLBACKCONTEXT__/g,callbackContext);eval(callbackEventReference);g_MMU_RequestTimeoutTimeoutHandle=window.setTimeout("MMU_CallbackErrHandler('timeout', '"+callbackContext+"')",timeoutLength,"javascript")}catch(ex){alert(L_Loading_Error_Text)}}var g_MMU_RequestTimeoutTimeoutHandle=null;function MMU_RemoveCallbackItemsFromMenuTemplate(b){ULSrLq:;try{for(var a=0;a<b.childNodes.length;a++){var c=b.childNodes[a];if(c.nodeType==1&&c.getAttribute("callbackitem")=="true"){b.removeChild(c);--a}}}catch(d){alert(L_Loading_Error_Text)}}function MMU_StopPendingTimerEventsFromCallback(){ULSrLq:;if(g_MMU_OpenTimeoutHandle!=null){window.clearTimeout(g_MMU_OpenTimeoutHandle);g_MMU_OpenTimeoutHandle=null}if(g_MMU_RequestTimeoutTimeoutHandle!=null){window.clearTimeout(g_MMU_RequestTimeoutTimeoutHandle);g_MMU_RequestTimeoutTimeoutHandle=null}}function MMU_UpdateMenuTemplateWithErrorItem(a,b){ULSrLq:;MMU_RemoveCallbackItemsFromMenuTemplate(a);var c=CAMOpt(a,b,"null");if(loadingMessageMenuItem!=null){loadingMessageMenuItem.setAttribute("callbackitem","true",0);loadingMessageMenuItem.setAttribute("enabled","false",0)}}function MMU_UpdateOpenedMenuWithErrorItem(c,a,b){ULSrLq:;MMU_UpdateMenuTemplateWithErrorItem(a,b);HideMenu(a);MMU_Open(a,c)}function MMU_CallbackHandler(l,k){ULSrLq:;MMU_StopPendingTimerEventsFromCallback();var j=MMU_ParseContext(k),c=document.getElementById(j.TemplateClientId);if(c==null){alert(L_Loading_Error_Text);return}var b=document.getElementById(j.MenuClientId);if(b==null){alert(L_Loading_Error_Text);return}var g="",i="",h="",f="",e="",a=l.split(MMU_chDelim);if(a==null||a.length!=5)e=MMU_GenerateErrorMenuItem(L_Loading_Error_Text);else{var d=new RegExp(MMU_chDelimEnc,"g");g=a[0].replace(d,MMU_chDelim);i=a[1].replace(d,MMU_chDelim);h=a[2].replace(d,MMU_chDelim);f=a[3].replace(d,MMU_chDelim);e=a[4].replace(d,MMU_chDelim)}b.setAttribute("menuItemsDisabled",g,0);b.setAttribute("menuItemsHidden",i,0);b.setAttribute("menuItemsChecked",h,0);b.setAttribute("menuTokenValues",f,0);MMU_RemoveCallbackItemsFromMenuTemplate(c);c.innerHTML=c.innerHTML+e;HideMenu(c);MMU_Open(c,b);b.setAttribute("callbackInProgress","",0)}function MMU_CallbackErrHandler(f,e){ULSrLq:;try{alert(L_Loading_Error_Text);var a=MMU_ParseContext(e),d=document.getElementById(a.TemplateClientId);if(d==null){alert(L_Loading_Error_Text);return}var b=document.getElementById(a.MenuClientId);if(b==null){alert(L_Loading_Error_Text);return}b.setAttribute("callbackInProgress","",0);var c=L_Loading_Error_Text;if(f=="timeout"&&a.TimeoutMessage!=null&&a.TimeoutMessage.length>0)c=a.TimeoutMessage;MMU_UpdateOpenedMenuWithErrorItem(b,d,c)}catch(g){alert(L_Loading_Error_Text)}}function MMU_ParseContext(c){ULSrLq:;try{var a={},b=c.split(";");a.TemplateClientId=b[0];a.MenuClientId=b[1];a.TimeoutMessage=b[2].replace(/%semi%/g,";").replace(/%quot%/g,"'");return a}catch(d){alert(L_Loading_Error_Text)}}var L_NewFormLibTb3_Text="The document(s) could not be merged.\nThe required application may not be installed properly, or the template for this document library cannot be opened.\n\nPlease try the following:\n1. Check the General Settings for this document library for the name of the template, and install the application necessary for opening the template. If the application was set to install on first use, run the application and then try creating a new document again.\n\n2.  If you have permission to modify this document library, go to General Settings for the library and configure a new template.",L_NewFormLibTb4_Text="Select the document(s) you want to merge, and then click 'Merge Selected Documents' on the toolbar.";function combineDocuments(k,j,g){ULSrLq:;fNewDoc=false;if(browseris.w3c&&!browseris.ie)document.all=document.getElementsByTagName("*");var a=true,b,c;try{var e=document.all.chkCombine;for(i=0;a&&i<e.length;i++)if(e[i].checked&&a){a=false;b=document.all.chkUrl[i].getAttribute("href");c=document.all.chkProgID[i].getAttribute("href")}}catch(d){}try{if(a&&document.all.chkCombine.checked){a=false;b=document.all.chkUrl.getAttribute("href");c=document.all.chkProgID.getAttribute("href")}}catch(d){}if(!a){var f=false;try{NewDocumentButton=new ActiveXObject(c);fNewDoc=NewDocumentButton!=null}catch(d){}if(!fNewDoc)alert(L_NewFormLibTb3_Text);else{try{f=NewDocumentButton.MergeDocuments(b,document.all.chkCombine,makeAbsUrl(g))}catch(h){}if(!f)alert(L_NewFormLibTb3_Text);else window.onfocus=RefreshOnFocus}}else alert(L_NewFormLibTb4_Text)}var L_NewFormLibTb5_Text="Select the document(s) you want to relink, and then click 'Relink Selected Documents' on the toolbar.",L_NewFormLibTb6_Text="Only 500 documents can be relinked at a time. Modify your selection and then try again.";function repairLinks(e,f,g){ULSrLq:;if(browseris.w3c&&!browseris.ie)document.all=document.getElementsByTagName("*");var b=0,d=document.all.SubmitRepairDocs;d.value="";for(var c=document.getElementsByTagName("input"),a=0;a<c.length;a++)if(c[a].id=="chkRepair")if(c[a].checked){d.value+=c[a].getAttribute("docID");d.value+=" ";b++}if(b>0&&b<=500){document.all.SubmitRepairRedirectList.value=f;document.all.SubmitRepairRedirectFolder.value=e;document.all.SubmitRepairDocsForm.action=g+"/submitrepair.aspx";document.all.SubmitRepairDocsForm.submit()}else alert(b==0?L_NewFormLibTb5_Text:L_NewFormLibTb6_Text)}function repairAllLinks(a,b,c){ULSrLq:;if(browseris.w3c&&!browseris.ie)document.all=document.getElementsByTagName("*");document.all.SubmitRepairDocs.value="*";document.all.SubmitRepairRedirectList.value=b;document.all.SubmitRepairRedirectFolder.value=a;document.all.SubmitRepairDocsForm.action=c+"/submitrepair.aspx";document.all.SubmitRepairDocsForm.submit()}function NavigateToManageCopiesPage(a,b){ULSrLq:;STSNavigate(a+"/_layouts/managecopies.aspx?ItemUrl="+b+"&Source="+GetSource())}var L_ViewVersion_Text="View",L_RestoreVersion_Text="Restore",L_DeleteVersion_Text="Delete",L_DenyVersion_Text="Reject this version",L_UnPublishVersion_Text="Unpublish this version";function AddVersionMenuItemsCore(b,c){ULSrLq:;if(currentItemID!=null){var f=currentItemID.toString();if(f.indexOf(".0.")>=0)return}if(!HasRights(0,64))return;var a,e=itemTable.getAttribute("isCur"),h=itemTable.getAttribute("Level"),g=itemTable.getAttribute("canViewProperty");if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");if(g!="0"){a=CAMOpt(b,L_ViewVersion_Text,"javascript:ViewVersion()","");a.id="ID_ViewVersion"}if(HasRights(0,4)){a=CAMOpt(b,L_RestoreVersion_Text,"javascript:RestoreVersion()","");a.id="ID_RestoreVersion"}if(HasRights(0,128)&&e!="1"){a=CAMOpt(b,L_DeleteVersion_Text,"javascript:DeleteVersion()","");a.id="ID_DeleteVersion"}if(HasRights(0,16)&&HasRights(0,4))if((c.isModerated||c.EnableMinorVersions)&&currentItemFSObjType!=1&&(h==1&&e=="1")){var d=L_DenyVersion_Text;if(c.EnableMinorVersions)d=L_UnPublishVersion_Text;a=CAMOpt(b,d,"javascript:TakeOfflineVersion()","");a.id="ID_TakeOfflineVersion"}}function ViewVersion(){ULSrLq:;if(!IsContextSet())return;STSNavigate(itemTable.getAttribute("verUrl"))}var L_Version_Restore_Confirm_Text="You are about to replace the current version with the selected version.",L_Version_RestoreVersioningOff_Confirm_Text="Versioning is currently disabled. As a result, you are about to overwrite the current version. All changes to this version will be lost.",L_Version_NoRestore_Current_ERR="Cannot restore the current version.";function RestoreVersion(){ULSrLq:;if(!IsContextSet())return;var a=currentCtx;if(itemTable.getAttribute("isMostCur")!="0")alert(L_Version_NoRestore_Current_ERR);else{var b=a.HttpPath+"&op=Restore&ver="+itemTable.getAttribute("verId");if(confirm(a.verEnabled?L_Version_Restore_Confirm_Text:L_Version_RestoreVersioningOff_Confirm_Text)){window.frameElement&&window.frameElement.overrideDialogResult&&window.frameElement.overrideDialogResult(1);SubmitFormPost(b)}}}var L_Version_NoOffline_NonCurrent_ERR="You can only take offline the current published or approved version",L_Version_unpublish_Confirm_Text="Are you sure you want to unpublish this version of the document?",L_Version_deny_Confirm_Text="Are you sure you want to deny this version of the document?";function TakeOfflineVersion(){ULSrLq:;if(!IsContextSet())return;var b=currentCtx,a=L_Version_deny_Confirm_Text;if(b.EnableMinorVersions)a=L_Version_unpublish_Confirm_Text;if(itemTable.getAttribute("isCur")!="1"||itemTable.getAttribute("Level")!=1)alert(L_Version_NoOffline_NonCurrent_ERR);else confirm(a)&&SubmitFormPost(b.HttpPath+"&op=TakeOffline")}var L_Version_Delete_Confirm_Text="Are you sure you want to delete this version?",L_Version_Recycle_Confirm_Text="Are you sure you want to send this version to the site Recycle Bin?",L_Version_NoDelete_Current_ERR="You cannot delete the current checked in version, major version, or approved version.";function DeleteVersion(){ULSrLq:;if(!IsContextSet())return;var a=currentCtx;if(itemTable.getAttribute("isCur")!="0")alert(L_Version_NoDelete_Current_ERR);else{var b=a.HttpPath+"&op=Delete&ver="+itemTable.getAttribute("verId");confirm(a.RecycleBinEnabled?L_Version_Recycle_Confirm_Text:L_Version_Delete_Confirm_Text)&&SubmitFormPost(b)}}var L_Version_DeleteAll_Confirm_Text="Are you sure you want to delete all previous versions associated with this file?",L_Version_RecycleAll_Confirm_Text="Are you sure you want to send all previous versions associated with this file to the site Recycle Bin?",L_Version_DeleteAllMinor_Confirm_Text="Are you sure you want to delete all previous draft versions of this file?",L_Version_RecycleAllMinor_Confirm_Text="Are you sure you want to send all previous draft versions of this file to the site Recycle Bin?",L_Version_NoDeleteAll_None_ERR="There are no previous versions to delete.";function DeleteAllVersions(b,a){ULSrLq:;if(b<=1)alert(L_Version_NoDeleteAll_None_ERR);else confirm(a.RecycleBinEnabled?L_Version_RecycleAll_Confirm_Text:L_Version_DeleteAll_Confirm_Text)&&SubmitFormPost(a.HttpPath+"&op=DeleteAll")}function DeleteAllMinorVersions(b,a){ULSrLq:;if(b<=1)alert(L_Version_NoDeleteAll_None_ERR);else confirm(a.RecycleBinEnabled?L_Version_RecycleAllMinor_Confirm_Text:L_Version_DeleteAllMinor_Confirm_Text)&&SubmitFormPost(a.HttpPath+"&op=DeleteAllMinor")}function EditInGrid(b,a){ULSrLq:;EnsureListControl();if(fListControl){encViewId=escapeProperly(a);strDocUrl=b+"?ShowInGrid=True&View="+encViewId;pageView=GetUrlKeyValue("PageView",true);if(pageView!="")strDocUrl=strDocUrl+"&PageView="+pageView;showWebPart=GetUrlKeyValue("ShowWebPart",true);if(showWebPart!="")strDocUrl=strDocUrl+"&ShowWebPart="+showWebPart;viewId=GetUrlKeyValue("View",true);if(viewId==""||(viewId.toUpperCase()==a.toUpperCase()||viewId.toUpperCase()==encViewId.toUpperCase())){rootFolder=GetUrlKeyValue("RootFolder",true);if(rootFolder!="")strDocUrl=strDocUrl+"&RootFolder="+rootFolder}SubmitFormPost(strDocUrl)}else if(!fListErrorShown){alert(L_EditInGrid_Text);fListErrorShown=true}}function ExitGrid(e){ULSrLq:;var a,b,d,c;a=e;b=GetUrlKeyValue("PageView",true);d=GetUrlKeyValue("View",true);if(d!=""){a=a+"?View="+d;c=GetUrlKeyValue("RootFolder",true);if(c!="")a=a+"&RootFolder="+c;if(b!="")a=a+"&PageView="+b;showWebPart=GetUrlKeyValue("ShowWebPart",true);if(showWebPart!="")a=a+"&ShowWebPart="+showWebPart;a=a+"&ShowInGrid=HTML"}else{a=a+"?ShowInGrid=HTML";if(b!="")a=a+"&PageView="+b;showWebPart=GetUrlKeyValue("ShowWebPart",true);if(showWebPart!="")a=a+"&ShowWebPart="+showWebPart}SubmitFormPost(a)}function _AddSilverlightWebPart(d,b,a){ULSrLq:;var c=new _AddSilverlightWebPartPopupUI(d,b,a);c.show()}function _AddSilverlightWebPartPopupUI(c,b,a){ULSrLq:;this.item=c;this.zoneNum=b;this.zoneIndex=a}function _AddSilverlightWebPartPopupUI_show(){ULSrLq:;var b=this,c=function(){ULSrLq:;var a={};a.url=_spExternalApplicationRegistrationInformation.dialogUrl;a.width=_spExternalApplicationRegistrationInformation.dialogWidth;a.height=_spExternalApplicationRegistrationInformation.dialogHeight;a.dialogReturnValueCallback=Function.createDelegate(b,b.dialogCallback);SP.UI.ModalDialog.showModalDialog(a)},a;try{a=typeof SP.UI.ModalDialog.showModalDialog}catch(d){a="undefined"}EnsureScript("SP.js",a,c)}function _AddSilverlightWebPartPopupUI_dialogCallback(c,a){ULSrLq:;if(c==1){var b=WPAdder._getHiddenField("wpVal");if(b)if(a.applicationXml)b.value=a.applicationXml;else b.value=a.url;WPAdder.addItemToPage(this.item,this.zoneNum,this.zoneIndex)}}_AddSilverlightWebPartPopupUI.prototype.show=_AddSilverlightWebPartPopupUI_show;_AddSilverlightWebPartPopupUI.prototype.dialogCallback=_AddSilverlightWebPartPopupUI_dialogCallback;function _ConfigSilverlightWebpart(b,a,c,f,d){ULSrLq:;var e=new _ConfigSilverlightWebpartPopupUI(b,a,c,f,d);e.show()}function _ConfigSilverlightWebpartPopupUI(b,a,c,e,d){ULSrLq:;this.urlElementId=b;this.appXmlElementId=a;this.dialogUrl=c;this.dialogWidth=e;this.dialogHeight=d}function _ConfigSilverlightWebpartPopupUI_show(){ULSrLq:;var a=this,c=function(){ULSrLq:;var b={};b.url=a.dialogUrl;b.width=a.dialogWidth;b.height=a.dialogHeight;var c={};c.url=document.getElementById(a.urlElementId).value;c.applicationXml=document.getElementById(a.appXmlElementId).value;b.args=c;b.dialogReturnValueCallback=Function.createDelegate(a,a.dialogCallback);SP.UI.ModalDialog.showModalDialog(b)},b;try{b=typeof SP.UI.ModalDialog.showModalDialog}catch(d){b="undefined"}EnsureScript("SP.js",b,c)}function _ConfigSilverlightWebpartPopupUI_dialogCallback(c,b){ULSrLq:;if(c==1){var a=document.getElementById(this.urlElementId);if(a)if(b.url!=null)a.value=b.url;else a.value="";a=document.getElementById(this.appXmlElementId);if(a)if(b.applicationXml!=null)a.value=b.applicationXml;else a.value=""}}_ConfigSilverlightWebpartPopupUI.prototype.show=_ConfigSilverlightWebpartPopupUI_show;_ConfigSilverlightWebpartPopupUI.prototype.dialogCallback=_ConfigSilverlightWebpartPopupUI_dialogCallback;typeof NotifyScriptLoadedAndExecuteWaitingJobs=="function"&&NotifyScriptLoadedAndExecuteWaitingJobs("core.js")

Open in new window

Hi,
 I attached Core.Js.
CORE.JS
Please paste the following code to the Content Editor web part.
<script type="text/javascript">
function AddSharedNamespaceMenuItems(f,a){ULSrLq:;var g=GetRootFolder(a);setupMenuContext(a);if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;bIsCheckout=0;if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";var e=a.displayFormUrl+c+"ID="+currentItemID+d;e=AddSourceToUrl(e)+g;if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";strImagePath="";b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);CUIInfo(b,"ViewProperties",["ViewProperties"]);if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp){if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;else strDisplayText=L_EditItem_Text;c="&";if(a.editFormUrl.indexOf("?")==-1)c="?";if(a.listBaseType==1){strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"}else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";else{strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;strAction=AddSourceToUrl(strAction)+"')"}strImagePath=a.imagesPath+"edititem.gif";/* b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);if(a.listBaseType==1){b.id="ID_EditProperties";CUIInfo(b,"EditProperties",["EditProperties"])}else{b.id="ID_EditItem";CUIInfo(b,"EditProperties",["EditProperties"])} */ if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0){var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);strDisplayText=L_EditSeriesItem_Text;strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";strImagePath=a.imagesPath+"recurrence.gif";b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);b.id="ID_EditSeriesItem"}}}
</script>

Open in new window

Hi Sir,
 I tried this one too. But no luck .

And Thanks for helping me.. i will let you know if i get something..
Hi,

 FYI :

   I tried your both script in moss 2007. First script works fine for sharepoint 2007. But second one (last one) has problem. So i think something wrong with second one. But both does not work for sharepoint 2010.
The second one was for 2010 (not for 2007). Since I do not have a 2010 for testing, so I cannot do the testing, but I think it should work as it is the same rational as the scripts for 2007. I took it from the CORE.js and commented out the lines that do not need.
Could you send me a View Source codes for your view. Maybe there is something different about 2010?
Hi,
 I added content editor web part and i added second script. now i am sending you view source.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:o="urn:schemas-microsoft-com:office:office" lang="en-us" dir="ltr">
<head><meta http-equiv="X-UA-Compatible" content="IE=8" /><meta name="GENERATOR" content="Microsoft SharePoint" /><meta name="progid" content="SharePoint.WebPartPage.Document" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Expires" content="0" /><title>
	Precedents - All Documents
</title><link rel="stylesheet" type="text/css" href="/sites/legal/_catalogs/theme/Themed/9262B884/search-7E1AFF02.css?ctag=4"/>
<link rel="stylesheet" type="text/css" href="/sites/legal/_catalogs/theme/Themed/9262B884/corev4-8A0ABD2F.css?ctag=4"/>
 
	<script type="text/javascript">
	var _fV4UI = true;
	</script>
	<script type="text/javascript"> 
// <![CDATA[
document.write('<script type="text/javascript" src="/_layouts/1033/init.js?rev=BJDmyeIV5jS04CPkRq4Ldg%3D%3D"></' + 'script>');
document.write('<script type="text/javascript" src="/_layouts/1033/msstring.js?rev=QtiIcPH3HV7LgVSO7vONFg%3D%3D"></' + 'script>');
document.write('<script type="text/javascript" src="/_layouts/1033/ie55up.js?rev=aLkCI%2BqMbk0%2BXpjAY7eBcA%3D%3D"></' + 'script>');
document.write('<script type="text/javascript" src="/ScriptResource.axd?d=n-BprSJiQ8fYmCsLmZpzb_JOtRscijwHVsO3eBDYm_yKWkm3EJRfrTLKDmRHrISPt_U67-yj_6niIQOgGno0eKqd7Ta08LQqW4IG4EYFaJc1&amp;t=ffffffffec2d9970"></' + 'script>');
document.write('<script type="text/javascript" src="/_layouts/blank.js?rev=QGOYAJlouiWgFRlhHVlMKA%3D%3D"></' + 'script>');
document.write('<script type="text/javascript" src="/ScriptResource.axd?d=n-BprSJiQ8fYmCsLmZpzb_JOtRscijwHVsO3eBDYm_yKWkm3EJRfrTLKDmRHrISPWu3FZ1AeiuAA77RA0HGh-lkxQ_DTHYxUtk6v4uCGsck1&amp;t=ffffffffec2d9970"></' + 'script>');
// ]]>
</script>
<link type="text/xml" rel="alternate" href="/sites/legal/_vti_bin/spsdisco.aspx" />
	<link rel="alternate" type="application/rss+xml" title="Precedents" href="/sites/legal/_layouts/listfeed.aspx?List=27ff0f2f%2D4ac5%2D4424%2Da6ec%2D19a76e9cedcc" />
 
<link rel="shortcut icon" href="/_layouts/images/favicon.ico" type="image/vnd.microsoft.icon" />
<style type="text/css"> 
.ms-bodyareaframe {
	padding: 0px;
}
</style>
<style type="text/css"> 
	.ctl00_PlaceHolderMain_Main_0 { border-color:Black;border-width:1px;border-style:Solid; }
	.ctl00_wpz_0 { border-color:Black;border-width:1px;border-style:Solid; }
 
</style></head>
<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master">
  <form name="aspnetForm" method="post" action="AllItems.aspx?PageView=Shared&amp;InitialTabId=Ribbon.WebPartPage&amp;VisibilityContext=WSSWebPartPage" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm" enctype="multipart/form-data">
<div>
<input type="hidden" name="MSOWebPartPage_PostbackSource" id="MSOWebPartPage_PostbackSource" value="" />
<input type="hidden" name="MSOTlPn_SelectedWpId" id="MSOTlPn_SelectedWpId" value="" />
<input type="hidden" name="MSOTlPn_View" id="MSOTlPn_View" value="0" />
<input type="hidden" name="MSOTlPn_ShowSettings" id="MSOTlPn_ShowSettings" value="False" />
<input type="hidden" name="MSOGallery_SelectedLibrary" id="MSOGallery_SelectedLibrary" value="" />
<input type="hidden" name="MSOGallery_FilterString" id="MSOGallery_FilterString" value="" />
<input type="hidden" name="MSOTlPn_Button" id="MSOTlPn_Button" value="none" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__REQUESTDIGEST" id="__REQUESTDIGEST" value="0x53D62388B22F854481F1C2D96F2AC8F244BB29A3AFAF620C05B6B6F6BEF202D79F8201AE95B62E0DC0ECCD5303680E6E4E36C14AE1B2660EF22479C65A28F6EA,28 Sep 2010 17:43:15 -0000" />
<input type="hidden" name="MSOSPWebPartManager_DisplayModeName" id="MSOSPWebPartManager_DisplayModeName" value="Browse" />
<input type="hidden" name="MSOSPWebPartManager_ExitingDesignMode" id="MSOSPWebPartManager_ExitingDesignMode" value="false" />
<input type="hidden" name="MSOWebPartPage_Shared" id="MSOWebPartPage_Shared" value="" />
<input type="hidden" name="MSOLayout_LayoutChanges" id="MSOLayout_LayoutChanges" value="" />
<input type="hidden" name="MSOLayout_InDesignMode" id="MSOLayout_InDesignMode" value="" />
<input type="hidden" name="_wpSelected" id="_wpSelected" value="MSOZoneCell_WebPartWPQ2" />
<input type="hidden" name="_wzSelected" id="_wzSelected" value="" />
<input type="hidden" name="MSOSPWebPartManager_OldDisplayModeName" id="MSOSPWebPartManager_OldDisplayModeName" value="Browse" />
<input type="hidden" name="MSOSPWebPartManager_StartWebPartEditingName" id="MSOSPWebPartManager_StartWebPartEditingName" value="false" />
<input type="hidden" name="MSOSPWebPartManager_EndWebPartEditing" id="MSOSPWebPartManager_EndWebPartEditing" value="false" />
<input type="hidden" name="_maintainWorkspaceScrollPosition" id="_maintainWorkspaceScrollPosition" value="0" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTU4MzM1OTMxNg9kFgJmD2QWAgIBD2QWAgIDDxYCHgdlbmN0eXBlBRNtdWx0aXBhcnQvZm9ybS1kYXRhFg4CAw9kFgQFJmdfMzgzZDM0N2FfZWM0YV80YTk3XzgyNGVfYWY0YTU3NjM4ZjBjEA8WFB4LRGVzY3JpcHRpb25lHglEaXJlY3Rpb24LKipTeXN0ZW0uV2ViLlVJLldlYkNvbnRyb2xzLkNvbnRlbnREaXJlY3Rpb24AHgVUaXRsZQUKUHJlY2VkZW50cx4KQ2hyb21lVHlwZWYeDF92aWV3Q291bnRlcgL4AR4FV2lkdGgcHhBGaWx0ZXJPcGVyYXRpb25zMo0FAAEAAAD/////AQAAAAAAAAAEAQAAAJMCU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuRGljdGlvbmFyeWAyW1tTeXN0ZW0uU3RyaW5nLCBtc2NvcmxpYiwgVmVyc2lvbj0yLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldLFtNaWNyb3NvZnQuU2hhcmVQb2ludC5XZWJQYXJ0UGFnZXMuRmlsdGVyT3BlcmF0aW9uLCBNaWNyb3NvZnQuU2hhcmVQb2ludCwgVmVyc2lvbj0xNC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj03MWU5YmNlMTExZTk0MjljXV0DAAAAB1ZlcnNpb24IQ29tcGFyZXIISGFzaFNpemUAAwAIkgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5HZW5lcmljRXF1YWxpdHlDb21wYXJlcmAxW1tTeXN0ZW0uU3RyaW5nLCBtc2NvcmxpYiwgVmVyc2lvbj0yLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXQgAAAAACQIAAAAAAAAABAIAAACSAVN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkdlbmVyaWNFcXVhbGl0eUNvbXBhcmVyYDFbW1N5c3RlbS5TdHJpbmcsIG1zY29ybGliLCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAAAAAAseBkhlaWdodBweBF8hU0ICgIMIHgtQYXJhbVZhbHVlczLdCAABAAAA/////wEAAAAAAAAADAIAAABYTWljcm9zb2Z0LlNoYXJlUG9pbnQsIFZlcnNpb249MTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49NzFlOWJjZTExMWU5NDI5YwUBAAAAPU1pY3Jvc29mdC5TaGFyZVBvaW50LldlYlBhcnRQYWdlcy5QYXJhbWV0ZXJOYW1lVmFsdWVIYXNodGFibGUBAAAABV9jb2xsAxxTeXN0ZW0uQ29sbGVjdGlvbnMuSGFzaHRhYmxlAgAAAAkDAAAABAMAAAAcU3lzdGVtLkNvbGxlY3Rpb25zLkhhc2h0YWJsZQcAAAAKTG9hZEZhY3RvcgdWZXJzaW9uCENvbXBhcmVyEEhhc2hDb2RlUHJvdmlkZXIISGFzaFNpemUES2V5cwZWYWx1ZXMAAAMDAAUFCwgcU3lzdGVtLkNvbGxlY3Rpb25zLklDb21wYXJlciRTeXN0ZW0uQ29sbGVjdGlvbnMuSUhhc2hDb2RlUHJvdmlkZXII7FE4PxYAAAAKChcAAAAJBAAAAAkFAAAAEAQAAAALAAAABgYAAAATc2VsZWN0X2Rlc2VsZWN0X2FsbAYHAAAAD05vQW5ub3VuY2VtZW50cwYIAAAACW9wZW5fbWVudQYJAAAADWlkUHJlc0VuYWJsZWQGCgAAAApTZWxlY3RlZElEBgsAAAARZHZ0X3N0YXJ0cG9zaXRpb24GDAAAAApGaWx0ZXJMaW5rBg0AAAAIUGFnZVZpZXcGDgAAABROb0Fubm91bmNlbWVudHNIb3dUbwYPAAAAEGR2dF9wcmV2cGFnZWRhdGEGEAAAABVPcGVuTWVudUtleUFjY2Vzc2libGUQBQAAAAsAAAAGEQAAABxTZWxlY3Qgb3IgZGVzZWxlY3QgYWxsIGl0ZW1zBhIAAABNVGhlcmUgYXJlIG5vIGl0ZW1zIHRvIHNob3cgaW4gdGhpcyB2aWV3IG9mIHRoZSAiUHJlY2VkZW50cyIgZG9jdW1lbnQgbGlicmFyeS4GEwAAAAlPcGVuIE1lbnUGFAAAACBQcmVzZW5jZSBlbmFibGVkIGZvciB0aGlzIGNvbHVtbgYVAAAAAi0xBhYAAAAABhcAAAARP1BhZ2VWaWV3PVNoYXJlZCYGGAAAAAZTaGFyZWQGGQAAACtUbyBhZGQgYSBuZXcgaXRlbSwgY2xpY2sgIk5ldyIgb3IgIlVwbG9hZCIuBhoAAAB1UGFnZWQ9VFJVRSZQYWdlZFByZXY9VFJVRSZwX1NvcnRCZWhhdmlvcj0wJnBfRmlsZUxlYWZSZWY9QXJtJTIwYW5kJTIwQ2VydGljb20lMjBDRFMlMjAlMmQlMjBMVFIlMmQwNzE1MCUyZWRvY3gmcF9JRD02BhsAAAAuVXNlIFNISUZUK0VOVEVSIHRvIG9wZW4gdGhlIG1lbnUgKG5ldyB3aW5kb3cpLgtkZGQFJmdfYWNlMGYxNjlfNTU5ZV80ZjdlXzkyM2ZfNTE1NGE1Y2ZlZDU1Dw8WDh8DBQ5Db250ZW50IEVkaXRvch8BBSpBbGxvd3MgYXV0aG9ycyB0byBlbnRlciByaWNoIHRleHQgY29udGVudC4fBGYfAgsrBAAfBhwfCBwfCQKAgwgWAh4LUnRlUmVkaXJlY3QFNGN0bDAwX21fZ19hY2UwZjE2OV81NTllXzRmN2VfOTIzZl81MTU0YTVjZmVkNTVfY3RsMDAWBGYPFhQeDEVtcHR5UGFuZWxJZAU0Y3RsMDBfbV9nX2FjZTBmMTY5XzU1OWVfNGY3ZV85MjNmXzUxNTRhNWNmZWQ1NV9jdGwwMR4FY2xhc3MFI21zLXJ0ZXN0YXRlLXdyaXRlIG1zLXJ0ZXN0YXRlLWZpZWxkHglpbm5lcmh0bWxkHgdWaXNpYmxlaB4Fc3R5bGUFDWRpc3BsYXk6bm9uZTseDEFsbG93U2NyaXB0cwUEVHJ1ZR4PY29udGVudEVkaXRhYmxlBQR0cnVlHg1Db250ZW50RWRpdG9yBQRUcnVlHg1BbGxvd1dlYlBhcnRzBQVGYWxzZR4MSW5wdXRGaWVsZElkBTVjdGwwMF9tX2dfYWNlMGYxNjlfNTU5ZV80ZjdlXzkyM2ZfNTE1NGE1Y2ZlZDU1Y29udGVudGQCAQ8WBB8QBSdkaXNwbGF5OjtjdXJzb3I6aGFuZDt0ZXh0LWFsaWduOmNlbnRlcjsfD2hkAhEPZBYEZg9kFgQCAQ9kFgJmD2QWBAICD2QWCAIDDxYIHhNDbGllbnRPbkNsaWNrU2NyaXB0BX9qYXZhU2NyaXB0OkNvcmVJbnZva2UoJ1Rha2VPZmZsaW5lVG9DbGllbnRSZWFsJywxLCAxLCAnaHR0cDpcdTAwMmZcdTAwMmZ1c2Etc2pjLW1zczIwMTBcdTAwMmZzaXRlc1x1MDAyZmxlZ2FsJywgLTEsIC0xLCAnJywgJycpHhhDbGllbnRPbkNsaWNrTmF2aWdhdGVVcmxkHihDbGllbnRPbkNsaWNrU2NyaXB0Q29udGFpbmluZ1ByZWZpeGVkVXJsZB4MSGlkZGVuU2NyaXB0BSFUYWtlT2ZmbGluZURpc2FibGVkKDEsIDEsIC0xLCAtMSlkAgUPFgIfD2hkAhUPFgIfD2hkAhcPZBYCZg8PFgYeHFByZXZpb3VzQXV0aG9yaW5nSXRlbVZlcnNpb25lHhpQcmV2aW91c0F1dGhvcmluZ0l0ZW1Pd25lcmUeHFByZXZpb3VzQXV0aG9yaW5nQ29udHJvbE1vZGULKYgBTWljcm9zb2Z0LlNoYXJlUG9pbnQuV2ViQ29udHJvbHMuU1BDb250cm9sTW9kZSwgTWljcm9zb2Z0LlNoYXJlUG9pbnQsIFZlcnNpb249MTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49NzFlOWJjZTExMWU5NDI5YwBkZAIDDw8WCh4JQWNjZXNzS2V5BQEvHg9BcnJvd0ltYWdlV2lkdGgCBR4QQXJyb3dJbWFnZUhlaWdodAIDHhFBcnJvd0ltYWdlT2Zmc2V0WGYeEUFycm93SW1hZ2VPZmZzZXRZAusDZGQCAw9kFgICAQ9kFgICAw9kFgICAQ88KwAFAQAPFgIeD1NpdGVNYXBQcm92aWRlcgURU1BTaXRlTWFwUHJvdmlkZXJkZAIBD2QWBgIFD2QWAgIBDxAWAh8PaGQUKwEAZAIHD2QWAmYPZBYCZg8UKwADZAVDaHR0cDovL3VzYS1zamMtbXNzMjAxMDo4MC9teS9QZXJzb24uYXNweD9hY2NvdW50bmFtZT1VU0ElNUNkaXBwYXQwMQUdaHR0cDovL3VzYS1zamMtbXNzMjAxMDo4MC9teS9kAgkPDxYEHgRUZXh0BR5MYXVuY2ggdGhlIERldmVsb3BlciBEYXNoYm9hcmQfD2hkZAIdD2QWAgIDD2QWAgIBD2QWAgIBD2QWAgIBD2QWBGYPFgYeDEZlYXR1cmVTY29wZQUEU2l0ZR4ITG9jYXRpb24FIU1pY3Jvc29mdC5TaGFyZVBvaW50LlN0YW5kYXJkTWVudR4HR3JvdXBJZAUQVmlld1NlbGVjdG9yTWVudWQCAQ8PFhIeFkhvdmVyQXJyb3dJbWFnZU9mZnNldFkCygIfHwIEHhRIb3ZlckFycm93SW1hZ2VXaWR0aAIHHyBmHyECxgIfHgIHHhVIb3ZlckFycm93SW1hZ2VIZWlnaHQCBB4WSG92ZXJBcnJvd0ltYWdlT2Zmc2V0WGYfHQUBV2RkAiMPZBYCAgEPZBYCZg9kFgICAg8PZBYGHw0FIm1zLXNidGFibGUgbXMtc2J0YWJsZS1leCBzNC1zZWFyY2geC2NlbGxwYWRkaW5nBQEwHgtjZWxsc3BhY2luZwUBMGQCLQ9kFgICAw8PFgIfD2hkZAIvD2QWAgIBDxYCHw9oZAIzD2QWAgIHD2QWAgIBDw8WAh8PaGQWAgIDD2QWAmYPZBYCAgMPZBYCAgUPDxYEHwgbAAAAAAAAeUABAAAAHwkCgAFkFgICAQ88KwAJAQAPFgQeDVBhdGhTZXBhcmF0b3IECB4NTmV2ZXJFeHBhbmRlZGdkZBgBBUdjdGwwMCRQbGFjZUhvbGRlclRvcE5hdkJhciRQbGFjZUhvbGRlckhvcml6b250YWxOYXYkVG9wTmF2aWdhdGlvbk1lbnVWNA8PZAUFTGVnYWxklFYv6PgtlqMZB2Qh83xiPF9ImYM=" />
</div>
 
<script type="text/javascript"> 
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>
 
 
<script src="/WebResource.axd?d=Er-R0AF_nIvbhdVF2KIxpQ2&amp;t=633802380069218315" type="text/javascript"></script>
 
 
<script type="text/javascript"> 
//<![CDATA[
var MSOWebPartPageFormName = 'aspnetForm';
var _fV4UI=true;var _spPageContextInfo = {webServerRelativeUrl: "\u002fsites\u002flegal", webLanguage: 1033, currentLanguage: 1033, webUIVersion:4,pageListId:"{27ff0f2f-4ac5-4424-a6ec-19a76e9cedcc}",userId:9, alertsEnabled:false, siteServerRelativeUrl: "\u002fsites\u002flegal", allowSilverlightPrompt:'True'};var g_presenceEnabled = true;
var g_wsaEnabled = false;
var g_wsaLCID = 1033;
var g_wsaSiteTemplateId = 'STS#0';
var g_wsaListTemplateId = 101;
function CallServer_20499072(arg, context) {WebForm_DoCallback('ctl00$ctl15',arg,SP.UI.MyLinksRibbon.MyLinksRibbonPageComponent.ribbonActionCallback,context,null,false); }function _myLinksRibbonLoad2()
{
    var fnd = function () {
        try {
            mylinks_init.MyLinksInit('CallServer_20499072'); 
        } 
        catch (Ex)
        { }
    };
    RegisterSod('mylinks_init', '/_layouts/SP.UI.MyLinksRibbon.js');
    LoadSodByKey('mylinks_init', fnd);
}
 
function _myLinksRibbonLoad1()
{
    ExecuteOrDelayUntilScriptLoaded(_myLinksRibbonLoad2, 'SP.Ribbon.js');
}
 
_spBodyOnLoadFunctionNames.push('_myLinksRibbonLoad1');
 
if (typeof(_spBodyOnLoadFunctionNames) != "undefined") {
if (_spBodyOnLoadFunctionNames != null) {
_spBodyOnLoadFunctionNames.push("ExpDataViewGroupOnPageLoad");
}
}//]]>
</script>
<script type="text/javascript"> 
<!--
var L_Menu_BaseUrl="/sites/legal";
var L_Menu_LCID="1033";
var L_Menu_SiteTheme="";
//-->
</script>
<script type="text/javascript"> 
//<![CDATA[
var __SafeRunFunctionLoadedScripts = new Array();function SafeRunFunction(fnc, script, type){    if (!_spBodyOnLoadCalled)    {        __QueueFunctionForSafeRunFunction(fnc, script, type);        return;    }    var executed = ExecuteOrDelayUntilScriptLoaded(fnc, script);    if (executed)    {        return;    }    var loaded = false;    for (var i = 0; i < __SafeRunFunctionLoadedScripts.length; i++)    {        if (__SafeRunFunctionLoadedScripts[i].toLowerCase() != script.toLowerCase())        {            continue;        }        loaded = true;        break;    }    if (loaded)    {        return;    }    __SafeRunFunctionLoadedScripts.push(script);    var defd;    try    {        eval('defd = typeof(' + type + ');');    }    catch (e)    {        defd = 'undefined';    }    EnsureScript(script, defd, function(){});}var __SafeRunFunctionQueue = null;function __QueueFunctionForSafeRunFunction(fnc, script, type){    if (!__SafeRunFunctionQueue)    {        __SafeRunFunctionQueue = new Array();    }    var container = new Object();    container['Function'] = fnc;    container['Script']   = script;    container['Type']     = type;    __SafeRunFunctionQueue.push(container);}function __ProcessQueuedFunctions(){    if (!__SafeRunFunctionQueue ||          __SafeRunFunctionQueue.length <= 0)    {        return;    }    for (var i = 0; i < __SafeRunFunctionQueue.length; i++)    {        var container = __SafeRunFunctionQueue[i];        var fnc    = container['Function'];        var script = container['Script'];        var type   = container['Type'];        SafeRunFunction(fnc, script, type);    }    __SafeRunFunctionQueue = null;}_spBodyOnLoadFunctionNames.push('__ProcessQueuedFunctions');var dlc_fvsi = {"DefaultViews":[],"ViewUrls":[],"WebUrl":"\/sites\/legal"};//]]>
</script>
 
<script type="text/javascript"> 
//<![CDATA[
function _spNavigateHierarchy(nodeDiv, dataSourceId, dataPath, url, listInContext, type) {
    CoreInvoke('ProcessDefaultNavigateHierarchy', nodeDiv, dataSourceId, dataPath, url, listInContext, type, document.forms.aspnetForm, "", "\u002fsites\u002flegal\u002fPrecedents\u002fForms\u002fAllItems.aspx");
 
}
//]]>
</script>
<script type="text/javascript"> 
//<![CDATA[
var _spWebPartComponents = new Object();_spWebPartComponents["WebPartWPQ2"] = new Object();_spWebPartComponents["WebPartWPQ2"].firstTabId = "Ribbon.Document";_spWebPartComponents["WebPartWPQ2"].contextualGroupCommands = ["LibraryContextualGroup"];_spWebPartComponents["WebPartWPQ2"].hasNonPromotedContextualGroups = true;_spWebPartComponents["WebPartWPQ2"].isDefaultWebPart = false;_spWebPartComponents["WebPartWPQ2"].pageComponentId = "WebPartWPQ2";_spWebPartComponents["WebPartWPQ2"].storageId="383d347a-ec4a-4a97-824e-af4a57638f0c";//]]>
</script>
<script type="text/javascript" > 
<!--
//-->
</script>
<script src="/_layouts/blank.js?rev=QGOYAJlouiWgFRlhHVlMKA%3D%3D" type="text/javascript"></script>
<script type="text/javascript"> 
//<![CDATA[
if (typeof(DeferWebFormInitCallback) == 'function') DeferWebFormInitCallback();function WebForm_OnSubmit() {
UpdateFormDigest('\u002fsites\u002flegal', 1440000);
                    var workspaceElem = GetCachedElement("s4-workspace");
                    if (workspaceElem != null)
                    {
                        var scrollElem = GetCachedElement("_maintainWorkspaceScrollPosition");
                        if (scrollElem != null)
                        {
                            scrollElem.value = workspaceElem.scrollTop;
                        }
                    };
                if (typeof(_spFormOnSubmitWrapper) != 'undefined') {return _spFormOnSubmitWrapper();} else {return true;};
return true;
}
//]]>
</script>
 
<div>
 
	<input type="hidden" name="__SCROLLPOSITIONX" id="__SCROLLPOSITIONX" value="0" />
	<input type="hidden" name="__SCROLLPOSITIONY" id="__SCROLLPOSITIONY" value="0" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQKDlcCLCQKpn5bCCwLEiLTXBQLNrvW5AwLY47yCDb9DY3zYV5C8ozmxTtA4fCGvuuiC" />
</div>
  <script type="text/javascript"> 
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager', document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['fctl00$WebPartAdderUpdatePanel','tctl00$panelZone'], [], ['ctl00$WebPartAdder'], 90);
//]]>
</script>
 
	
<noscript><div class='noindex'>You may be trying to access this site from a secured browser on the server. Please enable scripts and reload this page.</div></noscript>
<div id="TurnOnAccessibility" style="display:none" class="s4-notdlg noindex">
	<a id="linkTurnOnAcc" href="#" class="ms-TurnOnAcc" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;">Turn on more accessible mode</a>
</div>
<div id="TurnOffAccessibility" style="display:none" class="s4-notdlg noindex">
	<a id="linkTurnOffAcc" href="#" class="ms-TurnOffAcc" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;">Turn off more accessible mode</a>
</div>
<div class="s4-notdlg s4-skipribbonshortcut noindex">
	<a href="javascript:;" onclick="javascript:this.href='#startNavigation';" class="ms-SkiptoNavigation" accesskey="Y">Skip Ribbon Commands</a>
</div>
<div class="s4-notdlg noindex">
	<a href="javascript:;" onclick="javascript:this.href='#mainContent';" class="ms-SkiptoMainContent" accesskey="X">Skip to main content</a>
</div>
<a id="HiddenAnchor" href="javascript:;" style="display:none;"></a>
 
<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
	<div id="s4-ribboncont">
		<input id="RibbonContainer_activeTabId" name="ctl00$ctl30" type="hidden" value="Ribbon.WebPartPage"></input><div id='RibbonContainer'><div class="ms-cui-ribbon" id="Ribbon" unselectable="on" aria-describedby="ribboninstructions" oncontextmenu="return false" role="toolbar"><span class="ms-cui-hidden" id="ribboninstructions" unselectable="on">To navigate through the Ribbon, use standard browser navigation keys. To skip between groups, use Ctrl+LEFT or Ctrl+RIGHT. To jump to the first Ribbon tab use Ctrl+[. To jump to the last selected command use Ctrl+]. To activate a command, use Enter.</span><div class="ms-cui-ribbonTopBars" unselectable="on"><div class="ms-cui-topBar1" unselectable="on" style="display:none"><div class="ms-cui-qat-container" unselectable="on"></div></div><div class="ms-cui-topBar2" unselectable="on"><div class="ms-cui-jewel-container" id="jewelcontainer" unselectable="on" style="display:none"></div><div class="ms-cui-TabRowLeft ms-siteactionscontainer s4-notdlg" id="RibbonContainer-TabRowLeft" unselectable="on">
					   <span class="ms-siteactionsmenu" id="siteactiontd">
					   
						
						<span style="display:none"><menu type='ServerMenu' id="zz1_SiteActionsMenuMain" largeiconmode="true"><ie:menuitem id="ctl00_SiteActionsMenuMain_ctl00_MenuItem_EditPage" type="option" iconSrc="/_layouts/images/ActionsEditPage.png" onMenuClick="window.location = 'javascript:ChangeLayoutMode(false);';" text="Edit Page" description="Modify the web parts on this page." menuGroupId="100"></ie:menuitem>
<ie:menuitem id="ctl00_SiteActionsMenuMain_ctl00_MenuItem_TakeOffline" type="option" iconSrc="/_layouts/images/connecttospworkspace32.png" onMenuClick="javaScript:CoreInvoke('TakeOfflineToClientReal',1, 1, 'http:\u002f\u002fusa-sjc-mss2010\u002fsites\u002flegal', -1, -1, '', '')" hidden="TakeOfflineDisabled(1, 1, -1, -1)" text="Sync to SharePoint Workspace" description="Create a synchronized copy of this site on your computer." menuGroupId="100"></ie:menuitem>
<ie:menuitem id="ctl00_SiteActionsMenuMain_ctl00_wsaCreatePage" type="option" iconSrc="/_layouts/images/crtpage.gif" onMenuClick="javascript:if (LaunchCreateHandler('PublishingPage')) { SP.UI.ModalDialog.OpenPopUpPage('\u002fsites\u002flegal\u002f_layouts\u002fCreatePublishingPageDialog.aspx', null, 390); };" text="New Page" description="Create a page in this site." menuGroupId="200"></ie:menuitem>
<ie:menuitem id="zz2_MenuItem_CreateDocLib" type="option" iconSrc="/_layouts/images/NewDocLibHH.png" onMenuClick="if (LaunchCreateHandler('DocLib')) { GoToPage('\u002fsites\u002flegal\u002f_layouts/new.aspx?FeatureId={00bfea71-e717-4e80-aa17-d0c71b360101}&amp;ListTemplate=101') }" text="New Document Library" description="Create a place to store and share documents." menuGroupId="200"></ie:menuitem>
<ie:menuitem id="zz3_MenuItem_CreateSite" type="option" iconSrc="/_layouts/images/newweb32.png" onMenuClick="if (LaunchCreateHandler('Site')) { STSNavigate('\u002fsites\u002flegal\u002f_layouts/newsbweb.aspx') }" text="New Site" description="Create a site for a team or project." menuGroupId="200"></ie:menuitem>
<ie:menuitem id="zz4_MenuItem_Create" type="option" onMenuClick="if (LaunchCreateHandler('All')) { STSNavigate('\u002fsites\u002flegal\u002f_layouts/create.aspx') }" text="More Options..." description="Create other types of pages, lists, libraries, and sites." menuGroupId="200"></ie:menuitem>
<ie:menuitem id="ctl00_SiteActionsMenuMain_ctl00_wsaManageSiteUIVersion4" type="option" iconSrc="/_layouts/images/smt_small.png" onMenuClick="STSNavigate2(event,'/sites/legal/_layouts/sitemanager.aspx?Source=%2Fsites%2Flegal%2FPrecedents%2FForms%2FAllItems%2Easpx%3FPageView%3DShared%26InitialTabId%3DRibbon%2EWebPartPage%26VisibilityContext%3DWSSWebPartPage%26');" text="Manage Content and Structure" description="Reorganize content and structure in this site collection." menuGroupId="300"></ie:menuitem>
<ie:menuitem id="zz5_MenuItem_ViewAllSiteContents" type="option" iconSrc="/_layouts/images/allcontent32.png" onMenuClick="STSNavigate2(event,'/sites/legal/_layouts/viewlsts.aspx');" text="View All Site Content" description="View all libraries and lists in this site." menuGroupId="300"></ie:menuitem>
<ie:menuitem id="zz6_MenuItem_EditSite" type="option" iconSrc="/_layouts/images/SharePointDesigner32.png" onMenuClick="EditInSPD('\u002fsites\u002flegal\u002f',true);" text="Edit in SharePoint Designer" description="Create or edit lists, pages, and workflows, or adjust settings." menuGroupId="300"></ie:menuitem>
<ie:menuitem id="zz7_MenuItem_SitePermissions" type="option" iconSrc="/_layouts/images/Permissions32.png" onMenuClick="STSNavigate2(event,'/sites/legal/_layouts/user.aspx');" text="Site Permissions" description="Give people access to this site." menuGroupId="300"></ie:menuitem>
<ie:menuitem id="zz8_MenuItem_Settings" type="option" iconSrc="/_layouts/images/settingsIcon.png" onMenuClick="STSNavigate2(event,'/sites/legal/_layouts/settings.aspx');" text="Site Settings" description="Access all settings for this site." menuGroupId="300"></ie:menuitem>
</menu></span><span  id="zz9_SiteActionsMenu_t" class="ms-siteactionsmenuinner" title="Open Menu" onmouseover="MMU_PopMenuIfShowing(this);MMU_EcbTableMouseOverOut(this, true)" hoveractive="ms-siteactionsmenuhover" hoverinactive="ms-siteactionsmenuinner" onclick=" CoreInvoke('MMU_Open',byid('zz1_SiteActionsMenuMain'), MMU_GetMenuFromClientId('zz9_SiteActionsMenu'),event,false, null, 0); return false;" foa="MMU_GetMenuFromClientId('zz9_SiteActionsMenu')" oncontextmenu="ClkElmt(this); return false;" style="white-space:nowrap"><a class="ms-menu-a" id="zz9_SiteActionsMenu" accesskey="/" href="javascript:;" style="cursor:pointer;white-space:nowrap;" onfocus="MMU_EcbLinkOnFocusBlur(byid('zz1_SiteActionsMenuMain'), this, true);" onkeydown="MMU_EcbLinkOnKeyDown(byid('zz1_SiteActionsMenuMain'), MMU_GetMenuFromClientId('zz9_SiteActionsMenu'), event);" onclick=" CoreInvoke('MMU_Open',byid('zz1_SiteActionsMenuMain'), MMU_GetMenuFromClientId('zz9_SiteActionsMenu'),event,false, null, 0); return false;" oncontextmenu="ClkElmt(this); return false;" menutokenvalues="MENUCLIENTID=zz9_SiteActionsMenu,TEMPLATECLIENTID=zz1_SiteActionsMenuMain" serverclientid="zz9_SiteActionsMenu"><span>Site Actions</span><img src="/_layouts/images/blank.gif" style='border:0px' alt="Use SHIFT+ENTER to open the menu (new window)."/></a><span style="height:3px;width:5px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust ms-viewselector-arrow"><img src="/_layouts/images/fgimg.png" alt="Open Menu" style="border-width:0px;position:absolute;left:-0px !important;top:-491px !important;" /></span></span></span>
				
						<span class="s4-breadcrumb-anchor"><span style="height:16px;width:16px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust"><a id="GlobalBreadCrumbNavPopout-anchor" onclick="CoreInvoke('callOpenBreadcrumbMenu', event, 'GlobalBreadCrumbNavPopout-anchor', 'GlobalBreadCrumbNavPopout-menu', 'GlobalBreadCrumbNavPopout-img', 's4-breadcrumb-anchor-open', 'ltr', '', false); return false;" onmouseover="" onmouseout="" title="Navigate Up" href="javascript:;" style="display:inline-block;height:16px;width:16px;"><img src="/_layouts/images/fgimg.png" alt="Navigate Up" style="border:0;position:absolute;left:-0px !important;top:-112px !important;" /></a></span></span><div class="ms-popoutMenu s4-breadcrumb-menu" id="GlobalBreadCrumbNavPopout-menu" style="display:none;">
							<div class="s4-breadcrumb-top">
								<span class="s4-breadcrumb-header">This page location is:</span>
							</div>
							
								<ul class="s4-breadcrumb">
	<li class="s4-breadcrumbRootNode"><span class="s4-breadcrumb-arrowcont"><span style="height:16px;width:16px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust s4-breadcrumb"><img src="/_layouts/images/fgimg.png" alt="" style="border-width:0px;position:absolute;left:-0px !important;top:-353px !important;" /></span></span><a class="s4-breadcrumbRootNode" href="/sites/legal">Legal</a><ul class="s4-breadcrumbRootNode"><li class="s4-breadcrumbCurrentNode"><span class="s4-breadcrumb-arrowcont"><span style="height:16px;width:16px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust s4-breadcrumb"><img src="/_layouts/images/fgimg.png" alt="" style="border-width:0px;position:absolute;left:-0px !important;top:-353px !important;" /></span></span><span class="s4-breadcrumbCurrentNode">Precedents</span></li></ul></li>
</ul>
								
						</div>
						<div class="s4-die">
							
						</div>
				
				
			</div><ul class="ms-cui-tts" unselectable="on" role="tablist"><li class="ms-cui-tt ms-browseTab" id="Ribbon.Read-title" unselectable="on" role="tab"><a class="ms-cui-tt-a" unselectable="on" href="javascript:;" onclick="_ribbonStartInit('Ribbon.Read',false, event);" unselectable="on" title="Browse" onkeypress="if(event != null && event.keyCode == 13){ if(typeof(_ribbon) != 'undefined') _ribbon.launchedByKeyboard = true; _ribbonStartInit('Ribbon.Read',false, event);  }"><span class="ms-cui-tt-span" unselectable="on">Browse</span><span class="ms-cui-hidden" unselectable="on">Tab 1 of 2.</span></a></li><li class="ms-cui-tt" id="Ribbon.CustomCommands-title" unselectable="on" role="tab"><a class="ms-cui-tt-a" unselectable="on" href="javascript:;" onclick="_ribbonStartInit('Ribbon.CustomCommands',false, event);" unselectable="on" title="Custom Commands" onkeypress="if(event != null && event.keyCode == 13){ if(typeof(_ribbon) != 'undefined') _ribbon.launchedByKeyboard = true; _ribbonStartInit('Ribbon.CustomCommands',false, event);  }"><span class="ms-cui-tt-span" unselectable="on">Custom Commands</span><span class="ms-cui-hidden" unselectable="on">Tab 2 of 2.</span></a></li></ul><div class="ms-cui-TabRowRight s4-trc-container s4-notdlg" id="RibbonContainer-TabRowRight" unselectable="on">
	
 
	 <a href="#" tabindex="-1" style="display:none"></a><a href="#" tabindex="-1" style="display:none"></a>
	 <div class="s4-trc-container-menu">
		 <div>
			
	 
	<span style="display:none"><menu type='ServerMenu' id="zz10_ID_PersonalActionMenu" largeiconmode="true"><ie:menuitem id="zz11_ID_PersonalInformation" type="option" iconSrc="/_layouts/images/menuprofile.gif" onMenuClick="javascript:GoToPage('\u002fsites\u002flegal\u002f_layouts\u002fuserdisp.aspx?Force=True\u0026ID=' + _spUserId);return false;" text="My Settings" description="Update your user information, regional settings, and alerts." menuGroupId="100"></ie:menuitem>
<ie:menuitem id="zz12_ID_LoginAsDifferentUser" type="option" onMenuClick="javascript:LoginAsAnother('\u002fsites\u002flegal\u002f_layouts\u002fcloseConnection.aspx?loginasanotheruser=true', 0)" text="Sign in as Different User" description="Login with a different account." menuGroupId="200"></ie:menuitem>
<ie:menuitem id="zz13_ID_Logout" type="option" onMenuClick="STSNavigate2(event,'/sites/legal/_layouts/SignOut.aspx');" text="Sign Out" description="Logout of this site." menuGroupId="200"></ie:menuitem>
<ie:menuitem id="zz14_ID_PersonalizePage" type="option" iconSrc="/_layouts/images/menupersonalize.gif" onMenuClick="javascript:ChangeLayoutMode(true);" text="Personalize this Page" description="Add, remove, or update Web Parts on this page." menuGroupId="300"></ie:menuitem>
<ie:menuitem id="zz15_ID_SwitchView" type="option" onMenuClick="javascript:CoreInvoke('ChangeWebPartPageView',true)" text="Show Personal View" description="Displays this page with your personalized web parts and web part properties" menuGroupId="300"></ie:menuitem>
</menu></span><span  id="zz16_Menu_t" class="ms-SPLink ms-SpLinkButtonInActive ms-welcomeMenu" title="Open Menu" onmouseover="MMU_PopMenuIfShowing(this);MMU_EcbTableMouseOverOut(this, true)" hoveractive="ms-SPLink ms-SpLinkButtonActive ms-welcomeMenu" hoverinactive="ms-SPLink ms-SpLinkButtonInActive ms-welcomeMenu" onclick=" CoreInvoke('MMU_Open',byid('zz10_ID_PersonalActionMenu'), MMU_GetMenuFromClientId('zz16_Menu'),event,false, null, 0); return false;" foa="MMU_GetMenuFromClientId('zz16_Menu')" oncontextmenu="ClkElmt(this); return false;" style="white-space:nowrap"><a class="ms-menu-a" id="zz16_Menu" accesskey="W" href="javascript:;" style="cursor:pointer;white-space:nowrap;" onfocus="MMU_EcbLinkOnFocusBlur(byid('zz10_ID_PersonalActionMenu'), this, true);" onkeydown="MMU_EcbLinkOnKeyDown(byid('zz10_ID_PersonalActionMenu'), MMU_GetMenuFromClientId('zz16_Menu'), event);" onclick=" CoreInvoke('MMU_Open',byid('zz10_ID_PersonalActionMenu'), MMU_GetMenuFromClientId('zz16_Menu'),event,false, null, 0); return false;" oncontextmenu="ClkElmt(this); return false;" menutokenvalues="MENUCLIENTID=zz16_Menu,TEMPLATECLIENTID=zz10_ID_PersonalActionMenu" serverclientid="zz16_Menu"><span>USA\dippat01</span><img src="/_layouts/images/blank.gif" style='border:0px' alt="Use SHIFT+ENTER to open the menu (new window)."/></a><span style="height:3px;width:5px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust ms-viewselector-arrow"><img src="/_layouts/images/fgimg.png" alt="Open Menu" style="border-width:0px;position:absolute;left:-0px !important;top:-491px !important;" /></span></span><script type="text/javascript"> 
//<![CDATA[
var _spUserId=9;
//]]>
</script>
 
 
			
<script type ="text/javascript"> 
// <![CDATA[
function OnSelectionChange(value)
{
	var today = new Date();
	var oneYear = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000);
	var url = window.location.href;
	document.cookie = "lcid=" + value + ";path=/;expires=" + oneYear.toGMTString();
	window.location.href = url;
}
// ]]>
</script>
 
 
		</div>
	</div>
	
 
	<span>
		<span class="s4-devdashboard">
			
		</span>
	</span>
			</div></div></div></div></div>
<script type="text/javascript"> 
//<![CDATA[
    
    var _ribbon = new Object();
    _ribbon.initialTabId = null;
    _ribbon.buildMinimized = true;
    _ribbon.initStarted = false;
    _ribbon.initialTabSelectedByUser = false;
    _ribbon.launchedByKeyboard = false;
 
    function _ribbonInitFunc1()
    {
        try
        {
            var temp = new CUI.RibbonBuildOptions();
        }
        catch(e)
        {
            return;
        }
 
        var options = new CUI.RibbonBuildOptions();
        options.lazyTabInit = true;
        options.shallowTabs = true;
        options.lazyMenuInit = true;
        options.attachToDOM = false;
        options.initialScalingIndex = 0;
        options.validateServerRendering = false;
        options.showQATId = '';
        options.showJewelId = '';
        options.minimized = _ribbon.buildMinimized;
        options.shownTabs = {'Ribbon.CustomCommands':true,'Ribbon.Document':true,'Ribbon.Library':true,'Ribbon.Read':true};;
        options.shownContextualGroups = null;
        options.initiallyVisibleContextualGroups = null;
        options.normalizedContextualGroups = null;
        options.trimmedIds = {'Ribbon.ListItem.Actions.ChangeItemOrder':true,'Ribbon.List.Share.AlertMe':true,'Ribbon.WebPartPage.Share.AlertMe':true,'Ribbon.Documents.Share.AlertMe':true,'Ribbon.Calendar.Events.Share.AlertMe':true,'Ribbon.ListItem.Share.AlertMe':true,'Ribbon.Library.Actions.AllMeetings':true,'Ribbon.WebPartInsert.InsertRelatedDataToListForm':true,'Ribbon.List.GanttView':true,'Ribbon.Documents.FormActions':true,'Ribbon.List.Actions.AllMeetings':true,'Ribbon.Library.Share.AlertMe':true,'Ribbon.Calendar.Calendar.Share.AlertMe':true};;
        options.enabledVisibilityContexts = {'WSSListAndLibrary':true};;
        options.fixedPositioningEnabled = false;
        options.clientID = 'RibbonContainer';
        options.trimEmptyGroups = true;
        options.dataExtensions = {"Ribbon.CustomCommands.Commands.Controls._children":[{"name" : "Button","attrs": {"Id":"{15d688c6-7eee-4e75-8fd6-d525e1dac7df}","Alt":"Manage events for the current list","Sequence":"10000","Command":"{15d688c6-7eee-4e75-8fd6-d525e1dac7df}","Image16by16":"\u002f_layouts\u002f1033\u002fimages\u002fformatmap16x16.png","Image16by16Top":"-32","Image16by16Left":"-176","Image32by32":"\u002f_layouts\u002f1033\u002fimages\u002fformatmap32x32.png","Image32by32Top":"-128","Image32by32Left":"-320","LabelText":"Events Manager","Description":"Manage events for the current list","TemplateAlias":"o1"}}],"Ribbon.Documents.New.NewDocument":[null],"Ribbon.Documents.New.NewFolder":[null],"Ribbon.Documents.New.AddDocument.Menu.Upload.UploadMultiple":[null]};;
        options.scalingHint = '-1282717999';
        options.initialTabSelectedByUser = _ribbon.initialTabSelectedByUser;
        options.launchedByKeyboard = _ribbon.launchedByKeyboard;
 
        try
        {
            var temp = SP.Ribbon.PageManager.get_instance();
        }
        catch(e)
        {
            return;
        }
 
        g_builder = new CUI.RibbonBuilder(options, document.getElementById('RibbonContainer'), SP.Ribbon.PageManager.get_instance());
        var dataSource = new CUI.DataSource('\u002fsites\u002flegal\u002f_layouts\u002fcommandui.ashx', '2133726364', '1033');
        g_builder.set_dataSource(dataSource);
 
        g_builder.buildRibbonAndInitialTab(_ribbon.initialTabId);
    }
 
    function _ribbonStartInit(initialTabId, buildMinimized, e)
    {
        if (true && typeof(_ribbonReadyForInit) == 'function' && !_ribbonReadyForInit())
            return;
 
        if (e)
        {
            _ribbon.initialTabSelectedByUser = true;
        }
 
        var firstTabId = null;
        var evt = e || window.event;
        if (evt)
        {
            if (!evt.preventDefault)
                evt.returnValue = false;
            else
                evt.preventDefault();
        }
 
        if (_ribbon.initStarted)
            return;
        _ribbon.initStarted = true;
        if(typeof(CUI) != 'undefined' && typeof(CUI.PMetrics) != 'undefined')
            CUI.PMetrics.perfMark(CUI.PMarker.perfCUIRibbonInitStart);
        if (initialTabId)
        {
            firstTabId = _ribbon.initialTabId;
            _ribbon.initialTabId = initialTabId;
        }
        if (typeof(buildMinimized) != 'undefined')
            _ribbon.buildMinimized = buildMinimized;
 
        if(initialTabId && initialTabId != "undefined" && _ribbonOnStartInit)
        {
            _ribbonOnStartInit(_ribbon);
            
            var oldTab = document.getElementById(firstTabId + "-title");
            if (oldTab)
                oldTab.className = "ms-cui-tt";
 
            var newTab = document.getElementById(initialTabId + "-title");
            if (newTab)
                newTab.className = "ms-cui-tt ms-cui-tt-s";
        }
        
 
        var _spRibbonInstantiateByRibbonControl = true;
 
        function _registerCommonComponents()
        {  
            SP.Ribbon.HelpPageComponent.registerWithPageManager();
            SP.Ribbon.UserInterfacePageComponent.registerWithPageManager();
        }
        ExecuteOrDelayUntilScriptLoaded(_registerCommonComponents, "sp.ribbon.js");
 
        
        function _registerCUIEComponent()
        {  
            var instance = SP.Ribbon.CommandUIExtensionPageComponent.get_instance();
            instance.set_dataUrl('\u002fsites\u002flegal\u002f_layouts\u002fcommandui.ashx');
            instance.set_dataLCID('1033');
            instance.set_dataVersion('2133726364');
            SP.Ribbon.CommandUIExtensionPageComponent.registerWithPageManager();
        }
        ExecuteOrDelayUntilScriptLoaded(_registerCUIEComponent, "sp.ribbon.js");
 
        var defd;
        try
        {
            defd = typeof(SP.Ribbon.PageManager);
        }
        catch (e)
        {
            defd = "undefined";
        }
        EnsureScript("ribbon", defd, _ribbonInitFunc1);
 
 
    }
 
    function _ribbonKeyboardTitleShortcut(e)
    {
        var evt = e || window.event;
        if (evt)
        {
            var key = (evt.ctrlKey) ? 't' : 'f';
            key += (evt.altKey) ? 't' : 'f';
            key += (evt.shiftKey) ? 't' : 'f';
            try
            {
                key += String.fromCharCode(_processKeyCodes(evt.keyCode));
            }
            catch (error)
            {
                return;
            }
 
            if(key == 'tff[')
            {
                if(document.selection && document.selection.type == 'Control')
                {
                    var r = document.selection.createRange();
                    var len = r.length;
                    for (; len > 0; len--)
                    {
                        r.remove(len - 1);
                    }
                    r.select();
                }
 
                var tabHead = document.getElementById(null);
                if(tabHead)
                {
                    tabHead = tabHead.firstChild.focus();
                }
            }
        }
    }
 
    if (false)
        _spBodyOnLoadFunctionNames.push("_ribbonStartInit");
 
 
    function _ribbonOnWindowResizeForHeaderScaling(evt)
    {
        if (_ribbon.initStarted)
            return;
        _ribbonScaleHeader(document.getElementById('RibbonContainer').firstChild.childNodes[1], false);
    }
    if (typeof(_ribbonScaleHeader) == 'function' && true)
    {        
        _ribbonScaleHeader(document.getElementById('RibbonContainer').firstChild.childNodes[1], false);
        if (window.addEventListener)
            window.addEventListener('resize', _ribbonOnWindowResizeForHeaderScaling, false);
        else if(window.attachEvent)
            window.attachEvent('onresize', _ribbonOnWindowResizeForHeaderScaling);            
    }
    
 
    if(document.addEventListener)
        document.addEventListener('keydown', _ribbonKeyboardTitleShortcut, false);
    else
        document.attachEvent('onkeydown', _ribbonKeyboardTitleShortcut);
//]]>
</script>
<script type="text/javascript"> 
//<![CDATA[
var g_commandUIHandlers = {"name":"CommandHandlers","attrs":{},"children":[{"name":"CommandUIHandler","attrs":{"Command":"{15d688c6-7eee-4e75-8fd6-d525e1dac7df}", "CommandAction": "\u002fsites\u002flegal\u002f_layouts\u002fGatWeb\u002fEventsManager.aspx?List={27ff0f2f-4ac5-4424-a6ec-19a76e9cedcc}", "WebPartId": "WebPartWPQ2"}}]};
//]]>
</script>
	</div>
	<div id="notificationArea" class="s4-noti">
	</div>
	
			
<span id="ctl00_SPNavigation_ctl00_publishingConsoleV4_publishingRibbon"></span>
 
 
 
	
	<div id="WebPartAdderUpdatePanelContainer">
		<div id="ctl00_WebPartAdderUpdatePanel">
	
				<span id="ctl00_WebPartAdder"></span>
			
</div>
	</div>
</div>
<div id="s4-workspace">
		<div id="s4-bodyContainer">
			<div id="s4-titlerow" class="s4-pr s4-notdlg s4-titlerowhidetitle">
				<div class="s4-title s4-lp">
					<div class="s4-title-inner">
						<table class="s4-titletable" cellspacing="0">
							<tbody>
								<tr>
									<td class="s4-titlelogo">
										<a id="ctl00_onetidProjectPropertyTitleGraphic" href="/sites/legal/">
											<img id="ctl00_onetidHeadbnnr2" name="onetidHeadbnnr0" src="/_layouts/images/arm_logo.gif" alt="Legal" style="border-width:0px;" />
										</a>
									</td>
									<td class="s4-titletext">
										<h1 name="onetidProjectPropertyTitle">
											
												<a id="ctl00_PlaceHolderSiteName_onetidProjectPropertyTitle" href="/sites/legal/">Legal</a>
											
										</h1>
										<span id="onetidPageTitleSeparator" class="s4-nothome s4-bcsep s4-titlesep"><span><span style="height:11px;width:11px;position:relative;display:inline-block;overflow:hidden;"><img src="/_layouts/images/fgimg.png" alt=":" style="border-width:0px;position:absolute;left:-0px !important;top:-585px !important;" /></span></span> </span>
										<h2>
											
	<a href="/sites/legal/Precedents">Precedents</a>
	
			<span id="ctl00_PlaceHolderPageTitleInTitleArea_ctl01_ctl00" class="ms-ltviewselectormenuheader">
				
			</span>
		
 
										</h2>
										<div class="s4-pagedescription" tabindex="0" >
											
 
 
										</div>
									</td>
									<td class="s4-socialdata-notif">
										<div class="ms-socialNotif-Container"><span class="ms-socialNotif-groupSeparator"></span><a class="ms-socialNotif" id="AddQuickTag_ctl00_ctl37" href="javascript:;" onclick="ctl00_ctl37_AddQuickTag();" title="Tags this page with &#39;I Like It.&#39; Tags make it easy to remember links and post items to your news feed." ><span><span style="height:32px;width:32px;position:relative;display:inline-block;overflow:hidden;"><img style="border:0; left:-0px !important;top:-132px !important;position:absolute;" id="AddQuickTagImg_ctl00_ctl37" alt="Tags this page with &#39;I Like It.&#39; Tags make it easy to remember links and post items to your news feed." src="/_layouts/images/mossfgimg.png"/></span><span class="ms-socialNotif-text">I Like It</span></span></a><a class="ms-socialNotif" id="TagsAndNotes_ctl00_ctl37" href="javascript:;" onclick="SafeRunFunction(function() { TagDialogOpener.Open('http:\u002f\u002fusa-sjc-mss2010\u002fsites\u002flegal\u002fPrecedents\u002fForms\u002fAllItems.aspx?PageView=Shared\u0026InitialTabId=Ribbon.WebPartPage\u0026VisibilityContext=WSSWebPartPage', document.title, '0'); }, 'SocialData.js', 'TagDialogOpener');" onmouseover="ctl00_ctl37_GetSocialNotification();" title="Tags help you remember links and classify the page.  Notes are public comments.  Tags and notes post to your news feed and work across different sites." ><span><span style="height:32px;width:32px;position:relative;display:inline-block;overflow:hidden;"><img style="border:0; left:-0px !important;top:-300px !important;position:absolute;" id="TagsAndNotesImg_ctl00_ctl37" alt="Tags help you remember links and classify the page.  Notes are public comments.  Tags and notes post to your news feed and work across different sites." src="/_layouts/images/mossfgimg.png"/></span><span class="ms-socialNotif-text">Tags &amp; Notes</span></span></a></div>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<div id="s4-topheader2" class="s4-pr s4-notdlg">
					<a name="startNavigation"></a>
					<div id="s4-searcharea" class="s4-search s4-rp">
						
							<table class="s4-wpTopTable" border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td valign="top"><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPartWPQ1" width="100%" class="noindex" OnlyForMePart="true" allowDelete="false" style="" ><div id="SRSB"> <div>
			<input name="ctl00$PlaceHolderSearchArea$ctl01$ctl00" type="hidden" id="ctl00_PlaceHolderSearchArea_ctl01_ctl00" value="http://usa-sjc-mss2010/sites/legal" /><input name="ctl00$PlaceHolderSearchArea$ctl01$ctl01" type="hidden" id="ctl00_PlaceHolderSearchArea_ctl01_ctl01" value="http://usa-sjc-mss2010/sites/legal/Precedents" /><table class="ms-sbtable ms-sbtable-ex s4-search" cellpadding="0" cellspacing="0" border="0">
				<tr class="ms-sbrow">
					<td class="ms-sbcell"><input name="ctl00$PlaceHolderSearchArea$ctl01$S3031AEBB_InputKeywords" type="text" value="Search this site..." maxlength="200" id="ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords" accesskey="S" title="Search..." class="ms-sbplain" alt="Search..." onkeypress="javascript: return S3031AEBB_OSBEK(event);" onfocus="if (document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_ctl05').value =='0') {this.value=''; if (this.className == 's4-searchbox-QueryPrompt') this.className = ''; else this.className = this.className.replace(' s4-searchbox-QueryPrompt',''); document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_ctl05').value=1;}" onblur="if (this.value =='') {this.value='Search this site...'; if (this.className.indexOf('s4-searchbox-QueryPrompt') == -1) this.className += this.className?' s4-searchbox-QueryPrompt':'s4-searchbox-QueryPrompt'; document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_ctl05').value = '0'} else {document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_ctl05').value='1';}" style="width:170px;" /></td><td class="ms-sbgo ms-sbcell"><a id="ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_go" title="Search" href="javascript:S3031AEBB_Submit()"><img title="Search" onmouseover="this.src='\u002f_layouts\u002fimages\u002fgosearchhover15.png'" onmouseout="this.src='\u002f_layouts\u002fimages\u002fgosearch15.png'" class="srch-gosearchimg" alt="Search" src="/_layouts/images/gosearch15.png" style="border-width:0px;" /></a></td><td class="ms-sbLastcell"></td>
				</tr>
			</table><input name="ctl00$PlaceHolderSearchArea$ctl01$ctl05" type="hidden" id="ctl00_PlaceHolderSearchArea_ctl01_ctl05" value="0" />
		</div></div></div></td>
	</tr>
</table>
						
						<span class="s4-help">
								<span style="height:17px;width:17px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust"><a href="../../_catalogs/masterpage/#" id="ctl00_TopHelpLink" style="height:17px;width:17px;display:inline-block;" onclick="TopHelpButtonClick('HelpHome');return false" accesskey="6" title="Help (new window)"><img src="/_layouts/images/fgimg.png" style="left:-0px !important;top:-309px !important;position:absolute;" align="absmiddle" border="0" alt="Help (new window)" /></a></span>
						</span>
					</div>
					<div class="s4-rp s4-app">
					</div>
					<div class="s4-lp s4-toplinks">
						
								
	<div id="zz17_TopNavigationMenuV4" class="s4-tn">
	<div class="menu horizontal menu-horizontal">
		<ul class="root static">
			<li class="static selected"><a class="static selected menu-item" href="/sites/legal/SitePages/Home.aspx" accesskey="1"><span class="additional-background"><span class="menu-item-text">Legal</span><span class="ms-hidden">Currently selected</span></span></a></li>
		</ul>
	</div>
</div>
	
								
						
					</div>
				</div>
			</div>
			<div id="s4-statusbarcontainer">
				<div id="pageStatusBar" class="s4-status-s1">
				</div>
			</div>
				
			<div id="s4-mainarea" class="s4-pr s4-widecontentarea">
				<div id="s4-leftpanel" class="s4-notdlg">
					<div id="s4-leftpanel-content">
						
						
  
  
 
						
 
 
 
							
						
				<div class="ms-quicklaunchouter">
				<div class="ms-quickLaunch">
				
				
				
				<div id="ctl00_PlaceHolderLeftNavBar_QuickLaunchNavigationManager" class="ms-quicklaunch-navmgr">
	
				<div>
					
			
			
					<div id="zz18_V4QuickLaunchMenu" class="s4-ql">
		<div class="menu vertical menu-vertical">
			<ul class="root static">
				<li class="static"><a class="static menu-item" href="/sites/legal/_layouts/viewlsts.aspx?BaseType=1"><span class="additional-background"><span class="menu-item-text">Legal Libraries</span></span></a><ul class="static">
					<li class="static"><a class="static menu-item" href="/sites/legal/Contracts%20Out/Forms/By%20Company.aspx"><span class="additional-background"><span class="menu-item-text">Contracts Out</span></span></a></li><li class="static"><a class="static menu-item" href="/sites/legal/Open%20Source/Forms/AllItems.aspx"><span class="additional-background"><span class="menu-item-text">Open Source</span></span></a></li><li class="static"><a class="static menu-item" href="/sites/legal/Precedents/Forms/By%20Division.aspx"><span class="additional-background"><span class="menu-item-text">Precedents</span></span></a></li><li class="static"><a class="static menu-item" href="/sites/legal/Standards/Forms/AllItems.aspx"><span class="additional-background"><span class="menu-item-text">Standards</span></span></a></li><li class="static"><a class="static menu-item" href="/sites/legal/Suppliers/Forms/AllItems.aspx"><span class="additional-background"><span class="menu-item-text">Suppliers</span></span></a></li>
				</ul></li><li class="static"><a class="static menu-item" href="/sites/legal/_layouts/viewlsts.aspx?BaseType=1"><span class="additional-background"><span class="menu-item-text">Libraries</span></span></a><ul class="static">
					<li class="static"><a class="static menu-item" href="/sites/legal/Shared%20Documents/Forms/AllItems.aspx"><span class="additional-background"><span class="menu-item-text">Shared Documents</span></span></a></li><li class="static"><a class="static menu-item" href="/sites/legal/SitePages"><span class="additional-background"><span class="menu-item-text">Site Pages</span></span></a></li><li class="static"><a class="static menu-item" href="/sites/legal/Temp%20Contracts%20Out/Forms/By%20Company.aspx"><span class="additional-background"><span class="menu-item-text">Temp Contracts Out</span></span></a></li><li class="static"><a class="static menu-item" href="/sites/legal/Test/Forms/By%20Company.aspx"><span class="additional-background"><span class="menu-item-text">Test</span></span></a></li>
				</ul></li><li class="static"><a class="static menu-item" href="/sites/legal/_layouts/viewlsts.aspx?BaseType=0"><span class="additional-background"><span class="menu-item-text">Lists</span></span></a><ul class="static">
					<li class="static"><a class="static menu-item" href="/sites/legal/Lists/Calendar/calendar.aspx"><span class="additional-background"><span class="menu-item-text">Calendar</span></span></a></li><li class="static"><a class="static menu-item" href="/sites/legal/Lists/Tasks/AllItems.aspx"><span class="additional-background"><span class="menu-item-text">Tasks</span></span></a></li>
				</ul></li><li class="static"><a class="static menu-item" href="/sites/legal/_layouts/viewlsts.aspx?BaseType=0&amp;ListTemplate=108"><span class="additional-background"><span class="menu-item-text">Discussions</span></span></a><ul class="static">
					<li class="static"><a class="static menu-item" href="/sites/legal/Lists/Team%20Discussion/AllItems.aspx"><span class="additional-background"><span class="menu-item-text">Team Discussion</span></span></a></li>
				</ul></li>
			</ul>
		</div>
	</div>
				
				</div>
				
</div>
			
			
					
				
				
				
				
						<ul class="s4-specialNavLinkList">
							<li>
								<a id="ctl00_PlaceHolderLeftNavBar_PlaceHolderQuickLaunchBottom_PlaceHolderQuickLaunchBottomV4_idNavLinkRecycleBin" class="s4-rcycl" href="/sites/legal/_layouts/recyclebin.aspx"><span style="height:16px;width:16px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust s4-specialNavIcon"><img src="/_layouts/images/fgimg.png" style="border-width:0px;position:absolute;left:-0px !important;top:-428px !important;border-width:0px;" /></span>&#160;<span class="ms-splinkbutton-text">Recycle Bin</span></a>
							</li>
							<li>
								<a id="ctl00_PlaceHolderLeftNavBar_PlaceHolderQuickLaunchBottom_PlaceHolderQuickLaunchBottomV4_idNavLinkViewAllV4" accesskey="3" href="/sites/legal/_layouts/viewlsts.aspx"><span style="height:16px;width:16px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust s4-specialNavIcon"><img src="/_layouts/images/fgimg.png" style="border-width:0px;position:absolute;left:-0px !important;top:-0px !important;border-width:0px;" /></span>&#160;<span class="ms-splinkbutton-text">All Site Content</span></a>
							</li>
						</ul>
					
				
				</div>
				</div>
						
					</div>
				</div>
				<div class="s4-ca s4-ca-dlgNoRibbon" id="MSO_ContentTable">
					<div class="s4-die">
						
						
							<div id="onetidPageTitleAreaFrame" class='ms-pagetitleareaframe s4-pagetitle'></div>
						
						<span class="s4-die">
							
						</span>
						
							
						
						
					</div>
					
						<div class='s4-ba'><div class='ms-bodyareacell'>
							<div id="ctl00_MSO_ContentDiv">
						<a name="mainContent"></a>
						
		<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td id="MSOZoneCell_WebPartWPQ3" valign="top" class="s4-wpcell-plain"><table class="s4-wpTopTable" border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td valign="top"><div WebPartID="ace0f169-559e-4f7e-923f-5154a5cfed55" HasPers="false" id="WebPartWPQ3" width="100%" class="ms-WPBody noindex" allowDelete="false" style="" ><script type="text/javascript">
 
function AddSharedNamespaceMenuItems(f,a){ULSrLq:;var g=GetRootFolder(a);setupMenuContext(a);if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;bIsCheckout=0;if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";var e=a.displayFormUrl+c+"ID="+currentItemID+d;e=AddSourceToUrl(e)+g;if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";strImagePath="";b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);CUIInfo(b,"ViewProperties",["ViewProperties"]);if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp){if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;else strDisplayText=L_EditItem_Text;c="&";if(a.editFormUrl.indexOf("?")==-1)c="?";if(a.listBaseType==1){strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"}else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";else{strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;strAction=AddSourceToUrl(strAction)+"')"}strImagePath=a.imagesPath+"edititem.gif";/* b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);if(a.listBaseType==1){b.id="ID_EditProperties";CUIInfo(b,"EditProperties",["EditProperties"])}else{b.id="ID_EditItem";CUIInfo(b,"EditProperties",["EditProperties"])} */ if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0){var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);strDisplayText=L_EditSeriesItem_Text;strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";strImagePath=a.imagesPath+"recurrence.gif";b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);b.id="ID_EditSeriesItem"}}}</script></div></td>
			</tr>
		</table><div class="ms-PartSpacingVertical"></div></td>
	</tr><tr>
		<td id="MSOZoneCell_WebPartWPQ2" valign="top" class="s4-wpcell" onkeyup="WpKeyUp(event)" onmouseup="WpClick(event)"><table class="s4-wpTopTable" border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td valign="top"><div WebPartID="383d347a-ec4a-4a97-824e-af4a57638f0c" HasPers="false" id="WebPartWPQ2" width="100%" class="noindex" allowDelete="false" allowExport="false" style="" ><span></span><script type="text/javascript">function _initTRAWebPartWPQ2()
{var toolbarData = new Object();toolbarData['ToolbarData'] = "[{'Command':'NewFolder','ClickScript':'javascript:NewItem2\\u0028event, \\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_layouts\\\\u002flistform.aspx?ListId=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026PageType=8\\\\u0026RootFolder=\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u0026Type=1\\u0027\\u0029','LabelText':'New Folder','Description':'Add a new folder to this document library.'},{'Command':'UploadDocument','ClickScript':'EditItem2\\u0028event, \\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_layouts\\\\u002fUpload.aspx?List=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026RootFolder=\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u0026Source=http\\\\u00253A\\\\u00252F\\\\u00252Fusa\\\\u00252Dsjc\\\\u00252Dmss2010\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u00252FForms\\\\u00252FAllItems\\\\u00252Easpx\\\\u00253FPageView\\\\u00253DShared\\\\u002526InitialTabId\\\\u00253DRibbon\\\\u00252EWebPartPage\\\\u002526VisibilityContext\\\\u00253DWSSWebPartPage\\u0027\\u0029;','LabelText':'Upload Document','Description':'Upload a document from your computer to this library.'},{'Command':'UploadMultipleDocuments','ClickScript':'EditItem2\\u0028event, \\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_layouts\\\\u002fUpload.aspx?List=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026RootFolder=\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u0026Source=http\\\\u00253A\\\\u00252F\\\\u00252Fusa\\\\u00252Dsjc\\\\u00252Dmss2010\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u00252FForms\\\\u00252FAllItems\\\\u00252Easpx\\\\u00253FPageView\\\\u00253DShared\\\\u002526InitialTabId\\\\u00253DRibbon\\\\u00252EWebPartPage\\\\u002526VisibilityContext\\\\u00253DWSSWebPartPage\\\\u0026MultipleUpload=1\\u0027\\u0029;','HiddenScript':'!GetMultipleUploadEnabled\\u0028\\u0029','LabelText':'Upload Multiple Documents','Description':'Upload multiple documents from your computer to this library.'},{'Command':'DisplayDatasheetView','ClickScript':'javascript:CoreInvoke\\u0028\\u0027EditInGrid\\u0027,\\u0027\\\\u002fsites\\\\u002flegal\\\\u002fPrecedents\\\\u002fForms\\\\u002fAllItems.aspx\\u0027, \\u0027{383D347A-EC4A-4A97-824E-AF4A57638F0C}\\u0027\\u0029','HiddenScript':'\\u0028!\\u0028browseris.ie\\u0029 || \\u0028browseris.win64bit\\u0029\\u0029','LabelText':'Edit in Datasheet','Description':'Bulk edit items using a datasheet format.'},{'Command':'OpenWithExplorer','ClickScript':'CoreInvoke\\u0028\\u0027NavigateHttpFolder\\u0027,\\u0027http:\\\\u002f\\\\u002fusa-sjc-mss2010\\\\u002fsites\\\\u002flegal\\\\u002fPrecedents\\u0027, \\u0027_blank\\u0027\\u0029;','HiddenScript':'!\\u0028SupportsNavigateHttpFolder\\u0028\\u0029\\u0029','LabelText':'Open with Windows Explorer','Description':'Drag and drop files into this library.'},{'Command':'ConnectToClient','ClickScript':'javaScript:ExportHailStorm\\u0028\\u0027documents\\u0027,\\u0027http:\\\\u002f\\\\u002fusa-sjc-mss2010\\\\u002fsites\\\\u002flegal\\u0027,\\u0027{27ff0f2f-4ac5-4424-a6ec-19a76e9cedcc}\\u0027,\\u0027Legal\\u0027,\\u0027Precedents\\u0027,\\u0027\\\\u002fsites\\\\u002flegal\\\\u002fPrecedents\\u0027,\\u0027\\u0027,\\u0027\\\\u002fsites\\\\u002flegal\\\\u002fPrecedents\\u0027\\u0029;','HiddenScript':'!offlineBtnText','Description':'Synchronize items and make them available offline.'},{'Command':'ExportToSpreadsheet','ClickScript':'javascript:EnsureSSImporter\\u0028\\u0029;javaScript:ExportList\\u0028\\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_vti_bin\\\\u002fowssvr.dll?CS=65001\\\\u0026Using=_layouts\\\\u002fquery.iqy\\\\u0026List=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026View=\\\\u00257B383D347A\\\\u00252DEC4A\\\\u00252D4A97\\\\u00252D824E\\\\u00252DAF4A57638F0C\\\\u00257D\\\\u0026RootFolder=\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u0026CacheControl=1\\u0027\\u0029','LabelText':'Export to Spreadsheet','Description':'Analyze items with a spreadsheet application.'},{'Command':'TakeOfflineToClient','ClickScript':'javaScript:TakeOfflineToClientReal\\u00282, 1, \\u0027http:\\\\u002f\\\\u002fusa-sjc-mss2010\\\\u002fsites\\\\u002flegal\\u0027, 1, 101, \\u002727ff0f2f-4ac5-4424-a6ec-19a76e9cedcc\\u0027, \\u0027\\u0027\\u0029','HiddenScript':'TakeOfflineDisabled\\u00282, 1, 1, 101\\u0029','LabelText':'Sync To Computer','Description':'Make a synchronized copy of this library available on your computer.'},{'Command':'ViewRSSFeed','ClickScript':'STSNavigate2\\u0028event,\\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_layouts\\\\u002flistfeed.aspx?List=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026Source=http\\\\u00253A\\\\u00252F\\\\u00252Fusa\\\\u00252Dsjc\\\\u00252Dmss2010\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u00252FForms\\\\u00252FAllItems\\\\u00252Easpx\\\\u00253FPageView\\\\u00253DShared\\\\u002526InitialTabId\\\\u00253DRibbon\\\\u00252EWebPartPage\\\\u002526VisibilityContext\\\\u00253DWSSWebPartPage\\u0027\\u0029;','LabelText':'View RSS Feed','Description':'Syndicate items with an RSS reader.'},{'Command':'AlertMe','ClickScript':'javascript:if\\u0028typeof\\u0028ctx\\u0029 != \\u0027undefined\\u0027\\u0029 CoreInvoke\\u0028\\u0027ShowInPopUI\\u0027, event, ctx, \\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_layouts\\\\u002fSubNew.aspx?List=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026Source=http\\\\u00253A\\\\u00252F\\\\u00252Fusa\\\\u00252Dsjc\\\\u00252Dmss2010\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u00252FForms\\\\u00252FAllItems\\\\u00252Easpx\\\\u00253FPageView\\\\u00253DShared\\\\u002526InitialTabId\\\\u00253DRibbon\\\\u00252EWebPartPage\\\\u002526VisibilityContext\\\\u00253DWSSWebPartPage\\u0027\\u0029; else CoreInvoke\\u0028\\u0027ShowInPopUI\\u0027, event, null, \\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_layouts\\\\u002fSubNew.aspx?List=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026Source=http\\\\u00253A\\\\u00252F\\\\u00252Fusa\\\\u00252Dsjc\\\\u00252Dmss2010\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u00252FForms\\\\u00252FAllItems\\\\u00252Easpx\\\\u00253FPageView\\\\u00253DShared\\\\u002526InitialTabId\\\\u00253DRibbon\\\\u00252EWebPartPage\\\\u002526VisibilityContext\\\\u00253DWSSWebPartPage\\u0027\\u0029;','LabelText':'Alert Me','Description':'Receive notifications when items change.'},{'Command':'CreateColumn','ClickScript':'javascript:if\\u0028typeof\\u0028ctx\\u0029 != \\u0027undefined\\u0027\\u0029 CoreInvoke\\u0028\\u0027ShowInPopUI\\u0027, event, ctx, \\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_layouts\\\\u002ffldNew.aspx?List=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026Source=http\\\\u00253A\\\\u00252F\\\\u00252Fusa\\\\u00252Dsjc\\\\u00252Dmss2010\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u00252FForms\\\\u00252FAllItems\\\\u00252Easpx\\\\u00253FPageView\\\\u00253DShared\\\\u002526InitialTabId\\\\u00253DRibbon\\\\u00252EWebPartPage\\\\u002526VisibilityContext\\\\u00253DWSSWebPartPage\\u0027\\u0029; else CoreInvoke\\u0028\\u0027ShowInPopUI\\u0027, event, null, \\u0027\\\\u002fsites\\\\u002flegal\\\\u002f_layouts\\\\u002ffldNew.aspx?List=\\\\u00257B27FF0F2F\\\\u00252D4AC5\\\\u00252D4424\\\\u00252DA6EC\\\\u00252D19A76E9CEDCC\\\\u00257D\\\\u0026Source=http\\\\u00253A\\\\u00252F\\\\u00252Fusa\\\\u00252Dsjc\\\\u00252Dmss2010\\\\u00252Fsites\\\\u00252Flegal\\\\u00252FPrecedents\\\\u00252FForms\\\\u00252FAllItems\\\\u00252Easpx\\\\u00253FPageView\\\\u00253DShared\\\\u002526InitialTabId\\\\u00253DRibbon\\\\u00252EWebPartPage\\\\u002526VisibilityContext\\\\u00253DWSSWebPartPage\\u0027\\u0029;','LabelText':'Create Column','Description':'Add a column to store additional information about each item.'},{'Command':'CreateView','ClickScript':'STSNavigate2\\u0028event,\\u0027\\u002fsites\\u002flegal\\u002f_layouts\\u002fViewType.aspx?List=\\u00257B27FF0F2F\\u00252D4AC5\\u00252D4424\\u00252DA6EC\\u00252D19A76E9CEDCC\\u00257D\\u0026Source=http\\u00253A\\u00252F\\u00252Fusa\\u00252Dsjc\\u00252Dmss2010\\u00252Fsites\\u00252Flegal\\u00252FPrecedents\\u00252FForms\\u00252FAllItems\\u00252Easpx\\u00253FPageView\\u00253DShared\\u002526InitialTabId\\u00253DRibbon\\u00252EWebPartPage\\u002526VisibilityContext\\u00253DWSSWebPartPage\\u0027\\u0029;','LabelText':'Create View','Description':'Create a view to select columns, filters, and other display settings.'},{'Command':'ListSettings','ClickScript':'STSNavigate2\\u0028event,\\u0027\\u002fsites\\u002flegal\\u002f_layouts\\u002flistedit.aspx?List=\\u00257B27FF0F2F\\u00252D4AC5\\u00252D4424\\u00252DA6EC\\u00252D19A76E9CEDCC\\u00257D\\u0027\\u0029;','LabelText':'Document Library Settings','Description':'Manage settings such as permissions, columns, views, and policy.'}]";
toolbarData['NewMenuData'] = "[{'Command':'NewDocument','CommandValueId':'CoreInvoke\\u0028\\u0027createNewDocumentWithProgIDEx\\u0027,event,\\u0027http:\\\\u002f\\\\u002fusa-sjc-mss2010\\\\u002fsites\\\\u002flegal\\\\u002fPrecedents\\\\u002fForms\\\\u002ftemplate.dotx\\u0027, \\u0027http:\\\\u002f\\\\u002fusa-sjc-mss2010\\\\u002fsites\\\\u002flegal\\\\u002fPrecedents\\u0027, \\u0027SharePoint.OpenDocuments\\u0027, false\\u0029','Image16by16':'\\u002f_layouts\\u002fimages\\u002ficdotx.png','Image32by32':'\\u002f_layouts\\u002fimages\\u002flg_icdotx.png','ClickScript':'CoreInvoke\\u0028\\u0027createNewDocumentWithProgIDEx\\u0027,event,\\u0027http:\\\\u002f\\\\u002fusa-sjc-mss2010\\\\u002fsites\\\\u002flegal\\\\u002fPrecedents\\\\u002fForms\\\\u002ftemplate.dotx\\u0027, \\u0027http:\\\\u002f\\\\u002fusa-sjc-mss2010\\\\u002fsites\\\\u002flegal\\\\u002fPrecedents\\u0027, \\u0027SharePoint.OpenDocuments\\u0027, false\\u0029','LabelText':'New Document','Description':'Create a new document in this library.'}]";
toolbarData['ViewDropDownOptions']="{showRepairView : false, showMergeView : false, showEditView: true, showCreateView: true, showApproverView:  false, listId: '{27FF0F2F-4AC5-4424-A6EC-19A76E9CEDCC}', viewId: '{383D347A-EC4A-4A97-824E-AF4A57638F0C}', viewParameters: ''}";
toolbarData['ViewId']='383d347a-ec4a-4a97-824e-af4a57638f0c';
toolbarData['ViewName']='All Documents';
toolbarData['ViewReadOnly']='false';
toolbarData['BaseViewId']='1';
toolbarData['ListId']='27ff0f2f-4ac5-4424-a6ec-19a76e9cedcc';
toolbarData['ListEnableAttachments']='False';
toolbarData['ListBaseType']='1';
toolbarData['ListTemplateType']='101';
toolbarData['ListPermissions']='{High:2147483647,Low:4294967295}';
toolbarData['ListFolderPermissions']='{High:2147483647,Low:4294967295}';
toolbarData['ListHasExternalDataSource']='False';
toolbarData['ServerRelativeWebUrl']='\u002fsites\u002flegal';
SP.Ribbon.PageManager.get_instance().addPageComponent(new SP.Ribbon.DocLibWebPartPageComponent('WebPartWPQ2',toolbarData));
}
ExecuteOrDelayUntilScriptLoaded(_initTRAWebPartWPQ2, "sp.ribbon.js");window['heroButton' + 'WebPartWPQ2'] = true;</script><table width="100%" cellspacing="0" cellpadding="0" border="0" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal"><script type="text/javascript">
      ctx = new ContextInfo();
      
          ctx.listBaseType = 1;
      
      ctx.NavigateForFormsPages = false;
      ctx.listTemplate = "101";
      ctx.listName = "{27FF0F2F-4AC5-4424-A6EC-19A76E9CEDCC}";
      ctx.view = "{383D347A-EC4A-4A97-824E-AF4A57638F0C}";
      ctx.listUrlDir = "/sites/legal/Precedents";
      ctx.HttpPath = "http://usa-sjc-mss2010/sites/legal/_vti_bin/owssvr.dll?CS=65001";
      ctx.HttpRoot = "http://usa-sjc-mss2010/sites/legal";
      ctx.imagesPath = "/_layouts/images/";
      ctx.PortalUrl = "";
      ctx.SendToLocationName = "";
      ctx.SendToLocationUrl = "";
      
          ctx.RecycleBinEnabled = 1;
        
      ctx.OfficialFileName = "";
      ctx.OfficialFileNames = "";
      ctx.WriteSecurity = "1";
      ctx.SiteTitle = "Legal";
      ctx.ListTitle = "Precedents";
      if (ctx.PortalUrl == "") ctx.PortalUrl = null;
      ctx.displayFormUrl = "http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={27FF0F2F-4AC5-4424-A6EC-19A76E9CEDCC}";
      ctx.editFormUrl = "http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=6&ListId={27FF0F2F-4AC5-4424-A6EC-19A76E9CEDCC}";
      ctx.isWebEditorPreview = 0;
      ctx.ctxId = 248;
      ctx.isXslView = true;
      
      if (g_ViewIdToViewCounterMap["{383D347A-EC4A-4A97-824E-AF4A57638F0C}"] == null)
          g_ViewIdToViewCounterMap["{383D347A-EC4A-4A97-824E-AF4A57638F0C}"]= 248;
      ctx.CurrentUserId = 9;
      
      ctx248 = ctx;
      g_ctxDict['ctx248'] = ctx;
    </script><script type="text/vbscript">
    On Error Resume Next
    Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.3")
    If (IsObject(EditDocumentButton)) Then
        fNewDoc3 = true
    Else
        Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.2")
        If (IsObject(EditDocumentButton)) Then
            fNewDoc2 = true
        Else
            Set EditDocumentButton = CreateObject("SharePoint.OpenDocuments.1")
        End If
    End If    
    fNewDoc = IsObject(EditDocumentButton)
      </script>
    <tr><td><iframe src="javascript:false;" id="FilterIframe248" name="FilterIframe248" style="display:none" height="0" width="0" FilterLink="?PageView=Shared&amp;"></iframe><table summary="Precedents " o:WebQuerySourceHref="http://usa-sjc-mss2010/sites/legal/_vti_bin/owssvr.dll?CS=65001&amp;XMLDATA=1&amp;RowLimit=0&amp;View={383D347A-EC4A-4A97-824E-AF4A57638F0C}" width="100%" border="0" cellspacing="0" dir="none" onmouseover="EnsureSelectionHandler(event,this,248)" cellpadding="1" id="onetidDoclibViewTbl0" class="ms-listviewtable" xmlns:o="urn:schemas-microsoft-com:office:office"><tr valign="top" class="ms-viewheadertr ms-vhltr"><th class="ms-vh-icon" scope="col"><input type="checkbox" title="Select or deselect all items" onclick="ToggleAllItems(event,this,248)" onfocus="EnsureSelectionHandlerOnFocus(event,this,248)" /></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="DocIcon" CTXNum="248" DisplayName="Type" FieldType="Computed" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=DocIcon&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortDocIcon" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=DocIcon&amp;SortDir=Asc">Type<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="FALSE" FilterDisableMessage="" name="LinkFilename" CTXNum="248" DisplayName="Name" FieldType="Computed" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=LinkFilename&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortLinkFilename" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=LinkFilename&amp;SortDir=Asc">Name<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="Division" CTXNum="248" DisplayName="Division" FieldType="Lookup" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Division&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortDivision" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Division&amp;SortDir=Asc">Division<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="ARM_x0020_Product" CTXNum="248" DisplayName="ARM Product" FieldType="Lookup" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=ARM_x0020_Product&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortARM_x0020_Product" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=ARM_x0020_Product&amp;SortDir=Asc">ARM Product<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="DocNumber" CTXNum="248" DisplayName="DocNumber" FieldType="Text" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=DocNumber&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortDocNumber" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=DocNumber&amp;SortDir=Asc">DocNumber<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="Hardcopy_x0020_Location" CTXNum="248" DisplayName="Hardcopy Location" FieldType="Text" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Hardcopy_x0020_Location&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortHardcopy_x0020_Location" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Hardcopy_x0020_Location&amp;SortDir=Asc">Hardcopy Location<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th class="ms-vh2" nowrap scope="col" onmouseover="OnChildColumn(this)"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="Effective_x0020_Date" CTXNum="248" DisplayName="Effective Date" FieldType="DateTime" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Effective_x0020_Date&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortEffective_x0020_Date" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Effective_x0020_Date&amp;SortDir=Asc">Effective Date<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="DocState" CTXNum="248" DisplayName="DocState" FieldType="Choice" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=DocState&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortDocState" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=DocState&amp;SortDir=Asc">DocState<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="Revenue_x0020_Earning" CTXNum="248" DisplayName="Revenue Earning" FieldType="Choice" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Revenue_x0020_Earning&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortRevenue_x0020_Earning" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Revenue_x0020_Earning&amp;SortDir=Asc">Revenue Earning<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="Legal_x0020_Request" CTXNum="248" DisplayName="Legal Request" FieldType="Text" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Legal_x0020_Request&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortLegal_x0020_Request" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Legal_x0020_Request&amp;SortDir=Asc">Legal Request<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="New_x0020_ARM_x0020_Product" CTXNum="248" DisplayName="New ARM Product" FieldType="Text" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=New_x0020_ARM_x0020_Product&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortNew_x0020_ARM_x0020_Product" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=New_x0020_ARM_x0020_Product&amp;SortDir=Asc">New ARM Product<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th class="ms-vh2" nowrap scope="col" onmouseover="OnChildColumn(this)"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="Modified" CTXNum="248" DisplayName="Modified" FieldType="DateTime" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Modified&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortModified" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Modified&amp;SortDir=Asc">Modified<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="Requestor" CTXNum="248" DisplayName="Requestor" FieldType="User" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Requestor&amp;SortDir=Asc" class="ms-vh-div"><table cellpadding="0" cellspacing="0" dir="none"><tr><td class="ms-imnImgTD"><img border="0" valign="middle" height="12" width="12" altbase="Presence enabled for this column" src="/_layouts/images/blank.gif" onload="IMNRegisterHeader(event)" id="imnhdr13" /></td><td nowrap class="ms-vh ms-imnTxtTD"><a id="diidSortRequestor" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=Requestor&amp;SortDir=Asc">Requestor<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></td></tr></table></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="New_x0020_Division" CTXNum="248" DisplayName="New Division" FieldType="Text" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=New_x0020_Division&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortNew_x0020_Division" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=New_x0020_Division&amp;SortDir=Asc">New Division<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th><th nowrap scope="col" onmouseover="OnChildColumn(this)" class="ms-vh2"><div Sortable="" SortDisable="" FilterDisable="" Filterable="" FilterDisableMessage="" name="DocType" CTXNum="248" DisplayName="DocType" FieldType="Choice" ResultType="" SortFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=DocType&amp;SortDir=Asc" class="ms-vh-div"><a id="diidSortDocType" onfocus="OnFocusFilter(this)" href="javascript: " onclick="javascript:return OnClickFilter(this,event);" SortingFields="View={383d347a-ec4a-4a97-824e-af4a57638f0c}&SortField=DocType&amp;SortDir=Asc">DocType<img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></a><img src="/_layouts/images/blank.gif" alt="" border="0" /><img src="/_layouts/images/blank.gif" border="0" alt="" /></div><div class="s4-ctx"><span> </span><a onfocus="OnChildColumn(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></th></tr><tr class="ms-itmhover" iid="248,6,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="Arm and Certicom CDS - LTR-07150.docx" title="Arm and Certicom CDS - LTR-07150.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="6" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/Arm and Certicom CDS - LTR-07150.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">Arm and Certicom CDS - LTR-07150</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=23&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=23&RootFolder=*">ADES</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00364</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/24/2010 1:28 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,7,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="ARM1176JZF-S.docx" title="ARM1176JZF-S.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="7" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/ARM1176JZF-S.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">ARM1176JZF-S</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=23&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=23&RootFolder=*">ADES</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00365</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/24/2010 1:28 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,8,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="Artisan IP Access final.docx" title="Artisan IP Access final.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="8" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/Artisan IP Access final.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">Artisan IP Access final</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=23&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=23&RootFolder=*">ADES</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00366</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/24/2010 1:29 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,9,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="AXY-EDA-1065-E.docx" title="AXY-EDA-1065-E.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="9" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/AXY-EDA-1065-E.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">AXY-EDA-1065-E</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=23&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=23&RootFolder=*">ADES</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00367</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/24/2010 1:29 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,10,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="Cortina Annex (clean).docx" title="Cortina Annex (clean).docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="10" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/Cortina Annex (clean).docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">Cortina Annex (clean)</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=16&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=16&RootFolder=*">Corporate</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00369</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/24/2010 1:29 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,11,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM1C7.docx" title="DDM1C7.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="11" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM1C7.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM1C7</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=16&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=16&RootFolder=*">Corporate</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00370</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/24/2010 1:29 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,12,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM1CD.docx" title="DDM1CD.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="12" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM1CD.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM1CD</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=16&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=16&RootFolder=*">Corporate</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00371</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/24/2010 1:30 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,13,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM1EB.docx" title="DDM1EB.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="13" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM1EB.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM1EB</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=16&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=16&RootFolder=*">Corporate</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00349</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,14,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM1F7.docx" title="DDM1F7.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="14" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM1F7.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM1F7</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*">PIPD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00350</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,15,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM2AAA.docx" title="DDM2AAA.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="15" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM2AAA.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM2AAA</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*">PIPD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00351</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,16,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM2C5.docx" title="DDM2C5.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="16" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM2C5.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM2C5</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*">PIPD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00352</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,17,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM2E.docx" title="DDM2E.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="17" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM2E.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM2E</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*">PIPD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00353</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,18,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM2E-001.docx" title="DDM2E-001.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="18" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM2E-001.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM2E-001</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=21&RootFolder=*">PIPD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00354</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,19,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM3D6.docx" title="DDM3D6.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="19" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM3D6.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM3D6</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*">SDD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00355</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,20,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM3F.docx" title="DDM3F.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="20" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM3F.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM3F</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*">SDD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00356</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,21,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM4A.docx" title="DDM4A.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="21" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM4A.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM4A</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*">SDD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00357</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,22,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM4BC.docx" title="DDM4BC.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="22" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM4BC.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM4BC</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*">SDD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00358</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,23,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM5B.docx" title="DDM5B.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="23" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM5B.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM5B</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*">SDD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00359</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,24,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM7A.docx" title="DDM7A.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="24" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM7A.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM7A</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*">SDD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00360</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,25,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="DDM7C7.docx" title="DDM7C7.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="25" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/DDM7C7.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">DDM7C7</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=11&RootFolder=*">SDD</a></td><td class="ms-vb2"></td><td class="ms-vb2">LES-PRE-00361</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/23/2010 1:59 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-itmhover" iid="248,26,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="Marvell Amd Sub Agrmt.doc" title="Marvell Amd Sub Agrmt.doc" src="/_layouts/images/icdoc.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="26" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/Marvell Amd Sub Agrmt.doc" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','TRUE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">Marvell Amd Sub Agrmt</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=24&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={720CE211-2173-4316-B373-899AD4A82673}&ID=24&RootFolder=*">ADES2</a></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={BF2DCD4D-0F7C-4011-BA4E-D1669A86554B}&ID=4&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={BF2DCD4D-0F7C-4011-BA4E-D1669A86554B}&ID=4&RootFolder=*">ARM1156</a></td><td class="ms-vb2">LES-PRE-00368</td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2">Yes</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>8/24/2010 1:29 PM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr><tr class="ms-alternating ms-itmhover" iid="248,28,0"><td class="ms-vb-itmcbx ms-vb-firstCell"><input type="checkbox" class="s4-itm-cbx" /></td><td class="ms-vb-icon"><img border="0" alt="TestNewDocumnet.docx" title="TestNewDocumnet.docx" src="/_layouts/images/icdocx.png" /></td><td height="100%" onmouseover="OnChildItem(this)" class="ms-vb-title"><div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx248" id="28" Field="LinkFilename" Perm="0x7fffffffffffffff" EventType=""><a onfocus="OnLink(this)" href="/sites/legal/Precedents/TestNewDocumnet.docx" onmousedown="return VerifyHref(this,event,'1','SharePoint.OpenDocuments','')" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','1','SharePoint.OpenDocuments','','','','9','0','0','0x7fffffffffffffff','','')">TestNewDocumnet</a></div><div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"><span> </span><a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"></a><span> </span></div></td><td class="ms-vb2"></td><td class="ms-vb2"><a onclick="OpenPopUpPage('http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={BF2DCD4D-0F7C-4011-BA4E-D1669A86554B}&ID=1&RootFolder=*', RefreshPage); return false;" href="http://usa-sjc-mss2010/sites/legal/_layouts/listform.aspx?PageType=4&ListId={BF2DCD4D-0F7C-4011-BA4E-D1669A86554B}&ID=1&RootFolder=*">ARM7TDMI</a></td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr></nobr></td><td class="ms-vb2">Original</td><td class="ms-vb2">Yes</td><td class="ms-vb2"></td><td class="ms-vb2"></td><td class="ms-vb2"><nobr>9/23/2010 10:59 AM</nobr></td><td class="ms-vb-user"><table cellpadding="0" cellspacing="0" >
                          <tr>
                            <td style="padding-right: 3px;">
                            </td>
                          </tr>
                        </table></td><td class="ms-vb2"></td><td class="ms-vb2">Precedent</td></tr></table><script type="text/javascript">HideListViewRows("onetidDoclibViewTbl0");</script></td></tr></table><table id="Hero-WPQ2" width="100%" cellpadding="0" cellspacing="0" border="0" style="display:none" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal"><tr><td colspan="2" class="ms-partline"><img src="/_layouts/images/blank.gif" width="1" height="1" alt="" /></td></tr><tr><td class="ms-addnew" style="padding-bottom: 3px"><span style="height:10px;width:10px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust"><img src="/_layouts/images/fgimg.png" alt="" style="left:-0px !important;top:-128px !important;position:absolute;" /></span>&nbsp;<a class="ms-addnew" id="idHomePageNewDocument" href="http://usa-sjc-mss2010/sites/legal/_layouts/Upload.aspx?List={27FF0F2F-4AC5-4424-A6EC-19A76E9CEDCC}&amp;RootFolder=" onclick="javascript:NewItem2(event, &quot;http://usa-sjc-mss2010/sites/legal/_layouts/Upload.aspx?List={27FF0F2F-4AC5-4424-A6EC-19A76E9CEDCC}&amp;RootFolder=&quot;);javascript:return false;" target="_self">Add document</a></td></tr><tr><td><img src="/_layouts/images/blank.gif" width="1" height="5" alt="" /></td></tr></table><script type="text/javascript" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">
            if (typeof(heroButtonWebPartWPQ2) != "undefined")
            {
                  var eleHero = document.getElementById("Hero-WPQ2");
                if (eleHero != null)
                    eleHero.style.display = "";
            }
          </script><div id="ECBItems_{27ff0f2f-4ac5-4424-a6ec-19a76e9cedcc}" style="display:none" height="0" width="0"><div><div>View in Web Browser</div><div></div><div>/sites/legal/_layouts/VisioWebAccess/VisioWebAccess.aspx?listguid={ListId}&amp;itemid={ItemId}&amp;DefaultItemOpen=1</div><div>0x0</div><div>0x1</div><div>FileType</div><div>vdw</div><div>255</div></div><div><div>Manage Subscriptions</div><div>/_layouts/images/ReportServer/Manage_Subscription.gif</div><div>/sites/legal/_layouts/ReportServer/ManageSubscriptions.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x80</div><div>0x0</div><div>FileType</div><div>rdl</div><div>350</div></div><div><div>Manage Data Sources</div><div></div><div>/sites/legal/_layouts/ReportServer/DataSourceList.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x20</div><div>FileType</div><div>rdl</div><div>351</div></div><div><div>Manage Shared Datasets</div><div></div><div>/sites/legal/_layouts/ReportServer/DatasetList.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x20</div><div>FileType</div><div>rdl</div><div>352</div></div><div><div>Manage Parameters</div><div></div><div>/sites/legal/_layouts/ReportServer/ParameterList.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rdl</div><div>353</div></div><div><div>Manage Processing Options</div><div></div><div>/sites/legal/_layouts/ReportServer/ReportExecution.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rdl</div><div>354</div></div><div><div>Manage Cache Refresh Plans</div><div></div><div>/sites/legal/_layouts/ReportServer/CacheRefreshPlanList.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rdl</div><div>355</div></div><div><div>View Report History</div><div></div><div>/sites/legal/_layouts/ReportServer/ReportHistory.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x40</div><div>FileType</div><div>rdl</div><div>356</div></div><div><div>View Dependent Items</div><div></div><div>/sites/legal/_layouts/ReportServer/DependentItems.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rsds</div><div>350</div></div><div><div>Edit Data Source Definition</div><div></div><div>/sites/legal/_layouts/ReportServer/SharedDataSource.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rsds</div><div>351</div></div><div><div>View Dependent Items</div><div></div><div>/sites/legal/_layouts/ReportServer/DependentItems.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>smdl</div><div>350</div></div><div><div>Manage Clickthrough Reports</div><div></div><div>/sites/legal/_layouts/ReportServer/ModelClickThrough.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>smdl</div><div>352</div></div><div><div>Manage Model Item Security</div><div></div><div>/sites/legal/_layouts/ReportServer/ModelItemSecurity.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x2000000</div><div>FileType</div><div>smdl</div><div>353</div></div><div><div>Regenerate Model</div><div></div><div>/sites/legal/_layouts/ReportServer/GenerateModel.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>smdl</div><div>354</div></div><div><div>Manage Data Sources</div><div></div><div>/sites/legal/_layouts/ReportServer/DataSourceList.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x20</div><div>FileType</div><div>smdl</div><div>351</div></div><div><div>Load in Report Builder</div><div></div><div>/sites/legal/_layouts/ReportServer/RSAction.aspx?RSAction=ReportBuilderModelContext&amp;list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x2</div><div>FileType</div><div>smdl</div><div>250</div></div><div><div>Edit in Report Builder</div><div>/_layouts/images/ReportServer/EditReport.gif</div><div>/sites/legal/_layouts/ReportServer/RSAction.aspx?RSAction=ReportBuilderReportContext&amp;list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rdl</div><div>250</div></div><div><div>Edit in Report Builder</div><div></div><div>/sites/legal/_layouts/ReportServer/RSAction.aspx?RSAction=ReportBuilderDatasetContext&amp;list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rsd</div><div>250</div></div><div><div>Manage Caching Options</div><div></div><div>/sites/legal/_layouts/ReportServer/DatasetCachingOptions.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rsd</div><div>350</div></div><div><div>Manage Cache Refresh Plans</div><div></div><div>/sites/legal/_layouts/ReportServer/CacheRefreshPlanList.aspx?list={ListId}&amp;ID={ItemId}&amp;IsDataset=true</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rsd</div><div>351</div></div><div><div>Manage Data Sources</div><div></div><div>/sites/legal/_layouts/ReportServer/DataSourceList.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x20</div><div>FileType</div><div>rsd</div><div>352</div></div><div><div>View Dependent Items</div><div></div><div>/sites/legal/_layouts/ReportServer/DependentItems.aspx?list={ListId}&amp;ID={ItemId}</div><div>0x0</div><div>0x4</div><div>FileType</div><div>rsd</div><div>353</div></div><div><div>Compliance Details</div><div></div><div>javascript:commonShowModalDialog(&#39;{SiteUrl}/_layouts/itemexpiration.aspx?ID={ItemId}&amp;List={ListId}&#39;, &#39;center:1;dialogHeight:500px;dialogWidth:500px;resizable:yes;status:no;location:no;menubar:no;help:no&#39;, function GotoPageAfterClose(pageid){if(pageid == &#39;hold&#39;) {STSNavigate(unescape(decodeURI(&#39;{SiteUrl}&#39;))+&#39;/_layouts/hold.aspx?ID={ItemId}&amp;List={ListId}&#39;);  return false;} if(pageid == &#39;audit&#39;) {STSNavigate(unescape(decodeURI(&#39;{SiteUrl}&#39;))+&#39;/_layouts/Reporting.aspx?Category=Auditing&amp;backtype=item&amp;ID={ItemId}&amp;List={ListId}&#39;); return false;} if(pageid == &#39;config&#39;) {STSNavigate(unescape(decodeURI(&#39;{SiteUrl}&#39;))+&#39;/_layouts/expirationconfig.aspx?ID={ItemId}&amp;List={ListId}&#39;); return false;}}, null); return false;</div><div>0x0</div><div>0x1</div><div>ContentType</div><div>0x01</div><div>898</div></div><div><div>Edit in Browser</div><div>/_layouts/images/icxddoc.gif</div><div>/sites/legal/_layouts/formserver.aspx?XsnLocation={ItemUrl}&amp;OpenIn=Browser&amp;Source={Source}</div><div>0x0</div><div>0x1</div><div>FileType</div><div>xsn</div><div>255</div></div><div><div>Edit in Browser</div><div>/_layouts/images/icxddoc.gif</div><div>/sites/legal/_layouts/formserver.aspx?XmlLocation={ItemUrl}&amp;OpenIn=Browser&amp;Source={Source}</div><div>0x0</div><div>0x1</div><div>ProgId</div><div>InfoPath.Document</div><div>255</div></div><div><div>Edit in Browser</div><div>/_layouts/images/icxddoc.gif</div><div>/sites/legal/_layouts/formserver.aspx?XmlLocation={ItemUrl}&amp;OpenIn=Browser&amp;Source={Source}</div><div>0x0</div><div>0x1</div><div>ProgId</div><div>InfoPath.Document.2</div><div>255</div></div><div><div>Edit in Browser</div><div>/_layouts/images/icxddoc.gif</div><div>/sites/legal/_layouts/formserver.aspx?XmlLocation={ItemUrl}&amp;OpenIn=Browser&amp;Source={Source}</div><div>0x0</div><div>0x1</div><div>ProgId</div><div>InfoPath.Document.3</div><div>255</div></div><div><div>Edit in Browser</div><div>/_layouts/images/icxddoc.gif</div><div>/sites/legal/_layouts/formserver.aspx?XmlLocation={ItemUrl}&amp;OpenIn=Browser&amp;Source={Source}</div><div>0x0</div><div>0x1</div><div>ProgId</div><div>InfoPath.Document.4</div><div>255</div></div><div><div>View in Browser</div><div></div><div>/sites/legal/_layouts/xlviewer.aspx?id={ItemUrl}&amp;DefaultItemOpen=1</div><div>0x0</div><div>0x1</div><div>FileType</div><div>xlsx</div><div>255</div></div><div><div>View in Browser</div><div></div><div>/sites/legal/_layouts/xlviewer.aspx?id={ItemUrl}&amp;DefaultItemOpen=1</div><div>0x0</div><div>0x1</div><div>FileType</div><div>xlsm</div><div>255</div></div><div><div>View in Browser</div><div></div><div>/sites/legal/_layouts/xlviewer.aspx?id={ItemUrl}&amp;DefaultItemOpen=1</div><div>0x0</div><div>0x1</div><div>FileType</div><div>xlsb</div><div>255</div></div><div><div>Document Set Version History</div><div></div><div>javascript:SP.UI.ModalDialog.ShowPopupDialog(&#39;{SiteUrl}/_layouts/DocSetVersions.aspx?List={ListId}&amp;ID={ItemId}&#39;)</div><div>0x0</div><div>0x0</div><div>ContentType</div><div>0x0120D520</div><div>330</div></div><div><div>Send To other location</div><div></div><div>javascript:GoToPage(&#39;{SiteUrl}/_layouts/docsetsend.aspx?List={ListId}&amp;ID={ItemId}&#39;)</div><div>0x0</div><div>0x0</div><div>ContentType</div><div>0x0120D520</div><div>350</div></div></div></div></td>
			</tr>
		</table></td>
	</tr>
</table>
 
							</div>
						</div></div>
					<div class="s4-die">
						
						
					</div>
				</div>
			</div>
			
		</div>
</div>
  
	  
  
   <input type="text" name="__spText1" title="text" style="display:none;" />
   <input type="text" name="__spText2" title="text" style="display:none;" />
  <div id="ctl00_panelZone">
	<div style='display:none' id='hidZone'><menu id="MSOMenu_WebPartMenu" class="ms-SrvMenuUI">
		<ie:menuitem title="Collapse this web part." id="MSOMenu_Minimize" onmenuclick="javascript:MSOLayout_MinimizeRestore(MenuWebPart)" text="Minimize" type="option">
 
		</ie:menuitem><ie:menuitem title="Expand this web part." id="MSOMenu_Restore" onmenuclick="javascript:MSOLayout_MinimizeRestore(MenuWebPart)" text="Restore" type="option">
 
		</ie:menuitem><ie:menuitem title="Close this Web Part. You can still find it under closed Web Parts section in the insert ribbon. These changes will apply to all users." id="MSOMenu_Close" onmenuclick="javascript:MSOLayout_RemoveWebPart(MenuWebPart)" text="Close" type="option">
 
		</ie:menuitem><ie:menuitem title="Delete this Web Part from the page. These changes will apply to all users." id="MSOMenu_Delete" iconsrc="/_layouts/images/DelItem.gif" onmenuclick="if(confirm('You are about to permanently delete this Web Part. Are you sure you want to do this?')) {MSOWebPartPage_partDeleted = MenuWebPartID;MSOWebPartPage_MenuDoPostBack('ctl00$m', MenuWebPartID + ';MSOMenu_Delete');}" text="Delete" type="option">
 
		</ie:menuitem><ie:menuitem type="separator"></ie:menuitem><ie:menuitem title="Change properties of this shared Web Part. These changes will apply to all users." id="MSOMenu_Edit" iconsrc="/_layouts/images/EditItem.gif" onmenuclick="javascript:MSOTlPn_ShowToolPane2Wrapper('Edit', 16, MenuWebPartID)" text="Edit Web Part" type="option">
 
		</ie:menuitem><ie:menuitem title="Show connections options for this Web Part. These changes will apply to all users." id="MSOMenu_Connections" onmenuclick="" text="Connections" type="option">
 
		</ie:menuitem><ie:menuitem type="separator"></ie:menuitem><ie:menuitem title="Export this Web Part. These changes will apply to all users." id="MSOMenu_Export" onmenuclick="javascript:MSOWebPartPage_ExportCheckWarning(&#39;\u002fsites\u002flegal\u002f_vti_bin\u002fexportwp.aspx?pageurl=http\u00253A\u00252F\u00252Fusa\u00252Dsjc\u00252Dmss2010\u00253A80\u00252Fsites\u00252Flegal\u00252FPrecedents\u00252FForms\u00252FAllItems\u00252Easpx\u00253FPageView\u00253DShared\u002526InitialTabId\u00253DRibbon\u00252EWebPartPage\u002526VisibilityContext\u00253DWSSWebPartPage\u0026guidstring=&#39;+ escape(MenuWebPartID), MenuWebPart.getAttribute(&#39;HasPers&#39;) == &#39;true&#39;)" text="Export..." type="option">
 
		</ie:menuitem><ie:menuitem id="MSOMenu_Help" iconsrc="/_layouts/images/HelpIcon.gif" onmenuclick="MSOWebPartPage_SetNewWindowLocation(MenuWebPart.getAttribute('helpLink'), MenuWebPart.getAttribute('helpMode'))" text="Help" type="option" style="display:none">
 
		</ie:menuitem>
	</menu></div>
</div><input type='hidden' id='_wpcmWpid' name='_wpcmWpid' value='' /><input type='hidden' id='wpcmVal' name='wpcmVal' value=''/>
 
<script type="text/javascript"> 
//<![CDATA[
 
WebForm_InitCallback();var _spFormDigestRefreshInterval = 1440000;function loadMDN2() { EnsureScript('MDN.js', typeof(loadFilterFn), null); }
function loadMDN1() { ExecuteOrDelayUntilScriptLoaded(loadMDN2, 'sp.ribbon.js'); }
_spBodyOnLoadFunctionNames.push('loadMDN1');
function _spNavigateHierarchyEx(nodeDiv, dataSourceId, dataPath, url, listInContext, type, additionalQString) {
    SetAdditionalNavigateHierarchyQString(additionalQString);
    g_originalSPNavigateFunc(nodeDiv, dataSourceId, dataPath, url, listInContext, type);
}
 
g_originalSPNavigateFunc = _spNavigateHierarchy;
_spNavigateHierarchy = _spNavigateHierarchyEx;
 
function EnsureScripts(scriptInfoList, finalFunction)
{
if (scriptInfoList.length == 0)
{
finalFunction();
}
else
{
var scriptInfo = scriptInfoList.shift();
var rest = function () { EnsureScripts(scriptInfoList, finalFunction); };
var defd;
try
{
eval('defd = typeof(' + scriptInfo[1] + ');');
}
catch (e)
{
defd = 'undefined';
}
if (scriptInfo[2])
{
EnsureScript(scriptInfo[0], defd, null);
ExecuteOrDelayUntilScriptLoaded(rest, scriptInfo[0]);
}
else
{
EnsureScript(scriptInfo[0], defd, rest);
}
}
}
function PublishingRibbonUpdateRibbon()
{
var pageManager = SP.Ribbon.PageManager.get_instance();
if (pageManager)
{
pageManager.get_commandDispatcher().executeCommand('appstatechanged', null);
}
}var _fV4UI = true;
function _RegisterWebPartPageCUI()
{
    var initInfo = {editable: true,isEditMode: false,allowWebPartAdder: false};
    SP.Ribbon.WebPartComponent.registerWithPageManager(initInfo);
    var wpcomp = SP.Ribbon.WebPartComponent.get_instance();
    var hid;
    hid = document.getElementById("_wpSelected");
    if (hid != null)
    {
        var wpid = hid.value;
        if (wpid.length > 0)
        {
            var zc = document.getElementById(wpid);
            if (zc != null)
                wpcomp.selectWebPart(zc, false);
        }
    }
    hid = document.getElementById("_wzSelected");
    if (hid != null)
    {
        var wzid = hid.value;
        if (wzid.length > 0)
        {
            wpcomp.selectWebPartZone(null, wzid);
        }
    }
}
ExecuteOrDelayUntilScriptLoaded(_RegisterWebPartPageCUI, "sp.ribbon.js"); var __wpmExportWarning='This Web Part Page has been personalized. As a result, one or more Web Part properties may contain confidential information. Make sure the properties contain information that is safe for others to read. After exporting this Web Part, view properties in the Web Part description file (.WebPart) by using a text editor such as Microsoft Notepad.';var __wpmCloseProviderWarning='You are about to close this Web Part.  It is currently providing data to other Web Parts, and these connections will be deleted if this Web Part is closed.  To close this Web Part, click OK.  To keep this Web Part, click Cancel.';var __wpmDeleteWarning='You are about to permanently delete this Web Part.  Are you sure you want to do this?  To delete this Web Part, click OK.  To keep this Web Part, click Cancel.';var objStsSync = GetStssyncData('documents','Client', '', '/_layouts/images/menu');
var offlineBtnText = '';var offlineBtnImg = '';if(objStsSync){ offlineBtnText = objStsSync.BtnText;
offlineBtnImg = objStsSync.BtnImagePath;
}var _spWebPermMasks = {High:2147483647,Low:4294967295};function GetPageNormalizedUrl(){    alert('This SharePoint Tags And Notes Tool link is out of date. To get the latest Tags And Notes Tool, click OK. In the Tags and Note Board dialog, click the My Tags link. From here you can access the new SharePoint Tags And Notes tool.');    return document.location.href;}var _openTagDialog_DialogUrl = '';function OpenTagDialog(dialogUrl){    _openTagDialog_DialogUrl = dialogUrl;    SafeRunFunction(_OpenTagDialogInternal, 'SocialData.js', 'TagDialogOpener');}function _OpenTagDialogInternal(){    var normalizer = PageUrlNormalizer.GetInstance();    normalizer.GetUrl('http:\u002f\u002fusa-sjc-mss2010\u002fsites\u002flegal\u002fPrecedents\u002fForms\u002fAllItems.aspx?PageView=Shared\u0026InitialTabId=Ribbon.WebPartPage\u0026VisibilityContext=WSSWebPartPage', function(normalizedUrl) {        var url = _openTagDialog_DialogUrl                + '?Title='      + encodeURIComponent(document.title)                + '&Src='        + 'bm'                + '&DisplayUrl=' + encodeURIComponent(document.location.href)                + '&Url='        + encodeURIComponent(normalizedUrl);        var options = 'toolbar=0,status=0,resizable=0,scrollbars=1,width=650,height=400';        if (!window.open(url, null, options))        {            document.location.href = url;        }    });}function InitializeSocialRibbonComponentWrapper_ctl00_ctl33(){    SafeRunFunction(InitializeSocialRibbonComponent_ctl00_ctl33, 'sp.ui.socialribbon.js', 'SP.UI.SocialData.TRCRibbonComponent');}function InitializeSocialRibbonComponent_ctl00_ctl33(){    SP.UI.SocialData.TRCRibbonComponent.RegisterWithPageManager();    var ribbonComponent = SP.UI.SocialData.TRCRibbonComponent.get_Instance();    ribbonComponent['EnableSocialComment'] = true;    ribbonComponent['EnableSocialTag']     = true;    ribbonComponent['ListID']               = '{27ff0f2f-4ac5-4424-a6ec-19a76e9cedcc}';    ribbonComponent['ResAddMessage']        ='Add Tag...';    ribbonComponent['ResVerifyTypeMessage'] ='Verifying ...';    ribbonComponent.AddQuickTag = function(quickTagId)    {        SafeRunFunction(function ()        {            var adder = new SocialQuickTag('ctl00_ctl33');            adder.title        = document.title;            adder.url          = 'http:\u002f\u002fusa-sjc-mss2010\u002fsites\u002flegal\u002fPrecedents\u002fForms\u002fAllItems.aspx?PageView=Shared\u0026InitialTabId=Ribbon.WebPartPage\u0026VisibilityContext=WSSWebPartPage';            adder.tagged_text  = 'Tagged this page with \u0027I Like It.\u0027';            adder.failure_text = 'Failed tagging this page.';            adder.AddQuickTag(quickTagId);        }, 'SocialData.js', 'SocialQuickTag');    };    ribbonComponent.AddQuickTagToListItem = function(quickTagId)    {        var notificationId = addNotification("Add Tag...", true);        var listAndItemIds = this.SelectedListAndItemIds().split('|');        var request = new Object();        request.listid = listAndItemIds[0];        request.itemids = listAndItemIds[1];        request.id     = quickTagId;        WebForm_DoCallback('ctl00$ctl33',Sys.Serialization.JavaScriptSerializer.serialize(request),Function.createDelegate(ribbonComponent, ribbonComponent._OnSucceededCallback),notificationId,Function.createDelegate(ribbonComponent, ribbonComponent._OnFailedCallback),true);    };    return ribbonComponent;}ExecuteOrDelayUntilScriptLoaded(InitializeSocialRibbonComponentWrapper_ctl00_ctl33, 'sp.ribbon.js');function ctl00_ctl33_SocialNavControl_insertMyProfileMenu() {    var menus = document.getElementsByTagName('menu');    if (menus == null)  return;    var menu = null;    for (var i=0, len=menus.length; i<len; i++) {        if (menus[i].id.lastIndexOf('PersonalActionMenu') != -1) {		       menu = menus[i]; break;        }    }    if (menu == null)   return;    var elm = document.createElement('ie:menuitem');    elm.setAttribute('menugroupid', '50');    elm.setAttribute('description', 'View and manage your profile.');    elm.setAttribute('text', 'My Profile');    elm.setAttribute('onmenuclick', 'STSNavigate2(event,\'http:\u002f\u002fusa-sjc-mss2010:80\u002fmy\u002fPerson.aspx?accountname=USA\u00255Cdippat01\')');    elm.setAttribute('id', 'ID_MySiteLinksMenu');    var elm2 = document.createElement('ie:menuitem');    elm2.setAttribute('menugroupid', '50');    elm2.setAttribute('description', 'Open your personal homepage');    elm2.setAttribute('text', 'My Site');    elm2.setAttribute('onmenuclick', 'STSNavigate2(event,\'http:\u002f\u002fusa-sjc-mss2010:80\u002fmy\u002f\')');    elm2.setAttribute('id', 'ID_MySiteMenu');    var sep = null;    for (var i=0, len=menu.childNodes.length; i<len; i++) {    	   if (menu.childNodes[i].id == undefined || menu.childNodes[i].id == '') {            sep = menu.childNodes[i]; break;        }    }    if (sep != null)        menu.insertBefore(sep.cloneNode(true), menu.firstChild);    menu.insertBefore(elm, menu.firstChild);    if (sep != null)        menu.insertBefore(sep.cloneNode(true), menu.firstChild);    menu.insertBefore(elm2, menu.firstChild);};_spBodyOnLoadFunctionNames.push('ctl00_ctl33_SocialNavControl_insertMyProfileMenu');function ctl00_ctl37_AddQuickTag(){SafeRunFunction(function () {    var o = new SocialQuickTag('ctl00_ctl37');    o.url = 'http:\u002f\u002fusa-sjc-mss2010\u002fsites\u002flegal\u002fPrecedents\u002fForms\u002fAllItems.aspx?PageView=Shared\u0026InitialTabId=Ribbon.WebPartPage\u0026VisibilityContext=WSSWebPartPage';    o.title = document.title;    o.tagged_text = 'Tagged this page with \u0027I Like It.\u0027';    o.failure_text = 'Failed tagging this page.';    o.replaceImg_style = 'border:0; left:-0px !important;top:-332px !important;position:absolute;';    o.AddQuickTag(0);}, 'SocialData.js', 'SocialQuickTag');}function ctl00_ctl37_GetSocialNotification(){SafeRunFunction(function () {    var o = new SocialTagsAndNotes('ctl00_ctl37');    o.url = 'http:\u002f\u002fusa-sjc-mss2010\u002fsites\u002flegal\u002fPrecedents\u002fForms\u002fAllItems.aspx?PageView=Shared\u0026InitialTabId=Ribbon.WebPartPage\u0026VisibilityContext=WSSWebPartPage';    o.tooltip = 'Tags help you remember links and classify the page.  Notes are public comments.  Tags and notes post to your news feed and work across different sites.';    o.notify_text = '{0} tags or notes on this page.  ';    o.replaceImg_style = 'border:0; left:-0px !important;top:-332px !important;position:absolute;';    o.GetSocialNotification();}, 'SocialData.js', 'SocialTagsAndNotes');}//]]>
</script>
<script type="text/javascript" language="JavaScript" defer="defer"> 
<!--
function SearchEnsureSOD() { EnsureScript('search.js',typeof(GoSearch)); } _spBodyOnLoadFunctionNames.push('SearchEnsureSOD');function S3031AEBB_Submit() {if (document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_ctl05').value == '0') { document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords').value=''; }SearchEnsureSOD();GoSearch('ctl00_PlaceHolderSearchArea_ctl01_ctl05','ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords',null,true,false,null,'ctl00_PlaceHolderSearchArea_ctl01_ctl00','ctl00_PlaceHolderSearchArea_ctl01_ctl01',null,'This List','\u002f_layouts\u002fOssSearchResults.aspx', 'This Site','This List', 'This Folder', 'Related Sites', '\u002fsites\u002flegal\u002f_layouts\u002fOSSSearchResults.aspx', '', 'Please enter one or more search words.');if (document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_ctl05').value == '0') { document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords').value=''; }}
// -->
</script><script type="text/javascript" language="JavaScript" > 
// append an onload event handler
var S3031AEBB__onload= document.body.onload;
if(typeof document.body.onload == 'function')
{
 document.body.onload = function()
 {
S3031AEBB__onload();        
  document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords').name = 'InputKeywords';
 }
}
else
{
 document.body.onload = function()
 {
  eval(S3031AEBB__onload);        
  document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords').name = 'InputKeywords';
 }
}
 
function S3031AEBB_OSBEK(event1) { 
var kCode = String.fromCharCode(event1.keyCode);
if(kCode == "\n" || kCode == "\r")
{   
S3031AEBB_Submit();return false;
}
}
{ var searchTextBox = document.getElementById('ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords');if (searchTextBox.className.indexOf('s4-searchbox-QueryPrompt') == -1) searchTextBox.className += searchTextBox.className?' s4-searchbox-QueryPrompt':'s4-searchbox-QueryPrompt'; }// -->
</script><script type="text/javascript" > 
<!--
WPSC.Init(document);
var varPartWPQ3 = WPSC.WebPartPage.Parts.Register('WPQ3','ace0f169-559e-4f7e-923f-5154a5cfed55',document.getElementById('WebPartWPQ3'));
WPSC.WebPartPage.WebURL = 'http:\u002f\u002fusa-sjc-mss2010\u002fsites\u002flegal';
WPSC.WebPartPage.WebServerRelativeURL = '\u002fsites\u002flegal';
 
//-->
</script><script type="text/javascript"> 
// <![CDATA[
// ]]>
</script>
<script type="text/javascript">RegisterSod("sp.core.js", "\u002f_layouts\u002fsp.core.js?rev=7ByNlH\u00252BvcgRJg\u00252BRCctdC0w\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("sp.res.resx", "\u002f_layouts\u002fScriptResx.ashx?culture=en\u00252Dus\u0026name=SP\u00252ERes\u0026rev=b6\u00252FcRx1a6orhAQ\u00252FcF\u00252B0ytQ\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("sp.runtime.js", "\u002f_layouts\u002fsp.runtime.js?rev=9sKdsC9N6p2BiRk3313M7Q\u00253D\u00253D");RegisterSodDep("sp.runtime.js", "sp.core.js");RegisterSodDep("sp.runtime.js", "sp.res.resx");</script>
<script type="text/javascript">RegisterSod("sp.ui.dialog.js", "\u002f_layouts\u002fsp.ui.dialog.js?rev=IuXtJ2CrScK6oX4zOTTy\u00252BA\u00253D\u00253D");RegisterSodDep("sp.ui.dialog.js", "sp.core.js");RegisterSodDep("sp.ui.dialog.js", "sp.res.resx");</script>
<script type="text/javascript">RegisterSod("sp.js", "\u002f_layouts\u002fsp.js?rev=JmFQMEfR9bYx6G6TrWzSLw\u00253D\u00253D");RegisterSodDep("sp.js", "sp.core.js");RegisterSodDep("sp.js", "sp.runtime.js");RegisterSodDep("sp.js", "sp.ui.dialog.js");RegisterSodDep("sp.js", "sp.res.resx");</script>
<script type="text/javascript">RegisterSod("core.js", "\u002f_layouts\u002f1033\u002fcore.js?rev=c3ROI4x\u00252BKHVTMbn4JuFndQ\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("cui.js", "\u002f_layouts\u002fcui.js?rev=wvoVpqlQb30nGo4DjDk8Kg\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("inplview", "\u002f_layouts\u002finplview.js?rev=AohvE9XEf\u00252FI78tuaw1TGAA\u00253D\u00253D");RegisterSodDep("inplview", "core.js");RegisterSodDep("inplview", "sp.js");</script>
<script type="text/javascript">RegisterSod("ribbon", "\u002f_layouts\u002fsp.ribbon.js?rev=F\u00252BUEJ66rbXzSvpf7nN69wQ\u00253D\u00253D");RegisterSodDep("ribbon", "core.js");RegisterSodDep("ribbon", "sp.core.js");RegisterSodDep("ribbon", "sp.js");RegisterSodDep("ribbon", "cui.js");RegisterSodDep("ribbon", "sp.res.resx");RegisterSodDep("ribbon", "sp.runtime.js");RegisterSodDep("ribbon", "inplview");</script>
<script type="text/javascript">RegisterSod("sp.ui.policy.resources.resx", "\u002f_layouts\u002fScriptResx.ashx?culture=en\u00252Dus\u0026name=SP\u00252EUI\u00252EPolicy\u00252EResources\u0026rev=YhBHGmUAGyJ3lAgSdE4V\u00252Fw\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("mdn.js", "\u002f_layouts\u002fmdn.js?rev=gwmFFJ2\u00252FfFacqXWAqG\u00252FqKg\u00253D\u00253D");RegisterSodDep("mdn.js", "sp.core.js");RegisterSodDep("mdn.js", "sp.runtime.js");RegisterSodDep("mdn.js", "sp.js");RegisterSodDep("mdn.js", "cui.js");RegisterSodDep("mdn.js", "ribbon");RegisterSodDep("mdn.js", "sp.ui.policy.resources.resx");</script>
<script type="text/javascript">RegisterSod("sp.publishing.resources.resx", "\u002f_layouts\u002fScriptResx.ashx?culture=en\u00252Dus\u0026name=SP\u00252EPublishing\u00252EResources\u0026rev=QmOCEo1n\u00252FycDXDEGEiSM8w\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("sp.ui.pub.ribbon.js", "\u002f_layouts\u002fsp.ui.pub.ribbon.js?rev=RGQSBI9Dm0E345iq\u00252FxUpHg\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("socialdata.js", "\u002f_layouts\u002fsocialdata.js?rev=srp8t6aZS\u00252FjdrW3\u00252FJrn1iQ\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("sp.ui.socialribbon.js", "\u002f_layouts\u002fsp.ui.socialribbon.js?rev=q7gLNDKo68UsaWoEc\u00252FZCug\u00253D\u00253D");RegisterSodDep("sp.ui.socialribbon.js", "ribbon");RegisterSodDep("sp.ui.socialribbon.js", "socialdata.js");</script>
<script type="text/javascript">RegisterSod("WPAdderClass", "\u002f_layouts\u002fwpadder.js?rev=hnGJJEMcU5XH\u00252BCq7PlSxJw\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSod("search.js", "\u002f_layouts\u002fsearch.js?rev=jVFJXbMq\u00252BMZOs11kluPWwQ\u00253D\u00253D");</script>
<script type="text/javascript">RegisterSodDep("browserScript", "msstring.js");</script>
<script type="text/javascript"> 
//<![CDATA[
 
theForm.oldSubmit = theForm.submit;
theForm.submit = WebForm_SaveScrollPositionSubmit;
 
theForm.oldOnSubmit = theForm.onsubmit;
theForm.onsubmit = WebForm_SaveScrollPositionOnSubmit;
 
theForm.oldOnLoad = window.onload;
window.onload = WebForm_RestoreScrollPosition;
Sys.Application.initialize();
function init_zz17_TopNavigationMenuV4() {$create(SP.UI.AspMenu, null, null, null, $get('zz17_TopNavigationMenuV4'));}ExecuteOrDelayUntilScriptLoaded(init_zz17_TopNavigationMenuV4, 'sp.js');
function init_zz18_V4QuickLaunchMenu() {$create(SP.UI.AspMenu, null, null, null, $get('zz18_V4QuickLaunchMenu'));}ExecuteOrDelayUntilScriptLoaded(init_zz18_V4QuickLaunchMenu, 'sp.js');
//]]>
</script>
</form>
  
	
</body>
</html>

Open in new window

Let's try again. Please attach the following codes to your content editor web part on SharePoint 2010.
<script type="text/javascript">
function AddSharedNamespaceMenuItems(f,a){
	var g=GetRootFolder(a);
	setupMenuContext(a);
	if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");
	if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");
	if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");
	if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");
	if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");
	if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");
	if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;
	var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;
	bIsCheckout=0;
	if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;
	var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));
	var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;
	var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;
	var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";
	var e=a.displayFormUrl+c+"ID="+currentItemID+d;
	e=AddSourceToUrl(e)+g;
	if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";
	strImagePath="";
	b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);
	CUIInfo(b,"ViewProperties",["ViewProperties"]);
	if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";
	if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp)
	{
		if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;
		else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;
		else strDisplayText=L_EditItem_Text;
		c="&";
		if(a.editFormUrl.indexOf("?")==-1)c="?";
		if(a.listBaseType==1){
			strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"
		} else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";
		else {
			strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+"')"
		}
		strImagePath=a.imagesPath+"edititem.gif";
/* 
		b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);
		if(a.listBaseType==1)
		{
			b.id="ID_EditProperties";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}else{
			b.id="ID_EditItem";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}
*/
		if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0)
		{
			var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);
			strDisplayText=L_EditSeriesItem_Text;
			strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";
			strImagePath=a.imagesPath+"recurrence.gif";
			b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);
			CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);
			b.id="ID_EditSeriesItem"
		}
	}
}
</script>

Open in new window

Hi,
 
 Thanks for helping me. i tried this one too but it did not work. i am attaching core.js .i am trying to remove edit property from documnet library.

CORE.JS
When you say it did not work, what did you see? Were there any errors (on the left bottom corner)? Did you see all the contect menu items including the Edit Properties?
Try the attached codes and let me know if there is any alert message pop up.

<script type="text/javascript">

alert("In Content Editor!");

function AddSharedNamespaceMenuItems(f,a){

	alert("In AddSharedNamespaceMenuItems!");

	var g=GetRootFolder(a);
	setupMenuContext(a);
	if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");
	if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");
	if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");
	if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");
	if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");
	if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");
	if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;
	var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;
	bIsCheckout=0;
	if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;
	var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));
	var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;
	var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;
	var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";
	var e=a.displayFormUrl+c+"ID="+currentItemID+d;
	e=AddSourceToUrl(e)+g;
	if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";
	strImagePath="";
	b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);
	CUIInfo(b,"ViewProperties",["ViewProperties"]);
	if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";
	if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp)
	{
		alert("Has Right!");

		if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;
		else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;
		else strDisplayText=L_EditItem_Text;
		c="&";
		if(a.editFormUrl.indexOf("?")==-1)c="?";
		if(a.listBaseType==1){
			strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"
		} else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";
		else {
			strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+"')"
		}
		strImagePath=a.imagesPath+"edititem.gif";
/* 
		b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);

		alert("Not Commented!");

		if(a.listBaseType==1)
		{
			b.id="ID_EditProperties";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}else{
			b.id="ID_EditItem";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}
*/
		if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0)
		{
			var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);
			strDisplayText=L_EditSeriesItem_Text;
			strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";
			strImagePath=a.imagesPath+"recurrence.gif";
			b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);
			CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);
			b.id="ID_EditSeriesItem"
		}
	}
}
</script>

Open in new window

Hi,
 I am attching menuitem screenshot.  
Edit-Propertiy.JPG
Hi
 When i tried your new script then i got alert message box " In content Editor" .  But i am able to see all menu item. did i make any mistake?
Hi,
 When i open this page every time i get alert message box.
So you only see "In Content Editor!" alert message? You do not see "In AddSharedNamespaceMenuItems!" at all?
Hi,
 No,  When i open this page first time i get this alert message box. then only i can see document library. but afer that i can see all menu item. when i refresh page same thing happend. and i dont get any java script error on left button corner.

I think we sholud try to hide view properties or any menu item so we can get better idea. i did whatever you said.

Again thanks for spending your time..
Hi,
 i am seeing that you put two alert. but i got only first alert. it means that fuction is not calling. something wrong.
I attached codes.
See if you can see the alert when you open the context menu of the document library.

<script type="text/javascript">

function AddSharedNamespaceMenuItems(f,a)
{
ULSrLq:;
	alert("In AddSharedNamespaceMenuItems!");

	var g=GetRootFolder(a);
	setupMenuContext(a);
	if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");
	if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");
	if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");
	if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");
	if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");
	if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");
	if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;
	var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;
	bIsCheckout=0;
	if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;
	var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));
	var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;
	var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;
	var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";
	var e=a.displayFormUrl+c+"ID="+currentItemID+d;
	e=AddSourceToUrl(e)+g;
	if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";
	strImagePath="";
	b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);
	CUIInfo(b,"ViewProperties",["ViewProperties"]);
	if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";
	if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp)
	{
		alert("Has Right!");

		if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;
		else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;
		else strDisplayText=L_EditItem_Text;
		c="&";
		if(a.editFormUrl.indexOf("?")==-1)c="?";
		if(a.listBaseType==1){
			strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"
		} else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";
		else {
			strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+"')"
		}
		strImagePath=a.imagesPath+"edititem.gif";
/* 
		b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);

		alert("Not Commented!");

		if(a.listBaseType==1)
		{
			b.id="ID_EditProperties";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}else{
			b.id="ID_EditItem";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}
*/
		if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0)
		{
			var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);
			strDisplayText=L_EditSeriesItem_Text;
			strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";
			strImagePath=a.imagesPath+"recurrence.gif";
			b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);
			CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);
			b.id="ID_EditSeriesItem"
		}
	}
}
</script>

Open in new window

Hi Sam,
 I tried this code. I did not get any alert. it means that fuction is not calling. is it possible it refer another core.js ? is it possible to update directly core.js for testing. i have also test server for that. and u am trying this code for both server.

Let me know if you want me to to..
You can update the core.js but that means it will affect all the document library not just the one you want to hide the menu item.
I may have found out why. Could you send me the content of the default.master file? You can see the file using SharePoint Designer. Copy and Paster the content here.

 
I wish I could have SharePoint 2010 installed. I would be able to figure out directly why it does not work and we wouldn't going back and forth like this. Sorry about that.
I think the issue is that 2010 refers to core.js at the end of the form so our modified function cannot overwrite the original one. When I have your default.master file, I may direct you to put our codes at the very end.
Hi,
 I am attaching default.master. Hope we will get something.
<%@Master language="C#"%>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="MUISelector" src="~/_controltemplates/MUISelector.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %>
<html lang="<%$Resources:wss,language_value%>" dir="<%$Resources:wss,multipages_direction_dir_value%>" runat="server" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-dir="ltr">
<head runat="server">
	<meta name="GENERATOR" content="Microsoft SharePoint">
	<meta name="progid" content="SharePoint.WebPartPage.Document">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="Expires" content="0">
	<SharePoint:RobotsMetaTag runat="server"/>
	<title id="onetidTitle"><asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server"/></title>
	<SharePoint:CssLink runat="server"/>
	<SharePoint:Theme runat="server"/>
	<SharePoint:ULSClientConfig runat="server"/>
	<SharePoint:ScriptLink language="javascript" name="core.js" defer="true" runat="server"/>
	<SharePoint:CustomJSUrl runat="server"/>
	<SharePoint:SoapDiscoveryLink runat="server"/>
	<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server"/>
	<SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true"/>
	<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server"/>
</head>
<body scroll="yes" onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();">
  <form runat="server" onsubmit="if (typeof(_spFormOnSubmitWrapper) != 'undefined') {return _spFormOnSubmitWrapper();} else {return true;}">
  <asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" />
	<WebPartPages:SPWebPartManager id="m" runat="Server"/>
<SharePoint:SPNoScript runat="server"/>
  <table class="ms-main" cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
	<tr><td><asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
		 <td colspan="4" class="ms-globalbreadcrumb">
			<span id="TurnOnAccessibility" style="display:none">
			   <a id="linkTurnOnAcc" href="#" class="ms-skip" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;">
			<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnonaccessibility%>" EncodeMethod="HtmlEncode"/></a>
			</span>
			<span id="TurnOffAccessibility" style="display:none">
			   <a id="linkTurnOffAcc" href="#" class="ms-acclink" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;">
			<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnoffaccessibility%>" EncodeMethod="HtmlEncode"/></a>
			</span>
			<span>
			   <a href="javascript:;" onclick="javascript:this.href='#mainContent';" class="ms-skip" accesskey="<%$Resources:wss,maincontent_accesskey%>" runat="server">
			<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,mainContentLink%>" EncodeMethod="HtmlEncode"/></a>
			</span>
		 <table cellpadding="0" cellspacing="0" height="100%" class="ms-globalleft">
		   <tr>
			<td class="ms-globallinks" style="padding-top: 2px;" height="100%" valign="middle">
			 <div>
			  <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigationSiteMap" runat="server">
				<asp:SiteMapPath SiteMapProvider="SPSiteMapProvider" id="GlobalNavigationSiteMap" RenderCurrentNodeAsLink="true" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" runat="server"/>
			  </asp:ContentPlaceHolder>
			 </div>
			</td>
		   </tr>
		 </table>
		 <table cellpadding="0" cellspacing="0" height="100%" class="ms-globalright">
		  <tr>
			  <td valign="middle" class="ms-globallinks" style="padding-left:3px; padding-right:6px;">
			  <SharePoint:DelegateControl runat="server" ControlId="GlobalSiteLink0"/>
			  </td>
		  <td valign="middle" class="ms-globallinks">
			<wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false">
			</wssuc:Welcome>
		  </td>
		  <td style="padding-left:1px;padding-right:3px;" class="ms-globallinks">|</td>
		  <td valign="middle" class="ms-globallinks">
			<wssuc:MUISelector runat="server"/>
		  </td>
			  <td valign="middle" class="ms-globallinks">
				<table cellspacing="0" cellpadding="0">
				 <tr>
				  <td class="ms-globallinks">
					<SharePoint:DelegateControl ControlId="GlobalSiteLink1" Scope="Farm" runat="server"/></td>
				  <td class="ms-globallinks">
					<SharePoint:DelegateControl ControlId="GlobalSiteLink2" Scope="Farm" runat="server"/></td>
				 </tr>
				</table>
			  </td>
	      <td valign="middle" class="ms-globallinks">&#160;
		<Sharepoint:DeveloperDashboardLauncher
		  ID="DeveloperDashboardLauncher"
		  NavigateUrl="javascript:ToggleDeveloperDashboard()"
		  runat="server"
		  ImageUrl="/_layouts/images/DevDashboardOpenandClose16.png"
				  Text="<%$Resources:wss,multipages_launchdevdashalt_text%>"/>
	      </td>
	      <td valign="middle" class="ms-globallinks">&#160;
				<a href="javascript:TopHelpButtonClick('HelpHome')" accesskey="<%$Resources:wss,multipages_helplink_accesskey%>" id="TopHelpLink" title="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server"><img align="absmiddle" border="0" src="/_layouts/images/helpicon.gif" alt="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server"></a>
			  </td>
			  </tr>
			</table>
			</td>
		   </tr>
	   </table>
	  </asp:ContentPlaceHolder></td></tr>
	<tr>
	 <td class="ms-globalTitleArea">
	  <table width="100%" cellpadding="0" cellspacing="0" border="0">
	   <tr>
		<td id="GlobalTitleAreaImage" class="ms-titleimagearea">
		<SharePoint:SiteLogoImage id="onetidHeadbnnr0" LogoImageUrl="/_layouts/images/titlegraphic.gif" runat="server"/></td>
		<td class="ms-sitetitle" width="100%">
		  <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server">
			<h1 class="ms-sitetitle">
		   <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle">
			 <SharePoint:ProjectProperty Property="Title" runat="server" />
		   </SharePoint:SPLinkButton>
		  </h1>
		  </asp:ContentPlaceHolder>
		</td>
		<td style="padding-top:8px;" valign="top">
		  <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
				<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
		  </asp:ContentPlaceHolder>
		</td>
	   </tr>
	  </table>
	 </td>
	</tr>
	<tr>
	 <td id="onetIdTopNavBarContainer" width="100%" class="ms-bannerContainer">
		<asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server">
			<table class="ms-bannerframe" border="0" cellspacing="0" cellpadding="0" width="100%">
		   <tr>
			<td nowrap="nowrap" valign="middle"></td>
			<td class="ms-banner" width="99%" nowrap="nowrap" id="HBN100">
				<asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">
	<SharePoint:AspMenu
	  ID="TopNavigationMenu"
	  Runat="server"
	  DataSourceID="topSiteMap"
	  EnableViewState="false"
	  AccessKey="<%$Resources:wss,navigation_accesskey%>"
	  Orientation="Horizontal"
	  StaticDisplayLevels="2"
	  MaximumDynamicDisplayLevels="1"
	  DynamicHorizontalOffset="0"
	  StaticPopoutImageUrl="/_layouts/images/menudark.gif"
	  StaticPopoutImageTextFormatString=""
	  DynamicHoverStyle-BackColor="#CBE3F0"
	  SkipLinkText=""
	  StaticSubMenuIndent="0"
	  CssClass="ms-topNavContainer">
		<StaticMenuStyle/>
		<StaticMenuItemStyle CssClass="ms-topnav" ItemSpacing="0px"/>
		<StaticSelectedStyle CssClass="ms-topnavselected" />
		<StaticHoverStyle CssClass="ms-topNavHover" />
		<DynamicMenuStyle  BackColor="#F2F3F4" BorderColor="#A7B4CE" BorderWidth="1px"/>
		<DynamicMenuItemStyle CssClass="ms-topNavFlyOuts"/>
		<DynamicHoverStyle CssClass="ms-topNavFlyOutsHover"/>
		<DynamicSelectedStyle CssClass="ms-topNavFlyOutsSelected"/>
	</SharePoint:AspMenu>
	<SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource" Id="topNavigationDelegate">
		<Template_Controls>
			<asp:SiteMapDataSource
			  ShowStartingNode="False"
			  SiteMapProvider="SPNavigationProvider"
			  id="topSiteMap"
			  runat="server"
			  StartingNodeUrl="sid:1002"/>
		</Template_Controls>
	</SharePoint:DelegateControl>
				</asp:ContentPlaceHolder>
			</td>
			<td class="ms-banner">&#160;&#160;</td>
			<td class="ms-banner" colspan="2">
			 <a href="#" tabindex="-1" style="display:none"></a><a href="#" tabindex="-1" style="display:none"></a>
			</td>
			<td valign="bottom" align="right" style="position:relative;bottom:0;left:0;">
			 <table cellpadding="0" cellspacing="0" border="0">
			  <tr>
			   <td>
				<table height="100%" class="ms-siteaction" cellpadding="0" cellspacing="0">
				 <tr>
					   <td class="ms-siteactionsmenu" id="siteactiontd">
					   <SharePoint:SiteActions runat="server" accesskey="<%$Resources:wss,tb_SiteActions_AK%>" id="SiteActionsMenuMain"
						PrefixHtml="&lt;div&gt;&lt;div&gt;"
						SuffixHtml="&lt;/div&gt;&lt;/div&gt;"
						MenuNotVisibleHtml="&amp;nbsp;">
						<CustomTemplate>
						<SharePoint:FeatureMenuTemplate runat="server"
							FeatureScope="Site"
							Location="Microsoft.SharePoint.StandardMenu"
							GroupId="SiteActions"
							UseShortId="true"
							>
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_Create"
								Text="<%$Resources:wss,viewlsts_pagetitle_create%>"
								Description="<%$Resources:wss,siteactions_createdescription%>"
								ImageUrl="/_layouts/images/Actionscreate.gif"
								MenuGroupId="100"
								Sequence="100"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('All')) { STSNavigate('~site/_layouts/create.aspx') }"
								PermissionsString="ManageLists, ManageSubwebs"
								PermissionMode="Any" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
								Text="<%$Resources:wss,siteactions_editpage%>"
								Description="<%$Resources:wss,siteactions_editpagedescription%>"
								ImageUrl="/_layouts/images/ActionsEditPage.png"
								MenuGroupId="100"
								Sequence="200"
								ClientOnClickNavigateUrl="javascript:ChangeLayoutMode(false);"
								/>
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_Settings"
								Text="<%$Resources:wss,settings_pagetitle%>"
								Description="<%$Resources:wss,siteactions_sitesettingsdescription%>"
								ImageUrl="/_layouts/images/ActionsSettings.gif"
								MenuGroupId="100"
								Sequence="300"
								UseShortId="true"
								ClientOnClickNavigateUrl="~site/_layouts/settings.aspx"
								PermissionsString="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData"
								PermissionMode="Any" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditSite"
								Text="<%$Resources:wss,siteactions_editsite%>"
								Description="<%$Resources:wss,siteactions_editsitedescription%>"
								ImageUrl="/_layouts/images/SharePointDesigner32.png"
								MenuGroupId="100"
								Sequence="310"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="EditInSPD('~site/',true);"
								PermissionsString="AddAndCustomizePages"
								PermissionMode="Any"
							/>
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_SiteWorkflow"
								Text="<%$Resources:wss,siteactions_siteworkflow%>"
								Description="<%$Resources:wss,siteactions_siteworkflowescription%>"
								ImageUrl="/_layouts/images/availableworkflow.gif"
								MenuGroupId="100"
								Sequence="400"
								UseShortId="true"
								ClientOnClickNavigateUrl="~site/_layouts/workflow.aspx"
								PermissionsString="EditListItems, AddAndCustomizePages"
								PermissionMode="Any" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_SitePermissions"
								Text="<%$Resources:wss,people_sitepermissions%>"
								Description="<%$Resources:wss,siteactions_sitepermissiondescription%>"
								ImageUrl="/_layouts/images/placeholder32x32.png"
								MenuGroupId="100"
								Sequence="500"
								UseShortId="true"
								ClientOnClickNavigateUrl="~site/_layouts/user.aspx"
								PermissionsString="EnumeratePermissions"
								PermissionMode="Any" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_PreviewNewUI"
								Text="<%$Resources:wss,siteactions_previewnewui%>"
								Description="<%$Resources:wss,siteactions_previewnewuidescription%>"
								ImageUrl="/_layouts/images/visualupgradehh.png"
								MenuGroupId="100"
								Sequence="600"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="GoToPage('~site/_layouts/prjsetng.aspx')"
								PermissionsString="ManageWeb"
								PermissionMode="Any"
								ShowOnlyIfUIVersionConfigurationEnabled="true" />
						</SharePoint:FeatureMenuTemplate>
						</CustomTemplate>
					  </SharePoint:SiteActions></td>
				 </tr>
				</table>
			   </td>
			  </tr>
			 </table>
			</td>
		   </tr>
		  </table>
		</asp:ContentPlaceHolder>
	 </td>
	</tr>
	<asp:ContentPlaceHolder id="WSSDesignConsole" runat="server">
		<wssuc:DesignModeConsole id="IdDesignModeConsole" runat="server"/>
	</asp:ContentPlaceHolder>
	<asp:ContentPlaceHolder ID="SPNavigation" runat="server">
	<SharePoint:DelegateControl runat="server" ControlId="PublishingConsole"
	   PrefixHtml="&lt;tr&gt;&lt;td colspan=&quot;4&quot; id=&quot;mpdmconsole&quot; class=&quot;ms-consolemptablerow&quot;&gt;"
	   SuffixHtml="&lt;/td&gt;&lt;/tr&gt;">
	</SharePoint:DelegateControl>
	</asp:ContentPlaceHolder>
	<tr height="100%"><td><table width="100%" height="100%" cellspacing="0" cellpadding="0">
	<tr>
	 <td class="ms-titlearealeft" id="TitleAreaImageCell" valign="middle" nowrap="nowrap"><div style="height:100%" class="ms-titleareaframe"><asp:ContentPlaceHolder id="PlaceHolderPageImage" runat="server"/></div></td>
	 <td class="ms-titleareaframe" id="TitleAreaFrameClass">
	  <asp:ContentPlaceHolder id="PlaceHolderTitleLeftBorder" runat="server">
		<div class="ms-titleareaframe"><img src="/_layouts/images/blank.gif" width='1' height='100%' alt="" /></div>
	  </asp:ContentPlaceHolder>
	 </td>
	<td valign="top" id="onetidPageTitleAreaFrame" class='ms-pagetitleareaframe' nowrap="nowrap">
	  <table id="onetidPageTitleAreaTable" cellpadding="0" cellspacing="0" width="100%" border="0">
	   <tr>
		<td valign="top" class="ms-titlearea">
		 <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">
			<asp:SiteMapPath SiteMapProvider="SPContentMapProvider" id="ContentMap" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" runat="server"/> &#160;
		 </asp:ContentPlaceHolder>
		</td>
	   </tr>
	   <tr>
		<td height="100%" valign="top" id="onetidPageTitle" class="ms-pagetitle">
		  <h2 class="ms-pagetitle">
			<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />
		  </h2>
		</td>
	   </tr>
	  </table>
	 </td>
	 <td class="ms-titlearearight">
		<asp:ContentPlaceHolder id="PlaceHolderMiniConsole" runat="server"/>
		<asp:ContentPlaceHolder id="PlaceHolderTitleRightMargin" runat="server">
<div class="ms-titleareaframe" style='height:100%'><img src="/_layouts/images/blank.gif" width='1' height='1' alt="" /></div>
</asp:ContentPlaceHolder></td>
	</tr>
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaSeparator" runat="server"/>
	<tr>
	  <td class="ms-leftareacell" valign="top" height="100%" id="LeftNavigationAreaCell">
	   <table class="ms-nav" width="100%" height="100%" cellpadding="0" cellspacing="0">
		<tr>
		 <td>
		  <table height="100%" class="ms-navframe" cellpadding="0" cellspacing="0" border="0">
		   <tr valign="top">
			<td width="4px"><img src="/_layouts/images/blank.gif" width='4' height='1' alt="" /></td>
			<td valign="top" width="100%">
			  <div style="padding-top:1px">
				<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarDataSource" runat="server" />
				<asp:ContentPlaceHolder id="PlaceHolderCalendarNavigator" runat="server" />
				<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarTop" runat="server"/>
				<asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server">
				<div class="ms-quicklaunchouter">
				<div class="ms-quickLaunch">
				<asp:ContentPlaceHolder id="PlaceHolderQuickLaunchTop" runat="server">
				<SharePoint:UIVersionedContent UIVersion="3" runat="server">
					<ContentTemplate>
						<h3 class="ms-standardheader"><label class="ms-hidden"><SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,quiklnch_pagetitle%>" EncodeMethod="HtmlEncode"/></label>
						<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewFormPages">
							<div class="ms-quicklaunchheader"><SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"/></div>
						</SharePoint:SPSecurityTrimmedControl>
						</h3>
					</ContentTemplate>
				</SharePoint:UIVersionedContent>
				</asp:ContentPlaceHolder>
				<Sharepoint:SPNavigationManager
				id="QuickLaunchNavigationManager"
				runat="server"
				QuickLaunchControlId="QuickLaunchMenu"
				ContainedControl="QuickLaunch"
				EnableViewState="false"
				CssClass="ms-quicklaunch-navmgr">
				<div>
					<SharePoint:DelegateControl runat="server"
						ControlId="QuickLaunchDataSource">
					 <Template_Controls>
						<asp:SiteMapDataSource
						SiteMapProvider="SPNavigationProvider"
						ShowStartingNode="False"
						id="QuickLaunchSiteMap"
						StartingNodeUrl="sid:1025"
						runat="server"
						/>
					 </Template_Controls>
					</SharePoint:DelegateControl>
			<SharePoint:UIVersionedContent UIVersion="3" runat="server">
				<ContentTemplate>
					<SharePoint:AspMenu
						id="QuickLaunchMenu"
						runat="server"
						DataSourceId="QuickLaunchSiteMap"
						Orientation="Vertical"
						StaticDisplayLevels="2"
						ItemWrap="true"
						MaximumDynamicDisplayLevels="0"
						StaticSubMenuIndent="0"
						SkipLinkText=""
						CssClass="s4-die"
						>
						<LevelMenuItemStyles>
							<asp:MenuItemStyle CssClass="ms-navheader"/>
							<asp:MenuItemStyle CssClass="ms-navitem"/>
						</LevelMenuItemStyles>
						<LevelSubMenuStyles>
							<asp:SubMenuStyle CssClass="ms-navSubMenu1"/>
							<asp:SubMenuStyle CssClass="ms-navSubMenu2"/>
						</LevelSubMenuStyles>
						<LevelSelectedStyles>
							<asp:MenuItemStyle CssClass="ms-selectednavheader"/>
							<asp:MenuItemStyle CssClass="ms-selectednav"/>
						</LevelSelectedStyles>
					</SharePoint:AspMenu>
				</ContentTemplate>
			</SharePoint:UIVersionedContent>
			<SharePoint:UIVersionedContent UIVersion="4" runat="server">
				<ContentTemplate>
					<SharePoint:AspMenu
					  id="V4QuickLaunchMenu"
					  runat="server"
					  EnableViewState="false"
					  DataSourceId="QuickLaunchSiteMap"
					  UseSimpleRendering="true"
					  Orientation="Vertical"
					  StaticDisplayLevels="2"
					  MaximumDynamicDisplayLevels="0"
					  SkipLinkText=""
					  CssClass="s4-ql" />
				</ContentTemplate>
			</SharePoint:UIVersionedContent>
				</div>
				</Sharepoint:SPNavigationManager>
			<Sharepoint:UIVersionedContent runat="server" UIVersion="3">
				<ContentTemplate>
					<Sharepoint:SPNavigationManager
					id="TreeViewNavigationManager"
					runat="server"
					ContainedControl="TreeView"
					>
					  <table class="ms-navSubMenu1" cellpadding="0" cellspacing="0" border="0">
						<tr>
						  <td>
							<table class="ms-navheader" width="100%" cellpadding="0" cellspacing="0" border="0">
							  <tr>
								<td nowrap="nowrap" id="idSiteHierarchy">
								  <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" id="idNavLinkSiteHierarchy" Text="<%$Resources:wss,treeview_header%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"/>
								</td>
							  </tr>
							</table>
						  </td>
						</tr>
					  </table>
					  <div class="ms-treeviewouter">
						<SharePoint:DelegateControl runat="server" ControlId="TreeViewAndDataSource">
						  <Template_Controls>
							<SharePoint:SPHierarchyDataSourceControl
							 runat="server"
							 id="TreeViewDataSource"
							 RootContextObject="Web"
							 IncludeDiscussionFolders="true"
							/>
							<SharePoint:SPRememberScroll runat="server" id="TreeViewRememberScroll" onscroll="javascript:_spRecordScrollPositions(this);" style="overflow: auto;height: 400px;width: 150px; ">
							  <Sharepoint:SPTreeView
								id="WebTreeView"
								runat="server"
								ShowLines="false"
								DataSourceId="TreeViewDataSource"
								ExpandDepth="0"
								SelectedNodeStyle-CssClass="ms-tvselected"
								NodeStyle-CssClass="ms-navitem"
								NodeStyle-HorizontalPadding="2"
								SkipLinkText=""
								NodeIndent="12"
								ExpandImageUrl="/_layouts/images/tvplus.gif"
								CollapseImageUrl="/_layouts/images/tvminus.gif"
								NoExpandImageUrl="/_layouts/images/tvblank.gif"
							  >
							  </Sharepoint:SPTreeView>
							</Sharepoint:SPRememberScroll>
						  </Template_Controls>
						</SharePoint:DelegateControl>
					  </div>
					</Sharepoint:SPNavigationManager>
				</ContentTemplate>
			</SharePoint:UIVersionedContent>
			<Sharepoint:UIVersionedContent runat="server" UIVersion="4">
				<ContentTemplate>
					<Sharepoint:SPNavigationManager
					id="TreeViewNavigationManagerV4"
					runat="server"
					ContainedControl="TreeView"
					CssClass="s4-treeView"
					>
					  <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" id="idNavLinkSiteHierarchyV4" Text="<%$Resources:wss,treeview_header%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>" CssClass="s4-qlheader" />
						  <div class="ms-treeviewouter">
							<SharePoint:DelegateControl runat="server" ControlId="TreeViewAndDataSource">
							  <Template_Controls>
								<SharePoint:SPHierarchyDataSourceControl
								 runat="server"
								 id="TreeViewDataSourceV4"
								 RootContextObject="Web"
								 IncludeDiscussionFolders="true"
								/>
								<SharePoint:SPRememberScroll runat="server" id="TreeViewRememberScrollV4" onscroll="javascript:_spRecordScrollPositions(this);" style="overflow: auto;height: 400px;width: 155px; ">
								  <Sharepoint:SPTreeView
									id="WebTreeViewV4"
									runat="server"
									ShowLines="false"
									DataSourceId="TreeViewDataSourceV4"
									ExpandDepth="0"
									SelectedNodeStyle-CssClass="ms-tvselected"
									NodeStyle-CssClass="ms-navitem"
									SkipLinkText=""
									NodeIndent="12"
									ExpandImageUrl="/_layouts/images/tvclosed.png"
									ExpandImageUrlRtl="/_layouts/images/tvclosedrtl.png"
									CollapseImageUrl="/_layouts/images/tvopen.png"
									CollapseImageUrlRtl="/_layouts/images/tvopenrtl.png"
									NoExpandImageUrl="/_layouts/images/tvblank.gif"
								  >
								  </Sharepoint:SPTreeView>
								</Sharepoint:SPRememberScroll>
							  </Template_Controls>
							</SharePoint:DelegateControl>
						  </div>
					</Sharepoint:SPNavigationManager>
				</ContentTemplate>
			</SharePoint:UIVersionedContent>
				<asp:ContentPlaceHolder id="PlaceHolderQuickLaunchBottom" runat="server">
				<SharePoint:UIVersionedContent UIVersion="3" runat="server" id="PlaceHolderQuickLaunchBottomV3">
					<ContentTemplate>
						<table width="100%" cellpadding="0" cellspacing="0" border="0" class="s4-die">
						<tbody>
						<tr><td>
						<table class="ms-recyclebin" width="100%" cellpadding="0" cellspacing="0" border="0">
						<tbody>
						<tr><td nowrap="nowrap">
						<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/recyclebin.aspx" id="v3idNavLinkRecycleBin" ImageUrl="/_layouts/images/recycbin.gif" Text="<%$Resources:wss,StsDefault_RecycleBin%>" PermissionsString="DeleteListItems" />
						</td></tr>
						</table>
						</td></tr>
						</table>
					</ContentTemplate>
				</SharePoint:UIVersionedContent>
				<SharePoint:UIVersionedContent UIVersion="4" runat="server" id="PlaceHolderQuickLaunchBottomV4">
					<ContentTemplate>
						<ul class="s4-specialNavLinkList">
							<li>
								<SharePoint:ClusteredSPLinkButton
									runat="server"
									NavigateUrl="~site/_layouts/recyclebin.aspx"
									ImageClass="s4-specialNavIcon"
									ImageUrl="/_layouts/images/fgimg.png"
									ImageWidth=16
									ImageHeight=16
									OffsetX=0
									OffsetY=428
									id="idNavLinkRecycleBin"
									Text="<%$Resources:wss,StsDefault_RecycleBin%>"
									CssClass="s4-rcycl"
									PermissionsString="DeleteListItems" />
							</li>
							<li>
								<SharePoint:ClusteredSPLinkButton
									id="idNavLinkViewAllV4"
									runat="server"
									PermissionsString="ViewFormPages"
									NavigateUrl="~site/_layouts/viewlsts.aspx"
									ImageClass="s4-specialNavIcon"
									ImageUrl="/_layouts/images/fgimg.png"
									ImageWidth=16
									ImageHeight=16
									OffsetX=0
									OffsetY=0
									Text="<%$Resources:wss,quiklnch_allcontent_short%>"
									accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"/>
							</li>
						</ul>
					</ContentTemplate>
				</SharePoint:UIVersionedContent>
				</asp:ContentPlaceHolder>
				</div>
				</div>
				</asp:ContentPlaceHolder>
				<asp:ContentPlaceHolder id="PlaceHolderLeftActions" runat="server"></asp:ContentPlaceHolder>
			  </div>
			</td>
		   </tr>
		   <tr><td colspan="2"><asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server"><img src="/_layouts/images/blank.gif" width='138' height='1' alt="" /></asp:ContentPlaceholder></td></tr>
		  </table>
		 </td>
		 <td><asp:ContentPlaceHolder id="PlaceHolderLeftNavBarBorder" runat="server"></asp:ContentPlaceHolder></td>
		</tr>
	   </table>
	  </td>
	  <td><asp:ContentPlaceHolder id="PlaceHolderBodyLeftBorder" runat="server">
<div class="ms-pagemargin"><img src="/_layouts/images/blank.gif" width='10' height='1' alt="" /></div>
</asp:ContentPlaceHolder></td>
	  <td class='ms-bodyareacell' valign="top">
		<div id="MSO_ContentDiv" runat="server">
		<table id="MSO_ContentTable" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet">
		  <tr>
			 <td class='ms-bodyareaframe' valign="top" height="100%">
			   <a name="mainContent"></a>
				<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>
				<asp:ContentPlaceHolder id="PlaceHolderMain" runat="server">
				</asp:ContentPlaceHolder>
			 </td>
		  </tr>
		</table>
		</div>
	  </td>
	  <td class="ms-rightareacell"><asp:ContentPlaceHolder id="PlaceHolderBodyRightMargin" runat="server">
<div class="ms-pagemargin"><img src="/_layouts/images/blank.gif" width='10' height='1' alt="" /></div>
</asp:ContentPlaceHolder></td>
	</tr>
<tr>
	<td class="ms-pagebottommarginleft"><img src="/_layouts/images/blank.gif" width='1' height='10' alt="" /></td>
	<td class="ms-pagebottommargin"><img src="/_layouts/images/blank.gif" width='1' height='10' alt="" /></td>
	<td class="ms-bodyareapagemargin"><img src="/_layouts/images/blank.gif" width='1' height='10' alt="" /></td>
	<td class="ms-pagebottommarginright"><img src="/_layouts/images/blank.gif" width='1' height='10' alt="" /></td>
</tr>
	</table></td></tr>
  </table>
  <asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server">
		<SharePoint:FormDigest runat=server/>
  </asp:ContentPlaceHolder>
   <input type="text" name="__spText1" title="text" style="display:none;" />
   <input type="text" name="__spText2" title="text" style="display:none;" />
  </form>
  <asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server"/>
	<asp:ContentPlaceHolder id="PlaceHolderTitleAreaClass" runat="server"/>
  <SharePoint:DeveloperDashboard runat="server"/>
</body>
</html>

Open in new window

Hi,
 This is another master page. Some site has this master page.
<%@Master language="C#"%>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="MUISelector" src="~/_controltemplates/MUISelector.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="<%$Resources:wss,language_value%>" dir="<%$Resources:wss,multipages_direction_dir_value%>" runat="server" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-dir="ltr">
<head runat="server">
	<meta http-equiv="X-UA-Compatible" content="IE=8"/>
	<meta name="GENERATOR" content="Microsoft SharePoint"/>
	<meta name="progid" content="SharePoint.WebPartPage.Document"/>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta http-equiv="Expires" content="0"/>
	<SharePoint:RobotsMetaTag runat="server"/>
	<title id="onetidTitle"><asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server"/></title>
	<SharePoint:CssLink runat="server" Version="4"/>
	<SharePoint:Theme runat="server"/>
	<SharePoint:ULSClientConfig runat="server"/>
	<script type="text/javascript">
	var _fV4UI = true;
	</script>
	<SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server"/>
	<SharePoint:CustomJSUrl runat="server"/>
	<SharePoint:SoapDiscoveryLink runat="server"/>
	<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server"/>
	<SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true"/>
	<SharePoint:SPShortcutIcon runat="server" IconUrl="/_layouts/images/favicon.ico"/>
	<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server"/>
	<asp:ContentPlaceHolder id="PlaceHolderTitleAreaClass" runat="server"/>
	<SharePoint:SPPageManager runat="server"/>
	<SharePoint:SPHelpPageComponent Visible="false" runat="server"/>
</head>
<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master">
  <form runat="server" onsubmit="if (typeof(_spFormOnSubmitWrapper) != 'undefined') {return _spFormOnSubmitWrapper();} else {return true;}">
  <asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" />
	<WebPartPages:SPWebPartManager id="m" runat="Server"/>
<SharePoint:SPNoScript runat="server"/>
<div id="TurnOnAccessibility" style="display:none" class="s4-notdlg noindex">
	<a id="linkTurnOnAcc" href="#" class="ms-TurnOnAcc" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;">
	<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnonaccessibility%>" EncodeMethod="HtmlEncode"/></a>
</div>
<div id="TurnOffAccessibility" style="display:none" class="s4-notdlg noindex">
	<a id="linkTurnOffAcc" href="#" class="ms-TurnOffAcc" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;">
	<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnoffaccessibility%>" EncodeMethod="HtmlEncode"/></a>
</div>
<div class="s4-notdlg s4-skipribbonshortcut noindex">
	<a href="javascript:;" onclick="javascript:this.href='#startNavigation';" class="ms-SkiptoNavigation" accesskey="<%$Resources:wss,skipribbon_accesskey%>" runat="server">
	<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,skipRibbonCommandsLink%>" EncodeMethod="HtmlEncode"/></a>
</div>
<div class="s4-notdlg noindex">
	<a href="javascript:;" onclick="javascript:this.href='#mainContent';" class="ms-SkiptoMainContent" accesskey="<%$Resources:wss,maincontent_accesskey%>" runat="server">
	<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,mainContentLink%>" EncodeMethod="HtmlEncode"/></a>
</div>
<a id="HiddenAnchor" href="javascript:;" style="display:none;"></a>
<SharePoint:DelegateControl runat="server" ControlId="GlobalNavigation"/>
<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
	<div id="s4-ribboncont">
		<SharePoint:SPRibbon
			runat="server"
			PlaceholderElementId="RibbonContainer"
			CssFile="">
			<SharePoint:SPRibbonPeripheralContent
				runat="server"
				Location="TabRowLeft"
				CssClass="ms-siteactionscontainer s4-notdlg">
					   <span class="ms-siteactionsmenu" id="siteactiontd">
					   <SharePoint:SiteActions runat="server" accesskey="<%$Resources:wss,tb_SiteActions_AK%>" id="SiteActionsMenuMain"
						PrefixHtml=""
						SuffixHtml=""
						MenuNotVisibleHtml="&amp;nbsp;"
						>
						<CustomTemplate>
						<SharePoint:FeatureMenuTemplate runat="server"
							FeatureScope="Site"
							Location="Microsoft.SharePoint.StandardMenu"
							GroupId="SiteActions"
							UseShortId="true"
							>
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
								Text="<%$Resources:wss,siteactions_editpage%>"
								Description="<%$Resources:wss,siteactions_editpagedescriptionv4%>"
								ImageUrl="/_layouts/images/ActionsEditPage.png"
								MenuGroupId="100"
								Sequence="110"
								ClientOnClickNavigateUrl="javascript:ChangeLayoutMode(false);"
								/>
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_TakeOffline"
								Text="<%$Resources:wss,siteactions_takeoffline%>"
								Description="<%$Resources:wss,siteactions_takeofflinedescription%>"
								ImageUrl="/_layouts/images/connecttospworkspace32.png"
								MenuGroupId="100"
								Sequence="120"
								/>
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreatePage"
								Text="<%$Resources:wss,siteactions_createpage%>"
								Description="<%$Resources:wss,siteactions_createpagedesc%>"
								ImageUrl="/_layouts/images/NewContentPageHH.png"
								MenuGroupId="200"
								Sequence="210"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('Page')) { OpenCreateWebPageDialog('~site/_layouts/createwebpage.aspx') }"
								PermissionsString="AddListItems, EditListItems"
								PermissionMode="All" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateDocLib"
								Text="<%$Resources:wss,siteactions_createdoclib%>"
								Description="<%$Resources:wss,siteactions_createdoclibdesc%>"
								ImageUrl="/_layouts/images/NewDocLibHH.png"
								MenuGroupId="200"
								Sequence="220"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('DocLib')) { GoToPage('~site/_layouts/new.aspx?FeatureId={00bfea71-e717-4e80-aa17-d0c71b360101}&amp;ListTemplate=101') }"
								PermissionsString="ManageLists"
								PermissionMode="Any"
								VisibilityFeatureId="00BFEA71-E717-4E80-AA17-D0C71B360101" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateSite"
								Text="<%$Resources:wss,siteactions_createsite%>"
								Description="<%$Resources:wss,siteactions_createsitedesc%>"
								ImageUrl="/_layouts/images/newweb32.png"
								MenuGroupId="200"
								Sequence="230"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('Site')) { STSNavigate('~site/_layouts/newsbweb.aspx') }"
								PermissionsString="ManageSubwebs,ViewFormPages"
								PermissionMode="All" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_Create"
								Text="<%$Resources:wss,siteactions_create%>"
								Description="<%$Resources:wss,siteactions_createdesc%>"
								MenuGroupId="200"
								Sequence="240"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('All')) { STSNavigate('~site/_layouts/create.aspx') }"
								PermissionsString="ManageLists, ManageSubwebs"
								PermissionMode="Any" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_ViewAllSiteContents"
								Text="<%$Resources:wss,quiklnch_allcontent%>"
								Description="<%$Resources:wss,siteactions_allcontentdescription%>"
								ImageUrl="/_layouts/images/allcontent32.png"
								MenuGroupId="300"
								Sequence="302"
								UseShortId="true"
								ClientOnClickNavigateUrl="~site/_layouts/viewlsts.aspx"
								PermissionsString="ViewFormPages"
								PermissionMode="Any" />
							 <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditSite"
								Text="<%$Resources:wss,siteactions_editsite%>"
								Description="<%$Resources:wss,siteactions_editsitedescription%>"
								ImageUrl="/_layouts/images/SharePointDesigner32.png"
								MenuGroupId="300"
								Sequence="304"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="EditInSPD('~site/',true);"
								PermissionsString="AddAndCustomizePages"
								PermissionMode="Any"
							/>
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_SitePermissions"
								Text="<%$Resources:wss,people_sitepermissions%>"
								Description="<%$Resources:wss,siteactions_sitepermissiondescriptionv4%>"
								ImageUrl="/_layouts/images/Permissions32.png"
								MenuGroupId="300"
								Sequence="310"
								UseShortId="true"
								ClientOnClickNavigateUrl="~site/_layouts/user.aspx"
								PermissionsString="EnumeratePermissions"
								PermissionMode="Any" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_Settings"
								Text="<%$Resources:wss,settings_pagetitle%>"
								Description="<%$Resources:wss,siteactions_sitesettingsdescriptionv4%>"
								ImageUrl="/_layouts/images/settingsIcon.png"
								MenuGroupId="300"
								Sequence="320"
								UseShortId="true"
								ClientOnClickNavigateUrl="~site/_layouts/settings.aspx"
								PermissionsString="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData"
								PermissionMode="Any" />
							<SharePoint:MenuItemTemplate runat="server" id="MenuItem_CommitNewUI"
								Text="<%$Resources:wss,siteactions_commitnewui%>"
								Description="<%$Resources:wss,siteactions_commitnewuidescription%>"
								ImageUrl="/_layouts/images/visualupgradehh.png"
								MenuGroupId="300"
								Sequence="330"
								UseShortId="true"
								ClientOnClickScriptContainingPrefixedUrl="GoToPage('~site/_layouts/prjsetng.aspx')"
								PermissionsString="ManageWeb"
								PermissionMode="Any"
								ShowOnlyIfUIVersionConfigurationEnabled="true" />
						</SharePoint:FeatureMenuTemplate>
						</CustomTemplate>
					  </SharePoint:SiteActions></span>
				<asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server">
						<SharePoint:PopoutMenu
							runat="server"
							ID="GlobalBreadCrumbNavPopout"
							IconUrl="/_layouts/images/fgimg.png"
							IconAlt="<%$Resources:wss,master_breadcrumbIconAlt%>"
							IconOffsetX=0
							IconOffsetY=112
							IconWidth=16
							IconHeight=16
							AnchorCss="s4-breadcrumb-anchor"
							AnchorOpenCss="s4-breadcrumb-anchor-open"
							MenuCss="s4-breadcrumb-menu">
							<div class="s4-breadcrumb-top">
								<asp:Label runat="server" CssClass="s4-breadcrumb-header" Text="<%$Resources:wss,master_breadcrumbHeader%>" />
							</div>
							<asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">
								<SharePoint:ListSiteMapPath
									runat="server"
									SiteMapProviders="SPSiteMapProvider,SPContentMapProvider"
									RenderCurrentNodeAsLink="false"
									PathSeparator=""
									CssClass="s4-breadcrumb"
									NodeStyle-CssClass="s4-breadcrumbNode"
									CurrentNodeStyle-CssClass="s4-breadcrumbCurrentNode"
									RootNodeStyle-CssClass="s4-breadcrumbRootNode"
									NodeImageOffsetX=0
									NodeImageOffsetY=353
									NodeImageWidth=16
									NodeImageHeight=16
									NodeImageUrl="/_layouts/images/fgimg.png"
									RTLNodeImageOffsetX=0
									RTLNodeImageOffsetY=376
									RTLNodeImageWidth=16
									RTLNodeImageHeight=16
									RTLNodeImageUrl="/_layouts/images/fgimg.png"
									HideInteriorRootNodes="true"
									SkipLinkText="" />
								</asp:ContentPlaceHolder>
						</SharePoint:PopoutMenu>
						<div class="s4-die">
							<asp:ContentPlaceHolder id="PlaceHolderGlobalNavigationSiteMap" runat="server" Visible="false">
							</asp:ContentPlaceHolder>
						</div>
				</asp:ContentPlaceHolder>
				<SharePoint:PageStateActionButton id="PageStateActionButton" runat="server" Visible="false" />
			</SharePoint:SPRibbonPeripheralContent>
			<SharePoint:SPRibbonPeripheralContent
				runat="server"
				Location="TabRowRight"
				ID="RibbonTabRowRight"
				CssClass="s4-trc-container s4-notdlg">
	<SharePoint:DelegateControl runat="server" ID="GlobalDelegate0" ControlId="GlobalSiteLink0" />
	 <a href="#" tabindex="-1" style="display:none"></a><a href="#" tabindex="-1" style="display:none"></a>
	 <div class="s4-trc-container-menu">
		 <div>
			<wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false">
			</wssuc:Welcome>
			<wssuc:MUISelector ID="IdMuiSelector" runat="server"/>
		</div>
	</div>
	<SharePoint:DelegateControl ControlId="GlobalSiteLink2" ID="GlobalDelegate2" Scope="Farm" runat="server" />
	<span>
		<span class="s4-devdashboard">
			<Sharepoint:DeveloperDashboardLauncher
				ID="DeveloperDashboardLauncher"
				NavigateUrl="javascript:ToggleDeveloperDashboard()"
				runat="server"
				ImageUrl="/_layouts/images/fgimg.png"
				Text="<%$Resources:wss,multipages_launchdevdashalt_text%>"
				OffsetX=0
				OffsetY=222
				Height=16
				Width=16 />
		</span>
	</span>
			</SharePoint:SPRibbonPeripheralContent>
		</SharePoint:SPRibbon>
	</div>
	<div id="notificationArea" class="s4-noti">
	</div>
	<asp:ContentPlaceHolder ID="SPNavigation" runat="server">
			<SharePoint:DelegateControl runat="server" ControlId="PublishingConsole" Id="PublishingConsoleDelegate">
		   </SharePoint:DelegateControl>
	</asp:ContentPlaceHolder>
	<div id="WebPartAdderUpdatePanelContainer">
		<asp:UpdatePanel
			ID="WebPartAdderUpdatePanel"
			UpdateMode="Conditional"
			ChildrenAsTriggers="false"
			runat="server">
			<ContentTemplate>
				<WebPartPages:WebPartAdder ID="WebPartAdder" runat="server" />
			</ContentTemplate>
			<Triggers>
				<asp:PostBackTrigger ControlID="WebPartAdder" />
			</Triggers>
		</asp:UpdatePanel>
	</div>
</div>
<div id="s4-workspace">
		<div id="s4-bodyContainer">
			<div id="s4-titlerow" class="s4-pr s4-notdlg s4-titlerowhidetitle">
				<div class="s4-title s4-lp">
					<div class="s4-title-inner">
						<table class="s4-titletable" cellspacing="0">
							<tbody>
								<tr>
									<td class="s4-titlelogo">
										<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitleGraphic">
											<SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/images/siteIcon.png" runat="server"/>
										</SharePoint:SPLinkButton>
									</td>
									<td class="s4-titletext">
										<h1 name="onetidProjectPropertyTitle">
											<asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server">
												<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" /></SharePoint:SPLinkButton>
											</asp:ContentPlaceHolder>
										</h1>
										<span id="onetidPageTitleSeparator" class="s4-nothome s4-bcsep s4-titlesep">
										<SharePoint:ClusteredDirectionalSeparatorArrow runat="server"/> </span>
										<h2>
											<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />
										</h2>
										<div class="s4-pagedescription" tabindex="0" >
											<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>
										</div>
									</td>
									<td class="s4-socialdata-notif">
										<SharePoint:DelegateControl ControlId="GlobalSiteLink3" Scope="Farm" runat="server"/>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<div id="s4-topheader2" class="s4-pr s4-notdlg">
					<a name="startNavigation"></a>
					<div id="s4-searcharea" class="s4-search s4-rp">
						<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
							<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4"/>
						</asp:ContentPlaceHolder>
						<span class="s4-help">
								<span style="height:17px;width:17px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust"><a href="#" style="height:17px;width:17px;display:inline-block;" onclick="TopHelpButtonClick('HelpHome');return false" accesskey="<%$Resources:wss,multipages_helplink_accesskey%>" id="TopHelpLink" title="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server"><img src="/_layouts/images/fgimg.png" alt="<%$Resources:wss,multipages_helplinkalt_text%>" style="left:-0px !important;top:-309px !important;position:absolute;" align="absmiddle" border="0" runat="server" /></a></span>
						</span>
					</div>
					<div class="s4-rp s4-app">
					</div>
					<div class="s4-lp s4-toplinks">
						<asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server">
								<asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">
	<SharePoint:AspMenu
	  ID="TopNavigationMenuV4"
	  Runat="server"
	  EnableViewState="false"
	  DataSourceID="topSiteMap"
	  AccessKey="<%$Resources:wss,navigation_accesskey%>"
	  UseSimpleRendering="true"
	  UseSeparateCss="false"
	  Orientation="Horizontal"
	  StaticDisplayLevels="2"
	  MaximumDynamicDisplayLevels="1"
	  SkipLinkText=""
	  CssClass="s4-tn"/>
	<SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource" Id="topNavigationDelegate">
		<Template_Controls>
			<asp:SiteMapDataSource
			  ShowStartingNode="False"
			  SiteMapProvider="SPNavigationProvider"
			  id="topSiteMap"
			  runat="server"
			  StartingNodeUrl="sid:1002"/>
		</Template_Controls>
	</SharePoint:DelegateControl>
								</asp:ContentPlaceHolder>
						</asp:ContentPlaceHolder>
					</div>
				</div>
			</div>
			<div id="s4-statusbarcontainer">
				<div id="pageStatusBar" class="s4-status-s1">
				</div>
			</div>
				<SharePoint:VisualUpgradePreviewStatus runat="server"/>
			<div id="s4-mainarea" class="s4-pr s4-widecontentarea">
				<div id="s4-leftpanel" class="s4-notdlg">
					<div id="s4-leftpanel-content">
						<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarDataSource" runat="server" />
						<asp:ContentPlaceHolder id="PlaceHolderCalendarNavigator" runat="server" />
						<asp:ContentPlaceHolder id="PlaceHolderLeftActions" runat="server"></asp:ContentPlaceHolder>
							<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarTop" runat="server"/>
						<asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server">
				<div class="ms-quicklaunchouter">
				<div class="ms-quickLaunch">
				<asp:ContentPlaceHolder id="PlaceHolderQuickLaunchTop" runat="server">
				<SharePoint:UIVersionedContent UIVersion="3" runat="server">
					<ContentTemplate>
						<h3 class="ms-standardheader"><label class="ms-hidden"><SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,quiklnch_pagetitle%>" EncodeMethod="HtmlEncode"/></label>
						<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewFormPages">
							<div class="ms-quicklaunchheader"><SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"/></div>
						</SharePoint:SPSecurityTrimmedControl>
						</h3>
					</ContentTemplate>
				</SharePoint:UIVersionedContent>
				</asp:ContentPlaceHolder>
				<Sharepoint:SPNavigationManager
				id="QuickLaunchNavigationManager"
				runat="server"
				QuickLaunchControlId="QuickLaunchMenu"
				ContainedControl="QuickLaunch"
				EnableViewState="false"
				CssClass="ms-quicklaunch-navmgr">
				<div>
					<SharePoint:DelegateControl runat="server" ControlId="QuickLaunchDataSource">
						<Template_Controls>
						<asp:SiteMapDataSource SiteMapProvider="SPNavigationProvider" ShowStartingNode="False" id="QuickLaunchSiteMap" StartingNodeUrl="sid:1025" runat="server" />
					 </Template_Controls>
					</SharePoint:DelegateControl>
					<SharePoint:UIVersionedContent UIVersion="3" runat="server">
						<ContentTemplate>
							<SharePoint:AspMenu id="QuickLaunchMenu" runat="server" DataSourceId="QuickLaunchSiteMap" Orientation="Vertical" StaticDisplayLevels="2" ItemWrap="true" MaximumDynamicDisplayLevels="0" StaticSubMenuIndent="0" SkipLinkText="" CssClass="s4-die">
								<LevelMenuItemStyles>
									<asp:menuitemstyle CssClass="ms-navheader" />
									<asp:menuitemstyle CssClass="ms-navitem" />
								</LevelMenuItemStyles>
								<LevelSubMenuStyles>
									<asp:submenustyle CssClass="ms-navSubMenu1" />
									<asp:submenustyle CssClass="ms-navSubMenu2" />
								</LevelSubMenuStyles>
								<LevelSelectedStyles>
									<asp:menuitemstyle CssClass="ms-selectednavheader" />
									<asp:menuitemstyle CssClass="ms-selectednav" />
								</LevelSelectedStyles>
							</SharePoint:AspMenu>
						</ContentTemplate>
					</SharePoint:UIVersionedContent>
					<SharePoint:UIVersionedContent UIVersion="4" runat="server">
						<ContentTemplate>
							<SharePoint:AspMenu id="V4QuickLaunchMenu" runat="server" EnableViewState="false" DataSourceId="QuickLaunchSiteMap" UseSimpleRendering="true" UseSeparateCss="false" Orientation="Vertical" StaticDisplayLevels="2" MaximumDynamicDisplayLevels="0" SkipLinkText="" CssClass="s4-ql" />
						</ContentTemplate>
					</SharePoint:UIVersionedContent>
				</div>
				</Sharepoint:SPNavigationManager>
			<Sharepoint:UIVersionedContent runat="server" UIVersion="3">
				<ContentTemplate>
					<Sharepoint:SPNavigationManager
					id="TreeViewNavigationManager"
					runat="server"
					ContainedControl="TreeView"
					>
					  <table class="ms-navSubMenu1" cellpadding="0" cellspacing="0" border="0">
						<tr>
						  <td>
							<table class="ms-navheader" width="100%" cellpadding="0" cellspacing="0" border="0">
							  <tr>
								<td nowrap="nowrap" id="idSiteHierarchy">
								  <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" id="idNavLinkSiteHierarchy" Text="<%$Resources:wss,treeview_header%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"/>
								</td>
							  </tr>
							</table>
						  </td>
						</tr>
					  </table>
					  <div class="ms-treeviewouter">
						<SharePoint:DelegateControl runat="server" ControlId="TreeViewAndDataSource">
						  <Template_Controls>
							<SharePoint:SPHierarchyDataSourceControl
							 runat="server"
							 id="TreeViewDataSource"
							 RootContextObject="Web"
							 IncludeDiscussionFolders="true"
							/>
							<SharePoint:SPRememberScroll runat="server" id="TreeViewRememberScroll" onscroll="javascript:_spRecordScrollPositions(this);" style="overflow: auto;height: 400px;width: 150px; ">
							  <Sharepoint:SPTreeView
								id="WebTreeView"
								runat="server"
								ShowLines="false"
								DataSourceId="TreeViewDataSource"
								ExpandDepth="0"
								SelectedNodeStyle-CssClass="ms-tvselected"
								NodeStyle-CssClass="ms-navitem"
								NodeStyle-HorizontalPadding="2"
								SkipLinkText=""
								NodeIndent="12"
								ExpandImageUrl="/_layouts/images/tvplus.gif"
								CollapseImageUrl="/_layouts/images/tvminus.gif"
								NoExpandImageUrl="/_layouts/images/tvblank.gif"
							  >
							  </Sharepoint:SPTreeView>
							</Sharepoint:SPRememberScroll>
						  </Template_Controls>
						</SharePoint:DelegateControl>
					  </div>
					</Sharepoint:SPNavigationManager>
				</ContentTemplate>
			</SharePoint:UIVersionedContent>
			<Sharepoint:UIVersionedContent runat="server" UIVersion="4">
				<ContentTemplate>
					<Sharepoint:SPNavigationManager
					id="TreeViewNavigationManagerV4"
					runat="server"
					ContainedControl="TreeView"
					CssClass="s4-treeView"
					>
					  <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" id="idNavLinkSiteHierarchyV4" Text="<%$Resources:wss,treeview_header%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>" CssClass="s4-qlheader" />
						  <div class="ms-treeviewouter">
							<SharePoint:DelegateControl runat="server" ControlId="TreeViewAndDataSource">
							  <Template_Controls>
								<SharePoint:SPHierarchyDataSourceControl
								 runat="server"
								 id="TreeViewDataSourceV4"
								 RootContextObject="Web"
								 IncludeDiscussionFolders="true"
								/>
								<SharePoint:SPRememberScroll runat="server" id="TreeViewRememberScrollV4" onscroll="javascript:_spRecordScrollPositions(this);" style="overflow: auto;height: 400px;width: 155px; ">
								  <Sharepoint:SPTreeView
									id="WebTreeViewV4"
									runat="server"
									ShowLines="false"
									DataSourceId="TreeViewDataSourceV4"
									ExpandDepth="0"
									SelectedNodeStyle-CssClass="ms-tvselected"
									NodeStyle-CssClass="ms-navitem"
									SkipLinkText=""
									NodeIndent="12"
									ExpandImageUrl="/_layouts/images/tvclosed.png"
									ExpandImageUrlRtl="/_layouts/images/tvclosedrtl.png"
									CollapseImageUrl="/_layouts/images/tvopen.png"
									CollapseImageUrlRtl="/_layouts/images/tvopenrtl.png"
									NoExpandImageUrl="/_layouts/images/tvblank.gif"
								  >
								  </Sharepoint:SPTreeView>
								</Sharepoint:SPRememberScroll>
							  </Template_Controls>
							</SharePoint:DelegateControl>
						  </div>
					</Sharepoint:SPNavigationManager>
				</ContentTemplate>
			</SharePoint:UIVersionedContent>
				<asp:ContentPlaceHolder id="PlaceHolderQuickLaunchBottom" runat="server">
				<SharePoint:UIVersionedContent UIVersion="3" runat="server" id="PlaceHolderQuickLaunchBottomV3">
					<ContentTemplate>
						<table width="100%" cellpadding="0" cellspacing="0" border="0" class="s4-die">
						<tbody>
						<tr><td>
						<table class="ms-recyclebin" width="100%" cellpadding="0" cellspacing="0" border="0">
						<tbody>
						<tr><td nowrap="nowrap">
						<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/recyclebin.aspx" id="v3idNavLinkRecycleBin" ImageUrl="/_layouts/images/recycbin.gif" Text="<%$Resources:wss,StsDefault_RecycleBin%>" PermissionsString="DeleteListItems" />
						</td></tr>
						</table>
						</td></tr>
						</table>
					</ContentTemplate>
				</SharePoint:UIVersionedContent>
				<SharePoint:UIVersionedContent UIVersion="4" runat="server" id="PlaceHolderQuickLaunchBottomV4">
					<ContentTemplate>
						<ul class="s4-specialNavLinkList">
							<li>
								<SharePoint:ClusteredSPLinkButton
									runat="server"
									NavigateUrl="~site/_layouts/recyclebin.aspx"
									ImageClass="s4-specialNavIcon"
									ImageUrl="/_layouts/images/fgimg.png"
									ImageWidth=16
									ImageHeight=16
									OffsetX=0
									OffsetY=428
									id="idNavLinkRecycleBin"
									Text="<%$Resources:wss,StsDefault_RecycleBin%>"
									CssClass="s4-rcycl"
									PermissionsString="DeleteListItems" />
							</li>
							<li>
								<SharePoint:ClusteredSPLinkButton
									id="idNavLinkViewAllV4"
									runat="server"
									PermissionsString="ViewFormPages"
									NavigateUrl="~site/_layouts/viewlsts.aspx"
									ImageClass="s4-specialNavIcon"
									ImageUrl="/_layouts/images/fgimg.png"
									ImageWidth=16
									ImageHeight=16
									OffsetX=0
									OffsetY=0
									Text="<%$Resources:wss,quiklnch_allcontent_short%>"
									accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"/>
							</li>
						</ul>
					</ContentTemplate>
				</SharePoint:UIVersionedContent>
				</asp:ContentPlaceHolder>
				</div>
				</div>
						</asp:ContentPlaceHolder>
					</div>
				</div>
				<div class="s4-ca s4-ca-dlgNoRibbon" id="MSO_ContentTable">
					<div class="s4-die">
						<asp:ContentPlaceHolder id="PlaceHolderPageImage" runat="server" Visible="false"/>
						<asp:ContentPlaceHolder id="PlaceHolderTitleLeftBorder" runat="server" Visible="false">
						</asp:ContentPlaceHolder>
							<div id="onetidPageTitleAreaFrame" class='ms-pagetitleareaframe s4-pagetitle'></div>
						<asp:ContentPlaceHolder id="PlaceHolderMiniConsole" runat="server" Visible="false"/>
						<span class="s4-die">
							<asp:ContentPlaceHolder id="PlaceHolderTitleRightMargin" runat="server" Visible="false"/>
						</span>
						<asp:ContentPlaceHolder id="PlaceHolderTitleAreaSeparator" runat="server" Visible="false"/>
							<asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server" Visible="false"><img src="/_layouts/images/blank.gif" width='138' height='1' alt="" /></asp:ContentPlaceholder>
						<asp:ContentPlaceHolder id="PlaceHolderLeftNavBarBorder" runat="server" Visible="false"></asp:ContentPlaceHolder>
						<asp:ContentPlaceHolder id="PlaceHolderBodyLeftBorder" runat="server" Visible="false">
						</asp:ContentPlaceHolder>
					</div>
					<SharePoint:VersionedPlaceHolder UIVersion="3" ID="DesignModeConsoleV3" runat="server">
						<asp:ContentPlaceHolder id="WSSDesignConsole" runat="server">
							<wssuc:DesignModeConsole id="IdDesignModeConsole" runat="server" />
						</asp:ContentPlaceHolder>
					</SharePoint:VersionedPlaceHolder>
						<div class='s4-ba'><div class='ms-bodyareacell'>
							<div id="MSO_ContentDiv" runat="server">
						<a name="mainContent"></a>
						<asp:ContentPlaceHolder id="PlaceHolderMain" runat="server">
						</asp:ContentPlaceHolder>
							</div>
						</div></div>
					<div class="s4-die">
						<asp:ContentPlaceHolder id="PlaceHolderBodyRightMargin" runat="server">
						</asp:ContentPlaceHolder>
					</div>
				</div>
			</div>
			<SharePoint:DeveloperDashboard runat="server"/>
		</div>
</div>
  <asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server">
		<SharePoint:FormDigest runat="server"/>
  </asp:ContentPlaceHolder>
   <input type="text" name="__spText1" title="text" style="display:none;" />
   <input type="text" name="__spText2" title="text" style="display:none;" />
  </form>
  <asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server"/>
	<SharePoint:WarnOnUnsupportedBrowsers runat="server"/>
</body>
</html>

Open in new window

Sorry,  one more thing: could you send me the aspx file (such as Forms/AllItems.aspx) of the document library view you are trying to hide the menu item?
Hi,
 here it is..
<%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full" meta:progid="SharePoint.WebPartPage.Document"  %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="ApplicationPages" Namespace="Microsoft.SharePoint.ApplicationPages.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
	<SharePoint:ListProperty Property="TitleOrFolder" runat="server"/> - 
	<SharePoint:ListProperty Property="CurrentViewTitle" runat="server"/></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:ListProperty Property="TitleBreadcrumb" runat="server"/>
	<SharePoint:UIVersionedContent UIVersion="4" runat="server">
		<ContentTemplate>
			<span class="ms-ltviewselectormenuheader" runat="server">
				<SharePoint:ListTitleViewSelectorMenu AlignToParent="true" id="LTViewSelectorMenu" runat="server" />
			</span>
		</ContentTemplate>
	</SharePoint:UIVersionedContent>
</asp:Content>
<asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
	<SharePoint:RssLink runat="server"/>
</asp:content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
	<SharePoint:ViewIcon Width="145" Height="54" runat="server"/></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
<SharePoint:RecentChangesMenu runat="server" id="RecentChanges"/>
<SharePoint:ModifySettingsLink runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId ="PlaceHolderBodyLeftBorder" runat="server">
	<div height="100%" class="ms-pagemargin"><img src="/_layouts/images/blank.gif" width='6' height='1' alt="" /></div>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
		<WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate>
<WebPartPages:ContentEditorWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{ACE0F169-559E-4F7E-923F-5154A5CFED55}" >
<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
  <Title>Content Editor</Title>
  <FrameType>Default</FrameType>
  <Description>Allows authors to enter rich text content.</Description>
  <IsIncluded>true</IsIncluded>
  <PartOrder>2</PartOrder>
  <FrameState>Normal</FrameState>
  <Height />
  <Width />
  <AllowRemove>true</AllowRemove>
  <AllowZoneChange>true</AllowZoneChange>
  <AllowMinimize>true</AllowMinimize>
  <AllowConnect>true</AllowConnect>
  <AllowEdit>true</AllowEdit>
  <AllowHide>true</AllowHide>
  <IsVisible>true</IsVisible>
  <DetailLink />
  <HelpLink />
  <HelpMode>Modeless</HelpMode>
  <Dir>Default</Dir>
  <PartImageSmall />
  <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
  <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
  <IsIncludedFilter />
  <ExportControlledProperties>true</ExportControlledProperties>
  <ConnectionID>00000000-0000-0000-0000-000000000000</ConnectionID>
  <ID>g_ace0f169_559e_4f7e_923f_5154a5cfed55</ID>
  <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
  <Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[<script type="text/javascript">




function AddSharedNamespaceMenuItems(f,a)
{
ULSrLq:;
	alert("In AddSharedNamespaceMenuItems!");

	var g=GetRootFolder(a);
	setupMenuContext(a);
	if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");
	if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");
	if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");
	if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");
	if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");
	if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");
	if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;
	var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;
	bIsCheckout=0;
	if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;
	var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));
	var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;
	var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;
	var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";
	var e=a.displayFormUrl+c+"ID="+currentItemID+d;
	e=AddSourceToUrl(e)+g;
	if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";
	strImagePath="";
	b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);
	CUIInfo(b,"ViewProperties",["ViewProperties"]);
	if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";
	if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp)
	{
		alert("Has Right!");

		if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;
		else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;
		else strDisplayText=L_EditItem_Text;
		c="&";
		if(a.editFormUrl.indexOf("?")==-1)c="?";
		if(a.listBaseType==1){
			strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"
		} else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";
		else {
			strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+"')"
		}
		strImagePath=a.imagesPath+"edititem.gif";
/* 
		b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);

		alert("Not Commented!");

		if(a.listBaseType==1)
		{
			b.id="ID_EditProperties";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}else{
			b.id="ID_EditItem";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}
*/
		if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0)
		{
			var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);
			strDisplayText=L_EditSeriesItem_Text;
			strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";
			strImagePath=a.imagesPath+"recurrence.gif";
			b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);
			CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);
			b.id="ID_EditSeriesItem"
		}
	}
}</script>]]></Content>
  <PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
</WebPart>
</WebPartPages:ContentEditorWebPart>
<WebPartPages:XsltListViewWebPart runat="server" Description="" ListDisplayName="" PartOrder="4" HelpLink="" AllowRemove="True" IsVisible="True" AllowHide="True" UseSQLDataSourcePaging="True" ExportControlledProperties="False" IsIncludedFilter="" DataSourceID="" Title="Precedents" ViewFlag="25165829" NoDefaultStyle="" AllowConnect="True" DisplayName="All Documents" FrameState="Normal" PageSize="-1" PartImageLarge="" AsyncRefresh="False" Dir="Default" DetailLink="/sites/legal/Precedents" ShowWithSampleData="False" ListId="27ff0f2f-4ac5-4424-a6ec-19a76e9cedcc" ListName="{27FF0F2F-4AC5-4424-A6EC-19A76E9CEDCC}" FrameType="Default" PartImageSmall="" IsIncluded="True" SuppressWebPartChrome="False" AllowEdit="True" ViewGuid="{383D347A-EC4A-4A97-824E-AF4A57638F0C}" AutoRefresh="False" AutoRefreshInterval="60" AllowMinimize="True" WebId="00000000-0000-0000-0000-000000000000" ViewContentTypeId="" InitialAsyncDataFetch="False" GhostedXslLink="main.xsl" MissingAssembly="Cannot import this Web Part." HelpMode="Modeless" ListUrl="" ID="g_383d347a_ec4a_4a97_824e_af4a57638f0c" ConnectionID="00000000-0000-0000-0000-000000000000" AllowZoneChange="True" TitleUrl="/sites/legal/Precedents" ManualRefresh="False" __MarkupType="vsattributemarkup" __WebPartId="{383D347A-EC4A-4A97-824E-AF4A57638F0C}" __AllowXSLTEditing="true" __designer:CustomXsl="fldtypes_Ratings.xsl" WebPart="true" Height="" Width=""><ParameterBindings>
			<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
			<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
			<ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
			<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
			<ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
			<ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
			<ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
			<ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
			<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)" />
			<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)" />
		</ParameterBindings>
<XmlDefinition>
			<View Name="{383D347A-EC4A-4A97-824E-AF4A57638F0C}" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Documents" Url="/sites/legal/Precedents/Forms/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/dlicon.png">
				<Query>
					<OrderBy>
						<FieldRef Name="FileLeafRef"/>
					</OrderBy>
				</Query>
				<ViewFields>
					<FieldRef Name="DocIcon"/>
					<FieldRef Name="LinkFilename"/>
					<FieldRef Name="Division"/>
					<FieldRef Name="ARM_x0020_Product"/>
					<FieldRef Name="DocNumber"/>
					<FieldRef Name="Hardcopy_x0020_Location"/>
					<FieldRef Name="Effective_x0020_Date"/>
					<FieldRef Name="DocState"/>
					<FieldRef Name="Revenue_x0020_Earning"/>
					<FieldRef Name="Legal_x0020_Request"/>
					<FieldRef Name="New_x0020_ARM_x0020_Product"/>
					<FieldRef Name="Modified"/>
					<FieldRef Name="Requestor"/>
					<FieldRef Name="New_x0020_Division"/>
					<FieldRef Name="DocType"/>
				</ViewFields>
				<RowLimit Paged="TRUE">30</RowLimit>
				<Aggregations Value="Off"/>
				<Toolbar Type="Standard"/>
			</View>
		</XmlDefinition>
<DataFields>
</DataFields>
</WebPartPages:XsltListViewWebPart>

</ZoneTemplate></WebPartPages:WebPartZone>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
<style type="text/css">
.ms-bodyareaframe {
	padding: 0px;
}
</style>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
<SharePoint:ListProperty CssClass="ms-listdescription" Property="Description" runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderCalendarNavigator" runat="server">
	<SharePoint:SPCalendarNavigator id="CalendarNavigatorId" runat="server"/>
  <ApplicationPages:CalendarAggregationPanel id="AggregationPanel" runat="server"/>
</asp:Content>

Open in new window

Try the following:
(1) Open the document library view (AllItems.aspx) in SharePoint Designer.
(2) Append the following to the end of the file:
<asp:Content ContentPlaceHolderId="PlaceHolderUtilityContent" runat="server">

{Paste the codes I last sent to you here}
</asp:Content>

(3) Save the file.
(4) browse the page in browser and see if you would see the alert. If you can see the alert, open the file in SharePoint Designer again to remove the alerts. Also remove the Content Editor web part.
 
Hi,
 Thanks , i will test tomorrow and i will let you know.
Hi

 Sorry Dude , No luck with it. I added <asp;Content at the end in allitem.aspx. Bit i did not get any alert. i am attaching my code of aspx. Hope i did not do any mistake.
<%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full"  %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="ApplicationPages" Namespace="Microsoft.SharePoint.ApplicationPages.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
	<SharePoint:ListProperty Property="TitleOrFolder" runat="server"/> - 
	<SharePoint:ListProperty Property="CurrentViewTitle" runat="server"/></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:ListProperty Property="TitleBreadcrumb" runat="server"/>
	<SharePoint:UIVersionedContent UIVersion="4" runat="server">
		<ContentTemplate>
			<span class="ms-ltviewselectormenuheader" runat="server">
				<SharePoint:ListTitleViewSelectorMenu AlignToParent="true" id="LTViewSelectorMenu" runat="server" />
			</span>
		</ContentTemplate>
	</SharePoint:UIVersionedContent>
</asp:Content>
<asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
	<SharePoint:RssLink runat="server"/>
</asp:content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
	<SharePoint:ViewIcon Width="145" Height="54" runat="server"/></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
<SharePoint:RecentChangesMenu runat="server" id="RecentChanges"/>
<SharePoint:ModifySettingsLink runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId ="PlaceHolderBodyLeftBorder" runat="server">
	<div height="100%" class="ms-pagemargin"><img src="/_layouts/images/blank.gif" width='6' height='1' alt="" /></div>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
		<WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate>
<WebPartPages:ContentEditorWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{9FD98A69-ECFC-478B-9528-E7F7180C15C6}" >
<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
  <Title>Content Editor</Title>
  <FrameType>Default</FrameType>
  <Description>Allows authors to enter rich text content.</Description>
  <IsIncluded>true</IsIncluded>
  <PartOrder>2</PartOrder>
  <FrameState>Normal</FrameState>
  <Height />
  <Width />
  <AllowRemove>true</AllowRemove>
  <AllowZoneChange>true</AllowZoneChange>
  <AllowMinimize>true</AllowMinimize>
  <AllowConnect>true</AllowConnect>
  <AllowEdit>true</AllowEdit>
  <AllowHide>true</AllowHide>
  <IsVisible>true</IsVisible>
  <DetailLink />
  <HelpLink />
  <HelpMode>Modeless</HelpMode>
  <Dir>Default</Dir>
  <PartImageSmall />
  <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
  <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
  <IsIncludedFilter />
  <ExportControlledProperties>true</ExportControlledProperties>
  <ConnectionID>00000000-0000-0000-0000-000000000000</ConnectionID>
  <ID>g_9fd98a69_ecfc_478b_9528_e7f7180c15c6</ID>
  <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
  <Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[<script type="text/javascript">


function AddSharedNamespaceMenuItems(f,a)
{
ULSrLq:;
	alert("In AddSharedNamespaceMenuItems!");

	var g=GetRootFolder(a);
	setupMenuContext(a);
	if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");
	if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");
	if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");
	if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");
	if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");
	if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");
	if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;
	var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;
	bIsCheckout=0;
	if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;
	var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));
	var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;
	var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;
	var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";
	var e=a.displayFormUrl+c+"ID="+currentItemID+d;
	e=AddSourceToUrl(e)+g;
	if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";
	strImagePath="";
	b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);
	CUIInfo(b,"ViewProperties",["ViewProperties"]);
	if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";
	if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp)
	{
		alert("Has Right!");

		if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;
		else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;
		else strDisplayText=L_EditItem_Text;
		c="&";
		if(a.editFormUrl.indexOf("?")==-1)c="?";
		if(a.listBaseType==1){
			strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"
		} else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";
		else {
			strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+"')"
		}
		strImagePath=a.imagesPath+"edititem.gif";
/* 
		b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);

		alert("Not Commented!");

		if(a.listBaseType==1)
		{
			b.id="ID_EditProperties";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}else{
			b.id="ID_EditItem";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}
*/
		if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0)
		{
			var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);
			strDisplayText=L_EditSeriesItem_Text;
			strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";
			strImagePath=a.imagesPath+"recurrence.gif";
			b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);
			CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);
			b.id="ID_EditSeriesItem"
		}
	}
}</script>]]></Content>
  <PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
</WebPart>
</WebPartPages:ContentEditorWebPart>
<WebPartPages:XsltListViewWebPart runat="server" Description="" ListDisplayName="" PartOrder="4" Default="TRUE" HelpLink="" AllowRemove="True" IsVisible="True" AllowHide="True" UseSQLDataSourcePaging="True" ExportControlledProperties="False" IsIncludedFilter="" DataSourceID="" Title="Doc1" ViewFlag="8388613" NoDefaultStyle="" AllowConnect="True" DisplayName="All Documents" PageType="PAGE_DEFAULTVIEW" FrameState="Normal" PageSize="-1" PartImageLarge="" AsyncRefresh="False" ExportMode="NonSensitiveData" Dir="Default" DetailLink="/Doc1" ShowWithSampleData="False" ListId="dfdf2f27-3967-4766-aa11-9de501c54b19" ListName="{DFDF2F27-3967-4766-AA11-9DE501C54B19}" FrameType="Default" PartImageSmall="" IsIncluded="True" SuppressWebPartChrome="False" AllowEdit="False" ViewGuid="{EA146788-DB86-4EB6-8CF4-1943E5B5E76A}" AutoRefresh="False" AutoRefreshInterval="60" AllowMinimize="True" WebId="00000000-0000-0000-0000-000000000000" ViewContentTypeId="0x" InitialAsyncDataFetch="False" GhostedXslLink="main.xsl" MissingAssembly="Cannot import this Web Part." HelpMode="Modeless" ListUrl="" ID="g_ea146788_db86_4eb6_8cf4_1943e5b5e76a" ConnectionID="00000000-0000-0000-0000-000000000000" AllowZoneChange="True" TitleUrl="/Doc1" ManualRefresh="False" __MarkupType="vsattributemarkup" __WebPartId="{EA146788-DB86-4EB6-8CF4-1943E5B5E76A}" __AllowXSLTEditing="true" __designer:CustomXsl="fldtypes_Ratings.xsl" WebPart="true" Height="" Width=""><ParameterBindings>
			<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection" />
			<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection" />
			<ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue="" />
			<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection" />
			<ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
			<ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
			<ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
			<ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
			<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)" />
			<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)" />
		</ParameterBindings>
<XmlDefinition>
			<View Name="{EA146788-DB86-4EB6-8CF4-1943E5B5E76A}" DefaultView="TRUE" MobileView="TRUE" Type="HTML" DisplayName="All Documents" Url="/Doc1/Forms/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/dlicon.png">
				<Query>
					<OrderBy>
						<FieldRef Name="FileLeafRef"/>
					</OrderBy>
				</Query>
				<ViewFields>
					<FieldRef Name="DocIcon"/>
					<FieldRef Name="LinkFilename"/>
					<FieldRef Name="Modified"/>
					<FieldRef Name="Editor"/>
					<FieldRef Name="Test"/>
				</ViewFields>
				<RowLimit Paged="TRUE">30</RowLimit>
				<Toolbar Type="Standard"/>
			</View>
		</XmlDefinition>
<DataFields>
</DataFields>
</WebPartPages:XsltListViewWebPart>

</ZoneTemplate></WebPartPages:WebPartZone>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
<style type="text/css">
.ms-bodyareaframe {
	padding: 0px;
}
</style>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
<SharePoint:ListProperty CssClass="ms-listdescription" Property="Description" runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderCalendarNavigator" runat="server">
	<SharePoint:SPCalendarNavigator id="CalendarNavigatorId" runat="server"/>
  <ApplicationPages:CalendarAggregationPanel id="AggregationPanel" runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderUtilityContent" runat="server">


 <script type="text/javascript">

function AddSharedNamespaceMenuItems(f,a)
{
ULSrLq:;
	alert("In AddSharedNamespaceMenuItems!");

	var g=GetRootFolder(a);
	setupMenuContext(a);
	if(currentItemFileUrl==null)currentItemFileUrl=GetAttributeFromItemTable(itemTable,"Url","ServerUrl");
	if(currentItemFSObjType==null)currentItemFSObjType=GetAttributeFromItemTable(itemTable,"OType","FSObjType");
	if(currentItemContentTypeId==null)currentItemContentTypeId=GetAttributeFromItemTable(itemTable,"CId","ContentTypeId");
	if(currentItemModerationStatus==null)currentItemModerationStatus=GetAttributeFromItemTable(itemTable,"MS","MStatus");
	if(currentItemCheckedOutUserId==null)currentItemCheckedOutUserId=itemTable.getAttribute("COUId");
	if(currentItemCheckedoutToLocal==null)currentItemCheckedoutToLocal=GetAttributeFromItemTable(itemTable,"COut","IsCheckedoutToLocal ");
	if(currentItemCheckedoutToLocal!=1)currentItemCheckedoutToLocal=0;
	var i=currentItemCheckedOutUserId==SYSTEM_ACCOUNT_ID&&a.CurrentUserId!=SYSTEM_ACCOUNT_ID;
	bIsCheckout=0;
	if(a.isForceCheckout==true&&currentItemCheckedOutUserId==""&&currentItemFSObjType!=1)bIsCheckout=1;
	var h;if(currentItemFileUrl!=null)h=escapeProperly(unescapeProperly(currentItemFileUrl));
	var b;if(a.listBaseType==1)strDisplayText=L_ViewProperties_Text;else if(a.listBaseType==4)strDisplayText=L_ViewResponse_Text;else strDisplayText=L_ViewItem_Text;
	var d="";if(currentItemContentTypeId!=null&&currentItemContentTypeId!="")d="&ContentTypeID="+currentItemContentTypeId;
	var c="&";if(a.displayFormUrl.indexOf("?")==-1)c="?";
	var e=a.displayFormUrl+c+"ID="+currentItemID+d;
	e=AddSourceToUrl(e)+g;
	if(301==a.listTemplate)strAction="EditItem('"+e+"')";else strAction="EditItem2(event, '"+e+"')";
	strImagePath="";
	b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,200);
	CUIInfo(b,"ViewProperties",["ViewProperties"]);
	if(a.listBaseType==1)b.id="ID_ViewProperties";else b.id="ID_ViewItem";
	if(HasRights(0,4)&&!i&&!currentItemIsEventsDeletedExcp)
	{
		alert("Has Right!");

		if(a.listBaseType==1)strDisplayText=L_EditProperties_Text;
		else if(a.listBaseType==4)strDisplayText=L_EditResponse_Text;
		else strDisplayText=L_EditItem_Text;
		c="&";
		if(a.editFormUrl.indexOf("?")==-1)c="?";
		if(a.listBaseType==1){
			strAction="EditItemWithCheckoutAlert(event, '"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+g+"',"+bIsCheckout+",'"+currentItemCheckedoutToLocal+"','"+STSScriptEncode(currentItemFileUrl)+"','"+a.HttpRoot+"')"
		} else if(FV4UI())strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+currentItemID+d+"')";
		else {
			strAction="EditItem('"+a.editFormUrl+c+"ID="+currentItemID+d;
			strAction=AddSourceToUrl(strAction)+"')"
		}
		strImagePath=a.imagesPath+"edititem.gif";
/* 
		b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,220);

		alert("Not Commented!");

		if(a.listBaseType==1)
		{
			b.id="ID_EditProperties";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}else{
			b.id="ID_EditItem";
			CUIInfo(b,"EditProperties",["EditProperties"])
		}
*/
		if(a.listTemplate==106&&currentItemID.indexOf(".0.")>0)
		{
			var k=currentItemID.indexOf(".0."),j=currentItemID.substr(0,k);
			strDisplayText=L_EditSeriesItem_Text;
			strAction="EditItem2(event, '"+a.editFormUrl+c+"ID="+j+d;strAction=AddSourceToUrl(strAction)+"')";
			strImagePath=a.imagesPath+"recurrence.gif";
			b=CAMOpt(f,strDisplayText,strAction,strImagePath,null,230);
			CUIInfo(b,"EditSeriesItem",["EditSeriesItem"]);
			b.id="ID_EditSeriesItem"
		}
	}
}
</script> </asp:Content>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of thman
thman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Sam,
 I got it , i have to follow these steps. Anyway you thought me a lot. I will accept this solution soon.
So have you tried it? After so many days working with you on this, you are not putting me aside and ask me to wait, are you?
Thank you so much. I will keep in with you.