PageSourceSearch

https://espacedonateur.plan-international.fr/Client/Scripts/Bbnccore-min.js?bbjsversion=7.2.4.4108

js plan-international.fr collected 2026-10-02 07:42:15 UTC 41,956 bytes, 375 lines download raw bytes

1var BLACKBAUD=BLACKBAUD||{};BLACKBAUD.netcommunity={jQuery:{setVersionReference:function(){if(jQuery){var e="v"+jQuery().jquery.replace(/\./gi,"_");var h=e.slice(0,e.lastIndexOf("_"));var b=parseInt(e.slice(e.lastIndexOf("_")+1,e.length),10);var f="latestVersion";if(e.split("_").length!==3){h=e;b=0;e+="_"+b}this[h]=jQuery;var a=false;for(var d=b;d>=0;d--){var g=h+"_"+d;if(this.compatibility[g]===false&&g==e){a=d}else{if(this.compatibility[g]===false&&g!=e){break}}var c;if(a===false){c=function(){return BLACKBAUD.netcommunity.jQuery[h].apply(null,arguments)};BLACKBAUD.netcommunity.jQuery[h].extend(c,BLACKBAUD.netcommunity.jQuery[h])}else{if(d!=b){c=function(){return BLACKBAUD.netcommunity.jQuery[h+"_"+a].apply(null,arguments)};BLACKBAUD.netcommunity.jQuery[h+"_"+a].extend(c,BLACKBAUD.netcommunity.jQuery[h+"_"+a])}else{c=jQuery}}this[g]=c;this[f]=c}}},compatibility:{}},Platform:{}};
2BLACKBAUD.netcommunity.api=BLACKBAUD.netcommunity.api||{};BLACKBAUD.netcommunity.api.DonationConfirmation={add:function(a){this.list[this.list.length]=a},list:[],run:function(a){for(var b=0;b<this.list.length;b++){this.list[b](a)}}};
3
4var UNDEF='undefined';var ROOT_PATH='';var bbnc=BLACKBAUD.netcommunity;BLACKBAUD.netcommunity.shell=new function(){this.viewport=new function(){this.north=null;this.center=null;this.south=null;this.formViewport=null;};}
5function fadeElementIn(oel,duration){if(!oel){return}
6if(typeof(oel.style)!=UNDEF){if(typeof(oel.style.filter)!=UNDEF){oel.style.display="none";oel.style.visibility="hidden";oel.style.filter="progid:DXImageTransform.Microsoft.Fade(duration="+duration+")";oel.filters[0].Apply();oel.style.visibility="visible";oel.style.display="inline";oel.style.zIndex=999;oel.filters[0].Play();}else{oel.style.visibility="visible";oel.style.display="inline";}}}
7function showIt(oel){if(typeof(oel)!=UNDEF&&oel!=null&&typeof(oel.style)!=UNDEF){oel.style.visibility="visible";oel.style.display="inline";}}
8function hideIt(oel){if(typeof(oel)!=UNDEF&&oel!=null&&typeof(oel.style)!=UNDEF){oel.style.visibility="hidden";oel.style.display="none";}}
9function getAbsPos(el){var offsetTrail=el;var offsetLeft=0;var offsetTop=0;while(offsetTrail){offsetLeft+=offsetTrail.offsetLeft;offsetTop+=offsetTrail.offsetTop;offsetTrail=offsetTrail.offsetParent;}
10if(navigator.userAgent.indexOf("Mac")!=-1&&typeof(document.body.leftMargin)!=UNDEF){offsetLeft+=document.body.leftMargin;offsetTop+=document.body.topMargin;}
11return{left:offsetLeft,top:offsetTop};}
12function getElement(id){var d=document;return d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];}
13function browseURL(sURL){window.open(sURL,'browsePreview');return;}
14function browseURLSelf(sURL){window.open(sURL,'_self');return;}
15function popupURL(sURL){window.open(sURL,'_blank');return;}
16function confirmPrompt(PostBackToCtlName,PostBackEventArg,prompt,sourceControl){var confirmed=window.confirm(prompt);if(confirmed){__doPostBack(PostBackToCtlName,PostBackEventArg);if(sourceControl){$(sourceControl).attr('onclick','');$(sourceControl).click(function(e){e.preventDefault();});};}}
17var iGallerySelectedID=0
18function galleryRadioSelected(radio,recID){iGallerySelectedID=recID
19unCheckOtherDGRadios(radio);if(window.OnGalleryRadioSelected){window.OnGalleryRadioSelected(recID)}}
20function unCheckOtherCBsInRepeater(chk,repeaterid){if(chk.checked){var otherChks=document.getElementById(repeaterid).getElementsByTagName('input');var rowCount=otherChks.length;for(var index=0;index<rowCount;index++){var elem=otherChks[index];if((elem!=null)&&(elem!=chk)&&(elem.parentNode!=null)&&chk.parentNode.cellIndex==elem.parentNode.cellIndex){elem.checked=false;}}}}
21function unCheckOtherCBsInColumn(chk)
22{if(chk.checked){var otherChks=chk.parentNode.parentNode.parentNode.getElementsByTagName('input');var rowCount=otherChks.length;for(var index=0;index<rowCount;index++)
23{var elem=otherChks[index];if((elem!=null)&&(elem!=chk)&&(elem.parentNode!=null)&&chk.parentNode.cellIndex==elem.parentNode.cellIndex)
24{elem.checked=false;}}}}
25function unCheckOtherDGRadios(radio){var otherRadios=radio.parentNode.parentNode.parentNode.getElementsByTagName('input');var rowCount=otherRadios.length;var index;var elem;for(index=0;index<rowCount;index++){elem=otherRadios[index];if((elem!=null)&&(elem!=radio)){elem.checked=false;}}}
26function Page_BBValidate(ValidationGroup){var i;var j=0;if(typeof(Page_Validators)!=UNDEF){var Temp=Page_Validators;Page_Validators=new Array();for(i=0;i<Temp.length;
26i++){if(typeof(Temp[i].ValidationGroup)!=UNDEF&&Temp[i].ValidationGroup==ValidationGroup){if(!Temp[i].disabled){Page_Validators[j]=Temp[i];j++;}}}}
27if(typeof(Page_ValidationSummaries)!=UNDEF){var Temp2=Page_ValidationSummaries;Page_ValidationSummaries=new Array();j=0;for(i=0;i<Temp2.length;i++){if(typeof(Temp2[i].ValidationGroup)!=UNDEF&&Temp2[i].ValidationGroup==ValidationGroup){Page_ValidationSummaries[j]=Temp2[i]
28j++;}}}
29var bret=true;if(typeof(Page_ClientValidate)=='function'){bret=Page_ClientValidate();}
30if(typeof(Page_Validators)!=UNDEF){Page_Validators=Temp};if(typeof(Page_ValidationSummaries)!=UNDEF){Page_ValidationSummaries=Temp2};return bret}
31var TemplateMsgElement;var TemplateProcessingElement;var TemplateContentElement;var TemplateRepeatElement;var savePostBackFunc;var noPostBacks=false;var saveEventTarget;var saveEventArgument;function ForcePostBack(){noPostBacks=false;return BBProcMsg(saveEventTarget,saveEventArgument);}
32function BBProcMsg(eventTarget,eventArgument){var omsg=TemplateMsgElement;var smsg;if(typeof(window.event)!=UNDEF&&window.event!=null&&typeof(window.event.srcElement)!=UNDEF&&window.event.srcElement!=null){smsg=window.event.srcElement.processingmsg;};if(typeof(savePostBackFunc)=='function'){if(!noPostBacks){noPostBacks=true;if(omsg&&typeof(smsg)!=UNDEF&&smsg!=null){omsg.innerHTML=smsg+', please wait&nbsp;...';};savePostBackFunc(eventTarget,eventArgument);hideIt(TemplateContentElement);hideIt(TemplateRepeatElement);showIt(TemplateProcessingElement);}else{saveEventArgument=eventArgument;saveEventTarget=eventTarget;showIt(TemplateRepeatElement);};};};function makeHot(oel,hotClass){if(typeof(oel.saveClassName)==UNDEF){oel.saveClassName=oel.className;oel.onmouseout=function(){this.className=this.saveClassName;};};if(typeof(hotClass)==UNDEF){oel.className=oel.saveClassName+"Hot";}
33else{oel.className=hotClass;};}
34function hotImg(oel,hotImgSrc){if(typeof(oel.saveSrc)==UNDEF){oel.saveSrc=oel.src;oel.onmouseout=function(){if(this.src!=this.saveSrc){this.src=this.saveSrc}}};if(oel.src!=hotImgSrc){oel.src=hotImgSrc;};}
35function killEvent(){try
36{if(window.event)
37{window.event.cancelBubble=true;}}
38catch(e){}
39return false;}
40function addEvent(obj,type,fn)
41{if(obj.addEventListener)
42obj.addEventListener(type,fn,false);else if(obj.attachEvent)
43{obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event);}
44obj.attachEvent("on"+type,obj[type+fn]);}}
45function removeEvent(obj,type,fn)
46{if(obj.removeEventListener)
47obj.removeEventListener(type,fn,false);else if(obj.detachEvent)
48{obj.detachEvent("on"+type,obj[type+fn]);obj[type+fn]=null;obj["e"+type+fn]=null;}}
49function LTrim(value)
50{var re=/\s*((\S+\s*)*)/;return value.replace(re,"$1");}
51function RTrim(value)
52{var re=/((\s*\S+)*)\s*/;return value.replace(re,"$1");}
53function trim(value)
54{return LTrim(RTrim(value));}
55function AddBorderToPaddedElement(elt,borderStyle,paddingWithBorder){elt.style.border=borderStyle
56elt.style.padding=paddingWithBorder}
57function RemoveBorderFromPaddedElement(elt,paddingWithoutBorder){elt.style.border=''
58elt.style.padding=paddingWithoutBorder}
59function select_AddOption(selectControl,optionText,optionValue)
60{var o=new Option(optionText,optionValue);o.Value=optionValue;selectControl.options.add(o);}
61function select_GetSelectedText(selectControl)
62{if(selectControl.selectedIndex>=0)
63return selectControl.options[selectControl.selectedIndex].text;}
64function select_GetSelectedStringValue(selectControl)
65{if(selectControl.selectedIndex>=0)
66return selectControl.options[selectControl.selectedIndex].value;}
67function select_GetSelectedObjectValue(selectControl)
68{if(selectControl.selectedIndex>=0)
69return selectControl.options[selectControl.selectedIndex].Value;}
70function newid()
71{var result='';for(var j=0;j<32;j++)
72{if(j==8||j==12||j==16||j==20)
73result=result+'-';result=result+Math.floor(Math.random()*16).toString(16).toUpperCase();}
74return result;}
75function iframe_GetDocument(iframe)
76{if(document.all)
77{iframe=eval(iframe.id);return iframe.document;}
78else
79{return iframe.contentWindow.document;}}
80function isNumeric(str){return str.length?!isNaN(str/1):false;}
81function repeatString(string,count)
82{var temp=new Array(count+1);return temp.join(string);}
83function DisableMe(sender)
84{sender.disabled=true;}
85function getMousePosition(e)
86{var pos=new Object();if(isIE)
87{pos.x=event.clientX+document.body.scrollLeft;pos.y=event.clientY+document.body.scrollTop;}
88else
89{pos.x=e.clientX;pos.y=e.clientY;}
90return pos;}
91function PopUpDialogBB(controlName,sName,sFeatures,queryStringData,bHideCss,pid){this.ctl=controlName;this.name=sName;this.features=sFeatures;
91this.qsdata=queryStringData;this.Show=Show;this.GetURL=GetURL;this.HideCss=bHideCss?1:0;this.pid=pid||BLACKBAUD.api.pageInformation.pageId;function Show(){var url=this.GetURL();var popwin=BLACKBAUD.netcommunity.baseWindow.open(url,this.name,this.features);if(typeof(popwin)!="undefined"&&popwin)
92{popwin.focus();}}
93function GetURL()
94{if(typeof(this.ctl)==UNDEF){alert("PopUpDialogBB assert: ctl parameter not set in arg object")}
95return ROOT_PATH+"PopUp.aspx?ctl="+this.ctl+"&data="+this.qsdata+"&hidecss="+this.HideCss+"&pid="+this.pid;}}
96function purge(d){var a=d.attributes,i,l,n;if(a){l=a.length;for(i=0;i<l;i+=1){n=a[i].name;if(typeof d[n]==='function'){d[n]=null;}}}
97purgeChildren(d);}
98function purgeChildren(d){a=d.childNodes;if(a){l=a.length;for(i=0;i<l;i+=1){purge(d.childNodes[i]);}}}
99function setInnerHTML(element,value){if(isIE)
100{purgeChildren(element);}
101element.innerHTML=value;}
102function removeChild(parent,child){if(isIE)
103{purge(child);}
104return parent.removeChild(child);}
105function replaceChild(parent,newChild,oldChild){if(isIE)
106{purge(oldChild);}
107return parent.removeChild(newChild,oldChild);}
108function removeClass(element,className)
109{element.className=(" "+element.className+" ").replace(" "+className+" "," ").trim();}
110function addClass(element,className)
111{element.className+=(element.className?" ":"")+className;}
112function replaceClass(element,oldClassName,newClassName)
113{element.className=(" "+element.className+" ").replace(" "+oldClassName+" "," "+newClassName+" ").trim();}
114function hasClass(element,className)
115{return(" "+element.className+" ").indexOf(" "+className+" ")>=0;}
116function bbAdminButton_setDisabled(buttonElement,disabled)
117{var href;if(disabled)
118{replaceClass(buttonElement,"BBAdminButton","BBAdminButtonDisabled");buttonElement.style.filter="alpha(opacity=40)";buttonElement.style.MozOpacity=0.5;cursor="default";}
119else
120{replaceClass(buttonElement,"BBAdminButtonDisabled","BBAdminButton");buttonElement.style.filter="alpha(opacity=100)";buttonElement.style.MozOpacity=1.0;cursor="hand";}
121walkDom(buttonElement,function(element){if(element.tagName==="A")
122{element.style.cursor=cursor;}});}
123function image_setDisabled(img,disabled)
124{if(disabled)
125{img.style.cursor="auto";img.style.filter="alpha(opacity=40)";img.style.MozOpacity=0.5;}
126else
127{img.style.cursor="hand";img.style.filter="alpha(opacity=100)";img.style.MozOpacity=1.0;}}
128function createEnum(namspace,enumName,enumEntries)
129{var enumObj=namspace[enumName]={};var textObj=namspace[enumName+"Text"]={};for(var i=0;i<enumEntries.length;i++)
130{var enumEntry=enumEntries[i];if(enumEntry)
131{if(typeof enumEntry==='string')
132{enumObj[enumEntry]=i;textObj[i]=enumEntry;}
133else
134{var enumValue,enumSymbolIndex;if(typeof enumEntry[0]==='number')
135{enumValue=enumEntry[0];enumSymbolIndex=1;}
136else
137{enumValue=i;enumSymbolIndex=0;}
138var symbol=enumEntry[enumSymbolIndex];var text=enumEntry[(enumEntry.length>enumSymbolIndex)?enumSymbolIndex+1:enumSymbolIndex];enumObj[symbol]=enumValue;textObj[enumValue]=text;}}}}
139function walkDom(element,workerFunction)
140{if(workerFunction(element)!==false)
141{for(var i=0;i<element.childNodes.length;i++)
142{if(!walkDom(element.childNodes[i],workerFunction))
143{return false;}}
144return true;}
145return false;}
146function getEvent(evt)
147{evt=evt||event;evt.target=evt.target||evt.srcElement;return evt;}
148function getObject(objectName,allowUndefinedFunction)
149{try
150{var parts=objectName.split('.');var reference=window;for(var i=0;i<parts.length;i++)
151{reference=reference[parts[i]];}
152if(reference||allowUndefinedFunction)
153{return reference;}}
154catch(e){}
155throw new Error(String.format("Object does not exist: '{0}'",objectName));}
156function getKeyCode(event){if(event){if(event.which){return event.which;}else if(event.keyCode){return event.keyCode;}else{return undefined;}}else{return undefined;}}
157function isEnterPressed(event){if(getKeyCode(event)==13){return true;}else{return false;}}
158function TabInTextArea(event,obj){var tabKeyCode=9;var keycode;keycode=getKeyCode(event);if(keycode==tabKeyCode){if(event.type=="keydown"){if(obj.setSelectionRange){var s=obj.selectionStart;var e=obj.selectionEnd;obj.value=obj.value.substring(0,s)+"\t"+obj.value.substr(e);obj.setSelectionRange(s+1,s+1);obj.focus();}else if(obj.createTextRange){document.selection.createRange().text="\t"
159obj.onblur=function(){this.focus();
159this.onblur=null;};}else{}}
160if(event.returnValue)
161event.returnValue=false;if(event.preventDefault)
162event.preventDefault();return false;}
163return true;}
164function toggleDisabledById(ctrlId)
165{var ctrl=document.getElementById(ctrlId);ctrl.disabled=!(ctrl.disabled);}
166function setDisabledById(ctrlId,disabled)
167{var ctrl=document.getElementById(ctrlId);if(ctrl)
168{ctrl.disabled=disabled;}}
169function setDisabledByIds(ctrlIds,disabled)
170{if(ctrlIds&&ctrlIds.length)
171{for(var i=0;i<ctrlIds.length;i++)
172{setDisabledById(ctrlIds[i],disabled);}}}
173function setFauxDisabledById(ctrlId,disabled)
174{var color=(disabled?"gray":"");setStyleAttributeById(ctrlId,"color",color);}
175function setFauxDisabledByIds(ctrlIds,disabled)
176{if(ctrlIds&&ctrlIds.length)
177{for(var i=0;i<ctrlIds.length;i++)
178{setFauxDisabledById(ctrlIds[i],disabled);}}}
179function setStyleAttributeById(ctrlId,styleAttribute,styleValue)
180{var ctrl=getElement(ctrlId);if(ctrl&&ctrl.style)
181{ctrl.style[styleAttribute]=styleValue;}}
182function swapStyleAttributeByIds(ctrl1Id,ctrl2Id,styleAttribute)
183{var ctrl1=getElement(ctrl1Id);var ctrl2=getElement(ctrl2Id);if(ctrl1&&ctrl1.style&&ctrl2&&ctrl2.style)
184{var style1=ctrl1.currentStyle[styleAttribute];ctrl1.style[styleAttribute]=ctrl2.currentStyle[styleAttribute];ctrl2.style[styleAttribute]=style1;}}
185function convertToCurrentProtocol(url)
186{if(url&&url.replace)
187{url=url.replace(/http[s]?:/i,document.location.protocol);}
188return url;}
189function setChildrenDisabledById(ctrlId,disabled)
190{var ctrl=document.getElementById(ctrlId);walkDom(ctrl,function(element)
191{if(element.disabled!==undefined)
192{element.disabled=disabled;}});}
193function resetScrollPositionElements()
194{var scrollX=document.getElementById('__SCROLLPOSITIONX');var scrollY=document.getElementById('__SCROLLPOSITIONY');if(scrollX&&scrollY)
195{scrollX.value=0;scrollY.value=0;}
196Sys.WebForms.PageRequestManager.getInstance()._scrollPosition=null;scrollTo(0,0);}
197function BuildBBNCAnalyticsURL(base,pagekeys,pagevals){base=base.substring(base.indexOf('/')+2);base=base.substring(base.indexOf('/'));if(pagekeys.length>0){var aKeys=pagekeys.split(";");var aVals=pagevals.split(";");var aCount=0;base+="?";while(aCount<aKeys.length){base+=aKeys[aCount]+"="+aVals[aCount]+"&";aCount+=1;}
198base=base.substring(0,base.length-1);}
199if(isIE){base=base.substring(0,2000);}
200return base;}
201function nodeIsReallyVisible(node)
202{if(node.style)
203{if(!Sys.UI.DomElement.getVisible(node))
204{return false;}
205if(node.parentNode)
206{return nodeIsReallyVisible(node.parentNode);}}
207return true;}
208function GetRadioListValue(ctrlID)
209{var radioctrl=document.getElementById(ctrlID);var radio_inputs=radioctrl.getElementsByTagName('INPUT');for(var j=0;j<radio_inputs.length;j++)
210{if(radio_inputs[j].checked)
211{return radio_inputs[j].value;}}}
212var coverElementWithDiv_DivArray=[];function coverElementWithDiv(ctrlId,addCover)
213{var divCover=coverElementWithDiv_DivArray[ctrlId];var elementToCover=document.getElementById(ctrlId);if(addCover)
214{if(divCover==undefined)
215{divCover=window.top.document.createElement("DIV");divCover.style.cssText="z-index:1000;position:absolute;left:-9px;top:-3px;background-color:gray;filter:alpha(opacity=15);";divCover.style.MozOpacity=0.15;elementToCover.appendChild(divCover);coverElementWithDiv_DivArray[ctrlId]=divCover;}
216else
217{divCover.style.display='';}
218SetDivDimensions(divCover,elementToCover);}
219else
220{if(divCover!==undefined)
221{divCover.style.display='none';}}};function SetDivDimensions(div,elementToCover)
222{div.style.height=Sys.UI.DomElement.getBounds(elementToCover).height+10+'px';div.style.width=Sys.UI.DomElement.getBounds(elementToCover).width+17+'px';}
223function coverElementWithDiv_Redraw()
224{for(var ctrlId in coverElementWithDiv_DivArray)
225{if(typeof coverElementWithDiv_DivArray[ctrlId]!=="function")
226{SetDivDimensions(coverElementWithDiv_DivArray[ctrlId],document.getElementById(ctrlId));document.getElementById(ctrlId).style.display='none';document.getElementById(ctrlId).style.display='';}}}
227function getElementsByClassName(rootElement,className)
228{var elements=[];walkDom(rootElement,function(element){if(element.className&&(" "+element.className+" ").indexOf(className,0)>=0)
229{elements.push(element);}});return elements;}
230function changeCursor(state)
231{document.body.style.cursor=state;}
232function CallWebServiceMethod(loc,methodName,onSuccess,onFail){args=Array.prototype.slice.call(arguments);args=args.slice(4,args.length);var argsString=ArrayToJsonString(args);BLACKBAUD.netcommunity.CallWebServiceMethod(loc,methodName,onSuccess,onFail,argsString);function ArrayToJsonString(myArgs){l=myArgs.length;var args="";if(l%2!=0)return'-1';for(var i=0;i<l;i+=2){if(args.length!=0)args+=',';args+="'"+myArgs[i]+"':'"+myArgs[i+1]+"'";}
233args='{'+args+'}'
234return args}}
235BLACKBAUD.netcommunity.left=function(str,n)
236{if(n<=0)
237return"";else if(n>String(str).length)
238return str;else
239return String(str).substring(0,n);}
240BLACKBAUD.netcommunity.right=function(str,n)
241{if(n<=0)
242return"";else if(n>String(str).length)
243return str;else{var iLen=String(str).length;return String(str).substring(iLen,iLen-n);}}
244BLACKBAUD.netcommunity.getDateTime=function()
245{var right=BLACKBAUD.netcommunity.right;var d=new Date();var year=d.getYear();var month=right('0'+(d.getMonth()+1),2);var day=right('0'+d.getDate(),2);var hour=right('0'+d.getHours(),2);var minute=right('0'+d.getMinutes(),2);var second=right('0'+d.getSeconds(),2);if(year<2000)
246{year+=1900;}
247return year+'-'+month+'-'+day+'T'+hour+':'+minute+':'+second;}
248BLACKBAUD.netcommunity.setBrowserDateTimeForServer=function(controlId)
249{var hidBrowserDateTime=$get(controlId);if(hidBrowserDateTime)
250{hidBrowserDateTime.value=BLACKBAUD.netcommunity.getDateTime();}}
251BLACKBAUD.netcommunity.consoleLog=function(stuff)
252{if(typeof(console)!=='undefined'&&console.log)
253{console.log(stuff);}};BLACKBAUD.netcommunity.debuggerMaybe=function()
254{if(DebugMode)
255{debugger;}};BLACKBAUD.netcommunity.scrollIntoView=function(id)
256{var ctrl=$get(id);if(ctrl&&ctrl.scrollIntoView)
257{ctrl.scrollIntoView();};};BLACKBAUD.netcommunity.baseWindow=function()
258{if(window.dialogArguments&&window.dialogArguments.baseWindow)
259{return window.dialogArguments.baseWindow;}
260else
261{return window;}}();BLACKBAUD.netcommunity.download=function(url)
262{BLACKBAUD.netcommunity.baseWindow.document.getElementById("BBDownloadFrame").src=url;};BLACKBAUD.netcommunity.submitDownload=function(form,postbackCall)
263{var previousTarget=form.target;form.target="BBDownloadFrame";postbackCall();form.target=previousTarget;};BLACKBAUD.netcommunity.SafeDocWriteInUpdatePanel=function(str)
264{function makeMap(str)
265{var obj={},items=str.split(",");for(var i=0;i<items.length;i++)
266obj[items[i]]=true;return obj;}
267var startTag=/^<(\w+)((?:\s+\w+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag=/^<\/(\w+)[^>]*>/,attr=/(\w+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;var empty=makeMap("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed");var block=makeMap("address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frameset,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,p,pre,script,table,tbody,td,tfoot,th,thead,tr,ul");var inline=makeMap("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var");var closeSelf=makeMap("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr");var fillAttrs=makeMap("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected");var special=makeMap("script,style");var HTMLParser=function(html,handler)
268{var index,chars,match,stack=[];stack.last=function()
269{return this[this.length-1];};this.parse=function(moreHTML)
270{last=html=moreHTML;while(html)
271{chars=true;if(!stack.last()||!special[stack.last()])
272{if(html.indexOf("<!--")==0)
273{index=html.indexOf("-->");if(index>=0)
274{if(handler.comment)
275handler.comment(html.substring(4,index));html=html.substring(index+3);chars=false;}}else if(html.indexOf("</")==0)
276{match=html.match(endTag);
276if(match)
277{html=html.substring(match[0].length);match[0].replace(endTag,parseEndTag);chars=false;}}else if(html.indexOf("<")==0)
278{match=html.match(startTag);if(match)
279{html=html.substring(match[0].length);match[0].replace(startTag,parseStartTag);chars=false;}}
280if(chars)
281{index=html.indexOf("<");var text=index<0?html:html.substring(0,index);html=index<0?"":html.substring(index);if(handler.chars)
282handler.chars(text);}}else
283{html=html.replace(new RegExp("(.*)<\/"+stack.last()+"[^>]*>"),function(all,text)
284{text=text.replace(/<!--(.*?)-->/g,"$1").replace(/<!\[CDATA\[(.*?)]]>/g,"$1");if(handler.chars)
285handler.chars(text);return"";});parseEndTag("",stack.last());}
286if(html&&html==last)
287throw"Parse Error: "+html;last=html;}};function parseStartTag(tag,tagName,rest,unary)
288{if(block[tagName])
289{while(stack.last()&&inline[stack.last()])
290{parseEndTag("",stack.last());}}
291if(closeSelf[tagName]&&stack.last()==tagName)
292{parseEndTag("",tagName);}
293unary=empty[tagName]||!!unary;if(!unary)
294stack.push(tagName);if(handler.start)
295{var attrs=[];rest.replace(attr,function(match,name)
296{var value=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:fillAttrs[name]?name:"";attrs.push({name:name,value:value,escaped:value.replace(/(^|[^\\])"/g,'$1\\\"')});});if(handler.start)
297handler.start(tagName,attrs,unary);}}
298function parseEndTag(tag,tagName)
299{if(!tagName)
300var pos=0;else
301for(var pos=stack.length-1;pos>=0;pos--)
302if(stack[pos]==tagName)
303break;
303if(pos>=0)
304{for(var i=stack.length-1;i>=pos;i--)
305if(handler.end)
306handler.end(stack[i]);stack.length=pos;}}
307this.parse(html);};var htmlns='http://www.w3.org/1999/xhtml';var win=window;var doc=document;var isDOMLoaded=false;function markLoaded()
308{isDOMLoaded=true;}
309if(doc.addEventListener)
310doc.addEventListener('DOMContentLoaded',markLoaded,false);if(win.addEventListener)
311win.addEventListener('load',markLoaded,false);if(win.attachEvent)
312win.attachEvent('onload',markLoaded);var scriptIgnoreIDs=makeMap("_firebugConsoleInjector,_firebugConsole");var parentNode;var lastScript;var parser;var thisScript;if(!isDOMLoaded)
313{var scripts=doc.getElementsByTagName('script');for(var i=scripts.length-1;i>=0;i--)
314{if(!scripts[i].id||!scriptIgnoreIDs[scripts[i].id])
315{thisScript=scripts[i];break;}}
316if(!parentNode)
317{parentNode=thisScript.parentNode;}
318if(thisScript!=lastScript)
319{parentNode=thisScript.parentNode;parser=null;lastScript=thisScript;}}
320else if(!parentNode)
321{parentNode=doc.getElementsByTagName('body')[0];}
322if(parser)
323{parser.parse(str);}
324else
325{parser=new HTMLParser(str,{start:function(tag,attrs,unary)
326{var el=doc.createElement(tag);for(var i=0;i<attrs.length;i++)
327el.setAttribute(attrs[i].name,attrs[i].value);parentNode.appendChild(el);if(!unary)
328parentNode=el;},end:function(tag)
329{parentNode=parentNode.parentNode;},chars:function(text)
330{if(text)
331{parentNode.appendChild(doc.createTextNode(text));}},comment:function(text)
332{parentNode.appendChild(doc.createComment(text));}});}};BLACKBAUD.netcommunity.CallWebServiceMethod=function(loc,methodName,onSuccess,onFail,methodArgs){loc=loc.toLowerCase();if(loc.indexOf("http")!=0){loc=ROOT_PATH+"WebServices/"+loc;}
333if(loc.match(".asmx$")!=".asmx"){loc=loc+".asmx";}
334var path=loc+"/"+methodName;var hbc=BLACKBAUD.netcommunity.GetQueryStringValue("hbc");var siteId=BLACKBAUD.netcommunity.GetQueryStringValue("siteid");if(hbc.length>0&&siteId.length>0){path=path+"?hbc="+encodeURIComponent(hbc)+"&siteid="+encodeURIComponent(siteId);}
335if(path.indexOf("?")===-1){path=path+"?";}else{path=path+"&";}
336path=path+"wmts="+(new Date().getTime());localOnSuccess=function(data,textStatus,jqXHR){if(onSuccess){onSuccess(data,textStatus,jqXHR);}};localOnFail=function(jqXHR,textStatus,errorThrown){if(onFail){onFail(jqXHR,textStatus,errorThrown);}};$.ajax({type:"POST",url:path,data:methodArgs,contentType:"application/json; charset=utf-8",dataType:"json",success:localOnSuccess,error:localOnFail});};BLACKBAUD.netcommunity.CoverElementWithLoadingScreen=function(elementID,remove){var element=$('#'+elementID);var wrapper=element.parent();var blockerID='divBlocker_'+elementID
337if(!wrapper){wrapper=$(document);}
338if(remove===true){wrapper.css('position','');element.find('#'+blockerID).remove();}
339else{wrapper.css('position','relative');element.append("<div id='"+blockerID+"' style='position:absolute; opacity:0.6; background: #FFFFFF; top:0; left:0; height:100%; width:100%; z-index:20'></div>");var blocker=element.find('#'+blockerID);blocker.fadeTo(0,0.6)
340blocker.append('<img id="imgSpinner"></img>');var spinner=blocker.find('#imgSpinner');spinner.attr('src',ROOT_PATH+'images/FormEngine/blue-loading.gif');var top=$(blocker).height()/2-spinner.height()/2;var left=$(blocker).width()/2-spinner.width()/2;spinner.css('position','relative');spinner.css('top',top);spinner.css('left',left);}};BLACKBAUD.netcommunity.Dialog=function(selector,param,jQuery){var $$;if(jQuery!=undefined){$$=jQuery;}
341else{$$=$;}
342var elem=$$('.ui-dialog').children(selector);var parents=elem.parent();elem.remove();parents.remove();var _open=function(event,ui){$$(this).parent().appendTo("form");$$(".ui-widget-overlay").appendTo("form");};param=param||{};if(!param.open){param.open=_open;}
343else{var _oldOpen=param.open;param.open=function(){_open.apply(this,arguments);_oldOpen.apply(this,arguments);};}
344$$(selector).dialog(param).parent().appendTo("form");};BLACKBAUD.netcommunity.PingWebServer=function(onSuccess,onFail){BLACKBAUD.netcommunity.CallWebServiceMethod("WebMethods","Ping",onSuccess,onFail);};BLACKBAUD.netcommunity.LastPing=new function(){this.time=new Date();this.timeoutId;}
345BLACKBAUD.netcommunity.KeepSessionAlive=function(onSuccess,onFail){var minWaitDuration=60000;var maxWaitDuration=600000
346resetTimeout();function resetTimeout(){clearTimeout(BLACKBAUD.netcommunity.LastPing.timeoutId);var delay=getDelay();BLACKBAUD.netcommunity.LastPing.timeoutId=setTimeout(function(){pingServer(onSuccess,onFail)},delay);}
347function getDelay(){var delay;var now=new Date();var nextCallbackTimeRequested=(now.getTime()+minWaitDuration);var longestCallbackTimeAllowed=(BLACKBAUD.netcommunity.LastPing.time.getTime()+maxWaitDuration);if(nextCallbackTimeRequested>longestCallbackTimeAllowed){delay=longestCallbackTimeAllowed-now;}
348else{delay=minWaitDuration;}
349return Math.max(delay,0);}
350function pingServer(onSuccess,onFail){BLACKBAUD.netcommunity.PingWebServer(onSuccess,onFail);BLACKBAUD.netcommunity.LastPing.time=new Date();}};BLACKBAUD.netcommunity.Cart={}
351BLACKBAUD.netcommunity.Cart.CartUpdatedEvent=new function(){var handlers=[];this.Bind=function(handler){for(var i=0;i<handlers.length;i++){if(handlers[i]===handler){return;}}
352var count=handlers.length;handlers[count]=handler;}
353this.Unbind=function(handler){var index=-1;for(var i=0;i<handlers.length;i++){if(handlers[i]===handler){index=i;}}
354if(index>=0){handlers.splice(index,1);}}
355this.Trigger=function(){for(var i=0;i<handlers.length;i++){handlers[i]();}}};BLACKBAUD.netcommunity.Cart.AddDonationToCart=function(amount,designationID,description){function onSuccess(){BLACKBAUD.netcommunity.Cart.CartUpdatedEvent.Trigger();}
356function onFail(){}
357var param={};param.amount=amount;param.designationID=designationID;param.description=description;param.pageID=BLACKBAUD.netcommunity.PageID
358BLACKBAUD.netcommunity.CallWebServiceMethod("WebMethods","AddDonationToCart",onSuccess,onFail,Sys.Serialization.JavaScriptSerializer.serialize(param));}
359BLACKBAUD.netcommunity.GetQueryStringValue=function(key,querystring){if(!querystring)
360querystring=window.location.search;querystring=querystring.toLowerCase();var re=new RegExp("[?|&]"+key+"=(.*?)&");var matches=re.exec(querystring+"&");if(!matches||matches.length<2)
361return"";return decodeURIComponent(matches[1].replace("+"," "));}
362BLACKBAUD.netcommunity.SetQueryStringValue=function(key,value,query){query=query||window.location.search;var q=query+"&";var re=new RegExp("[?|&]"+key+"=.*?&");if(!re.test(q))
363q+=key+"="+encodeURI(value);else
364q=q.replace(re,"&"+key+"="+encodeURIComponent(value)+"&");q=BLACKBAUD.netcommunity.String.TrimEnd(BLACKBAUD.netcommunity.String.TrimStart(q,"&"),"&");return q[0]=="?"?q:q="?"+q;}
365BLACKBAUD.netcommunity.GetMaxZIndex=function(options){var defaults={selector:'*'};jQuery.extend(defaults,options);var zmax=0;
365jQuery(defaults.selector).each(function(){var cur=parseInt(jQuery(this).css('z-index'),10);zmax=cur>zmax?cur:zmax;});return zmax+1;}
366BLACKBAUD.netcommunity.SetMaxZIndex=function(selector,options){setTimeout(function(){jQuery(selector).css('z-index',BLACKBAUD.netcommunity.GetMaxZIndex());},500);}
367BLACKBAUD.netcommunity.ViewAsDesktop=function(url){if(!url){url=window.location.href;}
368if(url.indexOf("?")==-1){url=url+"?";}
369var onSuccess=function(){window.location.href=window.location.href;}
370var params={deliveryChannelID:'23B56292-0F3C-43AC-AF13-7767AD9D4057'};BLACKBAUD.netcommunity.CallWebServiceMethod(BLACKBAUD.netcommunity.WebMethodsURL,'SetDeliveryChannelForSession',onSuccess,null,Sys.Serialization.JavaScriptSerializer.serialize(params));};BLACKBAUD.netcommunity.ViewAsMobile=function(url){if(!url){url=window.location.href;}
371if(url.indexOf("?")==-1){url=url+"?";}
372var onSuccess=function(){window.location.href=window.location.href;}
373var params={deliveryChannelID:'3f6b7ea0-73e8-462b-a075-de89431816a4'};BLACKBAUD.netcommunity.CallWebServiceMethod(BLACKBAUD.netcommunity.WebMethodsURL,'SetDeliveryChannelForSession',onSuccess,null,Sys.Serialization.JavaScriptSerializer.serialize(params));};
374BLACKBAUD.netcommunity.String=BLACKBAUD.netcommunity.String||{};BLACKBAUD.netcommunity.String.EscapeRegularExpression=function(a){return a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")};BLACKBAUD.netcommunity.String.TrimEnd=function(a,b){if(b){return a.replace(new RegExp(BLACKBAUD.netcommunity.String.EscapeRegularExpression(b)+"*$"),"")}return a.replace(/\s+$/,"")};BLACKBAUD.netcommunity.String.TrimStart=function(a,b){if(b){return a.replace(new RegExp("^"+BLACKBAUD.netcommunity.String.EscapeRegularExpression(b)+"*"),"")}return a.replace(/^\s+/,"")};BLACKBAUD.netcommunity.String.HtmlEncode=function(a){return $("<div/>").text(a).html()};BLACKBAUD.netcommunity.String.HtmlDecode=function(a){return $("<div/>").html(a).text()};BLACKBAUD.netcommunity.String.fixTextForDate=function(a,c,d){var b=/[^0-9\/]/g;if(typeof d!=="undefined"){if(d===1){b=/[^0-9\.]/g}else{b=/[^0-9\-]/g}}setTimeout(function(){$(a).val($(a).val().replace(b,""))},0);var e=getKeyCode(c);if((e>=65&&e<=90)||(e>=97&&e<=122)||e===32){return false}else{return true}};BLACKBAUD.netcommunity.isPageSSL=function(){return location.protocol==="https:"};BLACKBAUD.netcommunity.FixUltraWebTree=function(a){$(a).find("img[style]").not("[src]").attr("src",ROOT_PATH+"images/1x1.gif")};BLACKBAUD.netcommunity.AssignSubmitButton=function(b,a){b.bind("keydown",function(c){if(isEnterPressed(c)){a.click();return false}else{return true}})};BLACKBAUD.netcommunity.SelectElement=function(d){var b,c,a;b=document;if(d.createTextRange){c=d.createTextRange();c.collapse(true);c.moveStart("character",0);c.moveEnd("character",d.value.length);c.select()}else{if(d.select){d.focus();d.select()}else{if(window.getSelection){a=window.getSelection();c=b.createRange();c.selectNodeContents(d);a.removeAllRanges();a.addRange(c)}}}};(function(){var b=false;function c(h,i){var f,d,g,e;e=i.get_updatePanelsToUpdate();if(e&&e[0]){g=e[0].replace(/\$/g,"_");d=$("#"+g);if(d.length===1){if(!d.hasClass("BBUpdatePanelDoNotBlock")){BLACKBAUD.api.blockElement()}}}}function a(d,e){BLACKBAUD.api.unblockElement()}BLACKBAUD.netcommunity.enableSmoothUpdatePanels=function(){var d;if(!b){d=Sys.WebForms.PageRequestManager.getInstance();if(!d.get_isInAsyncPostBack()){d.add_beginRequest(c);d.add_endRequest(a)}b=true}}})();BLACKBAUD.netcommunity.head=BLACKBAUD.netcommunity.head||{};BLACKBAUD.netcommunity.head.addStyleSheetLink=function(d){var c,b,a;c=false;a=$("head");a.find("link[rel='Stylesheet']").each(function(){if($(this).attr("href")===d){c=true}});if(!c){b=$("<link />");b.attr("rel","Stylesheet");b.attr("href",d);a.append(b)}};BLACKBAUD.netcommunity.resizeWindow=function(a,b){window.resizeTo(a,b);window.moveTo(screen.availWidth/2-a/2,screen.availHeight/2-b/2)};
375var nonModals=[];function NotifyOpener(a,b){try{if(typeof(window.opener)!="undefined"){if(window.opener&&!window.opener.closed){if(window.opener.PopUpNotify){setTimeout("window.opener.PopUpNotify('"+a+"')",100)}}else{NotifyFailure(a)}}else{if(typeof(BLACKBAUD.netcommunity.baseWindow)!="undefined"){if(BLACKBAUD.netcommunity.baseWindow){if(BLACKBAUD.netcommunity.baseWindow.PopUpNotify){setTimeout("BLACKBAUD.netcommunity.baseWindow.PopUpNotify('"+a+"')",100)}}else{NotifyFailure(a)}}}if(typeof(b)!="undefined"){if(b){setTimeout("window.close()",500)}}}catch(c){NotifyFailure(a)}}function NotifyFailure(a){if(a=="refresh"){alert("The browser window or tab that opened this dialog is no longer available, so it can not be refreshed automatically. Your changes have been saved but this dialog will now close.");window.close()}}function PopUpNotify(a){if(window.OnPopUpNotify){window.OnPopUpNotify(a);return}switch(a){case"refresh":setTimeout(CoreModalReloadPage,200);case"postback":setTimeout(CoreModalPostbackPage,200)}}function CoreModalReloadPage(){window.location=window.location.href}function CoreModalPostbackPage(){if(__doPostBack){__doPostBack("","")}else{window.location=window.location.href}}function ShowNonModalDialogRedirectVerb(f,j,h,g,d,b,a,c){if(typeof(g)=="str
375ing"){g=ConvertModalFeatures(g,d,b)}var i=window.top;if(typeof(nonModals[a])!="undefined"){if(window.focus){if(!nonModals[a].closed){nonModals[a].focus();return}}}var e=i.open(f,a,g);if(e==null){throw new Error(-1,"window has been blocked")}nonModals[a]=e;if(window.focus){e.focus()}}function showModalDialogRedirectVerb(f,h,a,g,d,b,e,i){if(!a){a="DefaultOnModalComplete"}var c={};c.PostbackJS=h;c.OnCompleteFunctionName=a;c.PostbackArg=e;c.ExternalCallbackFunction=i;ModalDialogManager.openModal(f,c,g,CompleteModalCall,d,b)}function CompleteModalCall(ret){var cmd="";jQuery(document.body).css("cursor","default");if(typeof(ret)!="undefined"){if(typeof(ret.CMD)=="undefined"){cmd="CANCEL"}else{if(ret.CMD==""){cmd="CANCEL"}else{cmd=ret.CMD}}if(typeof(ret.dialogArguments)!="undefined"){eval(ret.dialogArguments.OnCompleteFunctionName)(cmd,ret.dialogArguments.PostbackJS,ret.dialogArguments.PostbackArg,ret.dialogArguments.ExternalCallbackFunction)}}}function DefaultOnModalComplete(CMD,PostbackJS,PostbackArg,ExternalCallbackFunction){if(CMD=="SAVE"||CMD=="NEXT"){eval(PostbackJS)}}function ConvertModalFeatures(b,a,c){b=b.replace(";",",");b=b.replace(/;/g,",");b=b.replace(/px/g,"");b=b.replace(/:/g,"=");b=b.replace(/dialogWidth/g,"width");b=b.replace(/dialogHeight/g,"height");b=b.replace(/scroll/g,"scrollbars");b+=",left="+(screen.availWidth-c)/2+",top="+(screen.availHeight-a)/2;return b}var lastmodalwindowtime=0;function _ModalDialogManager(){function a(b,c,d){if(jQuery.proxy){return jQuery.proxy.apply(jQuery,arguments)}
375if(arguments.length===2){if(typeof c==="string"){d=b;b=d[c];c=undefined}else{if(c&&!jQuery.isFunction(c)){d=c;c=undefined}}}if(!c&&b){c=function(){return b.apply(d||jQuery,arguments)}}if(b){c.guid=b.guid=b.guid||c.guid||jQuery.guid++}return c}this.openModal=function(e,f,g,c,d,b){if(this.openingFakeModal){return}this.openingFakeModal=true;this.onCloseCallback=c;this.childsDialogArguments=f;if(typeof(g)=="string"){g=ConvertModalFeatures(g,d,b)}this.result=null;this.closeHandled=false;this.attachParentWindowEvents();this.showModalMask();this.childWindow=window.open(e,"",g);if(this.childWindow==null){throw new Error(-1,"window has been blocked")}this.onCheckChildClosed();this.openingFakeModal=false};this.showModalMask=function(){if(!window.doNotDisableScrolling){jQuery(window.document.body).css("overflow","hidden")}this.modalMaskDiv=jQuery("<div/>");this.modalMaskDiv.css({"z-index":400000,position:"absolute",left:"0px",top:"0px","background-color":"gray",filter:"alpha(opacity=60)",opacity:0.6,MozOpacity:0.6});this.modalMaskDiv.height(jQuery(document).height());this.modalMaskDiv.width(jQuery(document).width());this.onParentFocusDelegate=a(this,"onParentFocus");this.modalMaskDiv.bind("click",this.onParentFocusDelegate);jQuery(document.body).append(this.modalMaskDiv)};this.hideModalMask=function(){if(this.modalMaskDiv){this.modalMaskDiv.unbind("click",this.onParentFocusDelegate);this.modalMaskDiv.remove();this.modalMaskDiv=null;if(!window.doNotDisableScrolling){jQuery(document.body).css("overflow","auto")}}};this.attachParentWindowEvents=function(){this.onParentUnloadDelegate=a(this,"onParentUnload");jQuery(window).bind("unload",this.onParentUnloadDelegate)};this.detachParentWindowEvents=function(){jQuery(window).unbind("unload",this.onParentUnloadDelegate)};this.onParentFocus=function(c){if(!this.childWindow){return}var b;try{b=this.childWindow.closed}catch(c){b=true}if(b){this.onChildClosed();return}this.childWindow.focus();return};this.onParentUnload=function(b){if(!this.childWindow){return}try{this.childWindow.close()}catch(c){}};this.onCheckChildClosed=function(){try{if(this.childWindow==null||this.childWindow.closed){this.onChildClosed()}else{setTimeout(a(this,"onCheckChildClosed"),300)}}catch(b){}};this.onChildClosed=function(b){if(this.closeHandled){return}this.closeHandled=true;this.result=b;try{if(!this.result){this.result={};this.result.CMD="CANCEL"}this.result.dialogArguments=this.childsDialogArguments;if(this.onCloseCallback){this.onCloseCallback(this.result)}}catch(c){}finally{if(this.childWindow){try{this.childWindow.close()}catch(c){}}this.childWindow=null;this.result=null;this.hideModalMask();this.detachParentWindowEvents()}}}ModalDialogManager=new _ModalDialogManager();var openFakeModal=ModalDialogManager.openModal;var modallvl;function Browser(){var a=new Object();try{a.AgentName=navigator.userAgent.toLowerCase()}catch(b){a.AgentName=""}a.IsSafari=a.AgentName.indexOf("safari")>=0;a.IsOpera=a.AgentName.indexOf("opera")>=0;a.IsFireFox=a.AgentName.indexOf("firefox")>=0;a.IsIE=document.all!=null&&!a.IsOpera&&!a.IsSafari;return a}function ModalDialogBB_crossbrowser(a,d,f,c,h,k,b,g){try{this.AgentName=navigator.userAgent.toLowerCase()}catch(l){this.AgentName=""}this.IsSafari=this.AgentName.indexOf("safari")>=0;this.IsOpera=this.AgentName.indexOf("opera")>=0;this.IsFireFox=this.AgentName.indexOf("firefox")>=0;this.IsIE=document.all!=null&&!this.IsOpera&&!this.IsSafari;this.ctl=a;this.width=d;this.height=f;if(typeof(g)==UNDEF){this.dialogArguments={}}else{this.dialogArguments=g}this.qsdata=encodeURIComponent(c);this.features="scroll:no;status:no;";this.Show=i;this.GetURL=m;this.getFeatureString=j;if(typeof(modallvl)==UNDEF||modallvl<=0){modallvl=0}if(typeof(h)==UNDEF||h){this.resizable="yes"}else{this.resizable="no"}if(typeof(k)==UNDEF||!k){this.maximize="no"}else{this.maximize="yes"}if(typeof(b)==UNDEF){b=true}function i(n){var e;if(this.URL){e=this.URL}else{e=this.GetURL()}function o(p){modallvl--;if(n){n(p)}}ModalDialogManager.openModal(e,this.dialogArguments,this.getFeatureString(),o,f,d)}function j(){return"location:no;center:yes;"+this.features+"help:no;dialogWidth:"+this.width+"px;dialogHeight:"+this.height+"px;resizable:"+this.resizable+";maximize:"+this.maximize}function m(){if(typeof(this.ctl)==UNDEF){alert("showModalDialogBB assert: ctl parameter not set in arg object")}if(typeof(this.width)==UNDEF){alert("showModalDialogBB assert: width parameter not set in arg object")}if(typeof(this.height)==UNDEF){alert("showModalDialogBB assert: height parameter not set in arg object")}modallvl++;var n=(b?"AdminPage.aspx":"Popup.aspx");var q=document.location.href;var p=q.indexOf("CuteSoft");if(p!=-1){n=q.substring(0,p)+n}else{n=ROOT_PATH+n}this.ctl=encodeURIComponent(this.ctl);var r="";
375if(g!=null){if(typeof(g)!=UNDEF&&(g.hbc)!=UNDEF&&typeof(g.SiteID)!=UNDEF){r="&SiteID="+g.SiteID+"&hbc=1"}}if(r==""){var o=BLACKBAUD.netcommunity.GetQueryStringValue("hbc");var s=BLACKBAUD.netcommunity.GetQueryStringValue("siteid");if(o.length>0&&s.length>0){r="&SiteID="+encodeURIComponent(s)+"&hbc="+encodeURIComponent(o)}}var e=n+"?edit=3&md="+modallvl+r+"&ctl="+this.ctl+"&data="+this.qsdata;if(typeof(this.additionalQueryString)!==UNDEF){e=e+this.additionalQueryString}return e}}function GetPluginWrapperModalURL(e,b,a,h,g,c){var d="ctl="+e;d+="&data="+b;d+="&pg="+a;d+="&do="+h;if(g){d+="&pb=1"}var f=new ModalDialogBB_crossbrowser("~/Admin/TinyMCEPlugins/TinyMCEPluginWrapper.ascx",0,0,d,true,true,c);f.additionalQueryString="&hidecss=1";return f.GetURL()};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.