function WebForm_PostBackOptions(n,t,i,r,u,f,e){this.eventTarget=n;this.eventArgument=t;this.validation=i;this.validationGroup=r;this.actionUrl=u;this.trackFocus=f;this.clientSubmit=e}function WebForm_DoPostBackWithOptions(n){var r=!0,i,t;n.validation&&typeof Page_ClientValidate=="function"&&(r=Page_ClientValidate(n.validationGroup));r&&(typeof n.actionUrl!="undefined"&&n.actionUrl!=null&&n.actionUrl.length>0&&(theForm.action=n.actionUrl),n.trackFocus&&(i=theForm.elements.__LASTFOCUS,typeof i!="undefined"&&i!=null&&(typeof document.activeElement=="undefined"?i.value=n.eventTarget:(t=document.activeElement,typeof t!="undefined"&&t!=null&&(typeof t.id!="undefined"&&t.id!=null&&t.id.length>0?i.value=t.id:typeof t.name!="undefined"&&(i.value=t.name))))));n.clientSubmit&&__doPostBack(n.eventTarget,n.eventArgument)}function WebForm_DoCallback(n,t,i,r,u,f){var w=__theFormPostData+"__CALLBACKID="+WebForm_EncodeCallback(n)+"&__CALLBACKPARAM="+WebForm_EncodeCallback(t),s,v,h,l,o,y,a,p,c,e,b;theForm.__EVENTVALIDATION&&(w+="&__EVENTVALIDATION="+WebForm_EncodeCallback(theForm.__EVENTVALIDATION.value));try{s=new XMLHttpRequest}catch(k){try{s=new ActiveXObject("Microsoft.XMLHTTP")}catch(k){}}v=!0;try{v=s&&s.setRequestHeader}catch(k){}if(h={},h.eventCallback=i,h.context=r,h.errorCallback=u,h.async=f,l=WebForm_FillFirstAvailableSlot(__pendingCallbacks,h),f||(__synchronousCallBackIndex!=-1&&(__pendingCallbacks[__synchronousCallBackIndex]=null),__synchronousCallBackIndex=l),v){s.onreadystatechange=WebForm_CallbackComplete;h.xmlRequest=s;o=theForm.action||document.location.pathname;y=o.indexOf("#");y!==-1&&(o=o.substr(0,y));__nonMSDOMBrowser||(a=o.indexOf("?"),a!==-1?(p=o.substr(0,a),p.indexOf("%")===-1&&(o=encodeURI(p)+o.substr(a))):o.indexOf("%")===-1&&(o=encodeURI(o)));s.open("POST",o,!0);s.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8");s.send(w);return}if(h.xmlRequest={},c="__CALLBACKFRAME"+l,e=document.frames[c],!e){e=document.createElement("IFRAME");e.width="1";e.height="1";e.frameBorder="0";e.id=c;e.name=c;e.style.position="absolute";e.style.top="-100px";e.style.left="-100px";try{callBackFrameUrl&&(e.src=callBackFrameUrl)}catch(k){}document.body.appendChild(e)}b=window.setInterval(function(){var a,s,h,i,r,u,f,o;if(e=document.frames[c],e&&e.document){for(window.clearInterval(b),e.document.write(""),e.document.close(),e.document.write('<html><body><form method="post"><input type="hidden" name="__CALLBACKLOADSCRIPT" value="t"><\/form><\/body><\/html>'),e.document.close(),e.document.forms[0].action=theForm.action,a=__theFormPostCollection.length,h=0;h<a;h++)s=__theFormPostCollection[h],s&&(i=e.document.createElement("INPUT"),i.type="hidden",i.name=s.name,i.value=s.value,e.document.forms[0].appendChild(i));r=e.document.createElement("INPUT");r.type="hidden";r.name="__CALLBACKID";r.value=n;e.document.forms[0].appendChild(r);u=e.document.createElement("INPUT");u.type="hidden";u.name="__CALLBACKPARAM";u.value=t;e.document.forms[0].appendChild(u);theForm.__EVENTVALIDATION&&(f=e.document.createElement("INPUT"),f.type="hidden",f.name="__EVENTVALIDATION",f.value=theForm.__EVENTVALIDATION.value,e.document.forms[0].appendChild(f));o=e.document.createElement("INPUT");o.type="hidden";o.name="__CALLBACKINDEX";o.value=l;e.document.forms[0].appendChild(o);e.document.forms[0].submit()}},10)}function WebForm_CallbackComplete(){for(var i,t,n=0;n<__pendingCallbacks.length;n++)callbackObject=__pendingCallbacks[n],callbackObject&&callbackObject.xmlRequest&&callbackObject.xmlRequest.readyState==4&&(__pendingCallbacks[n].async||(__synchronousCallBackIndex=-1),__pendingCallbacks[n]=null,i="__CALLBACKFRAME"+n,t=document.getElementById(i),t&&t.parentNode.removeChild(t),WebForm_ExecuteCallback(callbackObject))}function WebForm_ExecuteCallback(n){var t=n.xmlRequest.responseText,r,u,f,i;t.charAt(0)=="s"?typeof n.eventCallback!="undefined"&&n.eventCallback!=null&&n.eventCallback(t.substring(1),n.context):t.charAt(0)=="e"?typeof n.errorCallback!="undefined"&&n.errorCallback!=null&&n.errorCallback(t.substring(1),n.context):(r=t.indexOf("|"),r!=-1&&(u=parseInt(t.substring(0,r)),isNaN(u)||(f=t.substring(r+1,r+u+1),f!=""&&(i=theForm.__EVENTVALIDATION,i||(i=document.createElement("INPUT"),i.type="hidden",i.name="__EVENTVALIDATION",theForm.appendChild(i)),i.value=f),typeof n.eventCallback!="undefined"&&n.eventCallback!=null&&n.eventCallback(t.substring(r+u+1),n.context))))}function WebForm_FillFirstAvailableSlot(n,t){for(var i=0;i<n.length;i++)if(!n[i])break;return n[i]=t,i}function WebForm_InitCallback(){for(var f=theForm.elements,s=f.length,n,i,r,e,u,o,t=0;t<s;t++)if(n=f[t],i=n.tagName.toLowerCase(),i=="input")r=n.type,(__callbackTextTypes.test(r)||(r=="checkbox"||r=="radio")&&n.checked)&&n.id!="__EVENTVALIDATION"&&WebForm_InitCallbackAddField(n.name,n.value);else if(i=="select")for(e=n.options.length,u=0;u<e;u++)o=n.options[u],o.selected==!0&&WebForm_InitCallbackAddField(n.name,n.value);else i=="textarea"&&WebForm_InitCallbackAddField(n.name,n.value)}function WebForm_InitCallbackAddField(n,t){var i={};i.name=n;i.value=t;__theFormPostCollection[__theFormPostCollection.length]=i;__theFormPostData+=WebForm_EncodeCallback(n)+"="+WebForm_EncodeCallback(t)+"&"}function WebForm_EncodeCallback(n){return encodeURIComponent?encodeURIComponent(n):escape(n)}function WebForm_ReEnableControls(){var i,t,n;if(typeof __enabledControlArray=="undefined")return!1;for(i=0,t=0;t<__enabledControlArray.length;t++)n=__nonMSDOMBrowser?document.getElementById(__enabledControlArray[t]):document.all[__enabledControlArray[t]],typeof n!="undefined"&&n!=null&&n.disabled==!0&&(n.disabled=!1,__disabledControlArray[i++]=n);return setTimeout("WebForm_ReDisableControls()",0),!0}function WebForm_ReDisableControls(){for(var n=0;n<__disabledControlArray.length;n++)__disabledControlArray[n].disabled=!0}function WebForm_SimulateClick(n,t){var i;if(n){if(n.click)n.click();else if(i=document.createEvent("MouseEvents"),i.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),!n.dispatchEvent(i))return!0;return t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation(),!1}return!0}function WebForm_FireDefaultButton(n,t){var i,r;if(n.keyCode==13){if(i=n.srcElement||n.target,i&&i.tagName.toLowerCase()=="input"&&(i.type.toLowerCase()=="submit"||i.type.toLowerCase()=="button")||i.tagName.toLowerCase()=="a"&&i.href!=null&&i.href!=""||i.tagName.toLowerCase()=="textarea")return!0;if(r=__nonMSDOMBrowser?document.getElementById(t):document.all[t],r)return WebForm_SimulateClick(r,n)}return!0}function WebForm_GetScrollX(){return __nonMSDOMBrowser?window.pageXOffset:document.documentElement&&document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body?document.body.scrollLeft:0}function WebForm_GetScrollY(){return __nonMSDOMBrowser?window.pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body?document.body.scrollTop:0}function WebForm_SaveScrollPositionSubmit(){return(__nonMSDOMBrowser?(theForm.elements.__SCROLLPOSITIONY.value=window.pageYOffset,theForm.elements.__SCROLLPOSITIONX.value=window.pageXOffset):(theForm.__SCROLLPOSITIONX.value=WebForm_GetScrollX(),theForm.__SCROLLPOSITIONY.value=WebForm_GetScrollY()),typeof this.oldSubmit!="undefined"&&this.oldSubmit!=null)?this.oldSubmit():!0}function WebForm_SaveScrollPositionOnSubmit(){return(theForm.__SCROLLPOSITIONX.value=WebForm_GetScrollX(),theForm.__SCROLLPOSITIONY.value=WebForm_GetScrollY(),typeof this.oldOnSubmit!="undefined"&&this.oldOnSubmit!=null)?this.oldOnSubmit():!0}function WebForm_RestoreScrollPosition(){return(__nonMSDOMBrowser?window.scrollTo(theForm.elements.__SCROLLPOSITIONX.value,theForm.elements.__SCROLLPOSITIONY.value):window.scrollTo(theForm.__SCROLLPOSITIONX.value,theForm.__SCROLLPOSITIONY.value),typeof theForm.oldOnLoad!="undefined"&&theForm.oldOnLoad!=null)?theForm.oldOnLoad():!0}function WebForm_TextBoxKeyHandler(n){if(n.keyCode==13){var t;if(t=__nonMSDOMBrowser?n.target:n.srcElement,typeof t!="undefined"&&t!=null&&typeof t.onchange!="undefined")return t.onchange(),n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation(),!1}return!0}function WebForm_TrimString(n){return n.replace(/^\s+|\s+$/g,"")}function WebForm_AppendToClassName(n,t){var r=" "+WebForm_TrimString(n.className)+" ",i;t=WebForm_TrimString(t);i=r.indexOf(" "+t+" ");i===-1&&(n.className=n.className===""?t:n.className+" "+t)}function WebForm_RemoveClassName(n,t){var i=" "+WebForm_TrimString(n.className)+" ",r;t=WebForm_TrimString(t);r=i.indexOf(" "+t+" ");r>=0&&(n.className=WebForm_TrimString(i.substring(0,r)+" "+i.substring(r+t.length+1,i.length)))}function WebForm_GetElementById(n){return document.getElementById?document.getElementById(n):document.all?document.all[n]:null}function WebForm_GetElementByTagName(n,t){var i=WebForm_GetElementsByTagName(n,t);return i&&i.length>0?i[0]:null}function WebForm_GetElementsByTagName(n,t){if(n&&t){if(n.getElementsByTagName)return n.getElementsByTagName(t);if(n.all&&n.all.tags)return n.all.tags(t)}return null}function WebForm_GetElementDir(n){return n?n.dir?n.dir:WebForm_GetElementDir(n.parentNode):"ltr"}function WebForm_GetElementPosition(n){var t={},i,r;if(t.x=0,t.y=0,t.width=0,t.height=0,n.offsetParent)for(t.x=n.offsetLeft,t.y=n.offsetTop,i=n.offsetParent;i;)t.x+=i.offsetLeft,t.y+=i.offsetTop,r=i.tagName.toLowerCase(),r!="table"&&r!="body"&&r!="html"&&r!="div"&&i.clientTop&&i.clientLeft&&(t.x+=i.clientLeft,t.y+=i.clientTop),i=i.offsetParent;else n.left&&n.top?(t.x=n.left,t.y=n.top):(n.x&&(t.x=n.x),n.y&&(t.y=n.y));return n.offsetWidth&&n.offsetHeight?(t.width=n.offsetWidth,t.height=n.offsetHeight):n.style&&n.style.pixelWidth&&n.style.pixelHeight&&(t.width=n.style.pixelWidth,t.height=n.style.pixelHeight),t}function WebForm_GetParentByTagName(n,t){for(var i=n.parentNode,r=t.toUpperCase();i&&i.tagName.toUpperCase()!=r;)i=i.parentNode?i.parentNode:i.parentElement;return i}function WebForm_SetElementHeight(n,t){n&&n.style&&(n.style.height=t+"px")}function WebForm_SetElementWidth(n,t){n&&n.style&&(n.style.width=t+"px")}function WebForm_SetElementX(n,t){n&&n.style&&(n.style.left=t+"px")}function WebForm_SetElementY(n,t){n&&n.style&&(n.style.top=t+"px")}function WebForm_FindFirstFocusableChild(n){var u,t,i,r;if(!n||!n.tagName||(u=n.tagName.toLowerCase(),u=="undefined"))return null;if(t=n.childNodes,t)for(i=0;i<t.length;i++)try{if(WebForm_CanFocus(t[i]))return t[i];if(r=WebForm_FindFirstFocusableChild(t[i]),WebForm_CanFocus(r))return r}catch(f){}return null}function WebForm_AutoFocus(n){var i,t;if(i=__nonMSDOMBrowser?document.getElementById(n):document.all[n],t=i,i&&!WebForm_CanFocus(i)&&(t=WebForm_FindFirstFocusableChild(i)),t)try{t.focus();__nonMSDOMBrowser&&t.scrollIntoView(!1);window.__smartNav&&(window.__smartNav.ae=t.id)}catch(r){}}function WebForm_CanFocus(n){if(!n||!n.tagName)return!1;var t=n.tagName.toLowerCase();return!n.disabled&&(!n.type||n.type.toLowerCase()!="hidden")&&WebForm_IsFocusableTag(t)&&WebForm_IsInVisibleContainer(n)}function WebForm_IsFocusableTag(n){return n=="input"||n=="textarea"||n=="select"||n=="button"||n=="a"}function WebForm_IsInVisibleContainer(n){for(var t=n;typeof t!="undefined"&&t!=null;){if(t.disabled||typeof t.style!="undefined"&&(typeof t.style.display!="undefined"&&t.style.display=="none"||typeof t.style.visibility!="undefined"&&t.style.visibility=="hidden"))return!1;if(typeof t.parentNode!="undefined"&&t.parentNode!=null&&t.parentNode!=t&&t.parentNode.tagName.toLowerCase()!="body")t=t.parentNode;else return!0}return!0}function Point(n,t){this.x=n;this.y=t}function __wpTranslateOffset(n,t,i,r,u){while(typeof i!="undefined"&&i!=null&&i!=r){n+=i.offsetLeft;t+=i.offsetTop;var f=i.tagName;f!="TABLE"&&f!="BODY"&&(n+=i.clientLeft,t+=i.clientTop);u&&f!="BODY"&&(n-=i.scrollLeft,t-=i.scrollTop);i=i.offsetParent}return new Point(n,t)}function __wpGetPageEventLocation(n,t){return(typeof n=="undefined"||n==null)&&(n=window.event),__wpTranslateOffset(n.offsetX,n.offsetY,n.srcElement,null,t)}function __wpClearSelection(){document.selection.empty()}function WebPart(n,t,i,r,u){this.webPartElement=n;this.allowZoneChange=u;this.zone=i;this.zoneIndex=r;this.title=typeof t!="undefined"&&t!=null?t.innerText:"";n.__webPart=this;typeof t!="undefined"&&t!=null&&(t.style.cursor="move",t.attachEvent("onmousedown",WebPart_OnMouseDown),n.attachEvent("ondragstart",WebPart_OnDragStart),n.attachEvent("ondrag",WebPart_OnDrag),n.attachEvent("ondragend",WebPart_OnDragEnd));this.UpdatePosition=WebPart_UpdatePosition;this.Dispose=WebPart_Dispose}function WebPart_Dispose(){this.webPartElement.__webPart=null}function WebPart_OnMouseDown(){var t=window.event,n=WebPart_GetParentWebPartElement(t.srcElement);if(typeof n!="undefined"&&n!=null){document.selection.empty();try{__wpm.draggedWebPart=n;__wpm.DragDrop()}catch(i){__wpm.draggedWebPart=n;window.setTimeout("__wpm.DragDrop()",0)}t.returnValue=!1;t.cancelBubble=!0}}function WebPart_OnDragStart(){var n=window.event,t=n.srcElement,i;if(typeof t.__webPart=="undefined"||t.__webPart==null){n.returnValue=!1;n.cancelBubble=!0;return}i=n.dataTransfer;i.effectAllowed=__wpm.InitiateWebPartDragDrop(t)}function WebPart_OnDrag(){__wpm.ContinueWebPartDragDrop()}function WebPart_OnDragEnd(){__wpm.CompleteWebPartDragDrop()}function WebPart_GetParentWebPartElement(n){for(var t=n;typeof t.__webPart=="undefined"||t.__webPart==null;)if(t=t.parentElement,typeof t=="undefined"||t==null)break;return t}function WebPart_UpdatePosition(){var n=__wpTranslateOffset(0,0,this.webPartElement,null,!1);this.middleX=n.x+this.webPartElement.offsetWidth/2;this.middleY=n.y+this.webPartElement.offsetHeight/2}function Zone(n,t,i,r,u,f){var o=null,e,s;for(webPartTableContainer=n.rows.length==1?n.rows[0].cells[0]:n.rows[1].cells[0],e=0;e<webPartTableContainer.childNodes.length;e++)if(s=webPartTableContainer.childNodes[e],s.tagName=="TABLE"){o=s;break}if(this.zoneElement=n,this.zoneIndex=t,this.webParts=[],this.uniqueID=i,this.isVertical=r,this.allowLayoutChange=u,this.allowDrop=!1,this.webPartTable=o,this.highlightColor=f,this.savedBorderColor=o!=null?o.style.borderColor:null,this.dropCueElements=[],o!=null)if(r)for(e=0;e<o.rows.length;e+=2)this.dropCueElements[e/2]=o.rows[e].cells[0].childNodes[0];else for(e=0;e<o.rows[0].cells.length;e+=2)this.dropCueElements[e/2]=o.rows[0].cells[e].childNodes[0];this.AddWebPart=Zone_AddWebPart;this.GetWebPartIndex=Zone_GetWebPartIndex;this.ToggleDropCues=Zone_ToggleDropCues;this.UpdatePosition=Zone_UpdatePosition;this.Dispose=Zone_Dispose;o.__zone=this;o.attachEvent("ondragenter",Zone_OnDragEnter);o.attachEvent("ondrop",Zone_OnDrop)}function Zone_Dispose(){for(var n=0;n<this.webParts.length;n++)this.webParts[n].Dispose();this.webPartTable.__zone=null}function Zone_OnDragEnter(){var t=__wpm.ProcessWebPartDragEnter(),n=window.event;t&&(n.returnValue=!1,n.cancelBubble=!0)}function Zone_OnDragOver(){var t=__wpm.ProcessWebPartDragOver(),n=window.event;t&&(n.returnValue=!1,n.cancelBubble=!0)}function Zone_OnDrop(){var t=__wpm.ProcessWebPartDrop(),n=window.event;t&&(n.returnValue=!1,n.cancelBubble=!0)}function Zone_GetParentZoneElement(n){for(var t=n;typeof t.__zone=="undefined"||t.__zone==null;)if(t=t.parentElement,typeof t=="undefined"||t==null)break;return t}function Zone_AddWebPart(n,t,i){var r=null,u=this.webParts.length;return r=this.allowLayoutChange&&__wpm.IsDragDropEnabled()?new WebPart(n,t,this,u,i):new WebPart(n,null,this,u,i),this.webParts[u]=r,r}function Zone_ToggleDropCues(n,t,i){var r,f,e,u,o;(i==!1&&(this.webPartTable.style.borderColor=n?this.highlightColor:this.savedBorderColor),t!=-1)&&(r=this.dropCueElements[t],r&&r.style&&(r.style.height!="100%"||r.webPartZoneHorizontalCueResized||(f=r.parentElement.clientHeight,e=f-10,r.style.height=e+"px",u=r.getElementsByTagName("DIV")[0],u&&u.style&&(u.style.height=r.style.height,o=r.parentElement.clientHeight-f,o&&(r.style.height=e-o+"px",u.style.height=r.style.height)),r.webPartZoneHorizontalCueResized=!0),r.style.visibility=n?"visible":"hidden"))}function Zone_GetWebPartIndex(n){var i=n.x,r=n.y,t,u;if(i<this.webPartTableLeft||i>this.webPartTableRight||r<this.webPartTableTop||r>this.webPartTableBottom)return-1;var o=this.isVertical,f=this.webParts,e=f.length;for(t=0;t<e;t++)if(u=f[t],o){if(r<u.middleY)return t}else if(i<u.middleX)return t;return e}function Zone_UpdatePosition(){var n=__wpTranslateOffset(0,0,this.webPartTable,null,!1),t;for(this.webPartTableLeft=n.x,this.webPartTableTop=n.y,this.webPartTableRight=this.webPartTable!=null?n.x+this.webPartTable.offsetWidth:n.x,this.webPartTableBottom=this.webPartTable!=null?n.y+this.webPartTable.offsetHeight:n.y,t=0;t<this.webParts.length;t++)this.webParts[t].UpdatePosition()}function WebPartDragState(n,t){this.webPartElement=n;this.dropZoneElement=null;this.dropIndex=-1;this.effect=t;this.dropped=!1}function WebPartMenu(n,t,i){this.menuLabelElement=n;this.menuDropDownElement=t;this.menuElement=i;this.menuLabelElement.__menu=this;this.menuLabelElement.attachEvent("onclick",WebPartMenu_OnClick);this.menuLabelElement.attachEvent("onkeypress",WebPartMenu_OnKeyPress);this.menuLabelElement.attachEvent("onmouseenter",WebPartMenu_OnMouseEnter);this.menuLabelElement.attachEvent("onmouseleave",WebPartMenu_OnMouseLeave);typeof this.menuDropDownElement!="undefined"&&this.menuDropDownElement!=null&&(this.menuDropDownElement.__menu=this);this.menuItemStyle="";this.menuItemHoverStyle="";this.popup=null;this.hoverClassName="";this.hoverColor="";this.oldColor=this.menuLabelElement.style.color;this.oldTextDecoration=this.menuLabelElement.style.textDecoration;this.oldClassName=this.menuLabelElement.className;this.Show=WebPartMenu_Show;this.Hide=WebPartMenu_Hide;this.Hover=WebPartMenu_Hover;this.Unhover=WebPartMenu_Unhover;this.Dispose=WebPartMenu_Dispose;var r=this;this.disposeDelegate=function(){r.Dispose()};window.attachEvent("onunload",this.disposeDelegate)}function WebPartMenu_Dispose(){this.menuLabelElement.__menu=null;this.menuDropDownElement.__menu=null;window.detachEvent("onunload",this.disposeDelegate)}function WebPartMenu_Show(){var r,n;typeof __wpm.menu!="undefined"&&__wpm.menu!=null&&__wpm.menu.Hide();var u="<html><head><style>a.menuItem, a.menuItem:Link { display: block; padding: 1px; text-decoration: none; "+this.itemStyle+" }a.menuItem:Hover { "+this.itemHoverStyle+' }<\/style><body scroll="no" style="border: none; margin: 0; padding: 0;" ondragstart="window.event.returnValue=false;" onclick="popup.hide()">'+this.menuElement.innerHTML+"<\/body><\/html>",t=16,i=16;this.popup=window.createPopup();__wpm.menu=this;r=this.popup.document;r.write(u);this.popup.show(0,0,t,i);n=r.body;t=n.scrollWidth;i=n.scrollHeight;t<this.menuLabelElement.offsetWidth&&(t=this.menuLabelElement.offsetWidth+16);this.menuElement.innerHTML.indexOf("progid:DXImageTransform.Microsoft.Shadow")!=-1&&(n.style.paddingRight="4px");n.__wpm=__wpm;n.__wpmDeleteWarning=__wpmDeleteWarning;n.__wpmCloseProviderWarning=__wpmCloseProviderWarning;n.popup=this.popup;this.popup.hide();this.popup.show(0,this.menuLabelElement.offsetHeight,t,i,this.menuLabelElement)}function WebPartMenu_Hide(){__wpm.menu==this&&(__wpm.menu=null,typeof this.popup!="undefined"&&this.popup!=null&&(this.popup.hide(),this.popup=null))}function WebPartMenu_Hover(){this.labelHoverClassName!=""&&(this.menuLabelElement.className=this.menuLabelElement.className+" "+this.labelHoverClassName);this.labelHoverColor!=""&&(this.menuLabelElement.style.color=this.labelHoverColor)}function WebPartMenu_Unhover(){this.labelHoverClassName!=""&&(this.menuLabelElement.style.textDecoration=this.oldTextDecoration,this.menuLabelElement.className=this.oldClassName);this.labelHoverColor!=""&&(this.menuLabelElement.style.color=this.oldColor)}function WebPartMenu_OnClick(){var n=window.event.srcElement.__menu;typeof n!="undefined"&&n!=null&&(window.event.returnValue=!1,window.event.cancelBubble=!0,n.Show())}function WebPartMenu_OnKeyPress(){if(window.event.keyCode==13){var n=window.event.srcElement.__menu;typeof n!="undefined"&&n!=null&&(window.event.returnValue=!1,window.event.cancelBubble=!0,n.Show())}}function WebPartMenu_OnMouseEnter(){var n=window.event.srcElement.__menu;typeof n!="undefined"&&n!=null&&n.Hover()}function WebPartMenu_OnMouseLeave(){var n=window.event.srcElement.__menu;typeof n!="undefined"&&n!=null&&n.Unhover()}function WebPartManager(){this.overlayContainerElement=null;this.zones=[];this.dragState=null;this.menu=null;this.draggedWebPart=null;this.AddZone=WebPartManager_AddZone;this.IsDragDropEnabled=WebPartManager_IsDragDropEnabled;this.DragDrop=WebPartManager_DragDrop;this.InitiateWebPartDragDrop=WebPartManager_InitiateWebPartDragDrop;this.CompleteWebPartDragDrop=WebPartManager_CompleteWebPartDragDrop;this.ContinueWebPartDragDrop=WebPartManager_ContinueWebPartDragDrop;this.ProcessWebPartDragEnter=WebPartManager_ProcessWebPartDragEnter;this.ProcessWebPartDragOver=WebPartManager_ProcessWebPartDragOver;this.ProcessWebPartDrop=WebPartManager_ProcessWebPartDrop;this.ShowHelp=WebPartManager_ShowHelp;this.ExportWebPart=WebPartManager_ExportWebPart;this.Execute=WebPartManager_Execute;this.SubmitPage=WebPartManager_SubmitPage;this.UpdatePositions=WebPartManager_UpdatePositions;window.attachEvent("onunload",WebPartManager_Dispose)}function WebPartManager_Dispose(){for(var n=0;n<__wpm.zones.length;n++)__wpm.zones[n].Dispose();window.detachEvent("onunload",WebPartManager_Dispose)}function WebPartManager_AddZone(n,t,i,r,u){var f=this.zones.length,e=new Zone(n,f,t,i,r,u);return this.zones[f]=e,e}function WebPartManager_IsDragDropEnabled(){return typeof this.overlayContainerElement!="undefined"&&this.overlayContainerElement!=null}function WebPartManager_DragDrop(){if(typeof this.draggedWebPart!="undefined"&&this.draggedWebPart!=null){var n=this.draggedWebPart;this.draggedWebPart=null;n.dragDrop();window.setTimeout("__wpClearSelection()",0)}}function WebPartManager_InitiateWebPartDragDrop(n){var f=n.__webPart,r,t,i,u;if(this.UpdatePositions(),this.dragState=new WebPartDragState(n,"move"),r=__wpGetPageEventLocation(window.event,!0),t=this.overlayContainerElement,t.style.left=r.x-n.offsetWidth/2,t.style.top=r.y+4+(n.clientTop?n.clientTop:0),t.style.display="block",t.style.width=n.offsetWidth,t.style.height=n.offsetHeight,t.appendChild(n.cloneNode(!0)),f.allowZoneChange==!1)f.zone.allowDrop=!0;else for(i=0;i<__wpm.zones.length;i++)u=__wpm.zones[i],u.allowLayoutChange&&(u.allowDrop=!0);return document.body.attachEvent("ondragover",Zone_OnDragOver),"move"}function WebPartManager_CompleteWebPartDragDrop(){var n=this.dragState,t,r,i,u,f;for(this.dragState=null,typeof n.dropZoneElement!="undefined"&&n.dropZoneElement!=null&&n.dropZoneElement.__zone.ToggleDropCues(!1,n.dropIndex,!1),document.body.detachEvent("ondragover",Zone_OnDragOver),t=0;t<__wpm.zones.length;t++)__wpm.zones[t].allowDrop=!1;this.overlayContainerElement.removeChild(this.overlayContainerElement.firstChild);this.overlayContainerElement.style.display="none";typeof n!="undefined"&&n!=null&&n.dropped==!0&&(r=n.webPartElement.__webPart.zone,i=n.webPartElement.__webPart.zoneIndex,(r!=n.dropZoneElement.__zone||i!=n.dropIndex&&i!=n.dropIndex-1)&&(u=n.dropZoneElement.__zone.uniqueID,f="Drag:"+n.webPartElement.id+":"+n.dropIndex,this.SubmitPage(u,f)))}function WebPartManager_ContinueWebPartDragDrop(){var n=this.dragState,t,i;typeof n!="undefined"&&n!=null&&(t=this.overlayContainerElement.style,i=__wpGetPageEventLocation(window.event,!0),t.left=i.x-n.webPartElement.offsetWidth/2,t.top=i.y+4+(n.webPartElement.clientTop?n.webPartElement.clientTop:0))}function WebPartManager_Execute(n){this.menu&&this.menu.Hide();var t=new Function(n);return t()!=!1}function WebPartManager_ProcessWebPartDragEnter(){var n=__wpm.dragState,r,t,i;return typeof n!="undefined"&&n!=null?(r=window.event,t=Zone_GetParentZoneElement(r.srcElement),(typeof t.__zone=="undefined"||t.__zone==null||t.__zone.allowDrop==!1)&&(t=null),i=-1,typeof t!="undefined"&&t!=null&&(i=t.__zone.GetWebPartIndex(__wpGetPageEventLocation(r,!1)),i==-1&&(t=null)),n.dropZoneElement!=t?(typeof n.dropZoneElement!="undefined"&&n.dropZoneElement!=null&&n.dropZoneElement.__zone.ToggleDropCues(!1,n.dropIndex,!1),n.dropZoneElement=t,n.dropIndex=i,typeof t!="undefined"&&t!=null&&t.__zone.ToggleDropCues(!0,i,!1)):n.dropIndex!=i&&(n.dropIndex!=-1&&n.dropZoneElement.__zone.ToggleDropCues(!1,n.dropIndex,!1),n.dropIndex=i,typeof t!="undefined"&&t!=null&&t.__zone.ToggleDropCues(!0,i,!1)),typeof n.dropZoneElement!="undefined"&&n.dropZoneElement!=null&&(r.dataTransfer.effectAllowed=n.effect),!0):!1}function WebPartManager_ProcessWebPartDragOver(){var n=__wpm.dragState,r=window.event,u=!1,t,f,i;return typeof n!="undefined"&&n!=null&&typeof n.dropZoneElement!="undefined"&&n.dropZoneElement!=null&&(t=Zone_GetParentZoneElement(r.srcElement),typeof t!="undefined"&&t!=null&&t.__zone.allowDrop==!1&&(t=null),(typeof t=="undefined"||t==null)&&typeof n.dropZoneElement!="undefined"&&n.dropZoneElement!=null?(n.dropZoneElement.__zone.ToggleDropCues(!1,__wpm.dragState.dropIndex,!1),n.dropZoneElement=null,n.dropIndex=-1):typeof t!="undefined"&&t!=null&&(f=__wpGetPageEventLocation(r,!1),i=t.__zone.GetWebPartIndex(f),i==-1&&(t=null),n.dropZoneElement!=t?((n.dropIndex!=-1||typeof t=="undefined"||t==null)&&n.dropZoneElement.__zone.ToggleDropCues(!1,__wpm.dragState.dropIndex,!1),n.dropZoneElement=t):n.dropZoneElement.__zone.ToggleDropCues(!1,n.dropIndex,!0),n.dropIndex=i,typeof t!="undefined"&&t!=null&&t.__zone.ToggleDropCues(!0,i,!1)),u=!0),(typeof n=="undefined"||n==null||typeof n.dropZoneElement=="undefined"||n.dropZoneElement==null)&&(r.dataTransfer.effectAllowed="none"),u}function WebPartManager_ProcessWebPartDrop(){var t=this.dragState,i,n;return typeof t!="undefined"&&t!=null?(i=window.event,n=Zone_GetParentZoneElement(i.srcElement),typeof n!="undefined"&&n!=null&&n.__zone.allowDrop==!1&&(n=null),typeof n!="undefined"&&n!=null&&t.dropZoneElement==n&&(t.dropped=!0),!0):!1}function WebPartManager_ShowHelp(n,t){if(typeof this.menu!="undefined"&&this.menu!=null&&this.menu.Hide(),t==0||t==1)if(t==0)window.showModalDialog(n,null,"edge: Sunken; center: yes; help: no; resizable: yes; status: no");else window.open(n,null,"scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no");else t==2&&(window.location=n)}function WebPartManager_ExportWebPart(n,t,i){return t==!0&&__wpmExportWarning.length>0&&this.personalizationScopeShared!=!0&&confirm(__wpmExportWarning)==!1?!1:(i==!1&&(window.location=n),!0)}function WebPartManager_UpdatePositions(){for(var n=0;n<this.zones.length;n++)this.zones[n].UpdatePosition()}function WebPartManager_SubmitPage(n,t){typeof this.menu!="undefined"&&this.menu!=null&&this.menu.Hide();__doPostBack(n,t)}var __pendingCallbacks=[],__synchronousCallBackIndex=-1,__nonMSDOMBrowser=window.navigator.appName.toLowerCase().indexOf("explorer")==-1,__theFormPostData="",__theFormPostCollection=[],__callbackTextTypes=/^(text|password|hidden|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i,__disabledControlArray=[],__wpm=null