From: "Saved by Internet Explorer 11" Subject: Resistor divider drift: when 5ppm + 5ppm = 5 ppm - Precision Hub - Blogs - TI E2E Community Date: Mon, 7 Jul 2014 09:13:14 -0700 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01CF99C3.AE6104E0" X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.17609 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/blogs_/b/precisionhub/archive/2014/06/19/resistor-divider-drift-when-5ppm-5ppm-10-ppm.aspx?DCMP=hpa-pa-opamp&HQS=hpa-pa-opamp-thehub-20140620-myti-en =EF=BB=BF =20 =20 =20 = = =20 =20 = =20 = =20 = Resistor divider=20 drift: when 5ppm + 5ppm =3D 5 ppm - Precision Hub - Blogs - TI E2E = Community=20 =20
=20
=20 =20 =20 =20
=20
=20
  • 3D"Search"
=

TI=20 Home =C2=BB = TI E2E=20 Community =C2=BB = Blogs =C2=BB Precision=20 Hub =C2=BB Resistor=20 divider drift: when 5ppm + 5ppm =3D 5 ppm

Resistor divider drift: when 5ppm + 5ppm =3D 5 = ppm

Subscribe to this Blog by = Email
= Subscribe

Resistor divider drift: when 5ppm + 5ppm =3D 5 = ppm

=20
Jun 19 2014 15:17 PM =
=20
  • Comments 3
=20
=20

If you have a voltage divider where each = resistor=20 has 5 ppm/=C2=B0C drift, what is the worst-case drift?  That is the = loaded=20 question I posed to my colleagues recently (only after figuring out the = answer=20 myself, of course) while working on a low-drift current sensing = reference design=20 (TIPD156).  The =E2=80=98obvious=E2=80=99 = answer is 10 ppm/=C2=B0C.  It=20 turns out to be just 5 ppm/=C2=B0C, but only when the voltage divider = ratio is=20 =C2=BD.  Let us delve deeper into the answer to this obvious, yet = not-so-obvious=20 question.

Figure 1 depicts a discrete solution that provides a reference = voltage=20 (VREF) and bias voltage (VBIAS) based on the ratio = of=20 R1 and R2.

Figure 1: Dual reference discrete topology

At the time it was =E2=80=98obvious=E2=80=99 that the overall drift = of the resistor divider=20 is = (5 ppm/=C2=B0C) + (5 ppm/=C2=B0C) =3D 10&nb= sp;ppm/=C2=B0C. =20 Just to be sure, though, I ran a simulation.  Figure 2 depicts the = result=20 of the TINA-TI simulation where R2 drifts in = the=20 positive direction, R1 drifts negatively, and the change in=20 temperature is 100=C2=B0C.

Figure 2: Vbias after R1 and R2 drift

Calculating the gain error yields 0.05% (500 ppm or 5.0 ppm/=C2=B0C), = which is the=20 drift of one resistor=E2=80=A6not their sum! 

Now let=E2=80=99s examine the familiar voltage divider = circuit=E2=80=99s gain ratio and=20 re-arrange it as shown in Equation ( 1 ).

Where

 

 

=CE=B1 is the ratio of R1 and R2, and = ultimately relates to=20 the gain of the circuit.  For example, if =CE=B1=3D1, the gain is = =C2=BD.  So, as=20 =CE=B1=E2=86=920, the gain=E2=86=921.  Similarly, as = =CE=B1=E2=86=92=E2=88=9E, gain=E2=86=92 0.

The actual gain of the circuit over temperature will depend on the = drift of=20 the resistors, which is shown in Equation ( 3 ) by =CE=B4.  = To be=20 consistent with the simulation, R2 drifts positively and=20 R1 negatively.

 

Equation ( 4 ) calculates the gain error.  For = simplicity, it is=20 not converted to a percentage (if you want to do that, simply multiply = it by 100=20 but be careful when converting to ppm).

Using Equations ( 1 ) to ( 3 ), Equation = ( 4=20 ) simplifies to:

 

Notice that the gain error depends on both the drift (=CE=B4) and the = circuit gain=20 (related to =CE=B1).  Furthermore, if =CE=B1=3D1 (circuit = gain=3D=C2=BD), the gain error=20 simplifies to =CE=B4, which is exactly what the simulation shows!

Figure 3 is a plot of the gain error versus the circuit gain for this = design=20 (5 ppm/=C2=B0C resistor drift, or 500 ppm total drift over = 100=C2=B0C).  Notice=20 that the gain error is 500 ppm when the circuit gain is =C2=BD.  = Also notice=20 that as the circuit gain increases, the gain error decreases and vice = versa.

 

 

In summary, the drift of the voltage divider was not as = expected=E2=80=A6it is not=20 the simple sum and it depends on the circuit gain.  So, next time = you=E2=80=99re=20 designing a circuit and come across one of those = =E2=80=98obvious=E2=80=99 conclusions, you may=20 want to double-check it with TINA-TI!

If you have any similar =E2=80=98obvious=E2=80=99 experiences, please = share them in the=20 comments section!

=20
=20
=20
  • EdWalke= r
    =20
    Jul 03 2014 08:00 = AM
    =20

    Moral of the story, there isn't much to gain by being a = drifter.

  • Loth= ar=20 Kowalik
    =20
    Jul 07 2014 01:41 = AM
    =20

    Hallo,

    there seem to be a simple context when I look at figure 3. This = formula is=20 easyer to remeber:

    Gain error =3D 2 x TK x (1 - division ratio) x delta T   =  

    (delta T is the changn in temperatur)  Is the formula right or = are=20 there any argument against it?

    Regards from Berlin

  • Chris = Belting
    =20
    Jul 07 2014 10:15 = AM
    =20

    It is an interesting observation that I also overlooked for many = years=20 until I used Excel to graph the effect of any tolerance artifact for a = voltage=20 divider. The ratio and location of the two resistors in the divider = defines=20 the extent of the error that can be expected. Assuming both resistors = have the=20 same tolerance, when the resistors are of equal value the maximum = error is=20 equal to the tolerance not the sum of tolerances. When, in a simple = divider,=20 the low-side resistor is significantly less than the high-side = resistor the=20 resulting error approaches the sum of the tolerances. Reverse the = relative=20 locations and the error approaches zero. Plotting the range over 0.001 = to 1000=20 on a log scale is a great way to visualize the point.

").css({width:"256px",height:"256px",cssFloat:"left",padding:"0= px",cursor:"pointer"}).bind("mousedown.glowColorSelector",function(l){d.c= lickValueSaturationHandler(l);=0A= return = false}).appendTo(d.selectBoxBackground);w.isIE()?d.selectBox.css({filter:= "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=3Dtrue,src=3D= '"+d.blendImageUrl+"')"}):d.selectBox.css({backgroundImage:"url('"+d.blen= dImageUrl+"')",backgroundRepeat:"no-repeat",backgroundPosition:"top = left"});d.selectBoxCursor=3Dg("
").css({position:"absolute",bor= derWidth:"3px",borderStyle:"solid",borderColor:"#666666",height:"7px",wid= th:"7px",zIndex:1E3,left:"0px",top:"0px",marginLeft:"2px",marginTop:"-1px= ",=0A= cursor:"pointer",filter:"none"}).bind("mousedown.glowColorSelector",funct= ion(l){d.cursorMouseDownHandler(l)}).appendTo(d.selectBoxBackground);g("<= div>").css({position:"absolute",borderWidth:"3px",borderStyle:"soli= d",borderColor:"#ffffff",height:"1px",width:"1px",overflow:"hidden"}).app= endTo(d.selectBoxCursor);d.hueSelectBox=3Dg("
").css({width:"20= px",height:"256px",lineHeight:"256px",boderStyle:"solid",borderWidth:"1px= ",borderColor:"#666666",marginLeft:"5px",cssFloat:"left",cursor:"default"= ,=0A= backgroundImage:"url('"+d.hueBlendImageUrl+"')"}).appendTo(h);var = o=3Dg("
").css({position:"relative",width:"20px",height:"256px"= }).appendTo(d.hueSelectBox);d.hueSelectCursor=3Dg("
").css({pos= ition:"absolute",borderStyle:"solid",borderWidth:"3px",borderColor:"#6666= 66",height:"5px",width:"22px",marginLeft:"-4px",marginTop:"-5px",left:"0p= x",top:"0px",cursor:"pointer"}).bind("mousedown.glowColorSelector",functi= on(l){d.hueCursorMouseDownHandler(l)}).appendTo(o);g("
").css({= position:"absolute",=0A= borderWidth:"2px",borderStyle:"solid",borderColor:"#ffffff",height:"1px",= width:"18px",overflow:"hidden"}).appendTo(d.hueSelectCursor);d.selectedCo= lor=3Dg('').val("#ffffff").css({clear:"both",width:"279px",textAlign:"center",fo= ntFamily:"Courier New, = Courier",fontWeight:"bold",padding:"0px",margin:"4px",marginLeft:"auto",m= arginRight:"auto"}).bind("keyup.glowColorSelector",function(){d.parseEnte= redColor();return = true}).bind("change.glowColorSelector",function(){d.updateTemporaryValue(= true);=0A= return true}).appendTo(h);d.selectButton=3Dg('').val("OK").css({width:"92px",padding:"0px",margin:"0px"}).bind("click= .glowColorSelector",function(){d.selectTemporaryColor();return = false}).appendTo(h);d.clearButton=3Dg('').val("Clear").css({width:"92px",padding:"0px",margin:"0px",marginLeft= :"4px"}).bind("click.glowColorSelector",function(){d.selectNoColor();retu= rn false}).appendTo(h);d.cancelButton=3Dg('').val("Cancel").css({width:"92px",=0A= padding:"0px",margin:"0px",marginLeft:"4px"}).bind("click.glowColorSelect= or",function(){try{d.currentInput.focus()}catch(l){}d.popupPanel.glowPopU= pPanel("hide");return false}).appendTo(h);var = f=3D{cursorMouseDownHandler:function(l){d.moveStartX=3Dl.pageX;d.moveStar= tY=3Dl.pageY;d.elementMoveStartX=3DparseInt(d.selectBoxCursor.css("left")= ,10);d.elementMoveStartY=3DparseInt(d.selectBoxCursor.css("top"),10);g(do= cument).bind("mouseup.glowColorSelector",function(c){f.endMoveTracking(c)= ;return false}).bind("mousemove.glowColorSelector",=0A= function(c){f.cursorMouseMoveHandler(c);return = false})},cursorMouseMoveHandler:function(l){var = c=3Dl.pageX-d.moveStartX;l=3Dd.elementMoveStartY+(l.pageY-d.moveStartY);i= f(l<0)l=3D0;if(l>255)l=3D255;c=3Dd.elementMoveStartX+c;if(c<0)c=3D0;if(c>= 255)c=3D255;d.selectBoxCursor.css({left:c+"px",top:l+"px"});f.updateTempo= raryValue()},hueCursorMouseDownHandler:function(l){d.moveStartX=3Dl.pageX= ;d.moveStartY=3Dl.pageY;d.elementMoveStartX=3DparseInt(d.hueSelectCursor.= css("left"),10);d.elementMoveStartY=3DparseInt(d.hueSelectCursor.css("top= "),=0A= 10);g(document).bind("mouseup.glowColorSelector",function(c){f.endMoveTra= cking(c);return = false}).bind("mousemove.glowColorSelector",function(c){f.hueCursorMouseMo= veHandler(c);return = false})},hueCursorMouseMoveHandler:function(l){l=3Dd.elementMoveStartY+((= typeof = l.pageY!=3D"undefined"?l.pageY:l.screenY)-d.moveStartY);if(l<0)l=3D0;if(l= >255)l=3D255;d.hueSelectCursor.css({top:l+"px"});f.updateTemporaryValue()= },endMoveTracking:function(){g(document).unbind("mouseup.glowColorSelecto= r").unbind("mousemove.glowColorSelector")},=0A= clickValueSaturationHandler:function(l){w.getWindowInfo();var = c=3Dw.getElementInfo(d.selectBox);d.selectBoxCursor.css({left:l.pageX-c.L= eft+"px",top:l.pageY-c.Top+"px"});f.updateTemporaryValue();f.cursorMouseD= ownHandler(l)},updateTemporaryValue:function(l){var = c=3DparseInt(d.selectBoxCursor.css("left"),10),b=3D(255-parseInt(d.select= BoxCursor.css("top"),10))/255,k=3D(255-parseInt(d.hueSelectCursor.css("to= p"),10))*(360/255),p=3Dw.convertHsvColorToRgbColor([k,1,255]);d.selectBox= Background.css({backgroundColor:w.convertRgbColorToHtmlColor(p)});=0A= p=3Dw.convertHsvColorToRgbColor([k,b,c]);c=3Dw.convertRgbColorToHtmlColor= (p);d.selectedColor.css({backgroundColor:c});l||d.selectedColor.val(c);d.= selectedColor.css({color:w.getContrastingHtmlColorForRgbColor(p)})},parse= EnteredColor:function(){var = l=3Dw.convertRgbColorToHsvColor(w.convertHtmlColorToRgbColor(d.selectedCo= lor.val()));d.selectBoxCursor.css({left:l[2]+"px",top:l[1]*-255+255+"px"}= );d.hueSelectCursor.css({top:l[0]/-(360/255)+255+"px"});f.updateTemporary= Value(true)},showColorSelector:function(l){d.popupPanel.glowPopUpPanel("h= ide");=0A= d.currentInput=3Dl;d.popupPanel.glowPopUpPanel("show",d.currentInput);l=3D= w.convertRgbColorToHsvColor(w.convertHtmlColorToRgbColor(d.currentInput.v= al()));d.selectBoxCursor.css({left:l[2]+"px",top:l[1]*-255+255+"px"});d.h= ueSelectCursor.css({top:l[0]/-(360/255)+255+"px"});d.selectedColor.val(d.= currentInput.val());f.updateTemporaryValue(true);u.setTimeout(f.focusColo= rSelector,99)},focusColorSelector:function(){if(d.popupPanel.glowPopUpPan= el("isOpening"))u.setTimeout(f.focusColorSelector,99);else = try{d.selectedColor.focus().select()}catch(l){}},=0A= selectTemporaryColor:function(){if(d.currentInput!=3D=3Dnull){n(d.current= Input,d.selectedColor.val(),true);try{d.currentInput.focus()}catch(l){}d.= popupPanel.glowPopUpPanel("hide")}},selectNoColor:function(){if(d.current= Input!=3D=3Dnull){n(d.currentInput,"",true);try{d.currentInput.focus()}ca= tch(l){}d.popupPanel.glowPopUpPanel("hide")}}};g.extend(d,f);return = d},n=3Dfunction(h,d,o){if(h){d=3Dd?w.convertRgbColorToHtmlColor(w.convert= HtmlColorToRgbColor(d)):"";var = f=3Dh.val()!=3Dd;h.val(d).css({backgroundColor:h.val(),=0A= color:w.getContrastingHtmlColorForRgbColor(w.convertHtmlColorToRgbColor(h= .val()))});f&&o&&h.trigger("change")}},m=3Dfunction(h){h.unbind("click.gl= owColorSelector").unbind("keydown.glowColorSelector").css({cursor:"defaul= t"}).attr("disabled","disabled")},a=3Dfunction(h){h.bind("click.glowColor= Selector",function(){h.blur();y.showColorSelector(h);return = false}).bind("keydown.glowColorSelector",function(d){if(d.keyCode!=3D9&&d= .keyCode!=3D16){h.blur();y.showColorSelector(h);return false}else return = true}).css({cursor:"pointer"}).removeAttr("disabled")},=0A= j=3Dfunction(h){return = h.is("input:disabled")};g.fn.glowColorSelector=3Dfunction(h){if(h in = z)return z[h].apply(this,Array.prototype.slice.call(arguments,1));else = if(typeof h=3D=3D=3D"object"||!h)return v.apply(this,arguments);else = g.error("Method "+h+" does not exist on = jQuery.fn.glowColorSelector")};g.extend(g.fn.glowColorSelector,{defaults:= {blendImageUrl:"hue_blend.png",hueBlendImageUrl:"sv_blend.png"}})})(jQuer= y,window);=0A= (function(g,u){var z=3D{val:function(h){if(h=3D=3D=3Dundefined){var = d=3Dg(this).data(w);if(d=3D=3D=3Dnull)return null;var = o=3Dd.internal.patternedTextBox.glowPatternedTextBox("getPatternValues"),= f,l,c;if(d.settings.yearIndex>=3D0){f=3DparseInt(o[d.settings.yearIndex],= 10);if(isNaN(f))return null}else f=3D(new = Date).getFullYear();if(d.settings.dayIndex>=3D0){c=3DparseInt(o[d.setting= s.dayIndex],10);if(isNaN(c))return null}else c=3D(new = Date).getDate();if(d.settings.monthIndex>=3D0){l=3Dn(d,o[d.settings.month= Index])-1;if(isNaN(l))return null}else l=3D=0A= (new Date).getMonth();h=3Dnew = Date(f,l,c);if(d.settings.hourIndex>=3D0){f=3DparseInt(o[d.settings.hourI= ndex],10);if(isNaN(f))return null;else = d.settings.amPmIndex>=3D0?h.setHours(m(d,f,o[d.settings.amPmIndex])):h.se= tHours(m(d,f,-1))}if(d.settings.minuteIndex>=3D0){d=3DparseInt(o[d.settin= gs.minuteIndex],10);if(isNaN(d))return null;else h.setMinutes(d)}return = h}else return this.each(function(){var = b=3Dg(this).data(w),k=3Db.internal.patternedTextBox.glowPatternedTextBox(= "getPatternValues");if(b.settings.yearIndex>=3D=0A= 0)k[b.settings.yearIndex]=3Dh.getFullYear();if(b.settings.monthIndex>=3D0= ){var p=3Db.settings.monthIndex,e;e=3Dh.getMonth()+1;var = q=3Db.internal.patternedTextBox.glowPatternedTextBox("getPatternValueOpti= on",b.settings.monthIndex,e-1);e=3Dq?q:parseInt(e,10);k[p]=3De}if(b.setti= ngs.dayIndex>=3D0)k[b.settings.dayIndex]=3Dh.getDate();if(b.settings.hour= Index>=3D0){p=3Db.settings.hourIndex;e=3Dh.getHours();k[p]=3Db.settings.a= mPmIndex>-1&&e>12?e-12:e}if(b.settings.minuteIndex>=3D0)k[b.settings.minu= teIndex]=3Dh.getMinutes();if(b.settings.amPmIndex>=3D=0A= 0){p=3Db.settings.amPmIndex;e=3Dh.getHours();e=3Db.settings.amPmIndex>-1?= e>=3D12?b.internal.patternedTextBox.glowPatternedTextBox("getPatternValue= Option",b.settings.amPmIndex,1):b.internal.patternedTextBox.glowPatterned= TextBox("getPatternValueOption",b.settings.amPmIndex,0):"";k[p]=3De}b.int= ernal.patternedTextBox.glowPatternedTextBox("setPatternValues",k)})},disa= bled:function(h){if(h=3D=3D=3Dundefined){var = d=3Dthis.data(w);if(d)return = d.internal.patternedTextBox.glowPatternedTextBox("disabled");return = false}else return this.each(function(){var o=3D=0A= g(this).data(w);o.internal.patternedTextBox.glowPatternedTextBox("disable= d",h);if(o.internal.popupButton)h?o.internal.popupButton.attr("disabled",= "disabled").unbind("click"+y):o.internal.popupButton.removeAttr("disabled= ").unbind("click"+y).bind("click"+y,function(){var = f=3Dz.val.apply(o.internal.state);f||(f=3Dnew = Date);o.internal.currentDate=3Df;o.internal.currentMonth=3Df.getMonth()+1= ;o.internal.currentYear=3Df.getFullYear();a(o);o.internal.popupPanel.glow= PopUpPanel("show",o.internal.popupButton)})})}},w=3D=0A= "_glowDateTimeSelector",y=3D".glowDateTimeSelector",v=3Dfunction(h){retur= n this.each(function(){var = d=3D{settings:g.extend({},g.fn.glowDateTimeSelector.defaults,h||{}),inter= nal:{state:g(this),initialized:false,patternedTextBox:null,popupButton:nu= ll,popupPanel:null,currentDate:new Date,currentYear:(new = Date).getFullYear(),currentMonth:(new = Date).getMonth()+1}};g(this).data(w,d);u.setTimeout(function(){r(d)},9)})= },r=3Dfunction(h){h.internal.patternedTextBox=3Dh.internal.state.glowPatt= ernedTextBox({pattern:h.settings.pattern,=0A= allowBlanks:h.settings.allowBlankValue,blankCharacter:"_",onValidation:fu= nction(d,o,f,l){if(!(!h.internal.initialized||h.settings.monthIndex<0||h.= settings.dayIndex<0)){d=3Dn(h,o[h.settings.monthIndex]);var = c=3DparseInt(o[h.settings.dayIndex],10),b=3D-1;if(h.internal.yearIndex>=3D= 0)b=3DparseInt(o[h.settings.yearIndex],10);if(!(isNaN(d)||isNaN(c))){var = k=3Do[h.settings.dayIndex];if(d=3D=3D2)if(!isNaN(b)&&b>-1&&(b%4=3D=3D=3D0= &&b%100!=3D=3D0||b%400=3D=3D=3D0)){if(c>29)k=3Dl=3D=3Dh.settings.dayIndex= &&f=3D=3D"next"?"01":"29"}else{if(c>28)k=3Dl=3D=3D=0A= h.settings.dayIndex&&f=3D=3D"next"?"01":"28"}else = if((d=3D=3D4||d=3D=3D6||d=3D=3D9||d=3D=3D11)&&c>30)k=3Dl=3D=3Dh.settings.= dayIndex&&f=3D=3D"next"?"01":"30";o[h.settings.dayIndex]=3Dk}}return = o}}).bind("glowPatternedTextBoxChange"+y,function(){h.internal.state.trig= ger("glowDateTimeSelectorChange")});if(h.settings.showPopup&&h.internal.s= tate){h.internal.popupButton=3Dh.settings.calendarButtonImageUrl?g('').css({borderTopColor:g.telligent.glow.utility.getCurrentStyleValue(h.= internal.state,=0A= "border-top-color","borderTopColor","#999"),borderLeftColor:g.telligent.g= low.utility.getCurrentStyleValue(h.internal.state,"border-left-color","bo= rderLeftColor","#999"),borderRightColor:g.telligent.glow.utility.getCurre= ntStyleValue(h.internal.state,"border-right-color","borderRightColor","#9= 99"),borderBottomColor:g.telligent.glow.utility.getCurrentStyleValue(h.in= ternal.state,"border-bottom-color","borderBottomColor","#999"),background= Color:g.telligent.glow.utility.getCurrentStyleValue(h.internal.state,=0A= "background-color","backgroundColor","#fff")}).attr("src",h.settings.cale= ndarButtonImageUrl).insertAfter(h.internal.state):g('').val(h.settings.calendarButtonText).addClass(h.settings.calendarButto= nCssClass).insertAfter(h.internal.state);h.internal.popupPanel=3Dg("
=
").insertAfter(h.internal.popupButton).glowPopUpPanel({cssClass:"",= position:"updown",zIndex:1E3,hideOnDocumentClick:true})}z.disabled.apply(= h.internal.state,[h.internal.patternedTextBox.glowPatternedTextBox("disab= led")]);=0A= h.internal.initialized=3Dtrue},n=3Dfunction(h,d){if(d=3D=3D=3Dundefined)r= eturn parseInt("NaN",10);if(isNaN(parseInt(d,10))){var = o=3Dh.internal.patternedTextBox.glowPatternedTextBox("getPatternValueOpti= onIndex",h.settings.monthIndex,d);if(o!=3D=3Dundefined)return o+1;return = parseInt("NaN",10)}else return = parseInt(d,10)},m=3Dfunction(h,d,o){d=3DparseInt(d,10);if(isNaN(d))return= = d;if(o!=3D=3Dundefined&&h.settings.amPmIndex>-1){h=3Dh.internal.patterned= TextBox.glowPatternedTextBox("getPatternValueOptionIndex",h.settings.amPm= Index,=0A= o);if(h=3D=3D=3D0){if(d=3D=3D12)d=3D0}else = if(h=3D=3D=3D1)if(d!=3D12)d+=3D12}return = d},a=3Dfunction(h){if(h.internal.popupPanel){h.internal.popupPanel.glowPo= pUpPanel("empty");var = d=3Dg("
").css({borderTopWidth:"1px",borderLeftWidth:"1px",bord= erRightWidth:"1px",borderBottomWidth:"1px",borderTopStyle:"solid",borderL= eftStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borde= rTopColor:g.telligent.glow.utility.getCurrentStyleValue(h.internal.state,= "border-top-color","borderTopColor","#999"),borderLeftColor:g.telligent.g= low.utility.getCurrentStyleValue(h.internal.state,=0A= "border-left-color","borderLeftColor","#999"),borderRightColor:g.telligen= t.glow.utility.getCurrentStyleValue(h.internal.state,"border-right-color"= ,"borderRightColor","#999"),borderBottomColor:g.telligent.glow.utility.ge= tCurrentStyleValue(h.internal.state,"border-bottom-color","borderBottomCo= lor","#999"),fontFamily:g.telligent.glow.utility.getCurrentStyleValue(h.i= nternal.state,"font-family","fontFamily","Arial, = Helvetica"),backgroundColor:g.telligent.glow.utility.getCurrentStyleValue= (h.internal.state,=0A= "background-color","backgroundColor","#fff"),padding:"2px",fontSize:g.tel= ligent.glow.utility.getCurrentStyleValue(h.internal.state,"font-size","fo= ntSize","9pt"),color:g.telligent.glow.utility.getCurrentStyleValue(h.inte= rnal.state,"color","color","#000")}),o=3Dg("
").attr("cellP= adding",0).attr("cellSpacing",0).css({borderWidth:"0px"}).appendTo(d);o=3D= g("").appendTo(o);var = f=3Dg(""),l=3Dg("").css({textAlign:"center",padding:"2p= x",cursor:"pointer"}).bind("click"+=0A= y,function(q){h.internal.currentMonth--;if(h.internal.currentMonth<1){h.i= nternal.currentMonth=3D12;h.internal.currentYear>0&&h.internal.currentYea= r--}a(h);q.stopPropagation();return = false}).appendTo(f);g("
").addClass(h.settings.previousButtonCs= sClass).html("<").appendTo(l);l=3Dg("").css({textAlign:"cente= r",padding:"2px",fontWeight:"bold",fontSize:"90%"}).attr("colSpan",5).htm= l(h.settings.monthNames[h.internal.currentMonth-1]+" = "+h.internal.currentYear).appendTo(f);l=3Dg("").css({textAlign:"= center",=0A= padding:"2px",cursor:"pointer"}).bind("click"+y,function(q){h.internal.cu= rrentMonth++;if(h.internal.currentMonth>12){h.internal.currentMonth=3D1;h= .internal.currentYear<9999&&h.internal.currentYear++}a(h);q.stopPropagati= on();return = false}).appendTo(f);g("
").addClass(h.settings.nextButtonCssCla= ss).html(">").appendTo(l);o.append(f);f=3Dg("");for(var = c=3D0;c").html(h.settings= .dayNames[c]).css({textAlign:"center",padding:"2px",fontWeight:"bold",=0A= borderBottomWidth:"1px",borderBottomStyle:"solid",fontSize:"90%",width:"1= 4%",borderBottomColor:g.telligent.glow.utility.getCurrentStyleValue(h.int= ernal.state,"border-bottom-color","borderBottomColor","#999")}).appendTo(= f);o.append(f);c=3Dnew = Date(h.internal.currentYear,h.internal.currentMonth-1,1);f=3Dg("= ");for(var = b=3D0,k=3D5;b").html(" ").css({fontSiz= e:"90%",padding:"2px",textAlign:"center",width:"14%"}).appendTo(f);b++}va= r p=3D31;if(h.internal.currentMonth=3D=3D2)p=3D=0A= !isNaN(h.internal.currentYear)&&h.internal.currentYear>-1&&(h.internal.cu= rrentYear%4=3D=3D=3D0&&h.internal.currentYear%100!=3D=3D0||h.internal.cur= rentYear%400=3D=3D=3D0)?29:28;else = if(h.internal.currentMonth=3D=3D4||h.internal.currentMonth=3D=3D6||h.inte= rnal.currentMonth=3D=3D9||h.internal.currentMonth=3D=3D11)p=3D30;var = e=3D-1;if(h.internal.currentMonth=3D=3Dh.internal.currentDate.getMonth()+= 1&&h.internal.currentYear=3D=3Dh.internal.currentDate.getFullYear())e=3Dh= .internal.currentDate.getDate();for(c=3D1;c<=3Dp;c++){b++;l=3Dg("").html(c).css({textAlign:"center",=0A= padding:"2px",fontSize:"90%",cursor:"pointer",width:"14%"}).bind("click"+= y,g.telligent.glow.utility.makeBoundFunction(j,null,[h,c])).bind("mouseov= er"+y,function(q){g(q.target).css({color:g.telligent.glow.utility.getCurr= entStyleValue(h.internal.state,"background-color","backgroundColor","#fff= "),backgroundColor:g.telligent.glow.utility.getCurrentStyleValue(h.intern= al.state,"color","color","#000")})}).bind("mouseout"+y,function(q){g(q.ta= rget).css({color:g.telligent.glow.utility.getCurrentStyleValue(h.internal= .state,=0A= "color","color","#000"),backgroundColor:g.telligent.glow.utility.getCurre= ntStyleValue(h.internal.state,"background-color","backgroundColor","#fff"= )})});c=3D=3De&&l.css({padding:"1px",borderTopWidth:"1px",borderLeftWidth= :"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderTopStyle:"sol= id",borderLeftStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"s= olid",borderTopColor:g.telligent.glow.utility.getCurrentStyleValue(h.inte= rnal.state,"color","color","#000"),borderLeftColor:g.telligent.glow.utili= ty.getCurrentStyleValue(h.internal.state,=0A= "color","color","#000"),borderRightColor:g.telligent.glow.utility.getCurr= entStyleValue(h.internal.state,"color","color","#000"),borderBottomColor:= g.telligent.glow.utility.getCurrentStyleValue(h.internal.state,"color","c= olor","#000")});f.append(l);if(b=3D=3D7){b=3D0;o.append(f);f=3Dg("");k--}}for(;b<7;){l=3Dg("").html(" ").css({fontSize:"90%= ",padding:"2px",textAlign:"center",width:"14%"}).appendTo(f);b++}for(o.ap= pend(f);k>0;){k--;f=3Dg("");for(c=3D0;c<7;c++)l=3Dg("")= .html(" ").css({fontSize:"90%",=0A= padding:"2px",textAlign:"center",width:"14%"}).appendTo(f);o.append(f)}h.= internal.popupPanel.glowPopUpPanel("append",d)}},j=3Dfunction(h,d){if(h){= var o=3Dz.val.apply(h.internal.state);if(o=3D=3D=3Dnull)o=3Dnew = Date;o=3Dnew = Date(h.internal.currentYear,h.internal.currentMonth-1,d,o.getHours(),o.ge= tMinutes(),o.getMilliseconds());var = f=3Dz.val.apply(h.internal.state);if(!f||f.getTime()!=3Do.getTime()){z.va= l.apply(h.internal.state,[o]);h.internal.state.trigger("glowDateTimeSelec= torChange")}h.internal.popupPanel.glowPopUpPanel("hide")}};=0A= g.fn.glowDateTimeSelector=3Dfunction(h){if(h in z)return = z[h].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof = h=3D=3D=3D"object"||!h)return v.apply(this,arguments);else = g.error("Method "+h+" does not exist on = jQuery.fn.glowDateTimeSelector")};g.extend(g.fn.glowDateTimeSelector,{def= aults:{pattern:"",yearIndex:-1,monthIndex:-1,dayIndex:-1,hourIndex:-1,min= uteIndex:-1,amPmIndex:-1,showPopup:true,allowBlankvalue:true,monthNames:[= "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov",=0A= "Dec"],dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],calendarButto= nCssClass:"",previousButtonCssClass:"",nextButtonCssClass:"",calendarButt= onText:"Select...",calendarButtonImageUrl:null}})})(jQuery,window);=0A= (function(g){var u=3Dfunction(z){var = w=3Dz.data("_delayedEnterLeaveContextKey");if(w=3D=3D=3Dnull||typeof = w=3D=3D=3D"undefined"){w=3D{enterTimeout:null,leaveTimeout:null};z.data("= _delayedEnterLeaveContextKey",w)}return = w};g.extend(g.event.special,{glowDelayedMouseEnter:{add:function(z){var = w=3Dz.data||500;g(z.selector).live("mouseenter",function(){var = y=3Dg(this),v=3Du(y);v.enterTimeout=3DsetTimeout(function(){y.trigger("gl= owDelayedMouseEnter");clearTimeout(v.enterTimeout)},w)}).live("mouseleave= ",function(){var y=3Du(g(this));=0A= clearTimeout(y.enterTimeout)})}},glowDelayedMouseLeave:{add:function(z){v= ar w=3Dz.data||500;g(z.selector).live("mouseleave",function(){var = y=3Dg(this),v=3Du(y);v.leaveTimeout=3DsetTimeout(function(){y.trigger("gl= owDelayedMouseLeave");clearTimeout(v.leaveTimeout)},w)}).live("mouseenter= ",function(){var = y=3Du(g(this));clearTimeout(y.leaveTimeout)})}}})})(jQuery);=0A= (function(g){var u=3D{val:function(a){if(a=3D=3D=3Dundefined){var = j=3Dthis.data("dropDownList");if(j&&j.internal.state&&j.internal.initiali= zed&&j.internal.state.selectedIndex>=3D0&&j.internal.state.selectedIndex<= j.internal.state.options.length)return = j.internal.state.options[j.internal.state.selectedIndex].value;return""}e= lse return this.each(function(){var = h=3Dg(this).data("dropDownList");if(h.internal.state&&h.internal.initiali= zed){for(var = d=3D0;d=3D0&&a=3D0&&a.internal.state.selectedIndex<= a.internal.items.length)return = a.internal.items[a.internal.state.selectedIndex].html;return""},disabled:= function(a){if(a=3D=3D=3D=0A= undefined){var j=3Dthis.data("dropDownList");if(j)return = j.internal.state.readonly}else return this.each(function(){var = h=3Dg(this).data("dropDownList");if(a){h.internal.button.style.cursor=3D"= default";h.internal.button.onclick=3Dnull;h.internal.button.style.backgro= undImage=3D"none";h.internal.button.style.backgroundColor=3Dh.internal.ba= ckgroundColor;h.internal.selectedItem.style.borderColor=3Dh.internal.back= groundColor;h.internal.state.readonly=3Dtrue}else{h.internal.button.style= .cursor=3D"pointer";h.internal.button.onclick=3D=0A= function(){y(h)};if(h.settings.buttonImageUrl)h.internal.button.style.bac= kgroundImage=3D"url('"+h.settings.buttonImageUrl+"')";h.internal.button.s= tyle.backgroundColor=3D"#cccccc";h.internal.selectedItem.style.borderColo= r=3D"#999999";h.internal.state.readonly=3Dfalse}})},refresh:function(){re= turn this.each(function(){var = a=3Dg(this).data("dropDownList");if(a.internal.initialized){for(var = j=3Du.val.apply(g(a.internal.state),[]);a.internal.state.childNodes.lengt= h>0;)a.internal.state.removeChild(a.internal.state.childNodes[0]);=0A= for(;a.internal.itemsContainer.childNodes.length>0;)a.internal.itemsConta= iner.removeChild(a.internal.itemsContainer.childNodes[0]);for(var = h=3D-1,d=3D0;d=3D0){a.internal.state.selectedIndex=3Dh;a.internal.selectedItem.in= nerHTML=3Da.settings.showHtmlWhenSelected?a.internal.items[h].html:a.inte= rnal.state.options[h].innerHTML}else{a.internal.selectedItem.innerHTML=3D= " ";u.selectedIndex.apply(g(a.internal.state),=0A= [0])}a.internal.highlightedItemIndex=3D-1}})},add:function(a){if(!a)retur= n this;u.remove.apply(this,[a]);var j=3Dtrue;return = this.each(function(){if(j)j=3Dfalse;else a=3Da._clone();var = h=3Dg(this).data("dropDownList");h.internal.items[h.internal.items.length= ]=3Da})},remove:function(a){if(!a)return this;return = this.each(function(){for(var = j=3Dg(this).data("dropDownList"),h=3D[],d=3Dfalse,o=3D0;o=3D0&&a=3D0&&n(a,a.= internal.state.selectedIndex)}else{a.internal.itemsContainer.style.overfl= ow=3D"hidden";a.internal.popupPanel.glowPopUpPanel("show",a.internal.butt= on);window.setTimeout(function(){v(a)},49)}},v=3Dfunction(a){if(a.interna= l.popupPanel.glowPopUpPanel("isOpening"))window.setTimeout(function(){v()= },49);else{try{a.internal.itemsContainer.style.overflow=3D"auto";a.intern= al.itemsContainer.style.overflowX=3D=0A= "hidden"}catch(j){}a.internal.state.selectedIndex>=3D0&&n(a,a.internal.st= ate.selectedIndex)}},r=3Dfunction(a,j){n(a,j)},n=3Dfunction(a,j){var = h=3Da.internal.itemsContainer.childNodes[j];h.style.backgroundColor=3D"#c= ccccc";h.style.borderColor=3D"#666666";if(h.offsetTop+h.offsetHeight>a.in= ternal.itemsContainer.scrollTop+a.internal.itemsContainer.offsetHeight)a.= internal.itemsContainer.scrollTop=3Dh.offsetTop+h.offsetHeight-a.internal= .itemsContainer.offsetHeight;else = if(h.offsetTop=3D0&&a.internal.highlight= edItemIndex!=3Dj){h=3Da.internal.itemsContainer.childNodes[a.internal.hig= hlightedItemIndex];h.style.backgroundColor=3Da.internal.backgroundColor;h= .style.borderColor=3Da.internal.backgroundColor}a.internal.highlightedIte= mIndex=3Dj};g.fn.glowDropDownList=3Dfunction(a){if(a in u)return = u[a].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof = a=3D=3D=3D"object"||!a)return z.apply(this,arguments);else = g.error("Method "+a+" does not exist on jQuery.fn.glowDropDownList")};=0A= g.extend(g.fn.glowDropDownList,{defaults:{selectedItemWidth:200,selectedI= temHeight:32,itemsWidth:200,itemsHeight:300,itemsHtml:[],showHtmlWhenSele= cted:true,buttonImageUrl:"button.gif"}});var m=3Dfunction(a){var = j=3D{value:"",text:"",html:a.text};a&&g.extend(j,a);this.text=3Dj.text;th= is.value=3Dj.value;this.html=3Dj.html};m.prototype._clone=3Dfunction(){re= turn new m({value:this.value,text:this.text,html:this.html})}})(jQuery);=0A= (function(g,u){var z=3D{val:function(){var j=3Dg(this).data(w);return = j!=3D=3Dnull&&typeof = j.file!=3D=3D"undefined"&&j.file!=3D=3Dnull?{name:j.file.name}:null}},w=3D= "_glowUpload",y=3D{begun:"glowUploadBegun",complete:"glowUploadComplete",= error:"glowUploadError"},v=3Dfunction(j){return this.each(function(){var = h=3Dg(this),d=3Dg.extend({},g.fn.glowUpload.defaults,j||{},{pluploader:nu= ll,file:null,fileOffset:0,fileState:"",isUploading:false,currentUploadPer= cent:0,fileContainer:null});g.extend(d,{container:h,initialized:false});=0A= g(this).data(w,d);d.container.find('input[type=3D"file"]').bind("change",= function(){d.container.trigger(y.begun).trigger(y.complete)}).hide();g("<= div>").css({fontSize:"11px",borderWidth:"1px",borderStyle:"solid",b= orderColor:"#999",width:d.width,overflow:"auto",overflowX:"hidden",backgr= oundColor:"#eee",textAlign:"center",padding:".25em"}).append(g('').attr("disabled","disabled").css({borderColor:"Transparent",backgroun= dColor:"Transparent"})).appendTo(d.container);=0A= r(d)})},r=3Dfunction(j){for(var = h=3D["1234567890","0987654321","0192837465","5647382910"],d=3D[],o=3D0;o<= 2500;o++)d[d.length]=3Dh[Math.floor(Math.random()*h.length)];var = f=3D(new = Date).getTime();jQuery.ajax({type:"POST",url:j.uploadUrl,data:{test:d.joi= n("")},success:function(){var l=3D(new = Date).getTime();n(j,2E5/((l-f)/1E3)*45)},error:function(){n(j,1E6)}})},n=3D= function(j,h){if(/Mozilla[^\(]*\(.*? = rv:([0-9]+)\.([0-9]+)\.([0-9]+)/.test(navigator.userAgent))if(parseInt(Re= gExp.$1,10)<1||parseInt(RegExp.$2,10)<9||=0A= parseInt(RegExp.$3,10)<2)j.runtimes=3Dj.runtimes.replace(/,?flash/i,"");j= .file=3D{name:"",id:"preuploaded",fileState:"uploaded"};var = d=3D"15mb";if(h<15E6){d=3DMath.floor(h);if(d<1E6)d=3D1E6;d=3DMath.floor(h= /1E6)+"mb"}d=3D{runtimes:j.runtimes,max_file_size:j.maxFileSize,container= :j.container.attr("id"),url:j.uploadUrl,flash_swf_url:j.swfUrl,silverligh= t_xap_url:j.silverlightUrl,chunk_size:d,multi_selection:false,drop_elemen= t:j.container.attr("id")};if(j.fileFilter!=3D=3Dnull)d.filters=3Dj.fileFi= lter;j.pluploader=3Dnew plupload.Uploader(d);=0A= j.pluploader.bind("Init",function(){j.container.children(":not(.plupload)= ").remove();var = o=3Dg("
").css({fontSize:"11px",borderWidth:"1px",borderStyle:"= solid",borderColor:"#999",width:j.width,overflow:"auto",overflowX:"hidden= ",backgroundColor:"#fff"}).appendTo(j.container),f=3Dg("
")= .attr("border",0).attr("cellSpacing",0).attr("cellPadding",0).css({width:= "100%"}),l=3Dg("").appendTo(f);l=3Dg("").appendTo= (l);j.fileContainer=3Dg("").appendTo(l).css({width:"100%"});=0A= l=3Dg("").css({backgroundColor:"#eee",borderLeftWidth:"1px",bord= erLeftStyle:"solid",borderLeftColor:"#999",padding:".25em"}).attr("vAlign= ","top").appendTo(l);g('').appendTo(l);o.append(f);m(j);j.pluploader.settings.browse_button=3Dj= .container.attr("id")+"_browseButton";j.initialized=3Dtrue});j.pluploader= .bind("FilesAdded",function(o,f){j.addedFiles=3Df});j.pluploader.bind("Qu= eueChanged",function(){a(j)});j.pluploader.bind("UploadProgress",=0A= function(o,f){if(!(!f||!j.file||f.id!=3Dj.file.id))if(f.status=3D=3Dplupl= oad.UPLOADING){if(!j.isUploading){var = l=3D!j.isUploading;j.isUploading=3Dtrue;j.currentUploadPercent=3D0;m(j);l= &&j.container.trigger(y.begun)}j.currentUploadPercent=3Df.percent;m(j)}el= se = if(f.status=3D=3Dplupload.FAILED){j.isUploading=3Dfalse;j.fileState=3D"er= ror";m(j);j.container.triggerr("glowUploadError")}});j.pluploader.bind("F= ileUploaded",function(o,f){j.fileState=3D"uploaded";m(j);j.container.trig= ger(y.complete,{name:f.name})});j.pluploader.bind("Error",=0A= function(o,f){if(!j.initialized){var = l=3Dj.notSupportedMessage;if(!l){l=3D[];j.runtimes.indexOf("html5")>-1&&l= .push("An HTML5 capable = browser");j.runtimes.indexOf("silverlight")>-1&&l.push('Silverlight');j.runtimes.indexOf("flash")>-1&&l.pus= h('Flash');if(l.length=3D=3D0)l=3D"Uploading is not = supported.";else{if(l.length>1)l[l.length-1]=3D"or = "+l[l.length-1];l=3Dl.join(", ")+" is required to = upload."}}j.container.children().hide();=0A= g("
").css({fontSize:"11px",borderWidth:"1px",borderStyle:"soli= d",borderColor:"#999",width:j.width,overflow:"auto",overflowX:"hidden",ba= ckgroundColor:"#eee",textAlign:"center",padding:".25em",color:"#000"}).ht= ml(l).appendTo(j.container)}if(f.file){j.isUploading=3Dfalse;j.fileState=3D= "error";m(j);j.container.trigger(y.error)}});u.setTimeout(function(){j.pl= uploader.init()},9)},m=3Dfunction(j){var = h=3D"";if(j.file)h=3Dj.fileState=3D=3D=3D"uploaded"?j.uploadedFormat.repl= ace("{0}",j.file.name):j.fileState=3D=3D=3D=0A= "error"?j.errorFormat.replace("{0}",j.file.name):j.isUploading?j.uploadin= gFormat.replace("{0}",j.file.name).replace("{1}",j.currentUploadPercent):= j.toUploadFormat.replace("{0}",j.file.name);j.fileContainer.html(h)},a=3D= function(j){if(j.addedFiles){for(var = h=3D[],d=3D0;d
Uploaded
{0}',uploadingFormat:'
{0}
',=0A= toUploadFormat:'
{0}
',errorFormat:'
Error
{0}
',runtimes:"html5,flash"}})})(jQuery,window);=0A= (function(g){var u=3D{disabled:function(e){if(e=3D=3D=3Dundefined){var = q=3Dthis.data("lookUpTextBox");if(q)return = q.internal.state.readonly}else return this.each(function(){var = t=3Dg(this).data("lookUpTextBox");if(e){t.internal.cursor.style.visibilit= y=3D"hidden";t.internal.container.style.cursor=3D"default";t.internal.con= tainer.onclick=3Dnull;t.internal.state.readonly=3Dtrue;t.internal.emptyHt= mlContainer.style.visibility=3D"hidden"}else{t.internal.cursor.style.visi= bility=3D"visible";t.internal.container.style.cursor=3D"text";=0A= t.internal.container.onclick=3Dfunction(s){k(t,s)};t.internal.state.reado= nly=3Dfalse;t.internal.emptyHtmlContainer.style.visibility=3D"visible"}m(= t)})},updateSuggestions:function(e){return this.each(function(){var = q=3Dg(this).data("lookUpTextBox");q.internal.lookUps=3D[];if(e)for(var = t=3D0;t=3D0&&e=3D0&&e=3D0&&_highlightItem(e,e.internal.state.selectedIndex)}},n= =3Dfunction(e){if(e&&e.internal.initialized){for(;e.internal.lookUpsConta= iner.childNodes.length>0;)e.internal.lookUpsContainer.removeChild(e.inter= nal.lookUpsContainer.childNodes[0]);if(e.internal.lookUps.length>0){for(v= ar = q=3De.internal.lookUpsIndex,t=3D0;t=3De= .internal.lookUps.length)q=3D0;h(e,q);y(e)}else = v(e)}},m=3Dfunction(e){for(;e.internal.container.childNodes.length>=0A= 3;)e.internal.container.removeChild(e.internal.container.childNodes[0]);f= or(var q=3D0;q0&&e.settings.maxValues=3D=3De.internal.selectedLookUps.le= ngth){e.internal.container.childNodes[e.internal.container.childNodes.len= gth-2].style.display=3D"none";e.internal.container.childNodes[e.internal.= container.childNodes.length-3].style.display=3D"none"}else{e.internal.con= tainer.childNodes[e.internal.container.childNodes.length-2].style.display= =3D"inline";e.internal.container.childNodes[e.internal.container.childNod= es.length-=0A= 3].style.display=3D"inline"}},a=3Dfunction(e,q){u.removeByIndex.apply(g(e= .internal.state),[q]);g(e.internal.state).trigger("glowLookUpTextBoxChang= e");return = false},j=3Dfunction(e,q){if(e.internal.lookUps[q]&&e.internal.lookUps[q].= Selectable){if(!e.settings.allowDuplicates)for(var = t=3D0;te.= internal.lookUpsContainer.scrollTop+e.internal.lookUpsContainer.offsetHei= ght)e.internal.lookUpsContainer.scrollTop=3Dt.offsetTop+t.offsetHeight-=0A= e.internal.lookUpsContainer.offsetHeight;else = if(t.offsetTop=3D0&&e.intern= al.lookUpsIndex!=3Dq){t=3De.internal.lookUpsContainer.childNodes[e.intern= al.lookUpsIndex];t.style.backgroundColor=3De.internal.backgroundColor;t.s= tyle.borderColor=3De.internal.backgroundColor}e.internal.lookUpsIndex=3Dq= }},d=3Dfunction(e,q){j(e,q);return = false},o=3Dfunction(e){if(e.internal.lastCursorValue!=3De.internal.cursor= .value&&=0A= e.internal.cursor.value.length>0)f(e);else = e.internal.cursorChangeHandler=3Dwindow.setTimeout(function(){o(e)},149)}= ,f=3Dfunction(e,q){if(!q)q=3Dwindow.event;if(e.internal.lastCursorValue!=3D= e.internal.cursor.value){e.internal.cursorChangeHandler&&window.clearTime= out(e.internal.cursorChangeHandler);if(e.settings.maxValues>0&&e.internal= .selectedLookUps.length>=3De.settings.maxValues){window.setTimeout(functi= on(){e.internal.cursor.value=3D""},19);return = false}e.internal.lastCursorValue=3De.internal.cursor.value;=0A= if(e.internal.lastCursorValue!=3D"")e.settings.onGetLookUps&&e.settings.o= nGetLookUps(g(e.internal.state),e.internal.lastCursorValue);else = v(e)}return = true},l=3Dfunction(e){e.internal.emptyHtmlContainer.style.display=3D"none= ";e.internal.cursorHasFocus=3Dtrue;e.internal.cursorChangeHandler=3Dwindo= w.setTimeout(function(){o(e)},149)},c=3Dfunction(e){e.internal.cursorChan= geHandler&&clearTimeout(e.internal.cursorChangeHandler);e.internal.cursor= HasFocus=3Dfalse;window.setTimeout(function(){e.internal.cursor.value=3D"= ";=0A= e.internal.lastCursorValue=3D"";e.internal.mouseIsOverPopup||v(e);if(e.in= ternal.selectedLookUps.length=3D=3D0&&!e.internal.cursorHasFocus)e.intern= al.emptyHtmlContainer.style.display=3D"block"},99)},b=3Dfunction(e,q){if(= !q)q=3Dwindow.event;if(q.keyCode=3D=3D8){if(e.internal.selectedLookUps.le= ngth>0&&g.telligent.glow.utility.getCurrentCursorIndex(e.internal.cursor)= =3D=3D0){u.removeByIndex.apply(g(e.internal.state),[e.internal.selectedLo= okUps.length-1]);g(e.internal.state).trigger("glowLookUpTextBoxChange")}r= eturn true}else if(q.keyCode=3D=3D=0A= 38||q.keyCode=3D=3D40||q.keyCode=3D=3D13){if(q.keyCode=3D=3D38)e.internal= .popupPanel.glowPopUpPanel("isShown")&&e.internal.lookUpsIndex>0&&h(e,e.i= nternal.lookUpsIndex-1);else = if(q.keyCode=3D=3D40)e.internal.popupPanel.glowPopUpPanel("isShown")&&e.i= nternal.lookUpsIndex=3D0)j(e,e.internal.lookUpsIndex);else{e.internal= .cursor.value=3D"";e.internal.lastCursorValue=3D=0A= ""}q.cancelBubble=3Dtrue;q.preventDefault&&q.preventDefault();q.stopProga= gation&&q.stopPropagation();return false}else = if(q.keyCode=3D=3D9)if(e.internal.popupPanel.glowPopUpPanel("isShown")&&e= .internal.lookUpsIndex>=3D0)j(e,e.internal.lookUpsIndex);else{e.internal.= cursor.value=3D"";e.internal.lastCursorValue=3D""}else = if(e.settings.maxValues>0&&e.internal.selectedLookUps.length>=3De.setting= s.maxValues){q.cancelBubble=3Dtrue;q.preventDefault&&q.preventDefault();q= .stopProgagation&&q.stopPropagation();return false}return true},=0A= k=3Dfunction(e){e.internal.emptyHtmlContainer.style.display=3D"none";try{= e.internal.cursor.focus()}catch(q){}return = false},p=3Dfunction(e){for(var = q=3D[],t=3D0;t0?j[0]:null},v=3Dfunction(){if(z.defaults.openInParentModa= l)try{if(u.parent&&u.parent!=3Du&&parent.$&&parent.$.glowModal)return = u.parent}catch(m){}return null},r=3Dfunction(m){return = y(w,function(a){return = a.shown()&&a._openerWindow=3D=3Dm})},n=3Dfunction(m){this._id=3Dm;this._i= nitialized=3Dthis._isShown=3Dfalse;this._animationHandle=3Dthis._modalCon= tent=3Dthis._modalFooter=3Dthis._modalResize=3Dthis._modalIframe=3Dthis._= modalMask=3Dthis._modalAnimationMask=3Dthis._modalClose=3Dthis._modalTitl= e=3Dthis._modal=3Dnull;this._isOpening=3D=0A= false;this._lastWindowInfo=3Dthis._lastModalInfo=3Dthis._checkForScrollre= sizeHandle=3Dnull;this._isDragging=3Dfalse;this._resizeModalInfo=3Dthis._= moveModalInfo=3Dnull;this._isResizing=3Dfalse};g.extend(n.prototype,{_ani= mate:function(m,a,j,h){this._animationHandle&&u.clearTimeout(this._animat= ionHandle);if(this._isOpening){var = d=3DparseInt(this._modal.style.top,10);if(j<0&&d0&&d>m||Math.abs(j)= <1){this._modal.style.top=3Dm+"px";this._modalAnimationMask.style.overflo= w=3D"visible";this._animationHandle=3Dnull;if(!this._isResizing&&=0A= !this._isDragging)this._modalIframe.style.visibility=3D"visible";this._is= Opening=3Dfalse;this._lastWindowInfo=3Dg.telligent.glow.utility.getWindow= Info();var = o=3Dthis;this._checkForScrollresizeHandle=3Du.setTimeout(function(){o._ch= eckForScrollresize()},249)}else{this._modal.style.top=3Da+"px";a+=3Dj;if(= j>0&&a>m)a=3Dm;else = if(j<0&&aa.Height-f)h=3Da.Height-f;if(= d>a.Width-l)d=3Da.Width-l;var = c=3Dh!=3Dthis._lastModalInfo.Height&&(h>this._lastModalInfo.Height||this.= _lastModalInfo.Height-h>64&&h>32)&&(!this._lastModalInfo.IsManuallyresize= d||h>this._lastModalInfo.Height),b=3Dd!=3Dthis._lastModalInfo.Width&&(d>t= his._lastModalInfo.Width||this._lastModalInfo.Width-d>64&&d>32)&&(!this._= lastModalInfo.IsManuallyresized||d>this._lastModalInfo.Width);if(c||b){th= is.resize(b?d:this._lastModalInfo.Width,c?h:this._lastModalInfo.Height,=0A= false);return}}}catch(k){}var = p=3Dthis;this._checkForScrollresizeHandle=3Du.setTimeout(function(){p._ch= eckForScrollresize()},249)}}},_initialize:function(){this._modalMask=3Ddo= cument.createElement("div");this._modalMask.style.height=3D"0";this._moda= lMask.style.position=3D"absolute";this._modalMask.style.visibility=3D"hid= den";this._modalMask.style.overflow=3D"hidden";var = m=3Dthis._modalMask;if(this._settings.windowMaskCssClasses.length>0){m.cl= assName=3Dthis._settings.windowMaskCssClasses[0];for(var = a=3D1;a0= ){m.className=3Dthis._settings.windowCssClasses[0];for(a=3D1;a=0A= 0){this._modalTitle.className=3Dthis._settings.windowTitleCssClasses[0];f= or(a=3D1;a0){h.clas= sName=3Dthis._settings.windowCloseCssClasses[0];for(a=3D1;a0){this._mod= alContent.className=3Dthis._settings.windowContentCssClasses[0];for(a=3D1= ;a0){= m.className=3Dthis._settings.windowFooterCssClasses[0];for(a=3D1;a=0A= 0){m.className=3Dthis._settings.windowResizeCssClasses[0];for(a=3D1;athis._lastWindowInfo.Width)this._setti= ngs.width=3Dthis._lastWindowInfo.Width-o;this._modalAnimationMask.style.w= idth=3Dthis._settings.width+"px";this._modalContent.style.width=3Dthis._s= ettings.width+"px";if(this._settings.height+c>this._lastWindowInfo.Height= )this._settings.height=3Dthis._lastWindowInfo.Height-c;if(this._settings.= widththis._lastWindowInfo.Width+this._lastWindowInfo.ScrollX)a=3Dthis._= lastWindowInfo.Width+this._lastWindowInfo.ScrollX-o;if(athis._lastWindowInfo.Height+th= is._lastWindowInfo.ScrollY)j=3Dthis._lastWindowInfo.Height+this._lastWind= owInfo.ScrollY-c;if(j=0A= -1&&q.push("An HTML5 capable = browser");f.runtimes.indexOf("silverlight")>-1&&q.push('Silverlight');f.runtimes.indexOf("flash")>-1&&q.pus= h('Flash');if(q.length=3D=3D0)q=3D"Uploading is not = supported.";else{if(q.length>1)q[q.length-1]=3D"or = "+q[q.length-1];q=3Dq.join(", ")+" is required to = upload."}}f.container.children().hide();g("
").css({fontSize:"1= 1px",borderWidth:"1px",=0A= borderStyle:"solid",borderColor:"#999",width:f.width,overflow:"auto",over= flowX:"hidden",backgroundColor:"#eee",textAlign:"center",padding:".25em",= color:"#000"}).html(q).appendTo(f.container)}if(e.file){f.isUploading=3Df= alse;f.erroredFiles[e.file.id]=3Dtrue;f.currentUploadId=3Dnull;a(f);f.con= tainer.trigger(y.error)}});f.pluploader.bind("UploadComplete",function(p,= e){j(f,e)});u.setTimeout(function(){f.pluploader.init()},9);f.container.f= ind('input[type=3D"file"]').hide()},m=3Dfunction(f){u.clearTimeout(f.auto= UploadHandle);=0A= if(f.addedFiles){for(var = l=3D[],c=3D0;c0&&f.files.length+l.le= ngth>f.maxFileCount){for(b=3D=0A= 0;b0&&f.autoUpload)f.autoUpload= Handle=3Du.setTimeout(function(){d(f)},499)}}},a=3Dfunction(f){u.clearTim= eout(f.fileListRefreshHandle);var l=3D(new = Date).getTime();if(f.lastFileListRefresh>0&&l-f.lastFileListRefresh<1E3)f= .fileListRefreshHandle=3Du.setTimeout(function(){a(f)},1001-(l-f.lastFile= ListRefresh));else{f.lastFileListRefresh=3D=0A= l;l=3D[];for(var = c=3D0;c").css({fontSize:"11px",borderWidth:"1px",borderStyle:"= solid",borderColor:"#999",borderBottomWidth:"0px",width:f.width,overflow:= "auto",overflowX:"hidden",padding:".35em",backgroundColor:"#fff"});f.heig= ht&&f.height!=3D=0A= "100%"?f.listContainer.css({height:f.height}):f.listContainer.css({minHei= ght:"50px"});f.container.append(f.listContainer);var = l=3Dg("
").css({fontSize:"11px",borderWidth:"1px",borderStyle:"= solid",borderColor:"#999",width:f.width,padding:".35em",backgroundColor:"= #eee",textAlign:"left"});if(f.autoUpload=3D=3D=3Dfalse)f.uploadButton=3Dg= ('').val("Upload").css({cssFloat:"right"}).bind("click",function(){d(f);r= eturn false}).attr("disabled","disabled").appendTo(l);var c=3Dg('').val("Browse...").css({cssFloat:"left"}).attr("id",=0A= f.variableName+"_browseButton").appendTo(l);g("
").css({clear:"= both",height:"0px",overflow:"hidden"}).appendTo(l);f.container.append(l);= a(f);f.pluploader.settings.browse_button=3Dc.attr("id");f.pluploader.sett= ings.drop_element=3Df.container.attr("id");f.initialized=3Dtrue},d=3Dfunc= tion(f){f.pluploader&&u.setTimeout(function(){f.pluploader.start()},99)},= o=3Dfunction(f){if(f.pluploader)try{var = l=3Df.pluploader.getFile(file_id);l&&f.pluploader.removeFile(l)}catch(c){= }f.cancelledFiles[file_id]=3Dtrue;a(f)};=0A= g.fn.glowMultiUpload=3Dfunction(f){if(f in z)return = z[f].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof = f=3D=3D=3D"object"||!f)return v.apply(this,arguments);else = g.error("Method "+f+" does not exist on = jQuery.fn.glowMultiUpload")};g.extend(g.fn.glowMultiUpload,{defaults:{fil= eFilter:null,maxFileSize:"2048mb",width:"350px",height:"200px",uploadUrl:= "/",autoUpload:true,maxFileCount:5,fileList:[],swfUrl:"plupload.flash.swf= ",silverlightUrl:"",uploadedFormat:'
Uploaded
{0}
',=0A= uploadingFormat:'
{0}
',toUploadFormat:'',=0A= errorFormat:'
Error
{0}
',cancelledFormat:'
Cancelled
{0}
',=0A= firstItemRemove:"border-top: solid 1px #eee; padding-top: .25em; = margin-top: .25em;",runtimes:"html5,flash"}})})(jQuery,window);=0A= (function(g){var u=3D{refreshPagePosition:function(){return = this.each(function(){var = c=3Dg(this).data("orderedList");c.internal.pagePosition=3Dg.telligent.glo= w.utility.getElementInfo(c.internal.itemsContainer)})},getIndexByPosition= :function(c,b){var = k=3Dthis.data("orderedList");if(k){k.internal.pagePosition=3D=3Dnull&&u.r= efreshPagePosition.apply(g(k.internal.state));if(c>k.internal.pagePositio= n.Left&&ck= .internal.pagePosition.Top&&b0){var = b=3Dc.internal.selectedIndex,k=3Dc.internal.selectedIndex-1;n(c,c.interna= l.selectedIndex,k);u.select.apply(g(c.internal.state),[k,true]);var = p=3Dc.internal.items[k];g(c.internal.state).trigger(z.itemMoved,[p,b,k])}= })},moveDown:function(){return this.each(function(){var = c=3Dg(this).data("orderedList");if(c.internal.selectedIndex>=3D0&&c.inter= nal.selectedIndex0;)c.internal.itemsContainer.removeChi= ld(c.internal.itemsContainer.childNodes[0]);for(var = b=3D0;b-1)if(k.inte= rnal.selectedIndex!=3Dc||b){if(k.internal.selectedIndex>-1){k.internal.it= emsContainer.childNodes[k.internal.selectedIndex].style.backgroundColor=3D= k.internal.backgroundColor;k.internal.itemsContainer.childNodes[k.interna= l.selectedIndex].style.borderColor=3D=0A= k.internal.backgroundColor}k.internal.selectedIndex=3Dc;k.internal.itemsC= ontainer.childNodes[c].style.backgroundColor=3D"#cccccc";k.internal.items= Container.childNodes[c].style.borderColor=3D"#666666";h(k,c);try{k.intern= al.moveItemLastIndex!=3Dnull&&f(k,k.internal.moveItemLastIndex)}catch(p){= }g(k.internal.state).trigger(z.itemSelected,[k.internal.items[k.internal.= selectedIndex]])}else{k.internal.itemsContainer.childNodes[k.internal.sel= ectedIndex].style.backgroundColor=3Dk.internal.backgroundColor;k.internal= .itemsContainer.childNodes[k.internal.selectedIndex].style.borderColor=3D=0A= k.internal.backgroundColor;k.internal.selectedIndex=3D-1}})},add:function= (c){if(!c)return this;u.remove.apply(this,[c]);var b=3Dtrue;return = this.each(function(){if(b)b=3Dfalse;else c=3Dc._clone();var = k=3Dg(this).data("orderedList");k.internal.items[k.internal.items.length]= =3Dc;var = p=3Ddocument.createElement("option");p.name=3Dc.text;p.value=3Dc.value;k.= internal.state.appendChild(p);g(k.internal.state).trigger(z.itemAdded,p)}= )},remove:function(c){if(!c)return this;return = this.each(function(){for(var b=3Dg(this).data("orderedList"),=0A= k=3D[],p=3Dfalse,e=3D0;e=3D0&&c=0A= 0){c.internal.itemsContainer.style.cursor=3D"move";for(b=3D0;b=3D0){if(c.internal.moveItemLastIndex>0)t-=3Dc.internal.itemsCon= tainer.childNodes[c.internal.moveItemLastIndex-1].offsetHeight;if(c.inter= nal.moveItemLastIndex=0A= e&&bt&&kk;e--)c.internal.items[e]=3Dc.internal.items[e-1];c.internal.= items[k]=3Dp}if(c.internal.initialized&&bk)c.internal.itemsContainer.insertBefore(c.internal.itemsContainer.c= hildNodes[b],c.internal.itemsContainer.childNodes[k]);else = b=3Dk;e--){c.internal.itemsContainer.childNodes[e].onmouseover= =3Dg.telligent.glow.utility.makeBoundFunction(o,null,[c,e]);c.internal.it= emsContainer.childNodes[e].onmouseout=3Dg.telligent.glow.utility.makeBoun= dFunction(f,null,[c,e]);c.internal.itemsContainer.childNodes[e].onclick=3D= g.telligent.glow.utility.makeBoundFunction(u.select,g(c.internal.state),[= e])}}}},m=3Dfunction(c){return c.internal.moveStartY!=3D=0A= null&&c.internal.moveItemLastIndex!=3Dnull},a=3Dfunction(c,b){if(!b)b=3Dw= indow.event;if(c.internal.moveItemLastIndex>=3D0&&c.internal.moveItemLast= Index0&&!c.internal.moveItemIsFloating&&!r(c,q,e,true)){t=3Dc.i= nternal.moveItemLastIndex;if(!c.internal.moveItemFloat){c.internal.moveIt= emFloat=3Ddocument.createElement("div");c.internal.moveItemFloat.style.po= sition=3D"absolute";c.internal.moveItemFloat.style.opacity=3D".75";if(g.t= elligent.glow.utility.isIE())c.internal.moveItemFloat.style.filter=3D"pro= gid:DXImageTransform.Microsoft.Alpha(opacity=3D75)";c.internal.moveItemFl= oat.style.backgroundColor=3D=0A= "#cccccc";c.internal.moveItemFloat.style.borderColor=3D"#666666";c.intern= al.moveItemFloat.style.fontFamily=3Dc.internal.itemsContainer.style.fontF= amily;c.internal.moveItemFloat.style.fontSize=3Dc.internal.itemsContainer= .style.fontSize;c.internal.moveItemFloat.style.lineHeight=3Dc.internal.it= emsContainer.style.lineHeight;c.internal.moveItemFloat.style.color=3Dc.in= ternal.itemsContainer.style.color;c.internal.moveItemFloat.style.padding=3D= "2px";c.internal.moveItemFloat.style.cursor=3D"move";c.internal.moveItemF= loat.style.borderStyle=3D=0A= "dotted";c.internal.moveItemFloat.style.borderWidth=3D"1px";document.body= .appendChild(c.internal.moveItemFloat)}for(;c.internal.moveItemFloat.chil= dNodes.length>0;)c.internal.moveItemFloat.removeChild(c.internal.moveItem= Float.childNodes[c.internal.moveItemFloat.childNodes.length-1]);c.interna= l.moveItemFloat.style.width=3Dc.internal.itemsContainer.childNodes[t].off= setWidth+"px";c.internal.moveItemFloat.style.height=3Dc.internal.itemsCon= tainer.childNodes[t].offsetHeight+"px";c.internal.moveItemFloat.innerHTML= =3D=0A= c.internal.itemsContainer.childNodes[t].innerHTML;c.internal.moveItemIsFl= oating=3Dtrue;c.internal.moveItemFloat.style.display=3D"block"}if(c.inter= nal.moveItemIsFloating){c.internal.moveItemFloat.style.left=3Dq-c.interna= l.moveItemFloat.offsetWidth/2+"px";c.internal.moveItemFloat.style.top=3De= -c.internal.moveItemFloat.offsetHeight/2+"px";if(r(c,q,e,true)){c.interna= l.moveItemFloat.style.display=3D"none";c.internal.moveItemIsFloating=3Dfa= lse}else for(var = s=3D0;s=3D0){var = x=3Dc.internal.items[c.internal.moveItemLastIndex];j(c,p,true);u.remove.a= pply(g(c.internal.state),[x]);u.refresh.apply(g(c.internal.state),[]);g(c= .internal.state).trigger(z.itemRemoved,x);c.internal.draggableOrderedList= s[s].glowOrderedList("addDraggedItem",x,t,p);c.internal.moveItemFloat.sty= le.display=3D"none";c.internal.moveItemIsFloating=3Dfalse}}if(m(c)&&!c.in= ternal.moveItemIsFloating){e=3De-c.internal.moveStartY;e+=3Dc.internal.it= emsContainer.scrollTop-c.internal.moveScrollStartY;p=3Dc.internal.moveIte= mStartIndex;=0A= if(e>0)for(e=3De;p+1c.internal.move= ItemHeights[p+1];){p++;e-=3Dc.internal.moveItemHeights[p]}else = for(e=3D-e;p-1>=3D0&&e>c.internal.moveItemHeights[p-1];){p--;e-=3Dc.inter= nal.moveItemHeights[p]}t=3Dp;if(t!=3Dc.internal.moveItemLastIndex&&t!=3Dn= ull){n(c,c.internal.moveItemLastIndex,t);c.internal.moveItemLastIndex=3Dt= ;u.select.apply(g(c.internal.state),[t,true])}}}return = false})}},j=3Dfunction(c,b,k){for(b=3D0;bc.internal.itemsContainer.scrollTop+c.internal.itemsContainer.offsetHeig= ht)c.internal.itemsContainer.scrollTop=3Dk.offsetTop+=0A= k.offsetHeight-c.internal.itemsContainer.offsetHeight;else = if(k.offsetTop]{1,}?)>","ig"),f,l=3D0,c=3D= "^";f=3Do.exec(h);){if(f.index>l){j.internal.patterns[j.internal.patterns= .length]=3Dnew m(h.substr(l,f.index-=0A= l),j.settings.blankCharacter,j.settings.allowBlanks,true);c+=3D"("+j.inte= rnal.patterns[j.internal.patterns.length-1].getRegExpPattern()+")"}j.inte= rnal.patterns[j.internal.patterns.length]=3Dnew = m(f[1],j.settings.blankCharacter,j.settings.allowBlanks,false);c+=3D"("+j= .internal.patterns[j.internal.patterns.length-1].getRegExpPattern()+")";l= =3Do.lastIndex}if(l0)h--;j.keyCode=3D=3D39&&hd.currentPatternStartIndex&&h<=3Dd.currentPatternEndIndex?g.telligent.g= low.utility.setCurrentCursorSelection(a.internal.state,h,d.currentPattern= EndIndex,true,a.internal.state.val()):g.telligent.glow.utility.setCurrent= CursorSelection(a.internal.state,d.currentPatternStartIndex,d.currentPatt= ernEndIndex,true,a.internal.state.val());else = if(j.keyCode=3D=3D39)if(h>d.currentPatternEndIndex&&d.nextPattern)g.telli= gent.glow.utility.setCurrentCursorSelection(a.internal.state,=0A= d.nextPatternStartIndex,d.nextPatternEndIndex,true,a.internal.state.val()= );else = h>d.currentPatternStartIndex&&h<=3Dd.currentPatternEndIndex?g.telligent.g= low.utility.setCurrentCursorSelection(a.internal.state,h,d.currentPattern= EndIndex,true,a.internal.state.val()):g.telligent.glow.utility.setCurrent= CursorSelection(a.internal.state,d.currentPatternStartIndex,d.currentPatt= ernEndIndex,true,a.internal.state.val());else = g.telligent.glow.utility.setCurrentCursorSelection(a.internal.state,h,h,t= rue,a.internal.state.val());=0A= else = g.telligent.glow.utility.setCurrentCursorSelection(a.internal.state,h,h,t= rue,a.internal.state.val());j.stopPropagation();return false}else return = true},n=3D{getPatternValues:function(){var = a=3Dthis.data("_glowPatternedTextBox");if(a){for(var = j=3D[],h=3D0;h=3D0&&jo.currentPatternStartIndex&&=0A= d<=3Do.currentPatternEndIndex?g.telligent.glow.utility.setCurrentCursorSe= lection(h.internal.state,d,o.currentPatternEndIndex,true):g.telligent.glo= w.utility.setCurrentCursorSelection(h.internal.state,o.currentPatternStar= tIndex,o.currentPatternEndIndex,true);else = g.telligent.glow.utility.setCurrentCursorSelection(h.internal.state,d,d,t= rue);z(h)}}else = d.stopPropagation()}).bind("focus.glowPatternedTextBox",function(d){d=3Dd= .shiftKey?y(h,h.internal.state.val().length):y(h,0);d.currentPattern&&g.t= elligent.glow.utility.setCurrentCursorSelection(h.internal.state,=0A= d.currentPatternStartIndex,d.currentPatternEndIndex,false)}).bind("keydow= n.glowPatternedTextBox",function(d){r(h,d)}).bind("change.glowPatternedTe= xtBox",function(){if(h.internal.initialized){n.val.apply(h.internal.state= ,[h.internal.state.val()]);z(h)}}).removeAttr("disabled")}})}},m=3Dfuncti= on(a,j,h,d){this._maxLength=3Dthis._minLength=3D0;this._options=3D[];this= ._rangeEnd=3Dthis._rangeStart=3D0;this._currentValue=3Dthis._patternType=3D= "";this._placeholder=3Dj;this._allowBlanks=3Dh;if(d){this._patternType=3D= "static";this._minLength=3D=0A= this._maxLength=3Da.length;this._currentValue=3Da}else = if(a.match(/^[0-9]{1,}\-[0-9]{1,}$/)){a=3Da.split("-");this._rangeStart=3D= parseInt(a[0],10);this._rangeEnd=3DparseInt(a[1],10);this._patternType=3D= "range";this._minLength=3DString(a[0]).length;this._maxLength=3DString(a[= 1]).length;if(!this._allowBlanks)for(this._currentValue=3DString(this._ra= ngeStart);this._currentValue.lengththis._maxLength)t= his._maxLength=3Dj;if(jthis._rangeSta= rt?String(a-1):String(this._rangeEnd)}for(;this._currentValue.length0?String(this._options[a-1]):String(this._options[this._options.length-= 1]);break}},parseValue:function(a){if(this._patternType!=3D"static"){a=3D= String(a).replace(RegExp(g.telligent.glow.utility.escapeForRegExp(this._p= laceholder),"g"),"");if(this._allowBlanks&&a=3D=3D=3D""&&isNaN(parseInt(a= ,10)))return this._currentValue=3D"";else = if(this._patternType=3D=3D"range"){if(a.length>this._maxLength)a=3Da.subs= tr(0,this._maxLength);else = for(;a.length=3Dthis._rangeStart&&a<=3Dthis._rangeEnd){h=3Da;j=3Dtrue}if(!j&&a0)for(var = d=3Da;d=3Dthis._rangeStart&&d<=3Dthis._rangeEnd){h=3Dd;j=3Dtrue}}if(!j&&= a>this._rangeEnd&&this._rangeEnd!=3D=3D0)for(d=3Da;d>this._rangeEnd&&d>=3D= this._rangeStart&&!j;){d=3DMath.round(d/10);if(d>=3Dthis._rangeStart&&d<=3D= this._rangeEnd){h=3Dd;j=3Dtrue}}j||(h=3Da0;){= for(j=3D0;j0)a=3Da.substr(= 0,a.length-1)}return = this._currentValue}}},getValue:function(){if(this._patternType=3D=3D"stat= ic")return this._currentValue;else = if(this._currentValue=3D=3D=3D""&&isNaN(parseInt(this._currentValue,=0A= 10))){for(var = a=3D"";a.length0&&f.internal.menuItems[c]._parseMenuItems(l[c][6])}},y=3Dfunc= tion(f){g(document).bind("click.popUpMenu",function(){if(f.internal.isOpe= n&&!f.internal.menuLevels[f.internal.currentLevel]._popupPanel.glowPopUpP= anel("isOpening")&&!f.internal.cancelClick)h.close.apply(g(f.internal.sta= te),[0]);else f.internal.cancelClick=3D=0A= false})},v=3Dfunction(f){if(f.settings.closeOnMouseOut){window.clearTimeo= ut(f.internal.closeTimeout);f.internal.closeTimeout=3Dwindow.setTimeout(f= unction(){h.close.apply(g(f.internal.state))},249)}},r=3Dfunction(f){f.se= ttings.closeOnMouseOut&&window.clearTimeout(f.internal.closeTimeout)},n=3D= function(f,l){f.internal.cancelClick=3Dtrue;if(l.onClick||l.url)h.close.a= pply(g(f.internal.state));l.onClick&&l.onClick(l);if(l.url)if(l.target)wi= ndow.open(l.url,l.target);else window.location=3Dl.url;return = false},m=3Dfunction(f,=0A= l,c,b){if(!(f.internal.menuLevels.length<=3Dc||f.internal.currentLevel=3D= =3Dc&&f.internal.menuLevels[c]._currentMenuItem=3D=3Dl&&!b))if(f.internal= .menuLevels[c]._currentMenuItem!=3Dl){b||h.close.apply(g(f.internal.state= ),[c+1]);if(f.internal.menuLevels[c]._currentMenuItem&&f.internal.menuLev= els[c]._currentMenuItem!=3Dl)f.internal.menuLevels[c]._currentMenuItem._e= lement.className=3Df.settings.itemCssClass;if(c>0&&f.internal.menuLevels[= c-1]._currentMenuItem)f.internal.menuLevels[c-1]._currentMenuItem._elemen= t.className=3D=0A= f.settings.itemExpandedCssClass;l._element.className=3Df.settings.itemSel= ectedCssClass;f.internal.menuLevels[c]._currentMenuItem=3Dl;if(l._menuIte= ms!=3Dnull&&l._menuItems.length>0){if(f.internal.menuLevels.length=3D=3Dc= +1){var = k=3Ddocument.createElement("div");f.internal.state.appendChild(k);g(k).gl= owPopUpPanel({cssClass:f.settings.groupCssClass,position:"leftright",zInd= ex:f.settings.zIndex,hideOnDocumentClick:false}).bind({glowPopUpPanelHidd= en:g.telligent.glow.utility.makeBoundFunction(h.close,g(f.internal.state)= ,=0A= [c+1]),glowPopUpPanelMouseOver:function(){r(f)},glowPopUpPanelMouseOut:fu= nction(){v(f)}});f.internal.menuLevels[c+1]=3Dnew = o(c+1,l,g(k),this)}else = f.internal.menuLevels[c+1].MenuItem=3Dl;j(f,f.internal.menuLevels[c+1],l.= _menuItems);f.internal.menuLevels[c+1]._popupPanel.glowPopUpPanel("show",= l._element,b);f.internal.currentLevel=3Dc+1}g(f.internal.state).trigger(u= .itemOver)}else{b||h.close.apply(g(f.internal.state),[c+2]);if(f.internal= .menuLevels[c+1]&&f.internal.menuLevels[c+1]._currentMenuItem){f.internal= .menuLevels[c+=0A= 1]._currentMenuItem._element.className=3Df.settings.itemCssClass;f.intern= al.menuLevels[c+1]._currentMenuItem=3Dnull}f.internal.menuLevels[c]._curr= entMenuItem._element.className=3Df.settings.itemSelectedCssClass}},a=3Dfu= nction(f){f.internal.menuLevels=3D[];var = l=3Ddocument.createElement("div");g(l).glowPopUpPanel({cssClass:f.setting= s.groupCssClass,position:f.settings.position,zIndex:f.settings.zIndex,hid= eOnDocumentClick:false}).bind({glowPopUpPanelHidden:function(){h.close.ap= ply(g(f.internal.state),[0])},glowPopUpPanelMouseOver:function(){r(f)},=0A= glowPopUpPanelMouseOut:function(){v(f)}});f.internal.menuLevels[0]=3Dnew = o(0,null,g(l),this);j(f,f.internal.menuLevels[0],f.internal.menuItems);f.= internal.initialized=3Dtrue},j=3Dfunction(f,l,c){if(l&&l._popupPanel){var= = b=3Dl._popupPanel.glowPopUpPanel("children");if(b[0]&&b[0].childNodes[0])= {b=3Db[0].childNodes[0];for(var = k=3D0;k0)e=3D= true;if(p&&e)break}for(k=3D0;k0){x=3Ddocument.createElement("img");= x.src=3Df.settings.expandImageUrl;x.style.paddingLeft=3D"4px";if(f.settin= gs.expandImageHeight)x.height=3Df.settings.expandImageHeight;if(f.setting= s.expandImageWidth)x.width=3Df.settings.expandImageWidth;s.appendChild(x)= }else{s.appendChild(document.createElement("div"));s.childNodes[0].style.= paddingRight=3D"4px";if(f.settings.expandImageHeight)s.childNodes[0].styl= e.height=3D=0A= f.settings.expandImageHeight+"px";if(f.settings.expandImageWidth)s.childN= odes[0].style.width=3Df.settings.expandImageWidth+"px"}q.appendChild(s)}t= .onclick=3Dg.telligent.glow.utility.makeBoundFunction(n,null,[f,c[k],l._l= evel]);t.onmouseover=3Dg.telligent.glow.utility.makeBoundFunction(m,null,= [f,c[k],l._level]);c[k]._element=3Dt}l._popupPanel.glowPopUpPanel("append= ",b)}},h=3D{isOpen:function(){var f=3Dthis.data("popUpMenu");if(f)return = f.internal.isOpen;return false},open:function(f,l,c,b){var = k,p,e,q,t;if(typeof f=3D=3D=3D=0A= "object"){t=3Df;f=3Dg.telligent.glow.utility.getElementInfo(f);k=3Df.Left= ;p=3Df.Top;e=3Df.Width;q=3Df.Height}else{t=3Dnull;k=3Df;p=3Dl;e=3Dc;q=3Db= }return this.each(function(){var = s=3Dg(this).data("popUpMenu");s.internal.initialized||a(s);s.internal.isO= pen||window.setTimeout(function(){y(s)},49);s.internal.menuLevels[0]._pop= upPanel.glowPopUpPanel("show",k,p,e,q);s.internal.currentLevel=3D0;s.inte= rnal.isOpen=3Dtrue;if(s.internal.openingElement=3Dt){g(t).bind("mouseover= .popUpMenu",function(){r(s)});g(t).bind("mouseout.popUpMenu",=0A= function(){v(s)})}g(s.internal.state).trigger(u.opened)})},close:function= (f){f||(f=3D0);return this.each(function(){var = l=3Dg(this).data("popUpMenu");if(f=3D=3D0&&l.internal.openingElement){g(l= .internal.openingElement).unbind(".popUpMenu");l.internal.openingElement=3D= null}for(var = c=3Dl.internal.menuLevels.length-1;c>=3Df;c--)if(l.internal.menuLevels[c]= ){if(l.internal.menuLevels[c]._currentMenuItem){l.internal.menuLevels[c].= _currentMenuItem._element.className=3Dl.settings.itemCssClass;l.internal.= menuLevels[c]._currentMenuItem=3D=0A= null}l.internal.menuLevels[c]._popupPanel.glowPopUpPanel("hide")}l.intern= al.currentLevel=3Df-1;if(l.internal.currentLevel<=3D-1){l.internal.isOpen= &&g(document).unbind(".popUpMenu");l.internal.isOpen=3Dfalse;g(l.internal= .state).trigger(u.closed)}})},refresh:function(){return = this.each(function(){var = f=3Dg(this).data("popUpMenu");if(f.internal.initialized){var = l=3D[],c;for(c=3D0;c<=3Df.internal.currentLevel;c++)l[c]=3Df.internal.men= uLevels[c]._currentMenuItem;j(f,f.internal.menuLevels[0],f.internal.menuI= tems);if(l.length>=0A= 0){var = b,k=3Df.internal.menuItems,p;for(c=3D0;c0?h.close.apply(g(this),[c+1]):h.clo= se.apply(g(this),[c]);break}}}}})},add:function(f){if(f){h.remove.apply(t= his,[f]);var l=3Dtrue;return this.each(function(){var = c=3Dg(this).data("popUpMenu"),b;if(l){b=3Df;l=3Dfalse}else = b=3Df._clone();b._popupMenu=3Dg(this);b._parentMenuItem=3Dnull;c.internal= .menuItems[c.internal.menuItems.length]=3Db})}else return this},=0A= remove:function(f){return f?this.each(function(){for(var = l=3Dg(this).data("popUpMenu"),c=3D[],b=3Dfalse,k=3D0;k=3D0&&f-1)if(f.int= ernal.menuLevels[f.internal.currentLevel]._currentMenuItem)return = f.internal.menuLevels[f.internal.currentLevel]._currentMenuItem;=0A= else if(f.internal.currentLevel>0)return = f.internal.menuLevels[f.internal.currentLevel-1]._currentMenuItem;return = null},getCurrentByLevel:function(f){var = l=3Dg(this).data("popUpMenu");if(l)if(f>0&&l.internal.currentLevel>=3Df)r= eturn l.internal.menuLevels[f]._currentMenuItem;return = null},count:function(){var f=3Dg(this).data("popUpMenu");if(f)return = f.internal.menuItems.length;return 0},createMenuItem:function(f){return = new d(f)}};g.fn.glowPopUpMenu=3Dfunction(f){if(f in h)return = h[f].apply(this,Array.prototype.slice.call(arguments,=0A= 1));else if(typeof f=3D=3D=3D"object"||!f)return = z.apply(this,arguments);else g.error("Method "+f+" does not exist on = jQuery.fn.glowPopUpMenu")};g.extend(g.fn.glowPopUpMenu,{defaults:{groupCs= sClass:"",itemCssClass:"",itemSelectedCssClass:"",itemExpandedCssClass:""= ,expandImageUrl:"",expandImageWidth:0,iconWidth:0,iconHeight:0,position:"= updown",zIndex:100,menuItems:null,closeOnMouseOut:true}});var = d=3Dfunction(f){var l=3D{id:(new = Date).getTime(),text:"",url:"",target:"",onClick:null,iconUrl:""};f&&g.ex= tend(l,=0A= f);this.id=3Dl.id;this.text=3Dl.text;this.url=3Dl.url;this.target=3Dl.tar= get;this.onClick=3Dl.onClick;this.iconUrl=3Dl.iconUrl;this._menuItems=3D[= ];this._parentMenuItem=3Dthis._popupMenu=3Dthis._element=3Dnull};d.protot= ype._clone=3Dfunction(){return new = d({id:this.id,text:this.text,url:this.url,target:this.target,onClick:this= .onClick,iconUrl:this.iconUrl})};d.prototype.add=3Dfunction(f){this.remov= e(f);if(f){f._popupMenu=3Dthis._popupMenu;f._parentMenuItem=3Dthis;this._= menuItems[this._menuItems.length]=3Df}};d.prototype.remove=3D=0A= function(f){for(var = l=3D[],c=3Dfalse,b=3D0;b=3D0&&f0&&this._menuItems[l]._parseMenuItems(f[l][6])}};var o=3Dfunction(f,=0A= l,c,b){this._level=3Df;this._parentMenuItem=3Dl;this._popupPanel=3Dc;this= ._popupMenu=3Db;this._currentMenuItem=3Dnull}})(jQuery);=0A= (function(g,u){var = z=3D{shown:"glowPopUpPanelShown",hidden:"glowPopUpPanelHidden",mouseOver:= "glowPopUpPanelMouseOver",mouseOut:"glowPopUpPanelMouseOut"},w=3Dfunction= (a){return this.each(function(){var = j=3D{settings:g.extend({},g.fn.glowPopUpPanel.defaults,a||{}),internal:{s= tate:g(this),isShown:false,initialized:false,lastPosition:null,panel:null= ,panelMask:null,animationHandle:null,isOpening:false,checkForScrollResize= Handle:null,lastWindowInfo:null}};g(this).data("_glowPopUpPanel",j);j.int= ernal.panel=3Dg("
").css({position:"absolute",=0A= display:"none",left:"0px",top:"0px"}).addClass(j.settings.CssClass).appen= d(j.internal.state.children());j.internal.panelMask=3Dg("
").cs= s({position:"absolute",display:"none"}).append(j.internal.panel);j.intern= al.state.css({displaly:"none"})})},y=3Dfunction(a){g(document).bind("clic= k.glowPopUpPanel",function(){a.internal.isShown&&!a.internal.isOpening&&m= .hide.apply(a.internal.state)})},v=3Dfunction(a){a.internal.checkForScrol= lResizeHandle&&u.clearTimeout(a.internal.checkForScrollResizeHandle);=0A= if(a.internal.isShown&&!a.internal.isOpening&&a.internal.lastWindowInfo){= var = j=3Dg.telligent.glow.utility.getWindowInfo();if(j.Width!=3Da.internal.las= tWindowInfo.Width||j.Height!=3Da.internal.lastWindowInfo.Height)m.hide.ap= ply(a.internal.state);else = a.internal.checkForScrollResizeHandle=3Du.setTimeout(function(){v(a)},999= )}},r=3Dfunction(a){document.forms.length=3D=3D1?g("form:first").append(a= .internal.panelMask):g("body").append(a.internal.panelMask);a.internal.pa= nel.bind("mouseover.glowPopUpPanel",function(){a.internal.state.trigger(z= .mouseOver)}).bind("mouseout.glowPopUpPanel",=0A= function(){a.internal.state.trigger(z.mouseOut)});a.internal.initialized=3D= true},n=3Dfunction(a,j,h,d,o,f){a.internal.animationHandle&&u.clearTimeou= t(a.internal.animationHandle);currValue=3DparseInt(a.internal.panel.css(j= ),10);if(o<0&&currValue0&&currValue>h||Math.abs(o)<1){a.internal.pa= nel.css("propertyName",h+"px").css({position:"static",overflow:"visible"}= );a.internal.animationHandle=3Dnull;a.internal.isOpening=3Dfalse;a.intern= al.lastWindowInfo=3Dg.telligent.glow.utility.getWindowInfo();a.internal.c= heckForScrollResizeHandle=3D=0A= u.setTimeout(function(){v(a)},999)}else{a.internal.panel.css(j,d+"px");d+= =3Do;if(o>0&&d>h)d=3Dh;else = if(o<0&&d-1&&D=3D=3D-1)&&(D>-1&&C= =3D=3D-1||e.internal.lastWindowInfo.Width+e.internal.lastWindowInfo.Scrol= lX-(f+c)>f-e.internal.lastWindowInfo.ScrollX||f-e.internal.lastWindowInfo= .ScrollX-1){e.internal.panelMask.css({left:f-s/2+"px"});A=3D"left";B=3D0;s=3D= s/2}else{e.internal.panelMask.css({left:f-s+"px"});A=3D"left";B=3D0;s=3Ds= }!(E>-1&&F=3D=3D-1)&&(F>-1&&E=3D=3D-1||e.internal.lastWindowInfo.Height+e= .internal.lastWindowInfo.ScrollY-=0A= l>l+b-e.internal.lastWindowInfo.ScrollY||l+b-e.internal.lastWindowInfo.Sc= rollY-1)e.internal.panelMask.css({left:f+(c-s)/2+"= px"});else!(C>-1&&D=3D=3D-1)&&(D>-1&&C=3D=3D-1||e.internal.lastWindowInfo= .Width+e.internal.lastWindowInfo.ScrollX-f>f+c-e.internal.lastWindowInfo.= ScrollX||f+c-e.internal.lastWindowInfo.ScrollX-1&&=0A= F=3D=3D-1)&&(F>-1&&E=3D=3D-1||e.internal.lastWindowInfo.Height+e.internal= .lastWindowInfo.ScrollY-(l+b)>l-e.internal.lastWindowInfo.ScrollY||l-e.in= ternal.lastWindowInfo.ScrollYB?-((s-B)/3):(B-s)/3,0.67);if(!e.internal.isShown){e.internal= .isShown=3Dtrue;e.internal.lastPosition=3D{X:q,Y:t,Width:c,Height:b};g(e.= internal.state).trigger(z.shown)}})},hide:function(){return = this.each(function(){var = a=3Dg(this).data("_glowPopUpPanel");if(a.internal.isShown){a.internal.ini= tialized||r(a);a.internal.panel.css({position:"absolute",display:"none"})= ;a.internal.panelMask.css({position:"absolute",display:"none"});a.interna= l.isShown=3D=0A= false;a.internal.lastPosition=3Dnull;g.telligent.glow.utility.showSelectB= oxes(a.internal.panelMask);a.settings.hideOnDocumentClick&&g(document).un= bind(".glowPopUpPanel");a.internal.state.trigger(z.hidden)}})},empty:func= tion(){return = this.each(function(){g(this).data("_glowPopUpPanel").internal.panel.empty= ()}).glowPopUpPanel("refresh")},html:function(a){return = this.each(function(){g(this).data("_glowPopUpPanel").internal.panel.html(= a)}).glowPopUpPanel("refresh")},append:function(a){a=3Dg(a);var j=3Dtrue;=0A= return this.each(function(){var = h=3Dg(this).data("_glowPopUpPanel");if(j){g(h.internal.panel).append(a);j= =3Dfalse}else = g(h.internal.panel).append(a.clone())}).glowPopUpPanel("refresh")},remove= :function(a){return = g(a).remove().glowPopUpPanel("refresh")},children:function(){var = a=3Dthis.data("_glowPopUpPanel");if(a)return = a.internal.panel.children();return g()},refresh:function(){return = this.each(function(){var = a=3Dg(this).data("_glowPopUpPanel");a.internal.animationHandle&&u.clearTi= meout(a.internal.animationHandle);=0A= a.internal.isShown&&a.internal.lastPosition&&m.show.apply(a.internal.stat= e,[a.internal.lastPosition.X,a.internal.lastPosition.Y,a.internal.lastPos= ition.Width,a.internal.lastPosition.Height,true])})}};g.fn.glowPopUpPanel= =3Dfunction(a){if(a in m)return = m[a].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof = a=3D=3D=3D"object"||!a)return w.apply(this,arguments);else = g.error("Method "+a+" does not exist on = jQuery.fn.glowPopUpPanel")};g.extend(g.fn.glowPopUpPanel,{defaults:{cssCl= ass:"",position:"updown",=0A= zIndex:100,hideOnDocumentClick:true}})})(jQuery,window);=0A= (function(g){var u=3D{refresh:function(){return this.each(function(){var = n=3Dg(this).data("tabbedPanes");n.internal.isRendered=3Dfalse;var = m=3Dn.internal.selectedTab;n.internal.selectedTab=3Dnull;if(n.settings.en= ableResizing){n.internal.state.style.width=3D"100%";n.internal.state.styl= e.height=3D"100%";n.internal.state.style.overflow=3D"auto"}else{n.interna= l.state.style.width=3D"auto";n.internal.state.style.height=3D"auto";n.int= ernal.state.style.overflow=3D"visible"}n.internal.paneContainer.className= =3Dn.settings.cssClass;=0A= n.internal.tabSet.glowTabSet("clear");for(var = a=3D0;a0){m=3Dn.internal.selectedTab=3Dn.internal.tabSet.glowTabSet("getByIndex= ",0)._tabbedPanesTab;n.internal.tabSet._selectedTab=3Dn.internal.tabSet.g= lowTabSet("getByIndex",0)}n.internal.tabSet.glowTabSet("refresh");for(a=3D= 0;a=3D0&&n0;)m.internal.pan= eContainer.appendChild(this.childNodes[0]);var = a=3Ddocument.createElement("div");this.appendChild(a);this.appendChild(m.= internal.paneContainer);m.internal.tabSet=3Dg(a).glowTabSet({cssClass:m.s= ettings.tabSetCssClass,=0A= tabCssClasses:m.settings.tabCssClasses,tabSelectedCssClasses:m.settings.t= abSelectedCssClasses,tabHoverCssClasses:m.settings.tabHoverCassClasses,en= ableResizing:m.settings.enableResizing,tabs:[]}).bind("glowTabSetResize",= function(){g(m.internal.state).trigger("glowTabbedPanesResize")});g(this)= .data("tabbedPanes",m);v(m,m.settings.tabs,null);m.internal.tabs.length>0= &&u.refresh.apply(g(this))})},w=3Dfunction(n,m){if(m.onClick){hadHandler=3D= true;if(m.onClick(g(n.internal.state),m)=3D=3Dfalse)return false}if(m!=3D=0A= n.internal.selectedTab){m._tabPane&&y(n,m._tabPane,true);n.internal.selec= tedTab&&n.internal.selectedTab._tabPane&&y(n,n.internal.selectedTab._tabP= ane,false);n.internal.selectedTab=3Dm}},y=3Dfunction(n,m,a){if(a){m.style= .visibility=3D"visible";m.style.position=3D"static";m.style.left=3D"0px";= if(n.settings.enableResizing){m.style.width=3D"100%";m.style.height=3D"10= 0%";m.style.overflow=3D"auto"}else{m.style.width=3D"auto";m.style.height=3D= "auto";m.style.overflow=3D"visible"}}else{m.style.width=3Dm.offsetWidth+"= px";m.style.height=3D=0A= m.offsetHeight+"px";m.style.overflow=3D"hidden";m.style.position=3D"absol= ute";m.style.left=3Dm.offsetWidth*-4+"px";m.style.top=3Dm.offsetHeight*-4= +"px";m.style.visibility=3D"hidden"}},v=3Dfunction(n,m,a){n.internal.tabs= =3D[];n.internal.tabSet.glowTabSet("clear");if(!(!m||m.length=3D=3D0)){va= r j=3D-1;for(i=3D0;i0;)hiddenC= ontainer.removeChild(hiddenContainer.childNodes[0]);var = o=3Ddocument.createElement("table");o.cellPadding=3D"0";o.border=3D"0";o.= cellSpacing=3D"0";o.appendChild(document.createElement("tbody"));=0A= o.childNodes[0].appendChild(document.createElement("tr"));hiddenContainer= .appendChild(o);var f=3D1;if(typeof = d.settings.tabHoverCssClasses=3D=3D"object"&&d.settings.tabHoverCssClasse= s.length>f)f=3Dd.settings.tabHoverCssClasses.length;if(typeof = d.settings.tabSelectedCssClasses=3D=3D"object"&&d.settings.tabSelectedCss= Classes.length>f)f=3Dd.settings.tabSelectedCssClasses.length;if(typeof = d.settings.tabCssClasses=3D=3D"object"&&d.settings.tabCssClasses.length>f= )f=3Dd.settings.tabCssClasses.length;for(var = l=3D0,c=3D0,b=3D0;bc)c=3Dk._tab._maxWidth}f=3DMath.ceil(d.internal.tabs.len= gth/Math.ceil((l*3/d.internal.state.offsetWidth+c*d.internal.tabs.length/= d.internal.state.offsetWidth)/4));if(f<1)f=3D1;for(;d.internal.state.chil= dNodes.length>=0A= 0;)d.internal.state.removeChild(d.internal.state.childNodes[0]);d.interna= l.state.className=3Dd.settings.cssClass;l=3Ddocument.createElement("div")= ;if(d.settings.enableResizing){l.style.width=3D"100%";l.style.overflow=3D= "hidden"}d.internal.state.appendChild(l);d.internal.tabRows=3D[];c=3Dd.in= ternal.selectedTab;d.internal.selectedTabRow=3Dnull;d.internal.selectedTa= b=3Dnull;p=3D-1;for(b=3D0;bl.offsetWidth&&d.internal.tabRows[p]._tabs.l= ength>0)){o=3Ddocument.createElement("table");o.cellPadding=3D"0";o.borde= r=3D"0";o.cellSpacing=3D"0";o.appendChild(document.createElement("tbody")= );o.childNodes[0].appendChild(document.createElement("tr"));l.appendChild= (o);p++;d.internal.tabRows[p]=3Dnew = h(o)}d.internal.tabRows[p]._element.childNodes[0].childNodes[0].appendChi= ld(d.internal.tabs[b]._element);d.internal.tabRows[p]._tabs[d.internal.ta= bRows[p]._tabs.length]=3Dd.internal.tabs[b];=0A= d.internal.tabs[b]._tabRow=3Dd.internal.tabRows[p];d.internal.tabs[b]._el= ement.childNodes[0].onclick=3Dg.telligent.glow.utility.makeBoundFunction(= m,null,[d,d.internal.tabs[b],p]);d.internal.tabs[b]._element.childNodes[0= ].onmouseover=3Dg.telligent.glow.utility.makeBoundFunction(r,null,[d,d.in= ternal.tabs[b],p]);d.internal.tabs[b]._element.childNodes[0].onmouseout=3D= g.telligent.glow.utility.makeBoundFunction(n,null,[d,d.internal.tabs[b],p= ]);if(d.internal.tabs[b]=3D=3Dc){d.internal.selectedTab=3Dd.internal.tabs= [b];=0A= d.internal.selectedTabRow=3Dd.internal.tabRows[p];v(d,d.internal.tabs[b].= _element.childNodes[0],d.settings.tabSelectedCssClasses)}}if(d.internal.t= abRows.length>1){for(b=3D0;b0){d.internal.resizeCheckHandle&&window.clearTimeout(d.internal.resi= zeCheckHandle);=0A= d.internal.resizeCheckHandle=3Dwindow.setTimeout(function(){a(d)},49)}})}= ,add:function(d){u.remove.apply(this,[d]);var o=3Dtrue;return = this.each(function(){if(o)o=3Dfalse;else d=3Dd._clone();var = f=3Dg(this).data("tabSet");if(d){d._tabSet=3Dthis;f.internal.tabs[f.inter= nal.tabs.length]=3Dd}})},remove:function(d){return = this.each(function(){for(var = o=3Dg(this).data("tabSet"),f=3D[],l=3Dfalse,c=3D0;c=3D0&&d0&&u.refresh.apply(g(this))})},w=3Dfunction(= d,o,f){if(typeof = f=3D=3D"undefined"&&d.internal.selectedTab)f=3Dd.internal.selectedTab.id;= d.internal.tabs=3D[];if(!(!o||o.length=3D=3D0))for(var = l=3D0;l1= ){d.internal.selectedTabRow=3Dnull;for(var = f=3D0;f0;){a=3Dr%16;m=3D"0123456789abcdef".substr(a,1)+m;r-=3Da;r/=3D= 16}if(n)for(;m.length1024?"#000000":"#ffffff"},getElementInfo:function(r){i= f(r instanceof jQuery)r=3Dr.get(0);var = n=3D{};if(r.getBoundingClientRect){r=3Dr.getBoundingClientRect();var = m=3D0,a=3D0;if(typeof = window.pageXOffset=3D=3D"number"){m=3Dwindow.pageXOffset;a=3Dwindow.pageY= Offset}else = if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){m=3D= document.body.scrollLeft;=0A= a=3Ddocument.body.scrollTop}else = if(document.documentElement&&(document.documentElement.scrollLeft||docume= nt.documentElement.scrollTop)){m=3Ddocument.documentElement.scrollLeft;a=3D= document.documentElement.scrollTop}n.Left=3Dr.left+m;n.Top=3Dr.top+a;n.Ri= ght=3Dr.right+m;n.Bottom=3Dr.bottom+a;if(v.isIE()&&n.Left>=3D2&&!v.isIE8(= )){n.Left-=3D2;n.Top-=3D2;n.Right-=3D2;n.Bottom-=3D2}n.Width=3Dr.right-r.= left;n.Height=3Dr.bottom-r.top}else{a=3Dm=3D0;for(var = j=3Dr,h=3Dfalse,d=3Dfalse,o=3Dv.isIE();j;){h||(m+=3Dj.offsetLeft);d||(a+=3D= j.offsetTop);if(o&&=0A= j.offsetParent&&j.offsetParent.style.position=3D=3D"relative")if(!j.offse= tParent.style.width){h=3Dtrue;if(j.offsetParent.style.top||j.offsetParent= .style.bottom){a+=3Dj.offsetHeight;d=3Dtrue}}j=3Dj.offsetParent}n.Left=3D= m;n.Top=3Da;n.Right=3Dm+r.offsetWidth;n.Bottom=3Dm+r.offsetHeight;n.Width= =3Dr.offsetWidth;n.Height=3Dr.offsetHeight}return = n},getWindowInfo:function(){var r=3D0,n=3D0,m=3D0,a=3D0;if(typeof = window.pageXOffset=3D=3D"number"){r=3Dwindow.pageXOffset;n=3Dwindow.pageY= Offset}else = if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){r=3D=0A= document.body.scrollLeft;n=3Ddocument.body.scrollTop}else = if(document.documentElement&&(document.documentElement.scrollLeft||docume= nt.documentElement.scrollTop)){r=3Ddocument.documentElement.scrollLeft;n=3D= document.documentElement.scrollTop}if(typeof = window.innerWidth=3D=3D"number"){m=3Dwindow.innerWidth;a=3Dwindow.innerHe= ight}else = if(document.documentElement&&(document.documentElement.clientWidth||docum= ent.documentElement.clientHeight)){m=3Ddocument.documentElement.clientWid= th;a=3Ddocument.documentElement.clientHeight}else if(document.body&&=0A= (document.body.clientWidth||document.body.clientHeight)){m=3Ddocument.bod= y.clientWidth;a=3Ddocument.body.clientHeight}if(document.documentElement&= &(document.documentElement.scrollHeight||document.documentElement.offsetH= eight))if(document.documentElement.scrollHeight>document.documentElement.= offsetHeight){contentWidth=3Ddocument.documentElement.scrollWidth;content= Height=3Ddocument.documentElement.scrollHeight}else{contentWidth=3Ddocume= nt.documentElement.offsetWidth;contentHeight=3Ddocument.documentElement.o= ffsetHeight}else if(document.body&&=0A= (document.body.scrollHeight||document.body.offsetHeight))if(document.body= .scrollHeight>document.body.offsetHeight){contentWidth=3Ddocument.body.sc= rollWidth;contentHeight=3Ddocument.body.scrollHeight}else{contentWidth=3D= document.body.offsetWidth;contentHeight=3Ddocument.body.offsetHeight}else= {contentWidth=3Dm;contentHeight=3Da}if(v.isSafari()){if(a>contentHeight)c= ontentHeight=3Da}else = if(a>contentHeight)a=3DcontentHeight;if(v.isSafari()){if(m>contentWidth)c= ontentWidth=3Dm}else if(m>contentWidth)m=3DcontentWidth;var j=3D=0A= {};j.ScrollX=3Dr;j.ScrollY=3Dn;j.Width=3Dm;j.Height=3Da;j.ContentWidth=3D= contentWidth;j.ContentHeight=3DcontentHeight;return = j},getCurrentStyleValue:function(r,n,m,a){if(r instanceof = jQuery)r=3Dr.get(0);var = j=3D"";try{if(document.defaultView&&document.defaultView.getComputedStyle= )j=3Ddocument.defaultView.getComputedStyle(r,"").getPropertyValue(n);else= = if(r.currentStyle)j=3Dr.currentStyle[m]}catch(h){}return(j=3D=3D"inherit"= ||j=3D=3D"transparent")&&r.parentNode!=3D=3Dnull?v.getCurrentStyleValue(r= .parentNode,n,m,a):j!=3D=3D""&&j!=3D=3Dundefined&&=0A= j!=3D"rgba(0, 0, 0, 0)"?j:a},getStyleOffset:function(r){if(r instanceof = jQuery)r=3Dr.get(0);var = n=3D{};n.Height=3Dv.isNanDefault(parseInt(v.getCurrentStyleValue(r,"borde= r-top-width","borderTopWidth","0"),10),0)+v.isNanDefault(parseInt(v.getCu= rrentStyleValue(r,"border-bottom-width","borderBottomWidth","0"),10),0)+v= .isNanDefault(parseInt(v.getCurrentStyleValue(r,"padding-top","paddingTop= ","0"),10),0)+v.isNanDefault(parseInt(v.getCurrentStyleValue(r,"padding-b= ottom","paddingBottom","0"),10),0);n.Width=3Dv.isNanDefault(parseInt(v.ge= tCurrentStyleValue(r,=0A= "border-left-width","borderLeftWidth","0"),10),0)+v.isNanDefault(parseInt= (v.getCurrentStyleValue(r,"border-right-width","borderRightWidth","0"),10= ),0)+v.isNanDefault(parseInt(v.getCurrentStyleValue(r,"padding-left","pad= dingLeft","0"),10),0)+v.isNanDefault(parseInt(v.getCurrentStyleValue(r,"p= adding-right","paddingRight","0"),10),0);return = n},isNanDefault:function(r,n){return = isNaN(r)?n:r},escapeForRegExp:function(r){return = r.replace(/([\\\(\^\$\*\+\?\{\}\.\)\|\-])/g,"\\$1")},getSelectedHtmlInEle= ment:function(r,=0A= n,m,a){var j=3Dtrue,h=3Dnull;if(window.getSelection){var = d=3Dwindow.getSelection();if(d&&d.rangeCount>0&&d.toString().length>0){j=3D= false;d=3Dd.getRangeAt(0);var = o=3Ddocument.createRange();o.selectNode(r);if(o.compareBoundaryPoints(Ran= ge.START_TO_START,d)<=3D0&&o.compareBoundaryPoints(Range.END_TO_END,d)>=3D= 0){a=3Ddocument.createElement("div");a.appendChild(d.cloneContents());h=3D= a.innerHTML}else a&&alert(a)}}else = if(document.selection)if((d=3Ddocument.selection.createRange())&&d.text){= j=3Dfalse;o=3Dd.parentElement();if(o!=3D=3D=0A= null&&v.elementContainsElement(r,o))h=3Dd.htmlText;else = a&&alert(a)}if(h=3D=3D=3Dnull&&(j&&n||m))h=3Dr.innerHTML;return = h},elementContainsElement:function(r,n){if(r instanceof = jQuery)r=3Dr.get(0);if(n instanceof jQuery)n=3Dn.get(0);if(!r||!n)return = false;if(r=3D=3Dn)return true;if(r&&r.childNodes)for(var = m=3D0;m=3D8;return false},setCurrentCursorSelection:function(r,n,m,a,j){if(r = instanceof = jQuery)r=3Dr.get(0);if(v.isSafari()||v.isOpera())if(a){(a=3Dg(r).data("te= lligentUtility"))&&a.CursorTimeout&&window.clearTimeout(a.CursorTimeout);= a=3D{};a.InputElement=3Dr;a.StartIndex=3Dn;a.EndIndex=3Dm;a.PersistedValu= e=3Dj;g(r).data("telligentUtility",a);a.CursorTimeout=3Dwindow.setTimeout= (function(){var = o=3Dr,f=3Dg(o).data("telligentUtility");if(f){v.setCurrentCursorSelection= (f.InputElement,f.StartIndex,f.EndIndex,false,f.PersistedValue);=0A= g(o).data("telligentUtility",null)}},9);return}else{r.focus();if(j)r.valu= e=3Dj}try{if(document.selection){var = h=3Dr.createTextRange();h.move("character",n);h.moveEnd("character",m-n);= h.select()}else = if(r.setSelectionRange){r.setSelectionRange(n,m);r.focus()}else = if(r.selectionStart||r.selectionStart=3D=3D"0"){r.selectionStart=3Dn;r.se= lectionEnd=3Dm}}catch(d){}},hideElementsInWindow:function(r,n,m){if(r = instanceof jQuery)r=3Dr.get(0);for(var = a=3Dnull,j=3Dv.getElementInfo(r),h=3Dn.document.getElementsByTagName("ifr= ame"),=0A= d=3D0;d").css(r)).css({position:"absolute"});var = m=3Dv.parent(),a=3D{position:"absolute"},j=3D{},h=3D{};if(y.resize){g.ext= end(a,=0A= {width:r.width,height:r.height});g.extend(j,{width:n.width,height:n.heigh= t});g.extend(h,{width:n.rawWidth,height:n.rawHeight})}switch(y.type){case= = "slideLeft":a.left=3D"+"+n.width+"px";j.left=3D"-=3D"+n.width;h.left=3D0;= break;case = "slideRight":a.left=3D"-"+n.width+"px";j.left=3D"+=3D"+n.width;h.left=3D0= ;break;case = "slideUp":a.top=3D"+"+n.height+"px";j.top=3D"-=3D"+n.height;h.top=3D0;bre= ak;case = "slideDown":a.top=3D"-"+n.height+"px";j.top=3D"+=3D"+n.height;h.top=3D0;b= reak;case = "fade":a.opacity=3D0;j.opacity=3D0;h.opacity=3D1}w.prependTo(m).css(a).sh= ow();=0A= v.stop().animate(j,y.duration);w.stop().animate(h,y.duration+1,function()= {w.css({position:"static",top:"0px",left:"0px"}).unwrap();v.remove();y.co= mplete()});m.stop().animate({width:n.width,height:n.height},y.duration)})= };g.fn.glowTransition.defaults=3D{complete:function(){},duration:200,resi= ze:true,type:"fade"}})(jQuery);=0A= (function(g){var = u=3D{nodeSelected:"glowTreeNodeSelected",contextMenu:"glowTreeContextMenu= ",nodeRemoved:"glowTreeNodeRemoved",nodeMoved:"glowTreeNodeMoved",nodeAdd= ed:"glowTreeNodeAdded"},z=3Dfunction(b){return this.each(function(){var = k=3D{settings:g.extend({},g.fn.glowTree.defaults,b||{}),internal:{state:t= his,wrapper:null,container:null,selectedNode:null,nodes:[],backgroundColo= r:null,movingNode:null,movingNodeStartParent:null,draggingInitialized:fal= se,pagePosition:null,movingNodeIsFloating:false,movingNodeFloat:null,=0A= nodeHeightsCache:null,movingNodeStartIndex:null,movingNodeLastIndex:null,= moveStartY:null,moveScrollStartY:null,draggableTrees:[],initialized:false= }};g(this).data("tree",k);n(k)})},w=3Dfunction(b,k){for(var = p=3D0;pq&&ks&&p0?k._element.offsetHeight-k._element.childNodes[2= ].offsetHeight:k._element.offsetHeight},r=3Dfunction(b,k,p){for(var = e=3D0;e0)r(b,k[e]._no= des,p);else if(k[e].canHaveChildren()){q.height-=3Dt;var = s=3D{};s.parentNode=3Dk[e];s.height=3Dt;s.index=3D0;b.internal.nodeHeight= sCache[b.internal.nodeHeightsCache.length]=3Ds}s=3Dnull;if(k[e]._parent=3D= =3D=0A= p._parent){s=3D{};s.parentNode=3Dk[e]._parent;s.height=3Dq.height;s.index= =3De;s.isAfterNode=3Dtrue;b.internal.nodeHeightsCache[b.internal.nodeHeig= htsCache.length]=3Ds}if(e=3D=3Dk.length-1){q.height-=3Dt;if(s)s.height=3D= q.height;q=3D{};q.parentNode=3Dk[e]._parent;q.height=3Dt;q.index=3De+1;b.= internal.nodeHeightsCache[b.internal.nodeHeightsCache.length]=3Dq}}},n=3D= function(b){if(b.internal.state.offsetHeight){if(b.internal.state.disable= d){b.internal.state.disabled=3Dfalse;b.internal.state.readonly=3Dtrue}b.i= nternal.backgroundColor=3Dg.telligent.glow.utility.getCurrentStyleValue(b= .internal.state,=0A= "background-color","backgroundColor","#ffffff");if(b.internal.backgroundC= olor.replace(/\#[0-9a-f]*/gi,"")!=3D"")b.internal.backgroundColor=3D"#fff= fff";b.internal.wrapper=3Ddocument.createElement("div");b.internal.wrappe= r.style.backgroundColor=3Db.internal.backgroundColor;b.internal.wrapper.s= tyle.fontFamily=3Dg.telligent.glow.utility.getCurrentStyleValue(b.interna= l.state,"font-family","fontFamily","Arial, = Helvetica");b.internal.wrapper.style.fontSize=3Dg.telligent.glow.utility.= getCurrentStyleValue(b.internal.state,=0A= "font-size","fontSize","100%");b.internal.wrapper.style.lineHeight=3Dg.te= lligent.glow.utility.getCurrentStyleValue(b.internal.state,"line-height",= "lineHeight","100%");b.internal.wrapper.style.color=3Dg.telligent.glow.ut= ility.getCurrentStyleValue(b.internal.state,"color","color","#000000");b.= internal.wrapper.style.borderStyle=3D"outset";b.internal.wrapper.style.bo= rderWidth=3D"1px";b.internal.wrapper.style.borderColor=3D"#999999";b.inte= rnal.wrapper.style.padding=3D"2px";b.internal.wrapper.style.overflow=3D"a= uto";=0A= b.internal.wrapper.style.width=3Db.internal.state.offsetWidth-4+"px";b.in= ternal.wrapper.style.height=3Db.internal.state.offsetHeight-4+"px";b.inte= rnal.wrapper.style.cursor=3D"default";b.internal.wrapper.style.position=3D= "relative";b.internal.container=3Ddocument.createElement("ul");b.internal= .container.style.listStyleType=3D"none";b.internal.container.style.margin= =3D"0";b.internal.container.style.whiteSpace=3D"nowrap";b.internal.contai= ner.style.padding=3D"0";b.internal.wrapper.appendChild(b.internal.contain= er);b.internal.state.parentNode.insertBefore(b.internal.wrapper,=0A= b.internal.state);m(b,null,b.internal.state.options,0,b.settings.nodeHtml= ,0);b.internal.state.style.display=3D"none";b.internal.initialized=3Dtrue= ;l.disabled.apply(g(b.internal.state),[b.internal.state.readonly=3D=3D=3D= true]);if(b.internal.state.selectedIndex>=3D0){var = k=3Dl.getByValue.apply(g(b.internal.state),[b.internal.state.options[b.in= ternal.state.selectedIndex].value]);k&&l.selected.apply(g(b.internal.stat= e),[k])}}else = window.setTimeout(function(){n(b)},249)},m=3Dfunction(b,k,p,e,q,t){var = s,x,A,B;for(x=3De;x<=0A= p.length;x++){var C=3Dp[x].text;if(B=3DC.match(/^(\-*) = /)){A=3DB[1].length/2;C=3DC.substr(B[1].length)}else = A=3D0;if(A=3D=3Dt){A=3Dp[x].value;(s=3Dq.shift())||(s=3DC);s=3Dnew = c({html:s,value:A});if(k)k.add(s);else{s._parent=3Dnull;s._treeContext=3D= b;b.internal.nodes[b.internal.nodes.length]=3Ds}}else = if(A>t&&s)x+=3Dm(b,s,p,x,q,t+1);else return x-e-1}return = p.length-e-1},a=3Dfunction(b,k,p){var = e,q;if(p){q=3Dk._element;p=3Dq.offsetTop;e=3Dv(b,k);k=3Dq.offsetLeft}else= {q=3Dk._element.childNodes[1];p=3Dq.offsetTop;e=3Dv(b,k);k=3Dq.offsetLeft= -k._element.childNodes[0].offsetWidth}p-=3D=0A= 6;k-=3D6;for(var = t=3Dq.offsetParent;t&&t!=3Db.internal.wrapper;){p+=3Dt.offsetTop;k+=3Dt.o= ffsetLeft;t=3Dt.offsetParent}t=3Db.internal.wrapper.offsetWidth-24;if(k+q= .offsetWidth>b.internal.wrapper.scrollLeft+t&&q.offsetWidthb.internal.wrapper.sc= rollLeft+t)b.internal.wrapper.scrollLeft=3Dk;q=3Db.internal.wrapper.offse= tHeight-24;if(p+e>b.internal.wrapper.scrollTop+q&&eb.internal.wrapper.scrollTop+q)b.internal.wrapper.scrollTop=3Dp},j=3D= function(b){b.internal.draggableTrees=3D[];b.settings.draggableTrees&&b.s= ettings.draggableTrees.each(function(){try{if(g(this).glowTree("disabled"= )=3D=3D=3Dfalse)b.internal.draggableTrees[b.internal.draggableTrees.lengt= h]=3Dg(this)}catch(k){}})},h=3Dfunction(b){d(b);j(b);var = k;for(k=3D0;k0?w(b,= "move"):w(b,"n-resize");=0A= b.internal.draggingInitalized=3Dtrue},d=3Dfunction(b){b.internal.pagePosi= tion=3Dg.telligent.glow.utility.getElementInfo(b.internal.wrapper)},o=3Df= unction(b,k,p){if(!k)k=3Dwindow.event;if(b.internal.movingNode=3D=3Dnull)= {b.internal.movingNode=3Dp;b.internal.movingNodeStartParent=3Dp.getParent= ();b.internal.draggingInitalized=3Dfalse;if(typeof = k.pageY!=3D"undefined")b.internal.moveStartY=3Dk.pageY;else{var = e=3Dg.telligent.glow.utility.getWindowInfo();b.internal.moveStartY=3Dk.cl= ientY+e.ScrollY}b.internal.moveScrollStartY=3Db.internal.wrapper.scrollTo= p;=0A= b.internal.nodeHeightsCache=3D[];b.internal.wrapper.style.overflow=3D"hid= den";r(b,b.internal.nodes,p);g(document).bind("mouseup.glowTree",function= (q){f(b,q);return = false}).bind("mousemove.glowTree",function(q){q=3Dq;if(!q)q=3Dwindow.even= t;var t=3D0,s=3D0;if(typeof = q.pageY!=3D"undefined"){t=3Dq.pageY;s=3Dq.pageX}else{s=3Dg.telligent.glow= .utility.getWindowInfo();t=3Dq.clientY+s.ScrollY;s=3Dq.clientX+s.ScrollX}= if(b.internal.movingNode!=3Dnull){b.internal.draggingInitalized||h(b);var= x=3Dt-b.internal.moveStartY;x+=3Db.internal.wrapper.scrollTop-=0A= b.internal.moveScrollStartY;var = A=3Db.internal.movingNodeStartIndex,B=3Dx;x=3D{};x.parentNode=3Dnull;x.in= dex=3D-1;x.nodeHeightsCacheIndex=3DA;if(b.internal.nodeHeightsCache&&A>=3D= 0&&A0,D=3Dfalse;!D;)if(B>0)if(Ab.internal.nodeHeightsCache[A+1].height||b.internal.nodeHeightsCache[A+= 1].isBeforeNode)){A++;b.internal.nodeHeightsCache[A].isBeforeNode||(B-=3D= b.internal.nodeHeightsCache[A].height)}else D=3Dtrue;else if(B<0)if(A>0&&=0A= (-B>b.internal.nodeHeightsCache[A-1].height||b.internal.nodeHeightsCache[= A-1].isAfterNode)){A--;b.internal.nodeHeightsCache[A].isAfterNode||(B+=3D= b.internal.nodeHeightsCache[A].height)}else D=3Dtrue;else = D=3Dtrue;if(C)for(;b.internal.nodeHeightsCache[A].isBeforeNode&&A>0;)A--;= else = for(;b.internal.nodeHeightsCache[A].isAfterNode&&A=0A= 0&&!b.internal.movingNodeIsFloating&&!y(b,s,t,true)){B=3Db.internal.movin= gNode;if(!b.internal.movingNodeFloat){b.internal.movingNodeFloat=3Ddocume= nt.createElement("div");b.internal.movingNodeFloat.style.position=3D"abso= lute";b.internal.movingNodeFloat.style.opacity=3D".75";if(g.telligent.glo= w.utility.isIE())b.internal.movingNodeFloat.style.filter=3D"progid:DXImag= eTransform.Microsoft.Alpha(opacity=3D75)";b.internal.movingNodeFloat.styl= e.backgroundColor=3D"#cccccc";b.internal.movingNodeFloat.style.borderColo= r=3D"#666666";=0A= b.internal.movingNodeFloat.style.fontFamily=3Db.internal.wrapper.style.fo= ntFamily;b.internal.movingNodeFloat.style.fontSize=3Db.internal.wrapper.s= tyle.fontSize;b.internal.movingNodeFloat.style.lineHeight=3Db.internal.wr= apper.style.lineHeight;b.internal.movingNodeFloat.style.color=3Db.interna= l.wrapper.style.color;b.internal.movingNodeFloat.style.padding=3D"2px";b.= internal.movingNodeFloat.style.cursor=3D"move";b.internal.movingNodeFloat= .style.borderStyle=3D"dotted";b.internal.movingNodeFloat.style.borderWidt= h=3D"1px";=0A= document.body.appendChild(b.internal.movingNodeFloat)}for(;b.internal.mov= ingNodeFloat.childNodes.length>0;)b.internal.movingNodeFloat.removeChild(= b.internal.movingNodeFloat.childNodes[b.internal.movingNodeFloat.childNod= es.length-1]);b.internal.movingNodeFloat.style.width=3DB._element.offsetW= idth+"px";b.internal.movingNodeFloat.style.height=3DB._element.offsetHeig= ht+"px";b.internal.movingNodeFloat.innerHTML=3DB._element.innerHTML;b.int= ernal.movingNodeIsFloating=3Dtrue;b.internal.movingNodeFloat.style.displa= y=3D=0A= "block"}if(b.internal.movingNodeIsFloating){b.internal.movingNodeFloat.st= yle.left=3Ds-b.internal.movingNodeFloat.offsetWidth/2+"px";b.internal.mov= ingNodeFloat.style.top=3Dt-b.internal.movingNodeFloat.offsetHeight/2+"px"= ;if(y(b,s,t,true)){b.internal.movingNodeFloat.style.display=3D"none";b.in= ternal.movingNodeIsFloating=3Dfalse}else{B=3Dnull;for(A=3D0;A=3D0;s--)if(q[s]=3D=3Dt){q=3Dt;break= = b}t=3Dt._parent}q=3Dnull}q?q.refresh():l.refresh.apply(g(b.internal.state= ),[]);l.selected.apply(g(b.internal.state),[b.internal.movingNode])}}retu= rn = false})}},f=3Dfunction(b,k,p){w(b,"default");!p&&b.internal.movingNode&&b= .internal.movingNodeStartIndex!=3Db.internal.movingNodeLastIndex&&g(b.int= ernal.state).trigger(u.nodeMoved,=0A= [b.internal.movingNode,b.internal.movingNodeStartParent]);b.internal.wrap= per.style.cursor=3D"auto";b.internal.wrapper.style.overflow=3D"auto";g(do= cument).unbind(".glowTree");b.internal.movingNode=3Dnull;b.internal.nodeH= eightsCache=3D[];if(b.internal.movingNodeIsFloating){b.internal.movingNod= eIsFloating=3Dfalse;b.internal.movingNodeFloat.style.display=3D"none"}for= (k=3D0;kp.internal.pagePosition.Left= &&bp.inter= nal.pagePosition.Top-10&&k=0A= 0;)b.internal.container.removeChild(b.internal.container.childNodes[0]);f= or(var = k=3D0;k=3De.internal.nodes.length)k=3De.internal.= nodes.length;for(var = q=3De.internal.nodes.length;q>k;q--)e.internal.nodes[q]=3De.internal.node= s[q-1];b._parent=3Dnull;b._treeContext=3De;e.internal.nodes[k]=3Db})},get= ByValue:function(b){var k=3Dthis.data("tree");if(k)for(var = p,e=3D0;e=3D0)return = k.internal.nodes[b]},count:function(){var = b=3Dthis.data("tree");if(b)return = b.internal.nodes.length},createTreeNode:function(b){return new = c(b)}};g.fn.glowTree=3Dfunction(b){if(b in l)return = l[b].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof = b=3D=3D=3D"object"||!b)return z.apply(this,arguments);else = g.error("Method "+b+=0A= " does not exist on = jQuery.fn.glowTree")};g.extend(g.fn.glowTree,{defaults:{enableDragDrop:fa= lse,getSubNodes:null,canHaveChildren:null,nodeHtml:[],draggableTrees:"",e= xpandedImageUrl:"",collapsedImageUrl:"",blankImageUrl:""}});var = c=3Dfunction(b){var k=3D{value:(new = Date).getTime(),html:""};b&&g.extend(k,b);this.html=3Dk.html;this.value=3D= k.value;this._parent=3Dnull;this._canHaveChildren=3Dtrue;this._isLoaded=3D= this._isExpanded=3Dfalse;this._element=3Dthis._treeContext=3Dnull;this._n= odes=3D[]};c.prototype._clone=3Dfunction(){for(var b=3D=0A= new = c({value:this.value,html:this.html}),k=3D0;k0;)b.removeChild(b.childNodes[= 0]);b.appendChild(document.createElement("img"));b.appendChild(document.c= reateElement("span"));b.childNodes[1].innerHTML=3Dthis.html;if(!l.disable= d.apply(g(this._treeContext.internal.state))){b.childNodes[1].onclick=3Dg= .telligent.glow.utility.makeBoundFunction(l.selected,=0A= g(this._treeContext.internal.state),[this]);var = s=3Dthis;if(this._treeContext.settings.enableDragDrop)b.childNodes[1].onm= ousedown=3Dfunction(A){o(s._treeContext,A,s)};b.childNodes[1].oncontextme= nu=3Dfunction(){g(s._treeContext.internal.state).trigger(u.contextMenu,[v= oid = 0,s])}}this._element=3Db;if(this._treeContext.internal.selectedNode=3D=3D= this)this._element.childNodes[1].style.backgroundColor=3D"#ccc";if(this._= nodes.length>0){this._isLoaded=3Dtrue;b.childNodes[0].src=3Dthis._isExpan= ded?this._treeContext.settings.expandedImageUrl:=0A= this._treeContext.settings.collapsedImageUrl;if(l.disabled.apply(g(this._= treeContext.internal.state)))b.childNodes[0].style.cursor=3D"default";els= e{b.childNodes[0].style.cursor=3D"pointer";var = x=3Dthis;b.childNodes[0].onclick=3Dfunction(){x.expanded(!x._isExpanded,t= rue)}}if(this._isExpanded){k=3Ddocument.createElement("ul");k.style.listS= tyleType=3D"none";k.style.margin=3D"0";k.style.padding=3D"0";k.style.padd= ingLeft=3D"16px";b.appendChild(k);for(k=3D0;kthis._element.childNodes[1].of= fsetHeight/2&&(this._nodes.length=3D=3D0||!this._isExpanded)){var = k=3D{};k.moveNext=3Dtrue;return = k}b-=3Dthis._element.childNodes[1].offsetHeight;if(b<0||this._nodes.lengt= h=3D=3D0||!this._isExpanded)return null;else{k=3D{};k.parentNode=3D=0A= this;k.index=3D0;k.moveNext=3Dfalse;for(var = p=3D0;p=3D0){l.remove.apply(g(this._treeContext.internal.state),[b]);if(k= >this._nodes.length)k=3Dthis._nodes.length;for(var = p=3Dthis._nodes.length;p>k;p--)this._nodes[p]=3Dthis._nodes[p-1];this._no= des[k]=3Db;b._parent=3Dthis;b._treeContext=3Dthis._treeContext}};c.protot= ype.getByValue=3Dfunction(b){for(var = k,p=3D0;p=3D0?this._nodes[b]:null};c.prototype.count=3Dfun= ction(){return = this._nodes.length};c.prototype.getParent=3Dfunction(){return = this._parent};c.prototype.getTree=3Dfunction(){return = g(this._treeContext.internal.state)};c.prototype.isLoaded=3Dfunction(){re= turn this._isLoaded}})(jQuery);=0A= ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/utility/jquery/jquery.validate.min.js?LastChanged=634701895429617963 /**=0A= * jQuery Validation Plugin 1.8.0=0A= *=0A= * http://bassistance.de/jquery-plugins/jquery-plugin-validation/=0A= * http://docs.jquery.com/Plugins/Validation=0A= *=0A= * Copyright (c) 2006 - 2011 J=C3=B6rn Zaefferer=0A= *=0A= * Dual licensed under the MIT and GPL licenses:=0A= * http://www.opensource.org/licenses/mit-license.php=0A= * http://www.gnu.org/licenses/gpl.html=0A= */=0A= (function(c){c.extend(c.fn,{validate:function(a){if(this.length){var = b=3Dc.data(this[0],"validator");if(b)return b;b=3Dnew = c.validator(a,this[0]);c.data(this[0],"validator",b);if(b.settings.onsubm= it){this.find("input, = button").filter(".cancel").click(function(){b.cancelSubmit=3Dtrue});b.set= tings.submitHandler&&this.find("input, = button").filter(":submit").click(function(){b.submitButton=3Dthis});this.= submit(function(d){function = e(){if(b.settings.submitHandler){if(b.submitButton)var f=3Dc("").attr("name",=0A= b.submitButton.name).val(b.submitButton.value).appendTo(b.currentForm);b.= settings.submitHandler.call(b,b.currentForm);b.submitButton&&f.remove();r= eturn false}return = true}b.settings.debug&&d.preventDefault();if(b.cancelSubmit){b.cancelSubm= it=3Dfalse;return = e()}if(b.form()){if(b.pendingRequest){b.formSubmitted=3Dtrue;return = false}return e()}else{b.focusInvalid();return false}})}return b}else = a&&a.debug&&window.console&&console.warn("nothing selected, can't = validate, returning = nothing")},valid:function(){if(c(this[0]).is("form"))return = this.validate().form();=0A= else{var = a=3Dtrue,b=3Dc(this[0].form).validate();this.each(function(){a&=3Db.eleme= nt(this)});return a}},removeAttrs:function(a){var = b=3D{},d=3Dthis;c.each(a.split(/\s/),function(e,f){b[f]=3Dd.attr(f);d.rem= oveAttr(f)});return b},rules:function(a,b){var d=3Dthis[0];if(a){var = e=3Dc.data(d.form,"validator").settings,f=3De.rules,g=3Dc.validator.stati= cRules(d);switch(a){case = "add":c.extend(g,c.validator.normalizeRule(b));f[d.name]=3Dg;if(b.message= s)e.messages[d.name]=3Dc.extend(e.messages[d.name],b.messages);break;case= "remove":if(!b){delete f[d.name];=0A= return g}var = h=3D{};c.each(b.split(/\s/),function(j,i){h[i]=3Dg[i];delete = g[i]});return = h}}d=3Dc.validator.normalizeRules(c.extend({},c.validator.metadataRules(d= ),c.validator.classRules(d),c.validator.attributeRules(d),c.validator.sta= ticRules(d)),d);if(d.required){e=3Dd.required;delete = d.required;d=3Dc.extend({required:e},d)}return = d}});c.extend(c.expr[":"],{blank:function(a){return!c.trim(""+a.value)},f= illed:function(a){return!!c.trim(""+a.value)},unchecked:function(a){retur= n!a.checked}});c.validator=3Dfunction(a,=0A= b){this.settings=3Dc.extend(true,{},c.validator.defaults,a);this.currentF= orm=3Db;this.init()};c.validator.format=3Dfunction(a,b){if(arguments.leng= th=3D=3D1)return function(){var = d=3Dc.makeArray(arguments);d.unshift(a);return = c.validator.format.apply(this,d)};if(arguments.length>2&&b.constructor!=3D= Array)b=3Dc.makeArray(arguments).slice(1);if(b.constructor!=3DArray)b=3D[= b];c.each(b,function(d,e){a=3Da.replace(RegExp("\\{"+d+"\\}","g"),e)});re= turn = a};c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorCl= ass:"error",=0A= validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:= c([]),errorLabelContainer:c([]),onsubmit:true,ignore:[],ignoreTitle:false= ,onfocusin:function(a){this.lastActive=3Da;if(this.settings.focusCleanup&= &!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhigh= light.call(this,a,this.settings.errorClass,this.settings.validClass);this= .addWrapper(this.errorsFor(a)).hide()}},onfocusout:function(a){if(!this.c= heckable(a)&&(a.name in = this.submitted||!this.optional(a)))this.element(a)},=0A= onkeyup:function(a){if(a.name in = this.submitted||a=3D=3Dthis.lastElement)this.element(a)},onclick:function= (a){if(a.name in this.submitted)this.element(a);else a.parentNode.name = in = this.submitted&&this.element(a.parentNode)},highlight:function(a,b,d){c(a= ).addClass(b).removeClass(d)},unhighlight:function(a,b,d){c(a).removeClas= s(b).addClass(d)}},setDefaults:function(a){c.extend(c.validator.defaults,= a)},messages:{required:"This field is required.",remote:"Please fix this = field.",email:"Please enter a valid email address.",=0A= url:"Please enter a valid URL.",date:"Please enter a valid = date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a = valid number.",digits:"Please enter only digits.",creditcard:"Please = enter a valid credit card number.",equalTo:"Please enter the same value = again.",accept:"Please enter a value with a valid = extension.",maxlength:c.validator.format("Please enter no more than {0} = characters."),minlength:c.validator.format("Please enter at least {0} = characters."),rangelength:c.validator.format("Please enter a value = between {0} and {1} characters long."),=0A= range:c.validator.format("Please enter a value between {0} and = {1}."),max:c.validator.format("Please enter a value less than or equal = to {0}."),min:c.validator.format("Please enter a value greater than or = equal to = {0}.")},autoCreateRanges:false,prototype:{init:function(){function = a(e){var = f=3Dc.data(this[0].form,"validator");e=3D"on"+e.type.replace(/^validate/,= "");f.settings[e]&&f.settings[e].call(f,this[0])}this.labelContainer=3Dc(= this.settings.errorLabelContainer);this.errorContext=3Dthis.labelContaine= r.length&&=0A= this.labelContainer||c(this.currentForm);this.containers=3Dc(this.setting= s.errorContainer).add(this.settings.errorLabelContainer);this.submitted=3D= {};this.valueCache=3D{};this.pendingRequest=3D0;this.pending=3D{};this.in= valid=3D{};this.reset();var = b=3Dthis.groups=3D{};c.each(this.settings.groups,function(e,f){c.each(f.s= plit(/\s/),function(g,h){b[h]=3De})});var = d=3Dthis.settings.rules;c.each(d,function(e,f){d[e]=3Dc.validator.normali= zeRule(f)});c(this.currentForm).validateDelegate(":text, :password, = :file, select, textarea",=0A= "focusin focusout keyup",a).validateDelegate(":radio, :checkbox, select, = option","click",a);this.settings.invalidHandler&&c(this.currentForm).bind= ("invalid-form.validate",this.settings.invalidHandler)},form:function(){t= his.checkForm();c.extend(this.submitted,this.errorMap);this.invalid=3Dc.e= xtend({},this.errorMap);this.valid()||c(this.currentForm).triggerHandler(= "invalid-form",[this]);this.showErrors();return = this.valid()},checkForm:function(){this.prepareForm();for(var = a=3D0,b=3Dthis.currentElements=3Dthis.elements();b[a];a++)this.check(b[a]= );=0A= return = this.valid()},element:function(a){this.lastElement=3Da=3Dthis.clean(a);th= is.prepareElement(a);this.currentElements=3Dc(a);var = b=3Dthis.check(a);if(b)delete this.invalid[a.name];else = this.invalid[a.name]=3Dtrue;if(!this.numberOfInvalids())this.toHide=3Dthi= s.toHide.add(this.containers);this.showErrors();return = b},showErrors:function(a){if(a){c.extend(this.errorMap,a);this.errorList=3D= [];for(var b in = a)this.errorList.push({message:a[b],element:this.findByName(b)[0]});this.= successList=3Dc.grep(this.successList,=0A= function(d){return!(d.name in = a)})}this.settings.showErrors?this.settings.showErrors.call(this,this.err= orMap,this.errorList):this.defaultShowErrors()},resetForm:function(){c.fn= .resetForm&&c(this.currentForm).resetForm();this.submitted=3D{};this.prep= areForm();this.hideErrors();this.elements().removeClass(this.settings.err= orClass)},numberOfInvalids:function(){return = this.objectLength(this.invalid)},objectLength:function(a){var = b=3D0,d;for(d in a)b++;return = b},hideErrors:function(){this.addWrapper(this.toHide).hide()},=0A= valid:function(){return this.size()=3D=3D0},size:function(){return = this.errorList.length},focusInvalid:function(){if(this.settings.focusInva= lid)try{c(this.findLastActive()||this.errorList.length&&this.errorList[0]= .element||[]).filter(":visible").focus().trigger("focusin")}catch(a){}},f= indLastActive:function(){var a=3Dthis.lastActive;return = a&&c.grep(this.errorList,function(b){return = b.element.name=3D=3Da.name}).length=3D=3D1&&a},elements:function(){var = a=3Dthis,b=3D{};return = c([]).add(this.currentForm.elements).filter(":input").not(":submit, = :reset, :image, = [disabled]").not(this.settings.ignore).filter(function(){!this.name&&=0A= a.settings.debug&&window.console&&console.error("%o has no name = assigned",this);if(this.name in = b||!a.objectLength(c(this).rules()))return false;return = b[this.name]=3Dtrue})},clean:function(a){return = c(a)[0]},errors:function(){return = c(this.settings.errorElement+"."+this.settings.errorClass,this.errorConte= xt)},reset:function(){this.successList=3D[];this.errorList=3D[];this.erro= rMap=3D{};this.toShow=3Dc([]);this.toHide=3Dc([]);this.currentElements=3D= c([])},prepareForm:function(){this.reset();this.toHide=3Dthis.errors().ad= d(this.containers)},=0A= prepareElement:function(a){this.reset();this.toHide=3Dthis.errorsFor(a)},= check:function(a){a=3Dthis.clean(a);if(this.checkable(a))a=3Dthis.findByN= ame(a.name).not(this.settings.ignore)[0];var = b=3Dc(a).rules(),d=3Dfalse,e;for(e in b){var = f=3D{method:e,parameters:b[e]};try{var = g=3Dc.validator.methods[e].call(this,a.value.replace(/\r/g,""),a,f.parame= ters);if(g=3D=3D"dependency-mismatch")d=3Dtrue;else{d=3Dfalse;if(g=3D=3D"= pending"){this.toHide=3Dthis.toHide.not(this.errorsFor(a));return}if(!g){= this.formatAndAdd(a,f);return false}}}catch(h){this.settings.debug&&=0A= window.console&&console.log("exception occured when checking element = "+a.id+", check the '"+f.method+"' method",h);throw = h;}}if(!d){this.objectLength(b)&&this.successList.push(a);return = true}},customMetaMessage:function(a,b){if(c.metadata){var = d=3Dthis.settings.meta?c(a).metadata()[this.settings.meta]:c(a).metadata(= );return d&&d.messages&&d.messages[b]}},customMessage:function(a,b){var = d=3Dthis.settings.messages[a];return = d&&(d.constructor=3D=3DString?d:d[b])},findDefined:function(){for(var = a=3D0;aWarning: No message defined for = "+a.name+"")},formatAndAdd:function(a,b){var = d=3Dthis.defaultMessage(a,b.method),e=3D/\$?\{(\d+)\}/g;if(typeof = d=3D=3D"function")d=3Dd.call(this,b.parameters,a);else = if(e.test(d))d=3DjQuery.format(d.replace(e,"{$1}"),b.parameters);this.err= orList.push({message:d,=0A= element:a});this.errorMap[a.name]=3Dd;this.submitted[a.name]=3Dd},addWrap= per:function(a){if(this.settings.wrapper)a=3Da.add(a.parent(this.settings= .wrapper));return a},defaultShowErrors:function(){for(var = a=3D0;this.errorList[a];a++){var = b=3Dthis.errorList[a];this.settings.highlight&&this.settings.highlight.ca= ll(this,b.element,this.settings.errorClass,this.settings.validClass);this= .showLabel(b.element,b.message)}if(this.errorList.length)this.toShow=3Dth= is.toShow.add(this.containers);if(this.settings.success)for(a=3D=0A= 0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.set= tings.unhighlight){a=3D0;for(b=3Dthis.validElements();b[a];a++)this.setti= ngs.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.val= idClass)}this.toHide=3Dthis.toHide.not(this.toShow);this.hideErrors();thi= s.addWrapper(this.toShow).show()},validElements:function(){return = this.currentElements.not(this.invalidElements())},invalidElements:functio= n(){return c(this.errorList).map(function(){return = this.element})},showLabel:function(a,=0A= b){var = d=3Dthis.errorsFor(a);if(d.length){d.removeClass().addClass(this.settings= .errorClass);d.attr("generated")&&d.html(b)}else{d=3Dc("<"+this.settings.= errorElement+"/>").attr({"for":this.idOrName(a),generated:true}).addClass= (this.settings.errorClass).html(b||"");if(this.settings.wrapper)d=3Dd.hid= e().show().wrap("<"+this.settings.wrapper+"/>").parent();this.labelContai= ner.append(d).length||(this.settings.errorPlacement?this.settings.errorPl= acement(d,c(a)):d.insertAfter(a))}if(!b&&this.settings.success){d.text(""= );=0A= typeof = this.settings.success=3D=3D"string"?d.addClass(this.settings.success):thi= s.settings.success(d)}this.toShow=3Dthis.toShow.add(d)},errorsFor:functio= n(a){var b=3Dthis.idOrName(a);return = this.errors().filter(function(){return = c(this).attr("for")=3D=3Db})},idOrName:function(a){return = this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},checkable:f= unction(a){return/radio|checkbox/i.test(a.type)},findByName:function(a){v= ar b=3Dthis.currentForm;return = c(document.getElementsByName(a)).map(function(d,e){return e.form=3D=3D=0A= b&&e.name=3D=3Da&&e||null})},getLength:function(a,b){switch(b.nodeName.to= LowerCase()){case "select":return c("option:selected",b).length;case = "input":if(this.checkable(b))return = this.findByName(b.name).filter(":checked").length}return = a.length},depend:function(a,b){return this.dependTypes[typeof = a]?this.dependTypes[typeof = a](a,b):true},dependTypes:{"boolean":function(a){return = a},string:function(a,b){return!!c(a,b.form).length},"function":function(a= ,b){return = a(b)}},optional:function(a){return!c.validator.methods.required.call(this= ,=0A= c.trim(a.value),a)&&"dependency-mismatch"},startRequest:function(a){if(!t= his.pending[a.name]){this.pendingRequest++;this.pending[a.name]=3Dtrue}},= stopRequest:function(a,b){this.pendingRequest--;if(this.pendingRequest<0)= this.pendingRequest=3D0;delete = this.pending[a.name];if(b&&this.pendingRequest=3D=3D0&&this.formSubmitted= &&this.form()){c(this.currentForm).submit();this.formSubmitted=3Dfalse}el= se = if(!b&&this.pendingRequest=3D=3D0&&this.formSubmitted){c(this.currentForm= ).triggerHandler("invalid-form",[this]);this.formSubmitted=3D=0A= false}},previousValue:function(a){return = c.data(a,"previousValue")||c.data(a,"previousValue",{old:null,valid:true,= message:this.defaultMessage(a,"remote")})}},classRuleSettings:{required:{= required:true},email:{email:true},url:{url:true},date:{date:true},dateISO= :{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numbe= rDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRule= s:function(a,b){a.constructor=3D=3DString?this.classRuleSettings[a]=3Db:c= .extend(this.classRuleSettings,=0A= a)},classRules:function(a){var = b=3D{};(a=3Dc(a).attr("class"))&&c.each(a.split(" "),function(){this in = c.validator.classRuleSettings&&c.extend(b,c.validator.classRuleSettings[t= his])});return b},attributeRules:function(a){var b=3D{};a=3Dc(a);for(var = d in c.validator.methods){var = e=3Da.attr(d);if(e)b[d]=3De}b.maxlength&&/-1|2147483647|524288/.test(b.ma= xlength)&&delete b.maxlength;return = b},metadataRules:function(a){if(!c.metadata)return{};var = b=3Dc.data(a.form,"validator").settings.meta;return b?c(a).metadata()[b]:=0A= c(a).metadata()},staticRules:function(a){var = b=3D{},d=3Dc.data(a.form,"validator");if(d.settings.rules)b=3Dc.validator= .normalizeRule(d.settings.rules[a.name])||{};return = b},normalizeRules:function(a,b){c.each(a,function(d,e){if(e=3D=3D=3Dfalse= )delete a[d];else if(e.param||e.depends){var f=3Dtrue;switch(typeof = e.depends){case "string":f=3D!!c(e.depends,b.form).length;break;case = "function":f=3De.depends.call(b,b)}if(f)a[d]=3De.param!=3D=3Dundefined?e.= param:true;else delete = a[d]}});c.each(a,function(d,e){a[d]=3Dc.isFunction(e)?=0A= e(b):e});c.each(["minlength","maxlength","min","max"],function(){if(a[thi= s])a[this]=3DNumber(a[this])});c.each(["rangelength","range"],function(){= if(a[this])a[this]=3D[Number(a[this][0]),Number(a[this][1])]});if(c.valid= ator.autoCreateRanges){if(a.min&&a.max){a.range=3D[a.min,a.max];delete = a.min;delete = a.max}if(a.minlength&&a.maxlength){a.rangelength=3D[a.minlength,a.maxleng= th];delete a.minlength;delete a.maxlength}}a.messages&&delete = a.messages;return a},normalizeRule:function(a){if(typeof = a=3D=3D"string"){var b=3D=0A= {};c.each(a.split(/\s/),function(){b[this]=3Dtrue});a=3Db}return = a},addMethod:function(a,b,d){c.validator.methods[a]=3Db;c.validator.messa= ges[a]=3Dd!=3Dundefined?d:c.validator.messages[a];b.length<3&&c.validator= .addClassRules(a,c.validator.normalizeRule(a))},methods:{required:functio= n(a,b,d){if(!this.depend(d,b))return"dependency-mismatch";switch(b.nodeNa= me.toLowerCase()){case "select":return(a=3Dc(b).val())&&a.length>0;case = "input":if(this.checkable(b))return this.getLength(a,b)>0;default:return = c.trim(a).length>=0A= 0}},remote:function(a,b,d){if(this.optional(b))return"dependency-mismatch= ";var = e=3Dthis.previousValue(b);this.settings.messages[b.name]||(this.settings.= messages[b.name]=3D{});e.originalMessage=3Dthis.settings.messages[b.name]= .remote;this.settings.messages[b.name].remote=3De.message;d=3Dtypeof = d=3D=3D"string"&&{url:d}||d;if(this.pending[b.name])return"pending";if(e.= old=3D=3D=3Da)return e.valid;e.old=3Da;var = f=3Dthis;this.startRequest(b);var = g=3D{};g[b.name]=3Da;c.ajax(c.extend(true,{url:d,mode:"abort",port:"valid= ate"+b.name,=0A= dataType:"json",data:g,success:function(h){f.settings.messages[b.name].re= mote=3De.originalMessage;var j=3Dh=3D=3D=3Dtrue;if(j){var = i=3Df.formSubmitted;f.prepareElement(b);f.formSubmitted=3Di;f.successList= .push(b);f.showErrors()}else{i=3D{};h=3Dh||f.defaultMessage(b,"remote");i= [b.name]=3De.message=3Dc.isFunction(h)?h(a):h;f.showErrors(i)}e.valid=3Dj= ;f.stopRequest(b,j)}},d));return"pending"},minlength:function(a,b,d){retu= rn = this.optional(b)||this.getLength(c.trim(a),b)>=3Dd},maxlength:function(a,= b,d){return this.optional(b)||=0A= this.getLength(c.trim(a),b)<=3Dd},rangelength:function(a,b,d){a=3Dthis.ge= tLength(c.trim(a),b);return = this.optional(b)||a>=3Dd[0]&&a<=3Dd[1]},min:function(a,b,d){return = this.optional(b)||a>=3Dd},max:function(a,b,d){return = this.optional(b)||a<=3Dd},range:function(a,b,d){return = this.optional(b)||a>=3Dd[0]&&a<=3Dd[1]},email:function(a,b){return = this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=3D\?\^_`{\|}~]|[\u00A0-\= uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=3D\?\^_`{= \|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09= )*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23= -\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\= x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x= 20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF= 900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\u= FFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z= ]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7= FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-= \uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a= -z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(a)},=0A= url:function(a,b){return = this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF= \uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=3D]|:)*@)?(((= \d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.= (\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))= |((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A= 0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF9= 00-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFF= EF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u0= 0A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\u= F900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFE= F])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF= 0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=3D]|:|@)+(\/(([a-z]|\d|-|\.|_|~= |[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,= ;=3D]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF= 0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=3D]|:|@)|[\uE000-\uF8FF]|\/|\?)= *)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[= \da-f]{2})|[!\$&'\(\)\*\+,;=3D]|:|@)|\/|\?)*)?$/i.test(a)},=0A= date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new = Date(a))},dateISO:function(a,b){return = this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(a)},number:funct= ion(a,b){return = this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(a)},dig= its:function(a,b){return = this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optio= nal(b))return"dependency-mismatch";if(/[^0-9-]+/.test(a))return = false;var d=3D0,e=3D0,f=3Dfalse;a=3Da.replace(/\D/g,"");for(var = g=3Da.length-1;g>=3D=0A= 0;g--){e=3Da.charAt(g);e=3DparseInt(e,10);if(f)if((e*=3D2)>9)e-=3D9;d+=3D= e;f=3D!f}return d%10=3D=3D0},accept:function(a,b,d){d=3Dtypeof = d=3D=3D"string"?d.replace(/,/g,"|"):"png|jpe?g|gif";return = this.optional(b)||a.match(RegExp(".("+d+")$","i"))},equalTo:function(a,b,= d){d=3Dc(d).unbind(".validate-equalTo").bind("blur.validate-equalTo",func= tion(){c(b).valid()});return = a=3D=3Dd.val()}}});c.format=3Dc.validator.format})(jQuery);=0A= (function(c){var = a=3D{};if(c.ajaxPrefilter)c.ajaxPrefilter(function(d,e,f){e=3Dd.port;if(d= .mode=3D=3D"abort"){a[e]&&a[e].abort();a[e]=3Df}});else{var = b=3Dc.ajax;c.ajax=3Dfunction(d){var e=3D("port"in = d?d:c.ajaxSettings).port;if(("mode"in = d?d:c.ajaxSettings).mode=3D=3D"abort"){a[e]&&a[e].abort();return = a[e]=3Db.apply(this,arguments)}return = b.apply(this,arguments)}}})(jQuery);=0A= (function(c){!jQuery.event.special.focusin&&!jQuery.event.special.focusou= t&&document.addEventListener&&c.each({focus:"focusin",blur:"focusout"},fu= nction(a,b){function d(e){e=3Dc.event.fix(e);e.type=3Db;return = c.event.handle.call(this,e)}c.event.special[b]=3D{setup:function(){this.a= ddEventListener(a,d,true)},teardown:function(){this.removeEventListener(a= ,d,true)},handler:function(e){arguments[0]=3Dc.event.fix(e);arguments[0].= type=3Db;return = c.event.handle.apply(this,arguments)}}});c.extend(c.fn,{validateDelegate:= function(a,=0A= b,d){return this.bind(b,function(e){var = f=3Dc(e.target);if(f.is(a))return d.apply(f,arguments)})}})})(jQuery);=0A= ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/utility/jquery/telligent.evolution.min.js?LastChanged=634829079857396262 (function(c){if(!c.telligent)c.telligent=3D{};if(!c.telligent.evolution)c= .telligent.evolution=3D{};c.telligent.evolution.administrationToolbar=3D{= get:function(){var = s;s=3Dc(".admin-bar");if(s.length>0)s=3Ds;else{s=3Dc("form");if(s.length>= 1)s=3Dc("body");s.prepend(c('
'));s=3Dc(".admin-bar")}return = s}}})(jQuery,window);=0A= (function(c,s){if(typeof = c.telligent=3D=3D=3D"undefined")c.telligent=3D{};if(typeof = c.telligent.evolution=3D=3D=3D"undefined")c.telligent.evolution=3D{};var = k=3D{baseUrl:"",authorizationCookieName:"AuthorizationCookie",defaultErro= rMessage:"An error occured while communicating with the = server.",defaultMultiErrorMessagePrefix:"The following errors occured = while communicating with the server:\t = "},n=3D["RecordNotFound","BadRequest","Conflict","Unauthorized","Unknown"= ],t=3Dfalse;c(window).bind("beforeunload",function(){t=3D=0A= true});var r=3Dfunction(j,o){j.url&&j.data&&typeof = j.data!=3D=3D"string"&&c.each(j.data,function(f,g){var = l=3DRegExp("{"+f+"}","gim");if(j.url.match(l)){j.url=3Dj.url.replace(l,s.= encodeURIComponent(g));delete j.data[f]}});var = a=3Dj.beforeSend,d=3Dj.error,b=3Dc.extend({},k,j);c.extend(j,{type:o=3D=3D= =3D"GET"?o:"POST",beforeSend:function(f){typeof = a!=3D=3D"undefined"&&a(f);v(f);if(o=3D=3D=3D"PUT"||o=3D=3D=3D"DELETE")f.s= etRequestHeader("Rest-Method",o)},error:function(f,g,l){if(!((f.readyStat= e=3D=3D=3D0||f.status=3D=3D=3D0)&&t)){g=3Db.defaultErrorMessage;=0A= var h=3D/(?:<|>)/g,e=3Dnull;try{var = p=3Dc.parseJSON(f.responseText);if(p&&p.Errors&&c.isArray(p.Errors)&&p.Er= rors.length>0){var w=3D[];c.each(p.Errors,function(x,y){var = z=3Dy.split(":",2);if(z.length=3D=3D=3D1)w.push(z[0].replace(h,""));else = c.inArray(z[0],n)>=3D0&&w.push(z[1].replace(h,""))});if(w.length=3D=3D=3D= 1||w.length>1&&typeof = c.telligent.evolution.notifications=3D=3D=3D"undefined")g=3Dw[0];else = if(w.length>1){e=3Dw[0];g=3Db.defaultMultiErrorMessagePrefix;g+=3D"
    ";= c.each(w,function(x,y){g+=3D"
  • "+y+"
  • "});g+=3D"
"}}if(g=3D=3D=3D=0A= null||c.trim(g)=3D=3D=3D"")g=3Db.defaultErrorMessage}catch(u){}if(typeof = d!=3D=3D"undefined")d(f,e||g,l);else = try{c.telligent.evolution.notifications.show(g,{type:"error"})}catch(q){a= lert(e||g)}}}});return = c.ajax(j)},m=3Dfunction(j,o,a){for(j+=3D"";j.length0){a.isSaving=3Dtrue;t(a,-1,o)}els= e = o&&o.success&&o.success()},error:function(){o.error&&o.error()}})},valida= te:function(j,o){var = a=3Dn.groups[j];if(a&&a.widgets.length>0){c.each(a.widgets,function(d,b){= b.valid=3Dk});a.isValidating=3Dtrue;c.each(a.widgets,function(d,b){if(b.v= alidate){var = f=3Db.validate(function(){m(a,d,o)},function(){v(a,d,o)});if(f=3D=3D=3Dfa= lse)v(a,d,o);else f=3D=3D=3Dtrue&&m(a,d,o)}else m(a,d,o)})}else = o&&o.success&&o.success()}}})(jQuery,=0A= window);=0A= (function(c){if(!c.telligent)c.telligent=3D{};if(!c.telligent.evolution)c= .telligent.evolution=3D{};var = s=3Dfunction(k,n){n<0||(n>0&&k.subscriptionId!=3D""&&(k.context=3D=3D""||= k.contextId=3D=3D=3D"undefined")?_showMessage(k,k.errorMessage):c.tellige= nt.evolution.post({url:k.emailDigestUrl,data:{subscriptionId:k.subscripti= onId,frequency:n,context:k.context,contextId:k.contextId},success:functio= n(t){t=3Deval("("+t+")");if(t.action=3D=3D"create"){k.subscriptionId=3Dt.= subscriptionId;k.frequency=3Dn;if(n=3D=3D1)_showMessage(k,k.dailyMessage,=0A= "success");else n=3D=3D7&&_showMessage(k,k.weeklyMessage,"success")}else = if(t.action=3D=3D"update"){k.frequency=3Dn;if(n=3D=3D1)_showMessage(k,k.d= ailyMessage,"success");else = n=3D=3D7&&_showMessage(k,k.weeklyMessage,"success")}else = if(t.action=3D=3D"delete"){k.subscriptionId=3D"";k.frequency=3D0;k.contex= t=3D=3D"group"&&_showMessage(k,k.unsubscribeGroupMessage,"success")}t=3D{= subscriptionId:k.subscriptionId,frequency:k.frequency,context:k.context,c= ontextId:k.contextId,action:t.action};c(document).trigger("emailDigestSub= scriptionChange",=0A= [t])},error:function(){_showMessage(k,k.errorMessage,"error")}}))};_showM= essage=3Dfunction(k,n,t){c.telligent.evolution.notifications.show(n,{type= :t,duration:5E3})};c.telligent.evolution.emailDigest=3D{register:function= (k){c("#"+k.selectPopupId).glowPopUpPanel({cssClass:"Panel",position:"upd= own",zIndex:100,hideOnDocumentClick:true});c("#"+k.rollupWrapperId).click= (function(){var = n=3Dc(this),t=3D"",r=3D"",m=3D"";if(k.frequency=3D=3D1)t=3D"email-digest-= selected";else if(k.frequency=3D=3D7)r=3D"email-digest-selected";else m=3D=0A= "email-digest-selected";var = v=3Dn.outerWidth(),j=3Dn.outerHeight();n=3Dn.offset();t=3D"
'+k.popupDaily+'
'+k.popupWeekly+'
'+k.popupUnsubscribe+"
";c("#"+=0A= k.selectPopupId).glowPopUpPanel("hide").glowPopUpPanel("html",t).glowPopU= pPanel("show",n.left+4,n.top+5,v,j-10,false)});c("."+k.selectableTag).liv= e("click",function(){var = n=3Dc(this);if(!n.hasClass("email-digest-selected")){n=3Dn.attr("frequenc= y");s(k,n)}});c(document).bind("emailDigestSubscriptionChange",function(n= ,t){if(!(t.context!=3Dk.context||t.contextId!=3Dk.contextId)){var = r=3D"";if(t.action=3D=3D"create"||t.action=3D=3D"update"){if(t.frequency=3D= =3D"1")r=3Dk.rollupDaily;else if(t.frequency=3D=3D"7")r=3Dk.rollupWeekly;=0A= k.subscriptionId=3Dt.subscriptionId}else{r=3Dk.rollupUnsubscribed;k.subsc= riptionId=3D""}k.frequency=3Dt.frequency;c("#"+k.rollupTextId).html(r)}})= }}})(jQuery);=0A= (function(c){var = s=3D{},k=3Dfunction(r,m){if(r.internal.isInitialized){for(var = v=3Dm.split(/[,;]/g),j=3D[],o=3D0;o").addClass(r.settings.editorCssClass).attr("style",=0A= "display: = none;"),v=3Dc("").attr("cols","40").attr("rows","2")= ;if(r.settings.allTags&&r.settings.allTags.length>0)var j=3Dc('').val(r.settings.selectTagsText);var o=3Dc('').val(r.settings.saveTagsText),a=3Dc('').val(r.settings.cancelText),d=3Dc('
');=0A= d.find("td:eq(1)").append(o);d.find("td:eq(1)").append(a);j&&d.find("td:f= irst").append(j);m.append(v);m.append(d);v.evolutionTagTextBox({allTags:r= .settings.allTags});m.glowPopUpPanel({cssClass:r.settings.editorCssClass,= position:"updown",zIndex:100,hideOnDocumentClick:false});c(r.internal.sta= te).bind("click.evolutionInlineTagEditor",function(){m.glowPopUpPanel("hi= de").glowPopUpPanel("show",c(this));v.val(r.settings.currentTags.length>0= ?r.settings.currentTags.join(", "):"");return = false});o.bind("click.evolutionInlineTagEditor",=0A= function(){k(r,v.attr("value"));m.glowPopUpPanel("hide");return = false});a.bind("click.evolutionInlineTagEditor",function(){m.glowPopUpPan= el("hide");return = false});j&&j.bind("click.evolutionInlineTagEditor",function(){v.evolution= TagTextBox("openTagSelector");return = false});r.internal.state.after(m);r.internal.isInitialized=3Dtrue};c.fn.e= volutionInlineTagEditor=3Dfunction(r){if(r in s)return = s[r].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof = r=3D=3D=3D"object"||!r)return n.apply(this,arguments);=0A= else c.error("Method "+r+" does not exist on = jQuery.fn.evolutionInlineTagEditor")};c.extend(c.fn.evolutionInlineTagEdi= tor,{defaults:{allTags:[""],currentTags:[""],editorCssClass:"tags-editor"= ,editButtonText:"Edit",selectTagsText:"Select = Tags",saveTagsText:"Save",cancelText:"Cancel",onSave:function(){}}})})(jQ= uery);=0A= (function(c){if(!c.telligent)c.telligent=3D{};if(!c.telligent.evolution)c= .telligent.evolution=3D{};var = s=3D{message:"",enabled:false,ignoreClick:false},k=3Dfunction(){if(!s.ign= oreClick)return = s.message};c.telligent.evolution.navigationConfirmation=3D{configure:func= tion(n){s=3Dc.extend(s,n)},enable:function(){if(!s.enabled){window.onbefo= reunload=3Dk;s.enabled=3Dtrue;c(document).bind("customizepage",function()= {s.ignoreClick=3Dtrue})}},register:function(n){c(n).click(function(){s.ig= noreClick=3Dtrue})},ignoreClick:function(){s.ignoreClick=3D=0A= true}}})(jQuery);=0A= (function(c,s){if(!c.telligent)c.telligent=3D{};if(!c.telligent.evolution= )c.telligent.evolution=3D{};var = k=3D{duration:9999,width:300,type:"directions"},n=3Dnull,t=3Dnull,r=3D300= ,m=3Dfalse,v=3Dfunction(){s.clearTimeout(t);if(m)t=3Ds.setTimeout(v,249);= else = n.glowPopUpPanel("hide")},j=3Dfunction(){n&&n.glowPopUpPanel("isShown")&&= n.glowPopUpPanel("show",(c(s).width()-r)/2,c(s).scrollTop(),r,0,true)};c.= telligent.evolution.notifications=3D{show:function(o,a){a=3Dc.extend({},k= ,a||{});if(!n){n=3Dc("
").glowPopUpPanel({cssClass:"menu = notification notification__menu",position:"down",=0A= zIndex:1E4,hideOnDocumentClick:false}).bind("glowPopUpPanelMouseOver",fun= ction(){m=3Dtrue}).bind("glowPopUpPanelMouseOut",function(){m=3Dfalse});c= (s).bind("scroll",j)}s.clearTimeout(t);n.glowPopUpPanel("isShown")&&n.glo= wPopUpPanel("hide");r=3Da.width;n.glowPopUpPanel("html",'
'+o+"
").glowPopUpPanel("show",(c(s).w= idth()-a.width)/2,c(s).scrollTop(),a.width,0);t=3Ds.setTimeout(v,a.durati= on)}}})(jQuery,window);=0A= (function(){function c(){this.returnValue=3Dfalse}function = s(){this.cancelBubble=3Dtrue}var = k=3D0,n=3D[],t=3D{},r=3D{},m=3D{"<":"lt",">":"gt","&":"amp",'"':"quot","'= ":"#39"},v=3D/[<>&\"\']/g,j=3Dwindow.setTimeout,o=3D{},a;(function(b){b=3D= b.split(/,/);var f,g,l;for(f=3D0;f0&&d.each(f,function(l,h){b[h]=3Dl})}= );return b},cleanName:function(b){var = f,g;g=3D[/[\300-\306]/g,"A",/[\340-\346]/g,"a",/\307/g,"C",/\347/g,"c",/[= \310-\313]/g,"E",/[\350-\353]/g,"e",/[\314-\317]/g,"I",/[\354-\357]/g,"i"= ,/\321/g,"N",/\361/g,"n",/[\322-\330]/g,=0A= "O",/[\362-\370]/g,"o",/[\331-\334]/g,"U",/[\371-\374]/g,"u"];for(f=3D0;f= 0?"&":"?")+g;retu= rn b},each:function(b,f){var g,l;if(b){g=3Db.length;if(g=3D=3D=3Dvoid = 0)for(l in = b){if(b.hasOwnProperty(l))if(f(b[l],l)=3D=3D=3Dfalse)break}else = for(l=3D0;l1073741824)return Math.round(b/1073741824,1)+" = GB";if(b>1048576)return Math.round(b/1048576,1)+" MB";if(b>1024)return = Math.round(b/1024,1)+" KB";return b+" b"},getPos:function(b,=0A= f){function g(w){var = u,q=3D0;u=3D0;if(w){u=3Dw.getBoundingClientRect();w=3Dp.compatMode=3D=3D=3D= "CSS1Compat"?p.documentElement:p.body;q=3Du.left+w.scrollLeft;u=3Du.top+w= .scrollTop}return{x:q,y:u}}var = l=3D0,h=3D0,e,p=3Ddocument;b=3Db;f=3Df||p.body;if(b&&b.getBoundingClientR= ect&&navigator.userAgent.indexOf("MSIE")>0&&p.documentMode<8){l=3Dg(b);h=3D= g(f);return{x:l.x-h.x,y:l.y-h.y}}for(e=3Db;e&&e!=3Df&&e.nodeType;){l+=3De= .offsetLeft||0;h+=3De.offsetTop||0;e=3De.offsetParent}for(e=3Db.parentNod= e;e&&e!=3Df&&e.nodeType;){l-=3De.scrollLeft||0;h-=3De.scrollTop||=0A= 0;e=3De.parentNode}return{x:l,y:h}},getSize:function(b){return{w:b.offset= Width||b.clientWidth,h:b.offsetHeight||b.clientHeight}},parseSize:functio= n(b){var f;if(typeof = b=3D=3D"string"){b=3D/^([0-9]+)([mgk]?)$/.exec(b.toLowerCase().replace(/[= ^0-9mkg]/g,""));f=3Db[2];b=3D+b[1];if(f=3D=3D"g")b*=3D1073741824;if(f=3D=3D= "m")b*=3D1048576;if(f=3D=3D"k")b*=3D1024}return = b},xmlEncode:function(b){return b?(""+b).replace(v,function(f){return = m[f]?"&"+m[f]+";":f}):b},toArray:function(b){var = f,g=3D[];for(f=3D0;f=3D0;e--)if(g[e].key=3D=3D=3Dh||g[e].orig=3D=3D=3Dl){if(= b.removeEventListener)b.removeEventListener(f,=0A= g[e].func,false);else = b.detachEvent&&b.detachEvent("on"+f,g[e].func);g[e].orig=3Dnull;g[e].func= =3Dnull;g.splice(e,1);if(l!=3D=3Dvoid 0)break}g.length||delete = o[b[a]][f];if(d.isEmptyObj(o[b[a]])){delete o[b[a]];try{delete = b[a]}catch(p){b[a]=3Dvoid = 0}}}},removeAllEvents:function(b,f){b[a]=3D=3D=3Dvoid = 0||!b[a]||d.each(o[b[a]],function(g,l){d.removeEvent(b,l,f)})}};d.Uploade= r=3Dfunction(b){function f(){var = u,q=3D0,x;if(this.state=3D=3Dd.STARTED){for(x=3D0;x0?Math.ceil(h.uploaded/e.length*100):0;else{h.byte= sPerSec=3DMath.ceil(h.loaded/((+new Date-p||1)/1E3));h.percent=3D=0A= h.size>0?Math.ceil(h.loaded/h.size*100):0}}var = l=3D{},h,e=3D[],p,w=3Dfalse;h=3Dnew = d.QueueProgress;b=3Dd.extend({chunk_size:0,multipart:true,multi_selection= :true,file_data_name:"file",filters:[]},b);d.extend(this,{state:d.STOPPED= ,runtime:"",features:{},files:e,settings:b,total:h,id:d.guid(),init:funct= ion(){function u(){var = B=3Dy[z++],C,E,D;if(B){C=3DB.getFeatures();if(E=3Dq.settings.required_fea= tures){E=3DE.split(",");for(D=3D0;Db.max_file_size)B.trigger("Error",{code:d.FILE_SIZE_ERROR,messa= ge:d.translate("File size = error."),file:D});else{e.push(D);H++}}if(H)j(function(){q.trigger("QueueC= hanged");q.refresh()},1);else return = false});b.unique_names&&q.bind("UploadFile",function(B,C){var = E=3DC.name.match(/\.([^.]+)$/),D=3D"tmp";if(E)D=3DE[1];C.target_name=3DC.= id+"."+D});q.bind("UploadProgress",function(B,C){C.percent=3DC.size>0?Mat= h.ceil(C.loaded/C.size*100):100;g()});q.bind("StateChanged",function(B){i= f(B.state=3D=3D=0A= d.STARTED)p=3D+new Date;else = if(B.state=3D=3Dd.STOPPED)for(x=3DB.files.length-1;x>=3D0;x--)if(B.files[= x].status=3D=3Dd.UPLOADING){B.files[x].status=3Dd.QUEUED;g()}});q.bind("Q= ueueChanged",g);q.bind("Error",function(B,C){if(C.file){C.file.status=3Dd= .FAILED;g();B.state=3D=3Dd.STARTED&&j(function(){f.call(q)},1)}});q.bind(= "FileUploaded",function(B,C){C.status=3Dd.DONE;C.loaded=3DC.size;B.trigge= r("UploadProgress",C);j(function(){f.call(q)},1)});if(b.runtimes){y=3D[];= A=3Db.runtimes.split(/\s?,\s?/);for(x=3D0;x=3D0;q--)if(e[q].id=3D=3D=3Du)return = e[q]},removeFile:function(u){var = q;for(q=3De.length-1;q>=3D0;q--)if(e[q].id=3D=3D=3Du.id)return = this.splice(q,1)[0]},splice:function(u,q){var = x;x=3De.splice(u=3D=3D=3Dvoid 0?0:u,q=3D=3D=3Dvoid = 0?e.length:q);this.trigger("FilesRemoved",x);this.trigger("QueueChanged")= ;return x},trigger:function(u){var = q=3Dl[u.toLowerCase()],x,y;if(q){y=3DArray.prototype.slice.call(arguments= );y[0]=3Dthis;for(x=3D0;x=3D0;y--){if(x[y].func=3D=3D=3Dq){x.splice(y,1);br= eak}}else x=3D[];x.length||delete l[u]}},unbindAll:function(){var = u=3Dthis;d.each(l,function(q,x){u.unbind(x)})},destroy:function(){this.st= op();this.trigger("Destroy");this.unbindAll()}})};d.File=3Dfunction(b,f,g= ){this.id=3Db;this.name=3Df;this.size=3Dg;this.status=3Dthis.percent=3Dth= is.loaded=3D=0A= 0};d.Runtime=3Dfunction(){this.getFeatures=3Dfunction(){};this.init=3Dfun= ction(){}};d.QueueProgress=3Dfunction(){var = b=3Dthis;b.size=3D0;b.loaded=3D0;b.uploaded=3D0;b.failed=3D0;b.queued=3D0= ;b.percent=3D0;b.bytesPerSec=3D0;b.reset=3Dfunction(){b.size=3Db.loaded=3D= b.uploaded=3Db.failed=3Db.queued=3Db.percent=3Db.bytesPerSec=3D0}};d.runt= imes=3D{};window.plupload=3Dd})();=0A= (function(c,s,k){function n(){var m;try{m=3Dnavigator.plugins["Shockwave = Flash"];m=3Dm.description}catch(v){try{m=3D(new = ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}c= atch(j){m=3D"0.0"}}m=3Dm.match(/\d+/g);return = parseFloat(m[0]+"."+m[1])}var = t=3D{},r=3D{};k.flash=3D{trigger:function(m,v,j){setTimeout(function(){va= r = o=3Dt[m];o&&o.trigger("Flash:"+v,j)},0)}};k.runtimes.Flash=3Dk.addRuntime= ("flash",{getFeatures:function(){return{jpgresize:true,pngresize:true,max= Width:8091,maxHeight:8091,chunks:true,=0A= progress:true,multipart:true,multi_selection:true}},init:function(m,v){fu= nction j(){return s.getElementById(m.id+"_flash")}function = o(){if(d++>5E3)v({success:false});else = r[m.id]=3D=3D=3Dfalse&&setTimeout(o,1)}var = a,d=3D0,b=3Ds.body;if(n()<10)v({success:false});else{r[m.id]=3Dfalse;t[m.= id]=3Dm;s.getElementById(m.settings.browse_button);a=3Ds.createElement("d= iv");a.id=3Dm.id+"_flash_container";k.extend(a.style,{position:"absolute"= ,top:"0px",background:m.settings.shim_bgcolor||"transparent",zIndex:99999= ,width:"100%",=0A= height:"100%"});a.className=3D"plupload = flash";if(m.settings.container){b=3Ds.getElementById(m.settings.container= );if(k.getStyle(b,"position")=3D=3D=3D"static")b.style.position=3D"relati= ve"}b.appendChild(a);(function(){var f,g;f=3D'';if(k.ua.ie){g=3Ds.createElement("div");a.appendChild(g);g.ou= terHTML=3Df}else = a.innerHTML=3Df})();o();a=3Dnull;m.bind("Destroy",function(f){k.removeAll= Events(s.body,f.id);delete r[f.id];delete = t[f.id];(f=3Ds.getElementById(f.id+"_flash_container"))&&b.removeChild(f)= });m.bind("Flash:Init",function(){var = f=3D{};try{j().setFileFilters(m.settings.filters,m.settings.multi_selecti= on)}catch(g){v({success:false});=0A= return}if(!r[m.id]){r[m.id]=3Dtrue;m.bind("UploadFile",function(l,h){var = e=3Dl.settings,p=3Dm.settings.resize||{};j().uploadFile(f[h.id],e.url,{na= me:h.target_name||h.name,mime:k.mimeTypes[h.name.replace(/^.+\.([^.]+)/,"= $1").toLowerCase()]||"application/octet-stream",chunk_size:e.chunk_size,w= idth:p.width,height:p.height,quality:p.quality,multipart:e.multipart,mult= ipart_params:e.multipart_params||{},file_data_name:e.file_data_name,forma= t:/\.(jpg|jpeg)$/i.test(h.name)?"jpg":"png",headers:e.headers,urlstream_u= pload:e.urlstream_upload})});=0A= m.bind("CancelUpload",function(){j().cancelUpload()});m.bind("Flash:Uploa= dProcess",function(l,h){var = e=3Dl.getFile(f[h.id]);if(e.status!=3Dk.FAILED){e.loaded=3Dh.loaded;e.siz= e=3Dh.size;l.trigger("UploadProgress",e)}});m.bind("Flash:UploadChunkComp= lete",function(l,h){var = e=3Dl.getFile(f[h.id]);l.trigger("ChunkUploaded",e,{chunk:h.chunk,chunks:= h.chunks,response:h.text});e.status!=3D=3Dk.FAILED&&l.state!=3D=3Dk.STOPP= ED&&j().uploadNextChunk();if(h.chunk=3D=3Dh.chunks-1){e.status=3Dk.DONE;l= .trigger("FileUploaded",e,{response:h.text})}});=0A= m.bind("Flash:SelectFiles",function(l,h){var = e,p,w=3D[],u;for(p=3D0;p>=0A= Math.abs(w+u*8)&255);f(p,h,4)}},SLONG:function(h){h=3Db(h,4);return = h>2147483647?h-4294967296:h},STRING:function(h,e){var = p=3D"";for(e+=3Dh;h=3D=0A= 65488&&e<=3D65495)h+=3D2;else{if(e=3D=3D=3D65498||e=3D=3D=3D65497)break;p= =3Dl.SHORT(h+2)+2;f[e]&&l.STRING(h+4,f[e].signature.length)=3D=3D=3Df[e].= signature&&g.push({hex:e,app:f[e].app.toUpperCase(),name:f[e].name.toUppe= rCase(),start:h,length:p,segment:l.SEGMENT(h,p)});h+=3Dp}}l.init(null);re= turn{headers:g,restore:function(w){l.init(w);var u=3Dnew = j(w);if(!u.headers)return false;for(w=3Du.headers.length;w>0;w--){var = q=3Du.headers[w-1];l.SEGMENT(q.start,q.length,"")}u.purge();h=3Dl.SHORT(2= )=3D=3D65504?4+l.SHORT(4):2;w=3D0;for(u=3Dg.length;w<=0A= u;w++){l.SEGMENT(h,0,g[w].segment);h+=3Dg[w].length}return = l.SEGMENT()},get:function(w){for(var = u=3D[],q=3D0,x=3Dg.length;q=3Dq.length)break= }},purge:function(){g=3D[];l.init(null)}}}}function o(){function = b(e,p){var w=3Df.SHORT(e),u,q,x,y,z,A=3D[],B=3D{};for(u=3D0;u<=0A= w;u++){z=3De+12*u+2;x=3Dp[f.SHORT(z)];if(x!=3D=3Dn){q=3Df.SHORT(z+=3D2);y= =3Df.LONG(z+=3D2);z+=3D4;A=3D[];switch(q){case 1:case = 7:if(y>4)z=3Df.LONG(z)+l.tiffHeader;for(q=3D0;q4)z=3Df.LONG(z)+l.tiffHeader;B[x]=3Df.STRING(z,y-1);continue;case = 3:if(y>2)z=3Df.LONG(z)+l.tiffHeader;for(q=3D0;q1)z=3Df.LONG(z)+l.tiffHeader;for(q=3D0;q";p.scrollTop=3D100;u=3Ds.getElementById(b.id+"_html5");e.features.trig= gerDialog?k.extend(u.style,{position:"absolute",width:"100%",height:"100%= "}):k.extend(u.style,{cssFloat:"right",styleFloat:"right"});u.onchange=3D= function(){g(this.files);this.value=3D""};if(w=3Ds.getElementById(e.setti= ngs.browse_button)){var = B=3De.settings.browse_button_hover,C=3De.settings.browse_button_active;p=3D= e.features.triggerDialog?w:p;if(B){k.addEvent(p,"mouseover",function(){k.= addClass(w,B)},e.id);k.addEvent(p,=0A= "mouseout",function(){k.removeClass(w,B)},e.id)}if(C){k.addEvent(p,"mouse= down",function(){k.addClass(w,C)},e.id);k.addEvent(s.body,"mouseup",funct= ion(){k.removeClass(w,C)},e.id)}e.features.triggerDialog&&k.addEvent(w,"c= lick",function(E){var = D=3Ds.getElementById(e.id+"_html5");D&&!D.disabled&&D.click();E.preventDe= fault()},e.id)}});b.bind("PostInit",function(){var = e=3Ds.getElementById(b.settings.drop_element);if(e)if(d)k.addEvent(e,"dra= genter",function(){var p,w;p=3Ds.getElementById(b.id+"_drop");if(!p){p=3D=0A= s.createElement("input");p.setAttribute("type","file");p.setAttribute("id= ",b.id+"_drop");p.setAttribute("multiple","multiple");k.addEvent(p,"chang= e",function(){g(this.files);k.removeEvent(p,"change",b.id);p.parentNode.r= emoveChild(p)},b.id);e.appendChild(p)}k.getPos(e,s.getElementById(b.setti= ngs.container));w=3Dk.getSize(e);k.getStyle(e,"position")=3D=3D=3D"static= "&&k.extend(e.style,{position:"relative"});k.extend(p.style,{position:"ab= solute",display:"block",top:0,left:0,width:w.w+"px",height:w.h+"px",opaci= ty:0})},=0A= b.id);else{k.addEvent(e,"dragover",function(p){p.preventDefault()},b.id);= k.addEvent(e,"drop",function(p){var = w=3Dp.dataTransfer;w&&w.files&&g(w.files);p.preventDefault()},b.id)}});b.= bind("Refresh",function(e){var = p,w,u;if(p=3Ds.getElementById(b.settings.browse_button)){w=3Dk.getPos(p,s= .getElementById(e.settings.container));u=3Dk.getSize(p);e=3Ds.getElementB= yId(b.id+"_html5_container");k.extend(e.style,{top:w.y+"px",left:w.x+"px"= ,width:u.w+"px",height:u.h+"px"});if(b.features.triggerDialog){k.getStyle= (p,"position")=3D=3D=3D=0A= "static"&&k.extend(p.style,{position:"relative"});w=3DparseInt(k.getStyle= (p,"z-index"),10);if(isNaN(w))w=3D0;k.extend(p.style,{zIndex:w});k.extend= (e.style,{zIndex:w-1})}}});b.bind("DisableBrowse",function(e,p){var = w=3Ds.getElementById(e.id+"_html5");if(w)w.disabled=3Dp});b.bind("CancelU= pload",function(){h&&h.abort&&h.abort()});b.bind("UploadFile",function(e,= p){function w(y,z,A){var B;if(File.prototype.slice)try{y.slice();return = y.slice(z,A)}catch(C){return y.slice(z,A-z)}else = return(B=3DFile.prototype.webkitSlice||=0A= File.prototype.mozSlice)?B.call(y,z,A):null}function u(y){function = z(){function E(I){var = R=3D0,O=3D"----pluploadboundary"+k.guid(),N,M=3D"";h=3Dnew = XMLHttpRequest;if(h.upload)h.upload.onprogress=3Dfunction(F){p.loaded=3DM= ath.min(p.size,B+F.loaded-R);e.trigger("UploadProgress",p)};h.onreadystat= echange=3Dfunction(){var = F,K;if(h.readyState=3D=3D4&&e.state!=3D=3Dk.STOPPED){try{F=3Dh.status}cat= ch(U){F=3D0}if(F>=3D400)e.trigger("Error",{code:k.HTTP_ERROR,message:k.tr= anslate("HTTP = Error."),file:p,status:F});else{if(H){K=3D{chunk:A,chunks:H,=0A= response:h.responseText,status:F};e.trigger("ChunkUploaded",p,K);B+=3DL;i= f(K.cancelled){p.status=3Dk.FAILED;return}p.loaded=3DMath.min(p.size,(A+1= )*J)}else = p.loaded=3Dp.size;e.trigger("UploadProgress",p);I=3DD=3DN=3DM=3Dnull;if(!= H||++A>=3DH){p.status=3Dk.DONE;e.trigger("FileUploaded",p,{response:h.res= ponseText,status:F})}else = z()}}};if(e.settings.multipart&&l.multipart){G.name=3Dp.target_name||p.na= me;h.open("post",Q,true);k.each(e.settings.headers,function(F,K){h.setReq= uestHeader(K,F)});if(typeof I!=3D=3D"string"&&c.FormData){N=3D=0A= new = FormData;k.each(k.extend(G,e.settings.multipart_params),function(F,K){N.a= ppend(K,F)});N.append(e.settings.file_data_name,I);h.send(N);return}if(ty= peof = I=3D=3D=3D"string"){h.setRequestHeader("Content-Type","multipart/form-dat= a; = boundary=3D"+O);k.each(k.extend(G,e.settings.multipart_params),function(F= ,K){M+=3D"--"+O+'\r\nContent-Disposition: form-data; = name=3D"'+K+'"\r\n\r\n';M+=3Dunescape(encodeURIComponent(F))+"\r\n"});S=3D= k.mimeTypes[p.name.replace(/^.+\.([^.]+)/,"$1").toLowerCase()]||"applicat= ion/octet-stream";=0A= M+=3D"--"+O+'\r\nContent-Disposition: form-data; = name=3D"'+e.settings.file_data_name+'"; = filename=3D"'+unescape(encodeURIComponent(p.name))+'"\r\nContent-Type: = '+S+"\r\n\r\n"+I+"\r\n--"+O+"--\r\n";R=3DM.length-I.length;I=3DM;if(h.sen= dAsBinary)h.sendAsBinary(I);else if(l.canSendBinary){for(var T=3Dnew = Uint8Array(I.length),P=3D0;Pq.chunk_size&&(l.chunks||typeof = y=3D=3D"string")){J=3Dq.chunk_size;H=3DMath.ceil(p.size/J);L=3DMath.min(J= ,p.size-A*J);D=3Dtypeof = y=3D=3D"string"?y.substring(A*J,A*J+L):w(y,A*J,A*J+L);G.chunk=3DA;G.chunk= s=3DH}else{L=3Dp.size;D=3Dy}if(e.settings.multipart&&l.multipart&&typeof = D!=3D=3D=0A= "string"&&C&&l.cantSendBlobInFormData&&l.chunks&&e.settings.chunk_size){C= .onload=3Dfunction(){E(C.result)};C.readAsBinaryString(D)}else E(D)}}var = A=3D0,B=3D0,C=3D"FileReader"in c?new FileReader:null;z()}var = q=3De.settings,x;x=3Da[p.id];if(l.jpgresize&&e.settings.resize&&/\.(png|j= pg|jpeg)$/i.test(p.name))m.call(e,p,e.settings.resize,/\.png$/i.test(p.na= me)?"image/png":"image/jpeg",function(y){if(y.success){p.size=3Dy.data.le= ngth;u(y.data)}else = l.chunks?u(x):r(x,u)});else!l.chunks&&l.jpgresize?r(x,u):u(x)});b.bind("D= estroy",=0A= function(e){var = p,w,u=3Ds.body,q=3D{inputContainer:e.id+"_html5_container",inputFile:e.id= +"_html5",browseButton:e.settings.browse_button,dropElm:e.settings.drop_e= lement};for(p in = q)(w=3Ds.getElementById(q[p]))&&k.removeAllEvents(w,e.id);k.removeAllEven= ts(s.body,e.id);if(e.settings.container)u=3Ds.getElementById(e.settings.c= ontainer);u.removeChild(s.getElementById(q.inputContainer))});f({success:= true})}else f({success:false})}})})(window,document,plupload);=0A= (function(c){var s=3D[],k=3D/MSIE = 6/i.test(navigator.userAgent)?"gif":"png",n=3Dfunction(g,l){return = l%2=3D=3D1?g.settings.imagesPathUrl+"star-right-on."+k:g.settings.imagesP= athUrl+"star-left-on."+k},t=3Dfunction(g,l){return = l%2=3D=3D1?g.settings.imagesPathUrl+"star-right-off."+k:g.settings.images= PathUrl+"star-left-off."+k},r=3Dfunction(g,l){var = h;for(h=3D0;h").css({borderLeftWidth:"0px",borderTopWidth:"0px",borderRightWidth:"0p= x",borderBottomWidth:"0px"});g.settings.isReadOnly||=0A= (e=3Dc('').css({textDecoration:"none"}).append(p));var = w=3D(l+1)/2;w<=3Dg.settings.value?p.attr("src",n(g,l)):p.attr("src",t(g,l= ));if(!g.settings.isReadOnly){if(g.settings.useHalfStars)u=3Dm(g,l,w);els= e{w=3DMath.ceil(w);var = u=3Dm(g,w,w)}e.attr("title",u);p.attr("alt",u);e.data("rating-value",w).b= ind("click.evolutionStarRating",function(){var = q=3De.data("rating-value");if(!(!g.internal.isInitialized||g.settings.isR= eadOnly)){g.internal.value=3Dq;if(!g.settings.allowMultipleSelections)g.s= ettings.isReadOnly=3D=0A= true;g.internal.savingValue=3Dtrue;g.settings.onRate(q)}return = false}).bind("focus.evolutionStarRating",function(){o(g,e.data("rating-va= lue"))}).bind("mouseover.evolutionStarRating",function(){o(g,e.data("rati= ng-value"))}).bind("blur.evolutionStarRating",function(){a(g,e.data("rati= ng-value"))}).bind("mouseout.evolutionStarRating",function(){a(g,e.data("= rating-value"))})}p.attr("align","absmiddle").attr("border",0);e?g.intern= al.state.append(e):g.internal.state.append(p)})();g.internal.isInitialize= d=3D=0A= true},f=3D{val:function(g){var = l=3Dthis.data("evolutionStarRating_context",l);if(l!=3D=3Dnull)if(typeof = g!=3D=3D"undefined"){l.internal.value=3Dg;j(l,g);return g}else return = v(l);return 0},readOnly:function(g){var = l=3Dthis.data("evolutionStarRating_context",l);if(l!=3D=3Dnull)if(typeof = g!=3D=3D"undefined")(l.settings.isReadOnly=3Dg)?l.internal.state.find("a"= ).css({cursor:"default"}):l.internal.state.find("a").css({cursor:"pointer= "});else return l.settings.isReadOnly;return = true}};c.fn.evolutionStarRating=3Dfunction(g){if(g in=0A= f)return f[g].apply(this,Array.prototype.slice.call(arguments,1));else = if(typeof g=3D=3D=3D"object"||!g)return d.apply(this,arguments);else = c.error("Method "+g+" does not exist on = jQuery.fn.evolutionStarRating")};c.extend(c.fn.evolutionStarRating,{defau= lts:{value:0,maxRating:5,imagesPathUrl:"",useHalfStars:false,starClass:"r= ating",overClass:"active",readOnlyClass:"readonly",titles:["Terrible","Po= or","Fair","Average","Good","Excellent"],isReadOnly:false,allowMultipleSe= lections:true,onRate:function(){}}})})(jQuery);=0A= (function(c){var s=3D{openTagSelector:function(){var = j=3Dthis.data("evolutionTagTextBox");if(j){window.__tagEditor=3D{SetSelec= tedTags:function(a){for(var = d=3D[],b=3Dn(j),f=3Dj.settings.allTags,g,l=3D0;l"),f=3D0;f0){a= .moveStart("character",a.text.length);a.select()}}else = if(j.internal.state.selectionStart||j.internal.state.selectionStart=3D=3D= "0")j.internal.state.selectionStart=3Dj.internal.state.selectionEnd;o.can= celBubble=3Dtrue;return o.returnValue=3Dfalse}else = if(o.keyCode=3D=3D8){j.internal.state.focus();=0A= if(document.selection){if(a=3Dwindow.document.selection.createRange()){a.= moveStart("character",-1);a.text=3D"";o.cancelBubble=3Dtrue;return = o.returnValue=3Dfalse}}else = if(j.internal.state.selectionStart||j.internal.state.selectionStart=3D=3D= "0"){a=3Dj.internal.state.selectionStart;var = d=3Dj.internal.state.selectionEnd;if(a=3D=3Dd)return = true;a>0&&a--;j.internal.state.value=3Dj.internal.state.value.substring(0= ,a)+j.internal.state.value.substring(d);j.internal.state.selectionStart=3D= a;j.internal.state.selectionEnd=3Da;o.cancelBubble=3D=0A= true;return o.returnValue=3Dfalse}}return = true}},r=3Dfunction(j){window.clearTimeout(j.internal.suggestionTimeoutHa= ndle);j.internal.suggestionTimeoutHandle=3Dwindow.setTimeout(function(){m= (j)},249);return = true},m=3Dfunction(j){if(!document.selection&&!j.internal.state.selection= Start&&j.internal.state.selectionStart!=3D"0")return = true;if(c(j.internal.state).val()=3D=3Dj.internal.previousValue)return = true;j.internal.previousValue=3Dc(j.internal.state).val();v(j);if(j.inter= nal.currentTag=3D=3D"")return true;var o;a:{o=3D=0A= j.internal.currentTag;var = a,d,b,f=3Dj.settings.allTags;for(a=3D0;a").attr("class",m.settings.cssClass);m.internal.preview=3Dc("
").attr("class",m.settings.previewCssClass);v.append(m.internal.previe= w);m.internal.select=3Dc('').val(m.settings.selectText).click(function(){n(m);return = false});v.append(m.internal.select);m.internal.remove=3D=0A= c('').val(m.settings.removeText).click(function(){m.internal.preview.html(= m.settings.noFileText);c(m.internal.state).val("");return = false});v.append(m.internal.remove);c(this).val()?m.internal.preview.html= (m.settings.initialPreviewHtml):m.internal.preview.html(m.settings.noFile= Text);c(this).data("evolutionUserFileTextBox",m).before(v).hide()})},n=3D= function(r){if(window.Telligent_Modal)window.Telligent_Modal.Open(c.telli= gent.evolution.site.getBaseUrl()+"utility/userfilesbrowse.aspx",=0A= 400,350,function(m){t(r,m)});else = c.glowModal&&c.glowModal(c.telligent.evolution.site.getBaseUrl()+"utility= /userfilesbrowse.aspx",{width:400,height:350,onClose:function(m){t(r,m)}}= )},t=3Dfunction(r,m){if(m&&m.length=3D=3D3&&m[0]&&m[1]){r.internal.previe= w.html(m[2]);c(r.internal.state).val(m[1])}};c.fn.evolutionUserFileTextBo= x=3Dfunction(r){if(r in s)return = s[r].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof = r=3D=3D=3D"object"||!r)return k.apply(this,arguments);else = c.error("Method "+r+" does not exist on = jQuery.fn.evolutionUserFileTextBox")};=0A= c.extend(c.fn.evolutionUserFileTextBox,{defaults:{removeText:"",selectTex= t:"",noFileText:"",initialPreviewHtml:"",cssClass:"user-file-url",preview= CssClass:"user-file-url-preview"}})})(jQuery);=0A= (function(c){if(!c.telligent)c.telligent=3D{};if(!c.telligent.evolution)c= .telligent.evolution=3D{};c.telligent.evolution.validation=3D{registerExt= ensions:function(s){if(c.validator){c.validator.addMethod("password",func= tion(k,n){return = this.optional(n)||k.match(s.passwordRegex)},s.passwordInvalidMessage);c.v= alidator.addMethod("email",function(k,n){return = this.optional(n)||k.match(RegExp(s.emailRegex))},s.emailInvalidMessage);c= .validator.addMethod("url",function(k,n){if(this.optional(n))return = true;if(k.match(s.urlRegex))return true;=0A= if(("http://"+k).match(s.urlRegex)){c(n).val("http://"+k);return = true}return = false},s.urlInvalidMessage);c.validator.addMethod("emails",function(k,n){= for(var = t=3Dk.split(/[;,]/),r=3Dtrue,m=3DRegExp(s.emailRegex),v=3D0;v=3Da.internal.fields.length)return false;return = a.internal.fields[b].isValid}},m=3Dfunction(a,d){return = d.attr("type")=3D=3D"checkbox"||d.attr("type")=3D=3D"radio"?d.get(0).chec= ked?d.val():"":d.val()},v=3Dfunction(a,d){if(d<0||d>=3Da.internal.customV= alidations.length)return true;var = b=3Da.internal.customValidations[d].validationFunction();a.internal.custo= mValidations[d].initialized=3Dtrue;if(b=3D=3D=3Dtrue){a.internal.customVa= lidations[d].isValid=3Dtrue;c(a.internal.customValidations[d].messageSele= ctor).hide();t(a)&&a.internal.hasAttemptedSubmit&&=0A= a.settings.onValidated&&a.settings.onValidated(true,a.internal.submitButt= onClicked,a.internal.customValidations[d].context);return = true}else{b=3Dt(a);a.internal.customValidations[d].isValid=3Dfalse;a.inte= rnal.hasAttemptedSubmit&&c(a.internal.customValidations[d].messageSelecto= r).html(a.internal.customValidations[d].message).show();if((a.internal.su= bmitButtonClicked||b)&&a.internal.hasAttemptedSubmit&&a.settings.onValida= ted)a.settings.onValidated(false,a.internal.submitButtonClicked,a.interna= l.customValidations[d].context);=0A= return false}},j=3Dfunction(a,d){var = b=3D!a.internal.hasAttemptedSubmit;a.internal.hasAttemptedSubmit=3Dtrue;a= .internal.submitButtonClicked=3Dtrue;s.validate.apply(c(a.internal.state)= ,[]);var = f=3Ds.isValid.apply(c(a.internal.state),[]);b&&!f&&o(a);b=3Dtrue;if(f&&a.= settings.onSuccessfulClick)b=3Da.settings.onSuccessfulClick(d);a.internal= .submitButtonClicked=3Dfalse;if(!f&&d){d.cancelBubble=3Dtrue;d.returnValu= e=3Dfalse}return f&&b!=3D=3Dfalse},o=3Dfunction(a){for(var = d=3D0;d= =3Db.internal.fields.length))if(b.internal.hasAttemptedSubmit)c(b.interna= l.fields[f].messageSelector).html(a).show();=0A= else b.internal.fields[f].errorMessage=3Da}},highlight:function(a){var = d=3Dc(a).data("_evolutionValidation");if(d){var = b=3Dt(d);a=3Dc(a).data("_evolutionValidationFieldIndex");if(!(a<0||a>=3Dd= .internal.fields.length)){d.internal.fields[a].isValid=3Dfalse;d.internal= .fields[a].initialized=3Dtrue;if((d.internal.submitButtonClicked||b)&&d.i= nternal.hasAttemptedSubmit&&d.settings.onValidated)d.settings.onValidated= (false,d.internal.submitButtonClicked,d.internal.fields[a].context)}}},un= highlight:function(a){var d=3Dc(a).data("_evolutionValidation");=0A= if(d){a=3Dc(a).data("_evolutionValidationFieldIndex");if(!(a<0||a>=3Dd.in= ternal.fields.length)){d.internal.fields[a].isValid=3Dtrue;d.internal.fie= lds[a].initialized=3Dtrue;t(d)&&d.internal.hasAttemptedSubmit&&d.settings= .onValidated&&d.settings.onValidated(true,d.internal.submitButtonClicked,= d.internal.fields[a].context)}}},onsubmit:false,onkeyup:false,onfocusout:= false})})})(jQuery);=0A= function = Telligent_Validation(c,s){this._jq=3D$(c);if(s.onValidatedFunction)s.onVa= lidated=3Ds.onValidatedFunction;if(s.onSuccessfulClickFunction)s.onSucces= sfulClick=3Ds.onSuccessfulClickFunction;this._jq.evolutionValidation(s)}T= elligent_Validation.prototype.AddField=3Dfunction(c,s,k,n){this._jq.evolu= tionValidation("addField",c,s,k,n)};Telligent_Validation.prototype.AddCus= tomValidation=3Dfunction(c,s,k,n,t){return = this._jq.evolutionValidation("addCustomValidation",c,s,k,n,t)};=0A= Telligent_Validation.prototype.IsValid=3Dfunction(){return = this._jq.evolutionValidation("isValid")};Telligent_Validation.prototype.V= alidate=3Dfunction(){return = this._jq.evolutionValidation("validate")};Telligent_Validation.prototype.= ValidateField=3Dfunction(c){return = this._jq.evolutionValidation("validateField",c)};Telligent_Validation.pro= totype.ValidateCustom=3Dfunction(c){return = this._jq.evolutionValidation("validateCustom",c)};=0A= ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/WebResource.axd?d=yhsocMfZfDGmDktcGSuuqupbbEfmgtlwKw7bQptBmPyOb8RH-l7eK7IKRHP-rY8Xfp659v_U3TMx_DEtONFnATaZ-LXeM2SVCoQz2SCPvBJPHlXp6SKN9KkH-zhWZwzBOogSoGnCX8WUdfduGwa12SA9E7EJ3twsyPG6Jm3Nf9w1&t=635221862019772421 var = Telligent_Common=3D{};Telligent_Common._state=3D[];Telligent_Common.Conve= rtHsvColorToRgbColor=3Dfunction(a){var b=3Da[0],c=3Da[1];a=3Da[2];var = d,e,f;if(c=3D=3D0)return[a,a,a];var = g;g=3Db=3D=3D360?0:b;g/=3D60;b=3DMath.floor(g);var = h=3Dg-b;g=3Da*(1-c);var = i=3Da*(1-c*h);c=3Da*(1-c*(1-h));if(b=3D=3D0){d=3Da;e=3Dc;f=3Dg}if(b=3D=3D= 1){d=3Di;e=3Da;f=3Dg}if(b=3D=3D2){d=3Dg;e=3Da;f=3Dc}if(b=3D=3D3){d=3Dg;e=3D= i;f=3Da}if(b=3D=3D4){d=3Dc;e=3Dg;f=3Da}if(b=3D=3D5){d=3Da;e=3Dg;f=3Di}d=3D= Math.round(d);e=3DMath.round(e);f=3DMath.round(f);return[d,e,f]};=0A= Telligent_Common.ConvertRgbColorToHsvColor=3Dfunction(a){var = b=3Da[0],c=3Da[1];a=3Da[2];var = d,e,f=3DMath.max(Math.max(b,c),a),g=3Df-Math.min(Math.min(b,c),a);e=3Df=3D= =3D0?0:g/f;if(e=3D=3D0)d=3D0;else if(b=3D=3Df)d=3D60*(c-a)/g;else = if(c=3D=3Df)d=3D120+60*(a-b)/g;else = if(a=3D=3Df)d=3D240+60*(b-c)/g;if(d<0)d+=3D360;return[d,e,f]};Telligent_C= ommon.ConvertDecimalToHexadecimal=3Dfunction(a,b){for(var = c=3D"",d;a>0;){d=3Da%16;c=3D"0123456789abcdef".substr(d,1)+c;a-=3Dd;a/=3D= 16}if(b)for(;c.length1024?"#000000":"#ffffff"};=0A= Telligent_Common.GetElementInfo=3Dfunction(a){var = b=3D{};if(a.getBoundingClientRect){a=3Da.getBoundingClientRect();var = c=3D0,d=3D0;if(typeof = window.pageXOffset=3D=3D"number"){c=3Dwindow.pageXOffset;d=3Dwindow.pageY= Offset}else = if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){c=3D= document.body.scrollLeft;d=3Ddocument.body.scrollTop}else = if(document.documentElement&&(document.documentElement.scrollLeft||docume= nt.documentElement.scrollTop)){c=3Ddocument.documentElement.scrollLeft;d=3D= document.documentElement.scrollTop}b.Left=3D=0A= a.left+c;b.Top=3Da.top+d;b.Right=3Da.right+c;b.Bottom=3Da.bottom+d;if(thi= s.IsIE()&&b.Left>=3D2&&!this.IsIE8()){b.Left-=3D2;b.Top-=3D2;b.Right-=3D2= ;b.Bottom-=3D2}b.Width=3Da.right-a.left;b.Height=3Da.bottom-a.top}else{d=3D= c=3D0;for(var = e=3Da,f=3Dfalse,g=3Dfalse,h=3DTelligent_Common.IsIE();e;){f||(c+=3De.offs= etLeft);g||(d+=3De.offsetTop);if(h&&e.offsetParent&&e.offsetParent.style.= position=3D=3D"relative")if(!e.offsetParent.style.width){f=3Dtrue;if(e.of= fsetParent.style.top||e.offsetParent.style.bottom){d+=3De.offsetHeight;g=3D= true}}e=3De.offsetParent}b.Left=3D=0A= c;b.Top=3Dd;b.Right=3Dc+a.offsetWidth;b.Bottom=3Dc+a.offsetHeight;b.Width= =3Da.offsetWidth;b.Height=3Da.offsetHeight}return b};=0A= Telligent_Common.GetWindowInfo=3Dfunction(){var = a=3D0,b=3D0,c=3D0,d=3D0;if(typeof = window.pageXOffset=3D=3D"number"){a=3Dwindow.pageXOffset;b=3Dwindow.pageY= Offset}else = if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){a=3D= document.body.scrollLeft;b=3Ddocument.body.scrollTop}else = if(document.documentElement&&(document.documentElement.scrollLeft||docume= nt.documentElement.scrollTop)){a=3Ddocument.documentElement.scrollLeft;b=3D= document.documentElement.scrollTop}if(typeof = window.innerWidth=3D=3D"number"){c=3Dwindow.innerWidth;=0A= d=3Dwindow.innerHeight}else = if(document.documentElement&&(document.documentElement.clientWidth||docum= ent.documentElement.clientHeight)){c=3Ddocument.documentElement.clientWid= th;d=3Ddocument.documentElement.clientHeight}else = if(document.body&&(document.body.clientWidth||document.body.clientHeight)= ){c=3Ddocument.body.clientWidth;d=3Ddocument.body.clientHeight}if(documen= t.documentElement&&(document.documentElement.scrollHeight||document.docum= entElement.offsetHeight))if(document.documentElement.scrollHeight>documen= t.documentElement.offsetHeight){contentWidth=3D=0A= document.documentElement.scrollWidth;contentHeight=3Ddocument.documentEle= ment.scrollHeight}else{contentWidth=3Ddocument.documentElement.offsetWidt= h;contentHeight=3Ddocument.documentElement.offsetHeight}else = if(document.body&&(document.body.scrollHeight||document.body.offsetHeight= ))if(document.body.scrollHeight>document.body.offsetHeight){contentWidth=3D= document.body.scrollWidth;contentHeight=3Ddocument.body.scrollHeight}else= {contentWidth=3Ddocument.body.offsetWidth;contentHeight=3Ddocument.body.o= ffsetHeight}else{contentWidth=3D=0A= c;contentHeight=3Dd}if(this.IsSafari()){if(d>contentHeight)contentHeight=3D= d}else = if(d>contentHeight)d=3DcontentHeight;if(this.IsSafari()){if(c>contentWidt= h)contentWidth=3Dc}else if(c>contentWidth)c=3DcontentWidth;var = e=3D{};e.ScrollX=3Da;e.ScrollY=3Db;e.Width=3Dc;e.Height=3Dd;e.ContentWidt= h=3DcontentWidth;e.ContentHeight=3DcontentHeight;return e};=0A= Telligent_Common.GetCurrentStyleValue=3Dfunction(a,b,c,d){var = e=3D"";try{if(document.defaultView&&document.defaultView.getComputedStyle= )e=3Ddocument.defaultView.getComputedStyle(a,"").getPropertyValue(b);else= = if(a.currentStyle)e=3Da.currentStyle[c]}catch(f){}return(e=3D=3D"inherit"= ||e=3D=3D"transparent")&&a.parentNode!=3Dnull?Telligent_Common.GetCurrent= StyleValue(a.parentNode,b,c,d):e!=3D""&&e!=3Dundefined&&e!=3D"rgba(0, 0, = 0, 0)"?e:d};=0A= Telligent_Common.GetStyleOffset=3Dfunction(a){var = b=3D{};b.Height=3DTelligent_Common.IsNanDefault(parseInt(Telligent_Common= .GetCurrentStyleValue(a,"border-top-width","borderTopWidth","0")),0)+Tell= igent_Common.IsNanDefault(parseInt(Telligent_Common.GetCurrentStyleValue(= a,"border-bottom-width","borderBottomWidth","0")),0)+Telligent_Common.IsN= anDefault(parseInt(Telligent_Common.GetCurrentStyleValue(a,"padding-top",= "paddingTop","0")),0)+Telligent_Common.IsNanDefault(parseInt(Telligent_Co= mmon.GetCurrentStyleValue(a,=0A= "padding-bottom","paddingBottom","0")),0);b.Width=3DTelligent_Common.IsNa= nDefault(parseInt(Telligent_Common.GetCurrentStyleValue(a,"border-left-wi= dth","borderLeftWidth","0")),0)+Telligent_Common.IsNanDefault(parseInt(Te= lligent_Common.GetCurrentStyleValue(a,"border-right-width","borderRightWi= dth","0")),0)+Telligent_Common.IsNanDefault(parseInt(Telligent_Common.Get= CurrentStyleValue(a,"padding-left","paddingLeft","0")),0)+Telligent_Commo= n.IsNanDefault(parseInt(Telligent_Common.GetCurrentStyleValue(a,"padding-= right",=0A= "paddingRight","0")),0);return = b};Telligent_Common.IsNanDefault=3Dfunction(a,b){return = isNaN(a)?b:a};Telligent_Common.EscapeForRegExp=3Dfunction(a){return = a.replace(/([\\\(\^\$\*\+\?\{\}\.\)\|\-])/g,"\\$1")};=0A= Telligent_Common.GetSelectedHtmlInElement=3Dfunction(a,b,c,d){var = e=3Dtrue,f=3Dnull;if(window.getSelection){var = g=3Dwindow.getSelection();if(g&&g.rangeCount>0&&g.toString().length>0){e=3D= false;g=3Dg.getRangeAt(0);var = h=3Ddocument.createRange();h.selectNode(a);if(h.compareBoundaryPoints(Ran= ge.START_TO_START,g)<=3D0&&h.compareBoundaryPoints(Range.END_TO_END,g)>=3D= 0){d=3Ddocument.createElement("div");d.appendChild(g.cloneContents());f=3D= d.innerHTML}else d&&alert(d)}}else = if(document.selection)if((g=3Ddocument.selection.createRange())&&=0A= g.text){e=3Dfalse;h=3Dg.parentElement();if(h!=3Dnull&&Telligent_Common.El= ementContainsElement(a,h))f=3Dg.htmlText;else = d&&alert(d)}if(f=3D=3Dnull&&(e&&b||c))f=3Da.innerHTML;return = f};Telligent_Common.ElementContainsElement=3Dfunction(a,b){if(!a||!b)retu= rn false;if(a=3D=3Db)return true;if(a&&a.childNodes)for(var = c=3D0;c=3D8;return = false};Telligent_Common.CreateSafeFunction=3Dfunction(a,b){return = function(){return = b.apply(a,arguments)}};Telligent_Common.DisposeContent=3Dfunction(a){if(a= &&a.childNodes&&a.childNodes.length>0)for(var = b=3D0;ba&&a>=3D0&&Telligent_Common._state[a]&&Tel= ligent_Common._state[a]._stateProcessId=3D=3Db?Telligent_Common._state[a]= ._state:null};Telligent_Common.GetStateByKey=3Dfunction(a,b){for(var = c=3D0;ca&&a>=3D0&&Telligent_Common._state[a]&&Telligent_Common._s= tate[a]._stateProcessId=3D=3Db)Telligent_Common._state[a]._state=3Dc};=0A= Telligent_Common.SaveStateByKey=3Dfunction(a,b,c){for(var = d=3D-1,e=3D0;ea&&a>=3D0&&Telligent_Common._state[a]&&Telligent_Common._st= ate[a]._stateProcessId=3D=3Db)Telligent_Common._state[a]=3Dnull};Telligen= t_Common._hiddenSelects=3D[];Telligent_Common._elementsHidingSelects=3D[]= ;=0A= Telligent_Common._addHiddenSelect=3Dfunction(a,b){for(var = c=3Dnull,d=3D-1,e=3D0;e0&&a.substr(0,1)=3D= =3D"s"){a=3Deval("("+a.substr(1)+")");c=3Dnew = Telligent_ScriptLoader;if(a.includeScriptUrls&&a.includeScriptUrls.length= >0)for(var b=3D0;b0)for(b=3D0;b0&&t= his._currentScript' + '
  • Amplifier= s & Linear
  • ' + '
  • Audio
  • ' + '
  • Bro= adband RF/IF & Digital Radio
  • ' + '
  • Clocks & = Timers
  • ' + '
  • Data = Converters
  • ' + '
  • High-Reliability = Products
  • ' + '
  • Interface' + '
  • Logic
  • ' + '
  • OMAP= ™ Mobile Processors
  • ' + '
  • Power = Management
  • ' + '
  • Processors' + '
  • - ARM
  • ' + '
  • - Digital Signal = Processors (DSP)
  • ' + '
  • - Microcontrollers = (MCU)
  • ' + '
  • Switc= hes & Multiplexers
  • ' + '
  • Standard = Linear
  • ' + '
  • Temperature Sensors & Monitoring
  • ' + '
  • Wireless = Connectivity
  • ' + '
  • > See = All
  • ' + ''); } function menu_applications() { document.write(''); } function menu_designsupport() { document.write(''); } function menu_samplebuy() { document.write(''); } function menu_allsearches() { document.write(''); } function menu_ti_worldwide() { document.write(''); } var siteCatalystBucketArray =3D [{ events: "event20", v25: "Post New Content" } , { events: "event20", v25: "Reply to Existing Content" } , { events: "event20", v25: "Subscribe to Content" }, { events: "event20", v25: "Share Content" }, { events: "event20", v25: "Intent to Register" }, { events: "event20", v25: "Thread Tracking Saves" }, { events: "event20", v25: "Search" }, { events: "event20", v25: "Customer Dashboard Engagement" }, { events: "event20", v25: "Content and Member Engagement" }]; function onclickCookies() { s.campaign =3D get_cookie('ev0'); s.eVar2 =3D get_cookie('tipage'); s.prop59 =3D s.eVar2; s.eVar7 =3D get_cookie('tipageshort'); s.eVar3 =3D get_cookie('int_campaign'); s.eVar8 =3D get_cookie('permID'); s.prop20 =3D s.eVar8; s.eVar9 =3D get_cookie('userType'); s.prop24 =3D s.eVar9; s.eVar29 =3D get_cookie('HQS'); s.eVar36 =3D get_cookie('pod4'); s.eVar60 =3D get_cookie('ticontent'); s.prop60 =3D s.eVar60; s.eVar61 =3D get_cookie('psearch'); s.eVar67 =3D get_cookie('social'); s.eVar70 =3D get_cookie('ePP'); s.eVar71 =3D get_cookie('CID'); s.eVar6 =3D get_cookie('tidate'); s.prop61 =3D s.eVar6; } function _TrackSC(url, bucket) { var b =3D null; try { for (var a =3D siteCatalystBucketArray.length - 1; a > -1; a--) = { b =3D siteCatalystBucketArray[a]; if (b.v25 =3D=3D bucket) { onclickCookies(); s.eVar25 =3D bucket; s.events =3D b.events; s.eVar2 =3D s.pageName; s.linkTrackVars =3D = 'pageName,campaign,eVar2,eVar3,eVar6,eVar7,eVar8,eVar9,eVar25,eVar29,eVar= 36,eVar60,eVar61,eVar67,eVar70,eVar71,prop20,prop24,prop59,prop60,prop61,= events'; s.linkTrackEvents =3D b.events; s.tl(url, 'o', bucket); ClearVars(); break; // we found item in the array..leave } } } catch (err) { } //DNA tag in WW E2E Participation var span =3D document.getElementById("sSC"); span.innerHTML =3D ""; // DART tag in WW E2E Participation var axel =3D Math.random() + ""; var a =3D axel * 10000000000000; span.innerHTML +=3D "3D''/"; span.innerHTML +=3D "3D''"; } function _TrackSC_E2E_Views() { var span =3D document.getElementById("sSC"); var axel =3D Math.random() + ""; var a =3D axel * 10000000000000; // E2E Views - DNA Tag span.innerHTML =3D "3D''/"; // E2E Views - DART Tag span.innerHTML +=3D "3D''/"; span.innerHTML +=3D "3D''"; } //*** http://focus.ti.com/en/js/shared/menu/header/iehover-fix.js ***// function sfHover (topnodeName) { if (document.getElementById(topnodeName) !=3D null) { var sfEls =3D = document.getElementById(topnodeName).getElementsByTagName("LI"); for (var i=3D0; i<]*>/gi; enteredText=3DenteredText.replace(htmlTag," "); var specialCharacterArray =3D new = Array("\!","<",">","\`","\~","\#","\$","\^","\*","\(","\)","\{","\}","\["= ,"\]","\|","\;","\,","\?","\/","\@"); for (var i =3D 0; i < specialCharacterArray.length; i++) { while(enteredText.indexOf(specialCharacterArray[i])!=3D-1){ = enteredText=3DenteredText.replace(specialCharacterArray[i]," "); } } enteredText=3Dtrim(enteredText); return enteredText; } function LTrim( value ) { var re =3D /\s*((\S+\s*)*)/; return value.replace(re, "$1"); } // Removes ending whitespaces function RTrim( value ) { var re =3D /((\s*\S+)*)\s*/; return value.replace(re, "$1"); } // Removes leading and ending whitespaces function trim( value ) { return LTrim(RTrim(value)); } // Auto complete functionality scripts function autoFillTxt(){ autoFill("usautocmain","#txt_input"); } function autoFillTxt1(){ autoFill("usautocmain1","#txt_input1"); } =20 var acItem =3D '

    [[search_term]]

    '; var acSuffix =3D '
    Advanced = Search'; var acData =3D []; // Autocomplete function=20 function autoFill(acDiv,inputId) {=09 var txtVal =3D $(inputId).val(); var acList =3D []; var acListPresent =3D false; var acDataLen =3D 0; var acListLen =3D 0; if (txtVal.length >=3D 3) { // the number 3 to be configured.. = read from a props file maybe if(acData.length){acDataLen =3D acData.length;} if (acDataLen > 0) { var pattern =3D new RegExp(txtVal, "gi"); for (var index=3D0; index 7) { =20 acList =3D acData.slice(0,7); } else { acList =3D acData; } } if (acList.length > 0) { var autotxt =3D ''; for (var i =3D 0; i < acList.length; i++) { var t =3D acItem; t =3D = t.replace("[[search_term]]",acList[i]).replace("[[search_term]]",acList[i= ]); autotxt +=3D t; } =20 document.getElementById(acDiv).innerHTML=3Dautotxt; if (document.getElementsByTagName("div")) { var abestBets =3D document.getElementsByTagName("div"); for (var i =3D 0; i< abestBets.length; i++){ if (abestBets[i].className=3D=3D'usresult') abestBets[i].style.zIndex=3D-1; } } $("#"+acDiv).show(); } }); } else { if(acList.length){acListLen =3D acList.length;} if (null =3D=3D acList || acListLen =3D=3D 0) { if (acData.length > 7){ acList =3D acData.slice(0,7); } else { acList =3D acData; } } if (acList.length > 0) { var autotxt =3D ''; for (var i =3D 0; i < acList.length; i++) { var t =3D acItem; t =3D = t.replace("[[search_term]]",acList[i]).replace("[[search_term]]",acList[i= ]); autotxt +=3D t; } document.getElementById(acDiv).innerHTML=3Dautotxt; if (document.getElementsByTagName("div")) { var abestBets =3D document.getElementsByTagName("div"); for (var i =3D 0; i< abestBets.length; i++){ if (abestBets[i].className=3D=3D'usresult') abestBets[i].style.zIndex=3D-1; } } $("#"+acDiv).show(); } } =20 } } =20 $(document).ready(function(){ $("#txt_input").bind("keyup",autoFillTxt); $("#txt_input1").bind("keyup",autoFillTxt1); if (document.getElementsByTagName("div")) { var abestBets =3D document.getElementsByTagName("div"); for (var i =3D 0; i< abestBets.length; i++){ if (abestBets[i].className=3D=3D'usresult') abestBets[i].style.zIndex=3D0; } } }); function hideAutoc(e){ var myTarget =3D e.target || e.srcElement; if (myTarget.nodeName !=3D "A") { $("#usautocmain").hide(); $("#usautocmain1").hide(); if (document.getElementsByTagName("div")) { var abestBets =3D document.getElementsByTagName("div"); for (var i =3D 0; i< abestBets.length; i++){ if (abestBets[i].className=3D=3D'usresult') abestBets[i].style.zIndex=3D0; =20 } } } return true; } if (document.addEventListener){ document.addEventListener('mousedown', hideAutoc, false);=20 } else if (document.attachEvent){ document.attachEvent('onmousedown', hideAutoc); } //*** com.TI.IMSDS.MTSAvatarIcon.js ***// if(!window.com) com =3D new Object(); if(!com.TI) com.TI =3D new Object(); if(!com.TI.IMSDS) com.TI.IMSDS =3D new Object(); if(!com.TI.IMSDS.MTSAvatarIcon) com.TI.IMSDS.MTSAvatarIcon =3D new = Object(); com.TI.IMSDS.MTSAvatarIcon.ahref =3D ""; com.TI.IMSDS.MTSAvatarIcon.TransformElement =3D function(sElement) { $(sElement).filter(function(index) { return ( = com.TI.IMSDS.MTSAvatarIcon.ahref.indexOf($('a',this).attr("href").replace= (/.*\/members(\/.*\/)default.aspx/gi,"$1")) >=3D 0 ); }) .prepend('') .append('
    '); } com.TI.IMSDS.MTSAvatarIcon.Init =3D function(userslist) { if (userslist) { com.TI.IMSDS.MTSAvatarIcon.ahref =3D userslist; // Loop through the "regular" avatar tags, needed the timer for = AJAX-generated avatars var mts_int =3D = window.setInterval(function(){com.TI.IMSDS.MTSAvatarIcon.TransformElement= ("span.avatar")}, 500); = window.setTimeout(function(){window.clearInterval(mts_int)},15000); // Special avatar tag used on the sign-up page com.TI.IMSDS.MTSAvatarIcon.TransformElement(".user-banner = div.user-avatar"); } } //*** com.TI.IMSDS.TopNotificationBar.js ***// function setCookie(c_name,value,path,exdays) { var exdate=3Dnew Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=3Descape(value) + "; path=3D" + ((path=3D=3Dnull) ? "/" : = path.toUTCString()) + ((exdays=3D=3Dnull) ? "" : "; = expires=3D"+exdate.toUTCString()); document.cookie=3Dc_name + "=3D" + c_value; } function getCookie(c_name) { var i,x,y,ARRcookies=3Ddocument.cookie.split(";"); for (i=3D0;i 0) { if (sHtml) { $('#topnotificationbar = .topnotificationbar_content').innerHTML =3D sHtml; $('#topnotificationbar').style.display =3D "block"; } else { $('#topnotificationbar').style.display =3D "none"; } } else if (sHtml) { $('body').prepend('
    ' + '
    ' + '' + '
    ' + sHtml + = '
    ' + '
    ' + '
    '); /* $('body').prepend('
    ' + '
    ' + '
    ' + ' [ close ]
    ' + '
    ' + sHtml = + '
    ' + '
    ' + = '
    '); */ } } //*** http://focus.ti.com/en/js/shared/menu/browserdetect.js ***// var BrowserDetect =3D { init: function () { this.browser =3D this.searchString(this.dataBrowser) || "An = unknown browser"; this.version =3D this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; this.OS =3D this.searchString(this.dataOS) || "an unknown OS"; }, searchString: function (data) { for (var i =3D 0; i < data.length; i++) { var dataString =3D data[i].string; var dataProp =3D data[i].prop; this.versionSearchString =3D data[i].versionSearch || = data[i].identity; if (dataString) { if (dataString.indexOf(data[i].subString) !=3D -1) return data[i].identity; } else if (dataProp) return data[i].identity; } }, searchVersion: function (dataString) { var index =3D dataString.indexOf(this.versionSearchString); if (index =3D=3D -1) return; return parseFloat(dataString.substring(index + = this.versionSearchString.length + 1)); }, dataBrowser: [ { string: navigator.userAgent, subString: "Chrome", identity: "Chrome" }, { string: navigator.userAgent, subString: "OmniWeb", versionSearch: "OmniWeb/", identity: "OmniWeb" }, { string: navigator.vendor, subString: "Apple", identity: "Safari", versionSearch: "Version" }, { prop: window.opera, identity: "Opera", versionSearch: "Version" }, { string: navigator.vendor, subString: "iCab", identity: "iCab" }, { string: navigator.vendor, subString: "KDE", identity: "Konqueror" }, { string: navigator.userAgent, subString: "Firefox", identity: "Firefox" }, { string: navigator.vendor, subString: "Camino", identity: "Camino" }, { // for newer Netscapes (6+) string: navigator.userAgent, subString: "Netscape", identity: "Netscape" }, { string: navigator.userAgent, subString: "MSIE", identity: "Explorer", versionSearch: "MSIE" }, { string: navigator.userAgent, subString: "Gecko", identity: "Mozilla", versionSearch: "rv" }, { // for older Netscapes (4-) string: navigator.userAgent, subString: "Mozilla", identity: "Netscape", versionSearch: "Mozilla" } ], dataOS: [ { string: navigator.platform, subString: "Win", identity: "Windows" }, { string: navigator.platform, subString: "Mac", identity: "Mac" }, { string: navigator.userAgent, subString: "iPhone", identity: "iPhone/iPod" }, { string: navigator.platform, subString: "Linux", identity: "Linux" } ] }; BrowserDetect.init(); function E2E_UnsupportedBrowserWarning() { var cookieName =3D "e2eunsupportedbrowser_hide"; /* if (getCookie(cookieName) !=3D "true") { if (com.TI.IMSDS.TopNotificationBar !=3D null && BrowserDetect = !=3D null) { if (BrowserDetect.browser =3D=3D "Explorer") { if (BrowserDetect.version < 6 || (BrowserDetect.version = >=3D 9 && BrowserDetect.version < 10)) { = com.TI.IMSDS.TopNotificationBar.UpdateNotificationBar('It looks like you = are using an unsupported version of Internet Explorer. To see the list = of browsers which we do not support, click h= ere.', 'setCookie(\'' + cookieName + '\',\'true\',null,null)'); } } else if (BrowserDetect.browser =3D=3D "Firefox") { if (BrowserDetect.version >=3D 5 && = BrowserDetect.version < 6) { = com.TI.IMSDS.TopNotificationBar.UpdateNotificationBar('It looks like you = are using an unsupported version of Firefox. To see the list of = browsers which we do not support, click h= ere.', 'setCookie(\'' + cookieName + '\',\'true\',null,null)'); } } else if (BrowserDetect.browser =3D=3D "Safari") { = com.TI.IMSDS.TopNotificationBar.UpdateNotificationBar('It looks like you = are using an unsupported web browser. To see the list of browsers which = we do not support, click h= ere.', 'setCookie(\'' + cookieName + '\',\'true\',null,null)'); } } } */ } ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/tiny_mce/SyntaxHighlighter/scripts/XRegExp.js //XRegExp 2.0.0 MIT License=0A= var XRegExp;XRegExp=3DXRegExp||function(n){"use strict";function = v(n,i,r){var u;for(u in = t.prototype)t.prototype.hasOwnProperty(u)&&(n[u]=3Dt.prototype[u]);return= n.xregexp=3D{captureNames:i,isNative:!!r},n}function = g(n){return(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(= n.extended?"x":"")+(n.sticky?"y":"")}function = o(n,r,u){if(!t.isRegExp(n))throw new TypeError("type RegExp = expected");var f=3Di.replace.call(g(n)+(r||""),h,"");return = u&&(f=3Di.replace.call(f,new = RegExp("["+u+"]+","g"),"")),n=3Dn.xregexp&&!n.xregexp.isNative?v(t(n.sour= ce,f),n.xregexp.captureNames?n.xregexp.captureNames.slice(0):null):v(new = RegExp(n.source,f),null,!0)}function a(n,t){var = i=3Dn.length;if(Array.prototype.lastIndexOf)return = n.lastIndexOf(t);while(i--)if(n[i]=3D=3D=3Dt)return i;return-1}function = s(n,t){return = Object.prototype.toString.call(n).toLowerCase()=3D=3D=3D"[object = "+t+"]"}function d(n){return = n=3Dn||{},n=3D=3D=3D"all"||n.all?n=3D{natives:!0,extensibility:!0}:s(n,"s= tring")&&(n=3Dt.forEach(n,/[^\s,]+/,function(n){this[n]=3D!0},{})),n}func= tion ut(n,t,i,u){var = o=3Dp.length,s=3Dnull,e,f;y=3D!0;try{while(o--)if(f=3Dp[o],(f.scope=3D=3D= =3D"all"||f.scope=3D=3D=3Di)&&(!f.trigger||f.trigger.call(u))&&(f.pattern= .lastIndex=3Dt,e=3Dr.exec.call(f.pattern,n),e&&e.index=3D=3D=3Dt)){s=3D{o= utput:f.handler.call(u,e,i),match:e};break}}catch(h){throw = h;}finally{y=3D!1}return s}function = b(n){t.addToken=3Dc[n?"on":"off"],f.extensibility=3Dn}function = tt(n){RegExp.prototype.exec=3D(n?r:i).exec,RegExp.prototype.test=3D(n?r:i= ).test,String.prototype.match=3D(n?r:i).match,String.prototype.replace=3D= (n?r:i).replace,String.prototype.split=3D(n?r:i).split,f.natives=3Dn}var = t,c,u,f=3D{natives:!1,extensibility:!1},i=3D{exec:RegExp.prototype.exec,t= est:RegExp.prototype.test,match:String.prototype.match,replace:String.pro= totype.replace,split:String.prototype.split},r=3D{},k=3D{},p=3D[],e=3D"de= fault",rt=3D"class",it=3D{"default":/^(?:\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0= -7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=3D= !]|[?*+]\?|{\d+(?:,\d*)?}\??)/,"class":/^(?:\\(?:[0-3][0-7]{0,2}|[4-7][0-= 7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S]))/},et=3D/\$(?:{([\w$]= +)}|(\d\d?|[\s\S]))/g,h=3D/([\s\S])(?=3D[\s\S]*\1)/g,nt=3D/^(?:[?*+]|{\d+= (?:,\d*)?})\??/,ft=3Di.exec.call(/()??/,"")[1]=3D=3D=3Dn,l=3DRegExp.proto= type.sticky!=3D=3Dn,y=3D!1,w=3D"gim"+(l?"y":"");return = t=3Dfunction(r,u){if(t.isRegExp(r)){if(u!=3D=3Dn)throw new = TypeError("can't supply flags when constructing one RegExp from = another");return o(r)}if(y)throw new Error("can't call the XRegExp = constructor within token definition functions");var = l=3D[],a=3De,b=3D{hasNamedCapture:!1,captureNames:[],hasFlag:function(n){= return = u.indexOf(n)>-1}},f=3D0,c,s,p;if(r=3Dr=3D=3D=3Dn?"":String(r),u=3Du=3D=3D= =3Dn?"":String(u),i.match.call(u,h))throw new SyntaxError("invalid = duplicate regular expression = flag");for(r=3Di.replace.call(r,/^\(\?([\w$]+)\)/,function(n,t){if(i.test= .call(/[gy]/,t))throw new SyntaxError("can't use flag g or y in mode = modifier");return = u=3Di.replace.call(u+t,h,""),""}),t.forEach(u,/[\s\S]/,function(n){if(w.i= ndexOf(n[0])<0)throw new SyntaxError("invalid regular expression flag = "+n[0]);});f"}else = if(i)return"\\"+(+i+f);return = n},e=3D[],r,u;if(!(s(n,"array")&&n.length))throw new TypeError("patterns = must be a nonempty = array");for(u=3D0;u1&&a(r,"")>-1&&(e=3Dnew = RegExp(this.source,i.replace.call(g(this),"g","")),i.replace.call(String(= t).slice(r.index),e,function(){for(var = t=3D1;tr.index&&(this.lastIndex=3Dr.index)}return = this.global||(this.lastIndex=3Do),r},r.test=3Dfunction(n){return!!r.exec.= call(this,n)},r.match=3Dfunction(n){if(t.isRegExp(n)){if(n.global){var = u=3Di.match.apply(this,arguments);return n.lastIndex=3D0,u}}else n=3Dnew = RegExp(n);return r.exec.call(n,this)},r.replace=3Dfunction(n,r){var = e=3Dt.isRegExp(n),u,f,h,o;return = e?(n.xregexp&&(u=3Dn.xregexp.captureNames),n.global||(o=3Dn.lastIndex)):n= +=3D"",s(r,"function")?f=3Di.replace.call(String(this),n,function(){var = t=3Darguments,i;if(u)for(t[0]=3Dnew = String(t[0]),i=3D0;i= n.length-3)throw new SyntaxError("backreference to undefined group = "+t);return n[r]||""}throw new SyntaxError("invalid token = "+t);})})),e&&(n.lastIndex=3Dn.global?0:o),f},r.split=3Dfunction(r,u){if(= !t.isRegExp(r))return i.split.apply(this,arguments);var = e=3DString(this),h=3Dr.lastIndex,f=3D[],o=3D0,s;return = u=3D(u=3D=3D=3Dn?-1:u)>>>0,t.forEach(e,r,function(n){n.index+n[0].length>= o&&(f.push(e.slice(o,n.index)),n.length>1&&n.indexu?f.slice(0,u):f},u=3Dc.on,u(/\\([ABCE-RTUVXYZaeg-mopqyz]|= c(?![A-Za-z])|u(?![\dA-Fa-f]{4})|x(?![\dA-Fa-f]{2}))/,function(n,t){if(n[= 1]=3D=3D=3D"B"&&t=3D=3D=3De)return n[0];throw new SyntaxError("invalid = escape "+n[0]);},{scope:"all"}),u(/\[(\^?)]/,function(n){return = n[1]?"[\\s\\S]":"\\b\\B"}),u(/(?:\(\?#[^)]*\))+/,function(n){return = i.test.call(nt,n.input.slice(n.index+n[0].length))?"":"(?:)"}),u(/\\k<([\= w$]+)>/,function(n){var = t=3DisNaN(n[1])?a(this.captureNames,n[1])+1:+n[1],i=3Dn.index+n[0].length= ;if(!t||t>this.captureNames.length)throw new SyntaxError("backreference = to undefined group = "+n[0]);return"\\"+t+(i=3D=3D=3Dn.input.length||isNaN(n.input.charAt(i))?= "":"(?:)")}),u(/(?:\s+|#.*)+/,function(n){return = i.test.call(nt,n.input.slice(n.index+n[0].length))?"":"(?:)"},{trigger:fu= nction(){return = this.hasFlag("x")},customFlags:"x"}),u(/\./,function(){return"[\\s\\S]"},= {trigger:function(){return = this.hasFlag("s")},customFlags:"s"}),u(/\(\?P?<([\w$]+)>/,function(n){if(= !isNaN(n[1]))throw new SyntaxError("can't use integer as capture name = "+n[0]);return = this.captureNames.push(n[1]),this.hasNamedCapture=3D!0,"("}),u(/\\(\d+)/,= function(n,t){if(!(t=3D=3D=3De&&/^[1-9]/.test(n[1])&&+n[1]<=3Dthis.captur= eNames.length)&&n[1]!=3D=3D"0")throw new SyntaxError("can't use octal = escape or backreference to undefined group "+n[0]);return = n[0]},{scope:"all"}),u(/\((?!\?)/,function(){return = this.hasFlag("n")?"(?:":(this.captureNames.push(null),"(")},{customFlags:= "n"}),typeof exports!=3D"undefined"&&(exports.XRegExp=3Dt),t}() ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/tiny_mce/SyntaxHighlighter/scripts/shCore.js /** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please = donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (July 02 2010) *=20 * @copyright * Copyright (C) 2004-2010 Alex Gorbatchev. * * @license * Dual licensed under the MIT and GPL licenses. */ // // Begin anonymous function. This is used to contain local scope = variables without polutting global scope. // if (typeof(SyntaxHighlighter) =3D=3D 'undefined') var SyntaxHighlighter = =3D function() { // CommonJS if (typeof(require) !=3D 'undefined' && typeof(XRegExp) =3D=3D = 'undefined') { XRegExp =3D require('xregexp').XRegExp; } // Shortcut object which will be assigned to the SyntaxHighlighter = variable. // This is a shorthand for local reference in order to avoid long = namespace // references to SyntaxHighlighter.whatever... var sh =3D { defaults : { /** Additional CSS class names to be added to highlighter elements. */ 'class-name' : '', /** First line number. */ 'first-line' : 1, /** * Pads line numbers. Possible values are: * * false - don't pad line numbers. * true - automaticaly pad numbers with minimum required number of = leading zeroes. * [int] - length up to which pad line numbers. */ 'pad-line-numbers' : false, /** Lines to highlight. */ 'highlight' : null, /** Title to be displayed above the code block. */ 'title' : null, /** Enables or disables smart tabs. */ 'smart-tabs' : true, /** Gets or sets tab size. */ 'tab-size' : 4, /** Enables or disables gutter. */ 'gutter' : true, /** Enables or disables toolbar. */ 'toolbar' : true, /** Enables quick code copy and paste from double click. */ 'quick-code' : true, /** Forces code view to be collapsed. */ 'collapse' : false, /** Enables or disables automatic links. */ 'auto-links' : true, /** Gets or sets light mode. Equavalent to turning off gutter and = toolbar. */ 'light' : false, 'unindent' : true, 'html-script' : false }, config : { space : ' ', /** Enables use of '); ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/cfs-file.ashx/__key/defaultwidgets/674c31130ec640f98f20b2b794e9ae06-99d41605b34b4b2f9b0dd89e91b2b932/ui.js (function ($) { if (typeof $.telligent =3D=3D=3D 'undefined') { $.telligent =3D {}; = } if (typeof $.telligent.evolution =3D=3D=3D 'undefined') { = $.telligent.evolution =3D {}; } if (typeof $.telligent.evolution.widgets =3D=3D=3D 'undefined') { = $.telligent.evolution.widgets =3D {}; } var hideSearch =3D function (context) { context.searchResultsPopup.glowPopUpPanel('hide'); }, showLoading =3D function (context) { context.searchResultsPopup.glowPopUpPanel('html', '
    ' + context.loading + = '
    '); if (context.searchResultsPopup.glowPopUpPanel('isShown')) { context.searchResultsPopup.glowPopUpPanel('refresh'); } else { context.searchResultsPopup.glowPopUpPanel('show', = context.query); } }, search =3D function (context) { $.telligent.evolution.get({ url: context.searchUrl, data: { w_searchText: context.query.val(), w_groupId: context.groupId, w_inForum: context.inForum }, success: function (response) { context.searchResultsPopup.glowPopUpPanel('html', = response); if (context.searchResultsPopup.glowPopUpPanel('isShown')) { context.searchResultsPopup.glowPopUpPanel('refresh'); } else { context.searchResultsPopup.glowPopUpPanel('show', = context.query); } }, defaultErrorMessage: context.error, error: function (xhr, desc, ex) { context.searchResultsPopup.glowPopUpPanel('html', '
    ' + desc + '
    '); } }); }, checkForSearchQueryChange =3D function (context) { clearTimeout(context.changeTimeout); var value =3D context.query.val(); if (value !=3D=3D context.lastQuery) { context.lastQuery =3D value; context.lastKeyCode =3D -1; clearTimeout(context.searchTimeout); if (context.lastQuery.length > 0) { context.query.removeClass('empty'); showLoading(context); context.searchTimeout =3D setTimeout(function () { = search(context); }, 499); } else { context.query.addClass('empty'); hideSearch(context); } } context.changeTimeout =3D setTimeout(function () { = checkForSearchQueryChange(context); }, 99); }; $.telligent.evolution.widgets.siteSearch =3D { register: function (context) { context.searchResultsPopup =3D = $('
    ').glowPopUpPanel({ cssClass: 'menu search-content results menu__results = menu__search-content menu__results__search-content = results__search-content', position: 'downright', zIndex: 1000, hideOnDocumentClick: true }); context.filterList.find('input[name=3D"' + = context.filterName + '"]').click(function () { if ($(this).is(':checked')) { context.groupId =3D $(this).val(); } else { context.groupId =3D ''; } context.query.focus(); }).filter(':[value=3D"' + context.groupId + = '"]').attr('checked', true); context.goButton.click(function () { var params =3D {}; if (!context.query.hasClass('empty')) params =3D { q: = context.query.val() }; if (context.groupId > 0) { params.g =3D context.groupId; if (context.inForum =3D=3D 'True') params.sc =3D = "forum"; } window.location =3D = context.searchResultsUrl.replace(/\{0\}/gi, $.param(params)); }); context.advancedSearchLink.click(function () { var params =3D {}; if (!context.query.hasClass('empty')) params =3D { q: = context.query.val() }; params.as =3D 1; if (context.groupId > 0) params.g =3D context.groupId; window.location =3D = context.searchResultsUrl.replace(/\{0\}/gi, $.param(params)); }); context.query .attr('autocomplete', 'off') .keydown(function (e) { if (e.keyCode =3D=3D=3D 13) { clearTimeout(context.searchTimeout); var selectedLink =3D = context.searchResultsPopup.glowPopUpPanel('children').find('a.selected');= if (selectedLink.length > 0) { window.location =3D selectedLink.first().attr('href'); } else { var params =3D { q: context.query.val() }; if (context.groupId > 0) { params.g =3D context.groupId; if (context.inForum =3D=3D 'True') params.sc =3D = "forum"; } window.location =3D = context.searchResultsUrl.replace(/\{0\}/gi, $.param(params)); } hideSearch(context); context.query.blur(); return false; } else if (e.keyCode =3D=3D=3D 38) { // up var previousNode =3D null; = context.searchResultsPopup.glowPopUpPanel('children').find('a').each(func= tion () { if ($(this).hasClass('selected')) { $(this).removeClass('selected'); if (previousNode) { $(previousNode).addClass('selected'); } return false; } else { previousNode =3D this; } }); return false; } else if (e.keyCode =3D=3D=3D 40) { // down var selectNext =3D false; var done =3D false; = context.searchResultsPopup.glowPopUpPanel('children').find('a').each(func= tion () { if ($(this).hasClass('selected')) { selectNext =3D true; $(this).removeClass('selected'); } else if (selectNext) { $(this).addClass('selected'); done =3D true; return false; } }); if (!done) { if (selectNext) { = context.searchResultsPopup.glowPopUpPanel('children').find('a').last().ad= dClass('selected'); } else { = context.searchResultsPopup.glowPopUpPanel('children').find('a').first().a= ddClass('selected'); } } return false; } }) .focus(function () { if (!$(this).hasClass('empty')) { context.lastKeyCode =3D -1; clearTimeout(context.searchTimeout); search(context); } else context.query.val(''); clearTimeout(context.changeTimeout); context.changeTimeout =3D setTimeout(function () { = checkForSearchQueryChange(context); }, 99); }) .blur(function () { if ($(this).hasClass('empty')) = context.query.val(context.emptyMessage); clearTimeout(context.searchTimeout); clearTimeout(context.changeTimeout); }); } }; } (jQuery)); ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/cfs-file.ashx/__key/communityserver-components-sitefiles/js/jquery.hoverIntent.min.js =EF=BB=BF/**=0A= * hoverIntent r6 // 2011.02.26 // jQuery 1.5.1+=0A= * =0A= * =0A= * @param f onMouseOver function || An object with configuration options=0A= * @param g onMouseOut function || Nothing (use configuration options = object)=0A= * @author Brian Cherne brian(at)cherne(dot)net=0A= */ (function ($) { $.fn.hoverIntent =3D function (f, g) { var cfg =3D { = sensitivity: 7, interval: 100, timeout: 0 }; cfg =3D $.extend(cfg, g ? { = over: f, out: g} : f); var cX, cY, pX, pY; var track =3D function (ev) { = cX =3D ev.pageX; cY =3D ev.pageY }; var compare =3D function (ev, ob) { = ob.hoverIntent_t =3D clearTimeout(ob.hoverIntent_t); if ((Math.abs(pX - = cX) + Math.abs(pY - cY)) < cfg.sensitivity) { $(ob).unbind("mousemove", = track); ob.hoverIntent_s =3D 1; return cfg.over.apply(ob, [ev]) } else { = pX =3D cX; pY =3D cY; ob.hoverIntent_t =3D setTimeout(function () { = compare(ev, ob) }, cfg.interval) } }; var delay =3D function (ev, ob) { = ob.hoverIntent_t =3D clearTimeout(ob.hoverIntent_t); ob.hoverIntent_s = =3D 0; return cfg.out.apply(ob, [ev]) }; var handleHover =3D function = (e) { var ev =3D jQuery.extend({}, e); var ob =3D this; if = (ob.hoverIntent_t) { ob.hoverIntent_t =3D clearTimeout(ob.hoverIntent_t) = } if (e.type =3D=3D "mouseenter") { pX =3D ev.pageX; pY =3D ev.pageY; = $(ob).bind("mousemove", track); if (ob.hoverIntent_s !=3D 1) { = ob.hoverIntent_t =3D setTimeout(function () { compare(ev, ob) }, = cfg.interval) } } else { $(ob).unbind("mousemove", track); if = (ob.hoverIntent_s =3D=3D 1) { ob.hoverIntent_t =3D setTimeout(function = () { delay(ev, ob) }, cfg.timeout) } } }; return this.bind('mouseenter', = handleHover).bind('mouseleave', handleHover) } })(jQuery); ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/cfs-file.ashx/__key/widgetfiles/dea47fd48dec462882d3105e6e811c47-d/e2e_2D00_header.js /// //jquery plugin (function ($) { var flyoutCallbackFunctionKey =3D 'showflyout-callback', flyoutIdKey =3D 'header-nav-flyout-id'; jQuery.fn.headerExtension =3D function (options) { var t =3D this, clickaction =3D 'click'; this.headerNavOptions =3D { click: function () { alert('nav menu mouse click function'); = }, over: function () { alert('nav menu mouse over function'); = }, out: function () { alert('nav menu mouse out function'); }, hITimeout: 100, //wait 100 ms before executing mouse over = or mouse out action navChildrenIndicatorCssClass: 'navigation-item-children', subNavCssClass: 'header-nav-subnav', appendFlyoutsTo: null, navItemShowFlyoutFunctions: [], headerDebugging: false }; var registerHeaderNavItemChildren =3D function () { var callbackFunctions =3D = t.headerNavOptions.navItemShowFlyoutFunctions; if (callbackFunctions =3D=3D null || = !jQuery.isArray(callbackFunctions)) { return; } for (var i =3D 0; i < callbackFunctions.length; i++) { var fn =3D callbackFunctions[i], nav =3D (i < t.length) ? t[i] : null, flyoutContainerDiv =3D = (t.headerNavOptions.appendFlyoutsTo || nav); var groupdata =3D ''; if ((fn =3D=3D null || !$.isFunction(fn)) || nav =3D=3D = null) { continue; } //update element jQuery(nav) = .addClass(t.headerNavOptions.navChildrenIndicatorCssClass) //mark = as having children .data(flyoutCallbackFunctionKey, fn); //register = callback function var groupid =3D jQuery('a', nav).attr('groupid'); var navtype =3D jQuery('a', nav).attr('navtype'); if (typeof (groupid) !=3D 'undefined' && typeof = (navtype) !=3D 'undefined') { groupdata =3D = $.telligent.evolution.widgets.TIHeaderMainNav.getdata(groupid, navtype); } //Check and add sub nav container var subNavSelector =3D jQuery('#' + = (t.headerNavOptions.subNavCssClass + '-' + i), flyoutContainerDiv); if (subNavSelector.length =3D=3D 0) { //No sub nav element var flyoutContent =3D jQuery('
    ') var navOffset =3D $(nav).offset(); /* if ($.browser.msie) { if ($.browser.version.indexOf("8") =3D=3D 0 || = $.browser.version.indexOf("9") =3D=3D 0) { flyoutContent.offset({ top: navOffset.top + 12, = left: navOffset.left - 16 }); } else { flyoutContent.offset({ top: navOffset.top + 34, = left: navOffset.left - 16 }); } } else=20 if ($.browser.mozilla) { flyoutContent.css('top', (navOffset.top + 28) + = 'px'); flyoutContent.css('left', (navOffset.left - 16) + = 'px'); } else { flyoutContent.offset({ top: navOffset.top + 28, = left: navOffset.left - 16 }); } */ if ($.browser.mozilla) { flyoutContent.css('top', (navOffset.top + 34) + = 'px'); flyoutContent.css('left', (navOffset.left - 16) = + 'px'); } else { flyoutContent.offset({ top: navOffset.top + 34, = left: navOffset.left - 16 }); } flyoutContent.appendTo(flyoutContainerDiv); //update nav element with id $(nav).headerFlyoutId(i); } } }; //assign default value to options arg options =3D options || {}; //merge options this.headerNavOptions =3D jQuery.extend(true, {}, = this.headerNavOptions, options); //config hover intent jQuery(this).hoverIntent({ over: this.headerNavOptions.over, timeout: this.headerNavOptions.hITimeout, out: this.headerNavOptions.out }); //config touch jQuery(this).click(function (e) { var click =3D t.headerNavOptions.click; if ($.isFunction(click)) { click(e, clickaction); } }); //build subnav divs and assoicate callback functions registerHeaderNavItemChildren(); //attach hovers to subnav divs jQuery('.' + this.headerNavOptions.subNavCssClass).hoverIntent({ over: function () { $(this).addClass("subhovering"); }, timeout: 500, out: function () { $(this).removeClass("subhovering"); = $('.header-nav-menu-open').removeClass('header-nav-menu-open'); if ($('.menuhovering').attr("id") !=3D = $(this).attr("pid")) { $(this).hide(); } }, sensitivity: 150 // was getting irregular hits with = default sensitivity }); //run call back functions if in debugging mode if (t.headerNavOptions.headerDebugging) { clickaction =3D 'debug-click'; $(this).click(); clickaction =3D 'click'; //reset } return this; }; jQuery.fn.getFlyoutCallbackFunction =3D function () { var cb =3D this.data(flyoutCallbackFunctionKey); if (!$.isFunction(cb)) { return (function () { }); } return cb; }; jQuery.fn.headerFlyoutId =3D function (v) { if (typeof v =3D=3D "undefined" || v =3D=3D null) { //get return this.data(flyoutIdKey); } else { //set this.data(flyoutIdKey, v); return this; } }; })(jQuery); (function () { var navOpenCssClass =3D 'header-nav-menu-open', navChildrenIndicatorCssClass =3D 'with-children', showFlyout =3D function (e, action) { var target =3D jQuery(e.currentTarget), isOpen =3D target.hasClass(navOpenCssClass), subNav =3D jQuery('#' + headerNavOptions.subNavCssClass = + '-' + target.headerFlyoutId()); //defaults target.addClass('menuhovering'); action =3D action || 'hover'; // console.log('action =3D ' + action); if (isOpen && action =3D=3D 'click') { hideFlyout(e); return; } else if (action !=3D 'debug-click') { //remove from siblings target.siblings().removeClass(navOpenCssClass); } try { var cb =3D target.getFlyoutCallbackFunction(); cb.call(target, subNav, action); } catch (e) { alert(e); } finally { subNav.show(0, function () { target.addClass(navOpenCssClass); }); } }, hideFlyout =3D function (e) { var target =3D jQuery(e.currentTarget), subNav =3D jQuery('#' + headerNavOptions.subNavCssClass = + '-' + target.headerFlyoutId()), debugging =3D headerNavOptions.headerDebugging || false; target.removeClass('menuhovering'); if (!debugging) { if ($(subNav).hasClass('subhovering') =3D=3D false) { jQuery(subNav).hide(0, function () { //highlight selected nav target target.removeClass(navOpenCssClass); }); } } }, navItemsSelector =3D jQuery('div.e2e-top-header-dropdown-bar = li.navigation-item').filter(function () { var t =3D jQuery(this), ret =3D (t.hasClass('entry') && t.css('display') !=3D = 'none'); return ret; }); var headerNavOptions =3D { headerDebugging: false, click: showFlyout, over: showFlyout, out: hideFlyout, hITimeout: 250, //wait 500 ms before executing mouse over or = mouse out action navChildrenIndicatorCssClass: navChildrenIndicatorCssClass, appendFlyoutsTo: $('#headerNavFlyouts'), subNavCssClass: 'navigation-list-item-dropdown', navItemShowFlyoutFunctions: [supportNavFunction, = blogsNavFunction, groupsNavFunction] //index 1 has no function reference = as it does not have a sub nav. This value could also be null. }; var resizeTimer; var refreshDrops =3D function () { $('[pid]').each(function () { var drop =3D $(this); var nav =3D $('#' + drop.attr('pid')); var navOffset =3D $(nav).offset(); /*if ($.browser.msie) { if ($.browser.version.indexOf("8") =3D=3D 0 || = $.browser.version.indexOf("9") =3D=3D 0) { drop.css('top', (navOffset.top + 12) + 'px'); drop.css('left', (navOffset.left - 16) + 'px'); } else { drop.css('top', (navOffset.top + 34) + 'px'); drop.css('left', (navOffset.left - 16) + 'px'); } } else if ($.browser.mozilla) { drop.css('top', (navOffset.top + 26) + 'px'); drop.css('left', (navOffset.left - 16) + 'px'); } else { //drop.offset({ top: navOffset.top + 26, left: = navOffset.left - 16 }); drop.css('top', (navOffset.top + 26) + 'px'); drop.css('left', (navOffset.left - 16) + 'px'); }*/ if ($.browser.mozilla) { drop.css('top', (navOffset.top + 34) + 'px'); drop.css('left', (navOffset.left - 16) + 'px'); } else { //drop.offset({ top: navOffset.top + 26, left: = navOffset.left - 16 }); drop.css('top', (navOffset.top + 34) + 'px'); drop.css('left', (navOffset.left - 16) + 'px'); } }); }; //register the plugin jQuery(navItemsSelector).headerExtension(headerNavOptions); //attach nav flyout track event jQuery('#headerNavFlyouts a').live('click', function () { var trackThis =3D $(this).data('scid'); = $.telligent.evolution.widgets.TIHeaderMainNav.trackSC(trackThis); }); jQuery(window).bind('resize', function () { clearTimeout(resizeTimer); resizeTimer =3D setTimeout(refreshDrops, 250); }); jQuery('#headerNavFlyouts div.e2enav_closeFlyout').live('click', = function () { $('.subhovering').removeClass('subhovering').hide(); $('.header-nav-menu-open').removeClass('header-nav-menu-open'); $('.menuhovering').removeClass('menuhovering'); }); })(); function supportNavFunction(e, action) { var groupid =3D $(e).attr('groupid'); var navtype =3D $(e).attr('navtype'); if (typeof (groupid) !=3D 'undefined' && typeof (navtype) !=3D = 'undefined') { var data =3D = $.telligent.evolution.widgets.TIHeaderMainNav.getdata(groupid, navtype); e.html(data); e.show(); } } function blogsNavFunction(e, action) { var groupid =3D $(e).attr('groupid'); var navtype =3D $(e).attr('navtype'); if (typeof (groupid) !=3D 'undefined' && typeof (navtype) !=3D = 'undefined') { var data =3D = $.telligent.evolution.widgets.TIHeaderMainNav.getdata(groupid, navtype); e.html(data); } } function groupsNavFunction(e, action) { var groupid =3D $(e).attr('groupid'); var navtype =3D $(e).attr('navtype'); if (typeof (groupid) !=3D 'undefined' && typeof (navtype) !=3D = 'undefined') { var data =3D = $.telligent.evolution.widgets.TIHeaderMainNav.getdata(groupid, navtype); e.html(data); } } ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/cfs-file.ashx/__key/defaultwidgets/674c31130ec640f98f20b2b794e9ae06-a0f4c83c0d1d4ba3b73576a15b13ef77/ui.js =EF=BB=BF(function ($) { if (typeof $.telligent =3D=3D=3D 'undefined') $.telligent =3D {}; if (typeof $.telligent.evolution =3D=3D=3D 'undefined') $.telligent.evolution =3D {}; if (typeof $.telligent.evolution.widgets =3D=3D=3D 'undefined') $.telligent.evolution.widgets =3D {}; var saveTags =3D function (context, tags, successFn) { var data =3D { Tags: tags.length > 0 ? tags.join(',') : '', BlogPostId: context.postId, BlogId: context.blogId }; $.telligent.evolution.put({ url: $.telligent.evolution.site.getBaseUrl() + = 'api.ashx/v2/blogs/{BlogId}/posts/{BlogPostId}.json', data: data, dataType: 'json', success: function (response) { successFn(); context.currentTags =3D tags; var tagsHtml =3D ''; for (var i =3D 0; i < context.currentTags.length; i++) { var tagName =3D $.trim(context.currentTags[i]); var tagUrl =3D = context.tagUrlTemplate.replace(/TAGNAME/g, = encodeURIComponent(tagName.replace(/ /g, '+'))); tagsHtml =3D tagsHtml + '').text(tagName).html() + ''; if (i + 1 < context.currentTags.length) tagsHtml =3D tagsHtml + ', '; } context.tagList.html(tagsHtml); } }); }, ratePost =3D function (context, value) { $.telligent.evolution.post({ url: context.ratingUrl, data: { rating: value, blogPostId: context.postId }, dataType: 'json', success: function (response) { context.rating.evolutionStarRating('val', = response.ratingAverage); } }); }; $.telligent.evolution.widgets.blogPost =3D { register: function (context) { if (context.tagEditor) context.tagEditor.evolutionInlineTagEditor({ allTags: context.allTags, currentTags: context.currentTags, selectTagsText: context.selectTagsText, onSave: function (tags, successFn) { saveTags(context, tags, successFn); } }); if (context.rating) context.rating.evolutionStarRating({ value: context.averageRating, isReadOnly: !context.hasRatePermission, onRate: function (value, success) { _TrackSC(window.location,'Content and Member = Engagement'); ratePost(context, value, success); } }); } }; })(jQuery); ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/cfs-file.ashx/__key/defaultwidgets/674c31130ec640f98f20b2b794e9ae06-09d52c2741d24bd0a5f6f8054c98fa87/ui.js =EF=BB=BF(function ($) { if (typeof $.telligent =3D=3D=3D 'undefined') { $.telligent =3D {}; = } if (typeof $.telligent.evolution =3D=3D=3D 'undefined') { = $.telligent.evolution =3D {}; } if (typeof $.telligent.evolution.widgets =3D=3D=3D 'undefined') { = $.telligent.evolution.widgets =3D {}; } var errorHtml =3D '
    {ErrorText}
    ', loadingHtml =3D '
    {LoadingText}
    ', load =3D function (context) { setContent(context, loadingHtml.replace(/\{LoadingText\}/g, = context.loadingText)); $.telligent.evolution.get({ url: context.loadCommentsUrl, data: { w_baseUrl: context.baseUrl }, success: function (response) { if (response) { setContent(context, response); } }, defaultErrorMessage: context.errorText, error: function (xhr, desc, ex) { setContent(context, errorHtml.replace(/\{ErrorText\}/g, = desc)); } }); }, attachHandlers =3D function (context) { $("div.post-actions li.navigation-item a.delete-post", = context.wrapper).click(function (e) { var commentId =3D $(this).attr('commentId'); deletePostComment(context, context.blogId, context.blogPostId, = commentId, e); return false; }); }, setContent =3D function (context, html) { context.wrapper.html(html).css("visibility", "visible"); attachHandlers(context); }, deletePostComment =3D function (context, blogId, blogPostId, = commentId, event) { if (confirm(context.deleteVerificationText)) { $.telligent.evolution.del({ url: $.telligent.evolution.site.getBaseUrl() + = 'api.ashx/v2/blogs/{BlogId}/posts/{BlogPostId}/comments/{CommentId}.json'= , data: { BlogId: blogId, BlogPostId: blogPostId, CommentId: commentId }, success: function (response) { var item =3D = $(event.target).closest('li.content-item'); item.slideUp(function () { item.remove(); // if there were no more comments, hide the = comments list altogether if (context.wrapper.find('li').length =3D=3D=3D 0) = { context.wrapper.css("visibility", "hidden"); } }); } }); } }; $.telligent.evolution.widgets.blogFeedbackList =3D { register: function (context) { attachHandlers(context); $(document).bind('telligent_blogs_commentposted', function = (e, message) { load(context); }); } }; })(jQuery); ------=_NextPart_000_0000_01CF99C3.AE6104E0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://e2e.ti.com/cfs-file.ashx/__key/defaultwidgets/674c31130ec640f98f20b2b794e9ae06-212f71d69e37457887f33f32918f6ae3/ui.js (function($) { if (typeof $.telligent =3D=3D=3D 'undefined') { $.telligent =3D {}; = } if (typeof $.telligent.evolution =3D=3D=3D 'undefined') { = $.telligent.evolution =3D {}; } if (typeof $.telligent.evolution.widgets =3D=3D=3D 'undefined') { = $.telligent.evolution.widgets =3D {}; } var registered =3D false, open =3D function(context, element) { var hoveredElement =3D element; if(context.currentElement =3D=3D=3D element) { return } // if no longer over, don't even bother if(!$(hoveredElement).data('over')) { return } // if a different hover is already open, then first close it if (context.currentElement && context.currentElement !=3D=3D element) { close(context, context.currentElement); } // if this is a request to re-open the current open panel, = ignore it if ((context.currentElement && context.currentElement =3D=3D=3D element && context.popup.glowPopUpPanel('isShown')) || $(element).closest('.user-info-popup-content').length > = 0) { return; } context.currentElement =3D element; context.popup.glowPopUpPanel('html', ''); // if the element that triggered this is no longer visible, = don't show if(!$(element).is(':visible')) { return; } var profileMatches =3D = context.profileUrlPattern.exec(element.href); if(profileMatches =3D=3D=3D null) { return; } var userName =3D profileMatches[1]; var userHtml =3D context.userCache[userName]; if (userHtml) { context.popup .glowPopUpPanel('html', userHtml) .glowPopUpPanel('show', element, false, true); return; } $.telligent.evolution.get({ url: context.getUserInformationUrl, data: { w_hoverUserName: userName }, success: function(response) { // if no longer over after ajax callback, don't even = bother if($(hoveredElement).data('over')) { context.userCache[userName] =3D response; context.popup .glowPopUpPanel('html', response) .glowPopUpPanel('show', element, false, = true); } } }); }, close =3D function(context) { if(!context.over) { context.popup.glowPopUpPanel('hide'); context.currentElement =3D null; } }; $.telligent.evolution.widgets.userHover =3D { register: function(context) { // only register once on a given page if(!registered) { registered =3D true; context.userCache =3D {}; context.popup =3D $('
    ') .glowPopUpPanel({ cssClass: 'menu user-info-popup-content = menu__user-info-popup-content', position: 'downcenter', zIndex: 1000, hideOnDocumentClick: false }) .glowPopUpPanel('html', ''); $.extend(context, { profileUrlPattern: new RegExp('^(?:' + = window.location.protocol + '//' + window.location.host + ')?' + $.telligent.evolution.site.getBaseUrl() + = 'members/([^/]+)/(?:default\\.aspx)?', 'i'), avatarUrlPattern: new RegExp('^(?:' + = window.location.protocol + '//' + window.location.host + ')?' + $.telligent.evolution.site.getBaseUrl() + = '.*?_key/Telligent.Evolution.Components.Avatars/([0-9\\.]*)/', 'i') }); $(function(){ $('.user-defined-markup a') .live('mouseenter', function(){ $(this).data('over', true); }) .live('mouseleave', function(){ $(this).data('over', false); }) .live('glowDelayedMouseEnter', 999, function() { var a =3D $(this); if(!a.attr('core_userhover') && = context.profileUrlPattern.test(a.attr('href'))) { open(context, a.get(0)); } }) .live('glowDelayedMouseLeave', 500, function(e) = { e.stopPropagation(); close(context); }); $('.internal-link.view-user-profile, = .internal-link.view-profile, .avatar > a') .live('mouseenter', function(){ $(this).data('over', true); }) .live('mouseleave', function(){ $(this).data('over', false); }) .live('glowDelayedMouseEnter', 999, function() { open(context, this); }) .live('glowDelayedMouseLeave', 500, function(e) = { e.stopPropagation(); close(context); }); $('div.user-info-popup-content') .live('mouseenter', function(){ context.over =3D true; }) .live('glowDelayedMouseLeave', 500, function(e){ e.stopPropagation(); context.over =3D false; close(context); }); $('div.user-info-popup-content .close a') .live('click', function(){ context.over =3D false; close(context); return false; }); $('div.user-info-popup-content = a.start-conversation') .live('click', function(){ var url =3D $(this).attr('href'); Telligent_Modal.Open(url,550,360,null); return false; }); $('div.user-info-popup-content a.add-friend-modal') .live('click', function(){ var url =3D $(this).attr('href'); Telligent_Modal.Open(url,550,360,null); return false; }); $('div.user-info-popup-content a.add-friend-rest') .live('click', function(){ alert('ajax friend request'); return false; }); $('div.user-info-popup-content a.recent-activity') .live('click', function(){ var link =3D $(this); var responseContainer =3D link.parent(); var userId =3D = parseInt(link.attr('data-userid'), 10); $.telligent.evolution.get({ url: context.getRecentActivityUrl, data: { w_userId: userId }, success: function(response) { var item =3D $('
    ') .addClass('recent-activity') .html(response) .hide() .insertAfter(responseContainer); = responseContainer.glowTransition(item, { duration: 150, complete: = function(){ = context.popup.glowPopUpPanel('refresh'); } }); } }); return false; }); }); } } }; }(jQuery)); ------=_NextPart_000_0000_01CF99C3.AE6104E0--