PageSourceSearch

https://start.madopskrifter.nu/ScriptResource.axd?d=Aj_juUFY_qbRow…7Bj1yLhCT10O3RZZo3eP1wk1&t=ffffffffbc374ce3

js madopskrifter.nu collected 2026-10-02 06:39:57 UTC 25,338 bytes, 581 lines download raw bytes

1Type.registerNamespace("Telerik.Web");
2Type.registerNamespace("Telerik.Web.UI");
3Telerik.Web.UI.ModalExtender=function(a){this._windowResizeDelegate=null;
4this._windowScrollDelegate=null;
5this._xCoordinate=-1;
6this._yCoordinate=-1;
7this._backgroundElement=null;
8this._foregroundElement=a;
9this._saveTabIndexes=new Array();
10this._saveDesableSelect=new Array();
11this._tagWithTabIndex=new Array("A","AREA","BUTTON","INPUT","OBJECT","SELECT","TEXTAREA","IFRAME");
12};
13Telerik.Web.UI.ModalExtender.prototype={dispose:function(){this.hide();
14this._backgroundElement=null;
15this._foregroundElement=null;
16},show:function(){this._attachWindowHandlers(true);
17var b=this._getModalOverlay();
18var a=this._foregroundElement;
19a.parentNode.appendChild(b);
20var c=$telerik.getCurrentStyle(a,"zIndex");
21if(!isNaN(parseInt(c))){b.style.zIndex=c-1;
22}b.style.display="";
23this._disableTab();
24this._updatePageLayout();
25this._updatePageLayout();
26},_storeBrowserPosition:function(){var a=document.body;
27var b=document.documentElement;
28this._browserTop=a.scrollTop>b.scrollTop?a.scrollTop:b.scrollTop;
29this._browserLeft=a.scrollLeft>b.scrollLeft?a.scrollTop:b.scrollLeft;
30},_restoreBrowserPosition:function(d,b){try{if(null==d){d=this._browserLeft;
31}if(null==b){b=this._browserTop;
32}var a=document.body;
33var c=document.documentElement;
34a.scrollTop=b;
35a.scrollLeft=d;
36c.scrollTop=b;
37c.scrollLeft=d;
38}catch(e){}},hide:function(){this._restoreTab();
39this._attachWindowHandlers(false);
40var a=this._backgroundElement;
41if(a){if(a.parentNode){a.parentNode.removeChild(a);
42}this._backgroundElement=null;
43}},_enableScroll:function(a){if(a){document.body.style.overflow=null!=this._overflow?this._overflow:"";
44document.documentElement.style.overflow=null!=this._documentOverflow?this._documentOverflow:"";
45document.body.style.marginRight="";
46}else{this._overflow=document.body.style.overflow;
47document.body.style.overflow="hidden";
48this._documentOverflow=document.documentElement.style.overflow;
49document.documentElement.style.overflow="hidden";
50document.body.style.marginRight="18px";
51}},_getModalOverlay:function(){if(!this._backgroundElement){var a=document.createElement("div");
52a.style.display="none";
53a.style.position="absolute";
54if($telerik.isRightToLeft(this._foregroundElement)){a.style.right="0px";
55}else{a.style.left="0px";
56}a.style.top="0px";
57a.style.zIndex=10000;
58a.style.backgroundColor="#aaaaaa";
59a.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=50)";
60a.style.opacity=".5";
61a.style.mozOpacity=".5";
62a.setAttribute("unselectable","on");
63a.className="TelerikModalOverlay";
64this._backgroundElement=a;
65}return this._backgroundElement;
66},_attachWindowHandlers:function(a){var b=window;
67if(true==a){this._windowResizeDelegate=Function.createDelegate(this,this._updatePageLayout);
68$addHandler(b,"resize",this._windowResizeDelegate);
69this._windowScrollDelegate=Function.createDelegate(this,this._updatePageLayout);
70$addHandler(b,"scroll",this._windowScrollDelegate);
71}else{if(this._windowResizeDelegate){$removeHandler(b,"resize",this._windowResizeDelegate);
72}this._windowResizeDelegate=null;
73if(this._windowScrollDelegate){$removeHandler(b,"scroll",this._windowScrollDelegate);
74}this._windowScrollDelegate=null;
75}},_updatePageLayout:function(){var b=(document.documentElement.scrollLeft?$telerik.getCorrectScrollLeft(document.documentElement):$telerik.getCorrectScrollLeft(document.body));
76var e=(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);
77var a=$telerik.getClientBounds();
78var f=a.width;
79var d=a.height;
80var c=this._getModalOverlay();
81c.style.width=Math.max(Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),f)+"px";
82c.style.height=Math.max(Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),d)+"px";
83},_disableTab:function(){var d=0;
84var a;
85var c=new Array();
86Array.clear(this._saveTabIndexes);
87for(var e=0;
88e<this._tagWithTabIndex.length;
89e++){a=this._foregroundElement.getElementsByTagName(this._tagWithTabIndex[e]);
90for(var f=0;
91f<a.length;
92f++){c[d]=a[f];
93d++;
94}}d=0;
95for(var e=0;
96e<this._tagWithTabIndex.length;
97e++){a=document.getElementsByTagName(this._tagWithTabIndex[e]);
98for(var f=0;
99f<a.length;
100f++){if(Array.indexOf(c,a[f])==-1){this._saveTabIndexes[d]={tag:a[f],index:a[f].tabIndex};
101a[f].tabIndex="-1";
102d++;
103}}}d=0;
104if((Sys.Browser.agent===Sys.Browser.InternetExplorer)&&(Sys.Browser.version<7)){var b=new Array();
105for(var e=0;
106e<this._tagWithTabIndex.length;
107e++){a=this._foregroundElement.getElementsByTagName("SELECT");
108for(var f=0;
109f<a.length;
110f++){b[d]=a[f];
111d++;
112}}d=0;
113Array.clear(this._saveDesableSelect);
114a=document.getElementsByTagName("SELECT");
115for(var f=0;
116f<a.length;
117f++){if(Array.indexOf(b,a[f])==-1){this._saveDesableSelect[d]={tag:a[f],visib:$telerik.getCurrentStyle(a[f],"visibility")};
118a[f].style.visibility="hidden";
119d++;
120}}}},_restoreTab:function(){for(var a=0;
121a<this._saveTabIndexes.length;
122a++){this._saveTabIndexes[a].tag.tabIndex=this._saveTabIndexes[a].index;
123}if((Sys.Browser.agent===Sys.Browser.InternetExplorer)&&(Sys.Browser.version<7)){for(var b=0;
124b<this._saveDesableSelect.length;
125b++){this._saveDesableSelect[b].tag.style.visibility=this._saveDesableSelect[b].visib;
126}}}};
127Telerik.Web.UI.ModalExtender.registerClass("Telerik.Web.UI.ModalExtender",null);
128Type.registerNamespace("Telerik.Web");
129Telerik.Web.PositioningMode=function(){throw Error.invalidOperation();
130};
131Telerik.Web.PositioningMode.prototype={Absolute:0,Center:1,BottomLeft:2,BottomRight:3,TopLeft:4,TopRight:5};
132Telerik.Web.PositioningMode.registerEnum("Telerik.Web.PositioningMode");
133Telerik.Web.PopupBehavior=function(a){Telerik.Web.PopupBehavior.initializeBase(this,[a]);
134this._x=0;
135this._y=0;
136this._positioningMode=Telerik.Web.PositioningMode.Absolute;
137this._parentElement=null;
138this._parentElementID=null;
139this._moveHandler=null;
140this._firstPopup=true;
141this._originalParent=null;
142this._overlay=false;
143this._keepInScreenBounds=true;
144this._manageVisibility=true;
145};
146Telerik.Web.PopupBehavior._ie6pinnedList={};
147Telerik.Web.PopupBehavior.prototype={getPageOffset:function(){var a={x:($telerik.getCorrectScrollLeft(document.documentElement)||$telerik.getCorrectScrollLeft(document.body)),y:(document.documentElement.scrollTop||document.body.scrollTop)};
148return a;
149},pin:function(c){var d=this.get_elementToShow();
150var b=this.getPageOffset();
151if($telerik.isIE6){var e=this.get_id();
152if(c){if(Telerik.Web.PopupBehavior._ie6pinnedList[e]){return;
153}var a=$telerik.getBounds(d);
154Telerik.Web.PopupBehavior._ie6pinnedList[e]=window.setInterval(Function.createDelegate(this,function(){var k=this.getPageOffset();
155var h=a.x-b.x+k.x;
156var i=a.y-b.y+k.y;
157var j=this.get_parentElement();
158this.set_parentElement(document.documentElement);
159this.set_x(h);
160this.set_y(i);
161this.show();
162this.set_parentElement(j);
163}),130);
164}else{var g=Telerik.Web.PopupBehavior._ie6pinnedList[e];
165if(g){window.clearInterval(g);
166}delete Telerik.Web.PopupBehavior._ie6pinnedList[e];
167}}else{var f=c?"fixed":"absolute";
168if(d.style.position==f){return;
169}var a=$telerik.getBounds(d);
170if(c&&(b.x||b.y)){this._x=a.x-b.x;
171this._y=a.y-b.y;
172$telerik.setLocation(d,{x:this._x,y:this._y});
173}d.style.position=f;
174}},center:function(){var e=this.get_elementToShow();
175if(this._manageVisibility){$telerik.setVisible(e,true);
176}var d=$telerik.getClientBounds();
177var f=$telerik.getBounds(e);
178var a=parseInt((d.width-f.width)/2);
179var b=parseInt((d.height-f.height)/2);
180var c=this.get_parentElement();
181this.set_parentElement(document.documentElement);
182this.set_x(a);
183this.set_y(b);
184this.show();
185this.set_parentElement(c);
186},get_parentElement:function(){if(!this._parentElement&&this._parentElementID){this.set_parentElement($get(this._parentElementID));
187Sys.Debug.assert(this._parentElement!=null,String.format('Couldn\'t find parent element "{0}"',this._parentElementID));
188}return this._parentElement;
189},set_parentElement:function(a){this._parentElement=a;
190},get_parentElementID:function(){if(this._parentElement){return this._parentElement.id;
191}return this._parentElementID;
192},set_parentElementID:function(a){this._parentElementID=a;
193if(this.get_isInitialized()){this.set_parentElement($get(a));
194}},get_positioningMode:function(){return this._positioningMode;
195},set_positioningMode:function(a){this._positioningMode=a;
196},get_x:function(){return this._x;
197},set_x:function(a){if(a!=this._x){this._x=a;
198if($telerik.getVisible(this.get_elementToShow())&&this._manageVisibility){this.show();
199}}},get_y:function(){return this._y;
200},set_y:function(a){if(a!=this._y){this._y=a;
201if($telerik.getVisible(this.get_elementToShow())&&this._manageVisibility){this.show();
202}}},get_overlay:function(){return this._overlay;
203},set_overlay:function(a){this._overlay=a;
204this._attachWindowHandlers(false);
205if(this._overlay){this._attachWindowHandlers(true);
206}else{if(!((Sys.Browser.agent===Sys.Browser.InternetExplorer)&&(Sys.Browser.version<7))){var b=this.get_elementToShow();
207var c=b._hideWindowedElementsIFrame;
208if(c){c.style.display="none";
209}}}},get_manageVisibility:function(){return this._manageVisibility;
210},set_manageVisibility:function(a){this._manageVisibility=a;
211},get_keepInScreenBounds:function(){return this._keepInScreenBounds;
212},set_keepInScreenBounds:function(a){this._keepInScreenBounds=a;
213},get_elementToShow:function(){return this._elementToShow?this._elementToShow:this.get_element();
214},set_elementToShow:function(a){if(this._elementToShow){this._detachElementToShow();
215}this._elementToShow=a;
216},_detachElementToShow:function(){var a=this.get_elementToShow();
217if(this._moveHandler){$telerik.removeExternalHandler(a,"move",this._moveHandler);
218this._moveHandler=null;
219}var c=a._hideWindowedElementsIFrame;
220if(c){var b=c.parentNode;
221var d=c.nextSibling;
222if(b){b.removeChild(c);
223if(d){b.insertBefore(document.createElement("SPAN"),d);
224}else{b.appendChild(document.createElement("SPAN"));
225}}}},hide:function(){var a=this.get_elementToShow();
226if(this._manageVisibility){$telerik.setVisible(a,false);
227}
227if(a.originalWidth){a.style.width=a.originalWidth+"px";
228a.originalWidth=null;
229}if(Sys.Browser.agent===Sys.Browser.InternetExplorer||this._overlay){var b=a._hideWindowedElementsIFrame;
230if(b){b.style.display="none";
231}}},show:function(){var g=this.get_elementToShow();
232g.style.position="absolute";
233var i=document.documentElement;
234if($telerik.isFirefox){var c=$telerik.getCurrentStyle(i,"overflow");
235if("hidden"==c){g.style.left=i.scrollLeft+"px";
236g.style.top=i.scrollLeft+"px";
237}}if(this._manageVisibility){$telerik.setVisible(g,true);
238}var j=g.offsetParent||i;
239var f;
240var h;
241if(this._parentElement){h=$telerik.getBounds(this._parentElement);
242var b=this._getOffsetParentLocation(g);
243f={x:h.x-b.x,y:h.y-b.y};
244}else{h=$telerik.getBounds(j);
245f={x:0,y:0};
246}var a=g.offsetWidth-(g.clientLeft?g.clientLeft*2:0);
247var k=g.offsetHeight-(g.clientTop?g.clientTop*2:0);
248var d;
249switch(this._positioningMode){case Telerik.Web.PositioningMode.Center:d={x:Math.round(h.width/2-a/2),y:Math.round(h.height/2-k/2)};
250break;
251case Telerik.Web.PositioningMode.BottomLeft:d={x:0,y:h.height};
252break;
253case Telerik.Web.PositioningMode.BottomRight:d={x:h.width-a,y:h.height};
254break;
255case Telerik.Web.PositioningMode.TopLeft:d={x:0,y:-g.offsetHeight};
256break;
257case Telerik.Web.PositioningMode.TopRight:d={x:h.width-a,y:-g.offsetHeight};
258break;
259default:d={x:0,y:0};
260}d.x+=this._x+f.x;
261d.y+=this._y+f.y;
262$telerik.setLocation(g,d);
263if(this._firstPopup){g.style.width=a+"px";
264}this._firstPopup=false;
265var e=this._fixPositionInBounds();
266this._createOverlay(e);
267},_getViewportBounds:function(){var b=$telerik.getClientBounds();
268var c=document.documentElement;
269var a=document.body;
270b.scrollLeft=($telerik.getCorrectScrollLeft(c)||$telerik.getCorrectScrollLeft(a));
271b.scrollTop=(c.scrollTop||a.scrollTop);
272return b;
273},_getOffsetParentLocation:function(c){var d=c.offsetParent;
274if(d&&d.tagName.toUpperCase()!="BODY"&&d.tagName.toUpperCase()!="HTML"){var b=$telerik.getLocation(d);
275var a=$telerik.getBorderBox(d);
276b.x+=a.top;
277b.y+=a.left;
278b.x-=$telerik.getCorrectScrollLeft(d);
279b.y-=d.scrollTop;
280return b;
281}return{x:0,y:0};
282},_fixPositionInBounds:function(){var c=this.get_elementToShow();
283var b=$telerik.getBounds(c);
284if(!this._keepInScreenBounds){return b;
285}var h=this._getViewportBounds();
286var j=false;
287var l=(h.width>b.width);
288var k=(h.height>b.height);
289var g=h.scrollTop;
290var i=h.height+g;
291var f=h.scrollLeft;
292var e=h.width+f;
293if($telerik.isRightToLeft(document.body)){var d=document.documentElement.scrollWidth;
294e=d?d:document.body.scrollWidth;
295}if(b.x<f||!l){b.x=f;
296j=true;
297}if(b.y<g||!k){b.y=g;
298j=true;
299}if(l&&(b.x+b.width>e)){b.x=e-b.width;
300j=true;
301}if(k&&(i<b.y+b.height)){b.y=i-b.height;
302j=true;
303}if(j){var a=this._getOffsetParentLocation(c);
304b.y-=a.y;
305b.x-=a.x;
306$telerik.setLocation(c,b);
307}return b;
308},_createOverlay:function(e){if(!$telerik.isIE6&&!this._overlay){return;
309}var d=this.get_elementToShow();
310var c=d._hideWindowedElementsIFrame;
311if(!c){c=document.createElement("iframe");
312c.src="javascript:'<html></html>';";
313c.style.position="absolute";
314c.style.display="none";
315c.scrolling="no";
316c.frameBorder="0";
317c.tabIndex="-1";
318c.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
319d.parentNode.insertBefore(c,d);
320d._hideWindowedElementsIFrame=c;
321this._moveHandler=Function.createDelegate(this,this._onMove);
322$telerik.addExternalHandler(d,"move",this._moveHandler);
323}$telerik.setBounds(c,e);
324if($telerik.isFirefox){var b=this._getViewportBounds();
325c.style.top=parseInt(e.y)-b.scrollTop+"px";
326c.style.left=parseInt(e.x)-b.scrollLeft+"px";
327c.style.position="fixed";
328}if($telerik.quirksMode){return;
329}c.style.display=d.style.display;
330var a=$telerik.getCurrentStyle(d,"zIndex");
331if(a){c.style.zIndex=a;
332}},_setCoordinates:function(a,b){var c=false;
333if(a!=this._x){this._x=a;
334c=true;
335}if(b!=this._y){this._y=b;
336c=true;
337}if($telerik.getVisible(this.get_elementToShow())&&c&&this._manageVisibility){this.show();
338}},initialize:function(){Telerik.Web.PopupBehavior.callBaseMethod(this,"initialize");
339this.hide();
340},dispose:function(){var a=this.get_elementToShow();
341if(a){this._attachWindowHandlers(false);
342if($telerik.getVisible(a)&&this._manageVisibility){this.hide();
343}if(this._originalParent){a.parentNode.removeChild(a);
344this._originalParent.appendChild(a);
345this._originalParent=null;
346}this._detachElementToShow();
347}this._parentElement=null;
348Telerik.Web.PopupBehavior.callBaseMethod(this,"dispose");
349if(a&&a._behaviors&&a._behaviors.length==0){a._behaviors=null;
350}a=null;
351},_onMove:function(){var a=this.get_elementToShow();
352var c=a._hideWindowedElementsIFrame;
353if(c){if(Sys.Browser.agent===Sys.Browser.Firefox){var b=this._getViewportBounds();
354c.style.top=parseInt(a.style.top)-b.scrollTop+"px";
355c.style.left=parseInt(a.style.left)-b.scrollLeft+"px";
356c.style.position="fixed";
357}else{c.style.top=a.style.top;
358c.style.left=a.style.left;
359}}},_handleElementResize:function(){var b=this.get_elementToShow();
360var c=b._hideWindowedElementsIFrame;
361if(c){var a=$telerik.getBounds(b);
362$telerik.setBounds(c,a);
363}}
363,_attachWindowHandlers:function(a){if(!Sys.Browser.agent===Sys.Browser.Firefox){return;
364}var b=window;
365if(true==a){this._windowResizeDelegate=Function.createDelegate(this,this._onMove);
366$telerik.addExternalHandler(b,"resize",this._windowResizeDelegate);
367this._windowScrollDelegate=Function.createDelegate(this,this._onMove);
368$telerik.addExternalHandler(b,"scroll",this._windowScrollDelegate);
369}else{if(this._windowResizeDelegate){$telerik.removeExternalHandler(b,"resize",this._windowResizeDelegate);
370}this._windowResizeDelegate=null;
371if(this._windowScrollDelegate){$telerik.removeExternalHandler(b,"scroll",this._windowScrollDelegate);
372}this._windowScrollDelegate=null;
373}}};
374Telerik.Web.PopupBehavior.registerClass("Telerik.Web.PopupBehavior",Sys.UI.Behavior);
375Type.registerNamespace("Telerik.Web");
376Type.registerNamespace("Telerik.Web.UI");
377Telerik.Web.UI.ResizeExtender=function(c,e,d,g,a,f,b){this._document=a?a:document;
378this._documentMouseMoveDelegate=null;
379this._documentMouseUpDelegate=null;
380this._element=null;
381this._tableElement=null;
382this._moveCursorType="move";
383this._enabled=true;
384this._jsOwner=null;
385this._hideIframes=true;
386this._autoScrollEnabled=true;
387this._saveDelegates={};
388this.makeResizable(c,e,d,g,f,b);
389};
390Telerik.Web.UI.ResizeExtender.containsBounds=function(c,e){if(!c||!e){return false;
391}var d=$telerik.containsPoint(c,e.x,e.y);
392if(d){var a=e.x+e.width;
393var b=e.y+e.height;
394d=$telerik.containsPoint(c,a,b);
395}return d;
396};
397Telerik.Web.UI.ResizeExtender.prototype={dispose:function(){this._attachDocumentHandlers(false);
398this._configureHandleElements(false);
399this._jsOwner=null;
400},enable:function(a){this._enabled=a;
401},set_hideIframes:function(a){this._hideIframes=a;
402},get_hideIframes:function(){return this._hideIframes;
403},makeResizable:function(d,b,c,f,e,a){if(!b){return;
404}if(this._element){alert("Element "+b.getAttribute("id")+" cannot be made resizable, as the resizeExtender already has the element "+this._element.getAttribute("id")+" associated with it. You must create a new extender resizer object");
405return;
406}this._jsOwner=d;
407this._element=b;
408this._tableElement=f;
409this._resizeHandles=c;
410if(e){this._moveCursorType=e;
411}if(a!=null){this._autoScrollEnabled=a;
412}this._startX=0;
413this._startY=0;
414this._cancelResize=true;
415this._configureHandleElements(true);
416},_raiseDragEvent:function(c,b,d){if(this._jsOwner&&this._jsOwner["on"+c]){var a=b;
417if(!a){a={};
418}a.element=this._element;
419a.ownerEvent=d;
420return this._jsOwner["on"+c](a);
421}return true;
422},_raiseEvent:function(b,a){if(this._jsOwner&&this._jsOwner["on"+b]){if(!a){a=new Sys.EventArgs();
423}else{if(b=="Resize"){a=this._resizeDir;
424}else{if(b=="Resizing"){a=this._getProposedBounds(a);
425}}}return this._jsOwner["on"+b](a);
426}return true;
427},_getProposedBounds:function(b){var a=$telerik.getBounds(this._element);
428return{x:b.x||a.x,y:b.y||a.y,width:b.width||a.width,height:b.height||a.height};
429},_resize:function(f){if(!this._enabled||this._cancelResize){return false;
430}var b=0;
431var g=0;
432var c=0;
433var a=0;
434var d=this._originalBounds;
435var j=this._resizeDir.move;
436if(j){c=d.x+(f.clientX-this._startX);
437a=d.y+(f.clientY-this._startY);
438}else{if(this._resizeDir.east){b=d.width+(f.clientX-this._startX);
439}else{if(this._resizeDir.west){c=d.x+(f.clientX-this._startX)-this._leftHandleMouseDelta;
440b=d.width-(f.clientX-this._startX);
441}}if(this._resizeDir.south){g=d.height+(f.clientY-this._startY);
442}else{if(this._resizeDir.north){a=d.y+(f.clientY-this._startY);
443g=d.height-(f.clientY-this._startY);
444}}}if(this._offsetLocation){c-=this._offsetLocation.x;
445a-=this._offsetLocation.y;
446}var h=new Sys.UI.Bounds(c,a,b,g);
447var i=j?this._raiseDragEvent("Drag",h,f):this._raiseEvent("Resizing",h);
448if(false==i){return true;
449}if(j||h.x>0){this._element.style.left=h.x+"px";
450}if(j||h.y>0){this._element.style.top=h.y+"px";
451}if(h.width>0){this._element.style.width=h.width+"px";
452}if(h.height>0){this._element.style.height=h.height+"px";
453}if(!j){this._updateInnerTableSize();
454}return true;
455},getPositionedParent:function(){var a=this._element.parentNode;
456while(a&&a!=document){if("static"!=$telerik.getCurrentStyle(a,"position","static")){return a;
457}a=a.parentNode;
458}return null;
459},_storeStartCoords:function(g){if(!this._enabled){return;
460}this._cancelResize=false;
461this._startX=g.clientX;
462this._startY=g.clientY;
463var f=$telerik.getBounds(this._element);
464var a=false;
465if(this._element.id!=null&&Telerik.Web.UI.RadDock&&Telerik.Web.UI.RadDock.isInstanceOfType($find(this._element.id))){a=true;
466}if($telerik.isIE&&a!=true){var b=this.getPositionedParent();
467if(b){f.x+=b.scrollLeft;
468f.y+=b.scrollTop;
469}}this._originalBounds=f;
470var h=g.target?g.target:g.srcElement;
471if(h&&h.type==3){h=h.parentNode;
472}this._resizeType=$telerik.getCurrentStyle(h,"cursor");
473if(!this._resizeType&&g.currentTarget){this._resizeType=$telerik.getCurrentStyle(g.currentTarget,"cursor");
474}this._resizeDir={north:this._resizeType.match(/n.?-/)?1:0,east:this._resizeType.match(/e-/)?1:0,south:this._resizeType.match(/s.?-/)?1:0,west:this._resizeType.match(/w-/)?1:0,move:new RegExp(this._moveCursorType).test(this._resizeType)?1:0};
475this._leftHandleMouseDelta=0;
476if(this._resizeDir.west){this._leftHandleMouseDelta=Math.abs($telerik.getBounds(h).x-this._startX);
477}var i=this._resizeDir.move?this._raiseDragEvent("DragStart",null,g):this._raiseEvent("ResizeStart");
478this._cancelResize=(i==false);
479var c=$telerik.getCurrentStyle(this._element.parentNode,"position");
480var d=("relative"==c)||("absolute"==c);
481this._offsetLocation=d?$telerik.getLocation(this._element.parentNode):null;
482if(!this._cancelResize){this._clearSelection();
483this._setIframesVisible(false);
484this._attachDocumentHandlers(false);
485this._attachDocumentHandlers(true);
486}},_updateInnerTableSize:function(){var b=this._resizeDir;
487if(b.south||b.north){var a=this._element.style.height;
488var c=this._tableElement;
489if(c){c.style.height=a;
490this._fixIeHeight(c,a);
491}}},_setIframesVisible:function(d){if(!this._hideIframes){return;
492}var c=this._document.getElementsByTagName("IFRAME");
493for(var a=0;
494a<c.length;
495a++){var b=c[a];
496b.style.visibility=d?"":"hidden";
497if($telerik.isIE){try{b.contentWindow.document.body.style.visibility=d?"":"hidden";
498}catch(e){}}}},_configureHandleElements:function(b){var a=["nw","n","ne","w","e","sw","s","se",this._moveCursorType];
499for(var d=0;
500d<a.length;
501d++){var f=a[d];
502var c=this._resizeHandles[f];
503if(c){if(c instanceof Array){for(var e=0;
504e<c.length;
505e++){this._configureHandle("id"+d+"_"+e,b,c[e],f);
506}}else{this._configureHandle("id"+d,b,c,f);
507}}}if(!b){this._saveDelegates={};
508}},_configureHandle:function(a,c,d,e){if(c){var b=Function.createDelegate(this,this._onHandleMouseDown);
509$telerik.addExternalHandler(d,"mousedown",b);
510this._saveDelegates[a]={delegate:b,element:d};
511var f=(e==this._moveCursorType?this._moveCursorType:e+"-resize");
512d.style.cursor=f;
513}else{$telerik.removeExternalHandler(d,"mousedown",this._saveDelegates[a].delegate);
514d.style.cursor="";
515}},_attachDocumentHandlers:function(a){var b=this._document;
516if(true==a){this._documentMouseMoveDelegate=Function.createDelegate(this,this._onDocumentMouseMove);
517$telerik.addExternalHandler(b,"mousemove",this._documentMouseMoveDelegate);
518this._documentMouseUpDelegate=Function.createDelegate(this,this._onDocumentMouseUp);
519$telerik.addExternalHandler(b,"mouseup",this._documentMouseUpDelegate);
520}else{if(this._documentMouseMoveDelegate){$telerik.removeExternalHandler(b,"mousemove",this._documentMouseMoveDelegate);
521}this._documentMouseMoveDelegate=null;
522if(this._documentMouseUpDelegate){$telerik.removeExternalHandler(b,"mouseup",this._documentMouseUpDelegate);
523}this._documentMouseUpDelegate=null;
524}},_onDocumentMouseMove:function(b){var a=this._resize(b);
525if(this._autoScrollEnabled){this._autoScroll(b);
526}if(a){return $telerik.cancelRawEvent(b);
527}},_onDocumentMouseUp:function(b){var a=!this._cancelResize;
528this._cancelResize=true;
529if(a){this._clearSelection();
530this._setIframesVisible(true);
531if(this._resizeDir&&this._resizeDir.move){this._raiseDragEvent("DragEnd",null,b);
532}else{this._raiseEvent("ResizeEnd");
533}this._attachDocumentHandlers(false);
534if(this._scroller){this._scroller.set_enabled(false);
535}}},_onHandleMouseDown:function(a){this._storeStartCoords(a);
536return $telerik.cancelRawEvent(a);
537},_clearSelection:function(){if(this._document.selection&&this._document.selection.empty){this._document.selection.empty();
538}},_fixIeHeight:function(a,b){if("CSS1Compat"==document.compatMode){var d=(a.offsetHeight-parseInt(b));
539if(d>0){var c=(parseInt(a.style.height)-d);
540if(c>0){a.style.height=c+"px";
541}}}},_initializeAutoScroll:function(){if(this._autoScrollInitialized){return;
542}this._scrollEdgeConst=40;
543this._scrollByConst=10;
544this._scroller=null;
545this._scrollDeltaX=0;
546this._scrollDeltaY=0;
547this._scrollerTickHandler=Function.createDelegate(this,this._onScrollerTick);
548this._scroller=new Telerik.Web.Timer();
549this._scroller.set_interval(10);
550this._scroller.add_tick(this._scrollerTickHandler);
551this._autoScrollInitialized=true;
552},_autoScroll:function(a){this._initializeAutoScroll();
553var b=$telerik.getClientBounds();
554if(b.width>0){this._scrollDeltaX=this._scrollDeltaY=0;
555if(a.clientX<b.x+this._scrollEdgeConst){this._scrollDeltaX=-this._scrollByConst;
556}else{if(a.clientX>b.width-this._scrollEdgeConst){this._scrollDeltaX=this._scrollByConst;
557}}
557if(a.clientY<b.y+this._scrollEdgeConst){this._scrollDeltaY=-this._scrollByConst;
558}else{if(a.clientY>b.height-this._scrollEdgeConst){this._scrollDeltaY=this._scrollByConst;
559}}var c=this._scroller;
560if(this._scrollDeltaX!=0||this._scrollDeltaY!=0){this._originalStartX=this._startX;
561this._originalStartY=this._startY;
562c.set_enabled(true);
563}else{if(c.get_enabled()){this._startX=this._originalStartX;
564this._startY=this._originalStartY;
565}c.set_enabled(false);
566}}},_onScrollerTick:function(){var g=document.documentElement.scrollLeft||document.body.scrollLeft;
567var e=document.documentElement.scrollTop||document.body.scrollTop;
568window.scrollBy(this._scrollDeltaX,this._scrollDeltaY);
569var c=document.documentElement.scrollLeft||document.body.scrollLeft;
570var i=document.documentElement.scrollTop||document.body.scrollTop;
571var a=c-g;
572var d=i-e;
573var h=this._element;
574var b={x:parseInt(h.style.left)+a,y:parseInt(h.style.top)+d};
575this._startX-=a;
576this._startY-=d;
577try{$telerik.setLocation(h,b);
578}catch(f){}}};
579Telerik.Web.UI.ResizeExtender.registerClass("Telerik.Web.UI.ResizeExtender",null);
580
581if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();

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