//////////////////////////////////////////////////////////// // This software is solely the property of Karamasoft LLC. / // Copyright 2009 Karamasoft LLC. All rights reserved. / // www.karamasoft.com / //////////////////////////////////////////////////////////// var uea0=navigator.appVersion.toLowerCase(); var uea1=uea0.indexOf('msie'); var uea2; if (uea1 != -1) { uea2=parseFloat(uea0.substring(uea1+5,uea0.indexOf(';',uea1))); } var ued82=(navigator.userAgent.indexOf('Opera') != -1); var ued83=(navigator.userAgent.indexOf('Safari') != -1); var uea3=(uea1 != -1 && !ued82) ? true : false; var uea4=(uea3 && uea2 >= 5) ? true : false; var uec76=(uea3 && uea2 >= 5.5) ? true : false; var uea5=(uea3 && uea2 >= 6) ? true : false; var ued66=(uea3 && uea2 >= 7) ? true : false; var uea6=(!uea3 && document.getElementById) ? true : false; var uea7="UltimateEditor"; var ueb0=0; var ueb1=1; var ueb2='visible'; var ueb3='hidden'; var ue3w='InsertTable'; var ue4w='InsertRowAbove'; var ue5w='InsertRowBelow'; var ue6w='DeleteRow'; var ue7w='InsertColumnLeft'; var ue8w='InsertColumnRight'; var ue9w='DeleteColumn'; var ue0x='MergeCells'; var ue1x='SplitCells'; var ue2x='CreateLink'; var ue3x='FindReplace'; var ue4x='InsertImage'; var ue5x='AttachFile'; var ue6x='ForeColorPicker'; var ue7x='BackColorPicker'; var ue8x='ForeColor'; var ue9x='BackColor'; var ue0y='InsertEmoticon'; var ue1y='InsertSymbol'; var ue2y='InsertDate'; var ue3y='InsertTime'; var ue4y='New'; var ue6y='Save'; var ue7y='Print'; var ue8y='PrintPreview'; var ue9y='FitToWindow'; var ue0z='InsertPageBreak'; var ue1z='InsertHorizontalRule'; var ue2z='RemoveAttachments'; var ue3z='Properties'; var ue4z='InsertForm'; var ue5z='InsertInputButton'; var ue6z='InsertInputCheckbox'; var ue7z='InsertInputHidden'; var ue8z='InsertInputPassword'; var ue9z='InsertInputRadio'; var uea10='InsertInputReset'; var uea11='InsertInputSubmit'; var uea12='InsertInputText'; var uea13='InsertSelectDropdown'; var uea14='InsertSelectListbox'; var uea15='InsertTextArea'; var uea16='FontName'; var uea17='FontSize'; var uea18='FormatBlock'; var uea19='Zoom'; var uec12='XHTML'; var ueb4='InputColor'; var uec16='InsertFlash'; var uec17='InsertWindowsMedia'; var uec52='UltimateSpell'; var ued84='RemoveFormat'; var ued31='\x43'+'\x6C\x65'+'\x61\x6E\x57'+'\x6F\x72'+'\x64\x46'+'\x6F\x72'+'\x6D\x61'+'\x74'; var ued85='Undo'; var ued86='Redo'; var ued87='Style'; var ued88='LineBreakAsParagraph'; var ued89='Cut'; var ued90='Copy'; var ued91='Paste'; var ued92='Unlink'; var ued93='InsertAnchor'; var ued94='SpellAsYouType'; var ued95='PasteAsText'; var ued96='InsertTemplate'; var ueh42='Help'; var ueh54='InsertOrderedList'; var ueh55='InsertUnorderedList'; var ueb5='Bold,'+ueh54+','+ueh55+',Italic,JustifyCenter,JustifyFull,JustifyLeft,JustifyRight,StrikeThrough,Subscript,Superscript,Underline'; var ueb6=uea16+','+uea17+','+uea18; var uec54=ue8x+','+ue9x+','+ued88+','+uec12+','+ued94+','+ue9y; var uec74=ue7y+','+ue8y+',Copy,SelectAll,'+ue3x+','+uea19+','+ue9y; var ueb7=32764; var ueb8=32766; var ueb9=32767; var uec0='_iframe'; var uec1='_title'; var uec2=' leftMargin="0" topMargin="0" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" style="position:absolute;visibility:hidden;z-index:'+ueb7+'"'; var uec3='u9b1b760c_333a_4a4d_bd2a_0429b8a5bae8'; var uec4='u8103124e_bdea_4515_8d4a_910998be324d'; var uei33='ucd79267b_6114_4f67_876c_79b095671e3c'; var uei34='uf90aa337_6009_4d15_9991_53514a04ce64'; var uec5='u19ced258_e280_473d_92dc_6695347989be'; var uec6='uc4896041_9739_4526_a5d7_682fe0818aae'; var uec7='u52f04ea8_7c4e_46a8_aa3b_efeca31b212b'; var uec8='ubac4a44d_8fc8_45f4_a866_e0d94b589946'; var uec9='ue86ec14d_ce56_495c_aa3c_8e894c546c0d'; var ued0='u2f6dbf78_85c1_48c8_bab3_eddcf27c6800'; var ued1='uba45183a_1807_4a13_b174_bd52fd1ed961'; var ued2='uabb18031_2fa5_4a34_82b1_3f137d8ec168'; var ued3='u279019ac_9b73_48ac_bbb6_6c08c09ad148'; var ued4='u6ffa6350_478e_4b14_bb66_236d6ef8ac5d'; var ued5='ub2fe0d60_d0e8_4135_b42a_4cebdaa7e163'; var ued6='u0542887c_c4b7_4e4a_ac65_979cd1b2ce45'; var ued7='u05e011bb_a64d_41ba_9cdf_8d7b9d79899b'; var ued9='u5879d061_26a8_4215_aa0b_bf66951b3588'; var uee0='ud1e6ecfd_b5a1_4772_8e1b_215af32397c3'; var uee1='u682973a2_312b_45bb_9586_646e04232d0f'; var uee2='u15aebfcd_b8f3_4944_8771_fe72ac6a9ce0'; var uec18='u5a98aaaa_eb0c_4099_9a86_f154f6d62e36'; var uec19='u7bd81953_08af_4e13_9b41_bfaa4fc8653c'; var ued97='ud77ef6b3_0f3c_4723_b020_e5f761084329'; var ued98='ud30a9b9d_04b6_43c1_9164_4acf00168686'; var uee3='#ECE9D8'; var uee4=0; var uee5=1; var uee6=2; var uee7=' Words: '; var uee8=' Characters: '; var ued99=' HTML Characters: '; var uee10=','; var uee9=' ('; var uef0=' left)'; var uef2=','+ued95+','+ue3x+','+ued88+','+ued94+','; var uef3=uea19; var uef4='cursor:pointer'; var uef5='Format'; var uef6='Font'; var uef7='Emoticons'; var uef8='Images'; var uef9='Themes'; var uee11='UltimateEditor.file.aspx'; var ueh61='UltimateEditor.explorer.aspx'; var ued23='UltimateEditor.css'; var ueh43='ToolbarItems.htm'; var ueg2=' style="width:80px"'; var ueg3=' '; var ueg4=0; var ueg5=1; var ueg6=2; var ueg7=3; var ueg8=4; var ueg9=5; var ueh0=6; var ueh1=7; var ueh2=8; var ueh3=9; var ueh4=10; var ueh5=11; var ueh6=12; var ueh7=13; var ueh8=14; var ueh9=15; var uei0=16; var uei1=17; var uei2=18; var uei3=19; var uei4=20; var uei5=21; var uei6=22; var uei7=23; var uei8=24; var uei9=25; var uej0=26; var uej1=27; var uej2=28; var uej3=29; var uej4=30; var uej5=31; var uej6=32; var uej7=33; var uej8=34; var uej9=35; var uek0=36; var uek1=37; var uek2=38; var uek3=39; var uek4=40; var uek5=41; var uek6=42; var uek7=43; var uek8=44; var uek9=45; var uel0=46; var uel1=47; var uel2=48; var uel3=49; var uee12=50; var uee13=51; var uee14=52; var uee15=53; var ueh44=54; var uel4='Link '; var uel5='Image '; var uel6='Table '; var uel7='Cell '; var uel8='Rule '; var uee16='Properties'; var uee17='Cut'; var uee18='Copy'; var uee19='Paste'; var uee20='Remove Link'; var uee21='Insert Row Above'; var uee22='Insert Row Below'; var uee23='Delete Row'; var uee24='Insert Column Left'; var uee25='Insert Column Right'; var uee26='Delete Column'; var uee27='Merge Cells'; var uee28='Split Cells'; var ueb95='Attachments:'; var ue0a=' '; var ue1a=ue0a+ue0a+ue0a+ue0a; var ueb83='/'; var ueb84=ueb83+ueb83; var ueh45=window.location.protocol+ueb84+window.location.host; var uei64=uei67('img','src','"'); var uej35=uei67('img','src','\''); var uei65=uei67('a','href','"'); var uej36=uei67('a','href','\''); var uei66='x'; var ue2m='c'; var ue3m='i'; var uei35='ip'; var ue4m='t'; var ue5m='s'; var ue6m='h'; var ueb87='ah'; var uei36='as'; var uej26='afnid'; var ueb92='ad'; var uel9; var uem0; var uem1; var uem2; var uem3; var uem4; var uem5=false; var uee29=null; var EDIT_MODE_DESIGN=0; var EDIT_MODE_HTML=1; var EDIT_MODE_PREVIEW=2; var uee32="image"; var uee33="flash"; var uee34="wmp"; var uee35="template"; var uei37="attachment"; var uei38="link"; var uec34="uD27CDB6E_AE6D_11cf_96B8_444553540000"; var uec35="u22d6f312_b0f6_11d0_94ab_0080c74c7e95"; var uec36="http:"+ueb84+"download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"; var uec37="http:"+ueb84+"activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,0902"; var uec38="http:"+ueb84+"www.macromedia.com/go/getflashplayer"; var uec39="http:"+ueb84+"www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"; var uec40="application/x-shockwave-flash"; var uec41="application/x-mplayer2"; var uee36='\x66\x6F'+'\x6E\x74'; var uec98=new RegExp('<'+uee36+'(\\s[^>]+)?>','i'); var uec99=new RegExp('','ig'); var ued17='\x73\x69'+'\x7A\x65'; var ued18='\x66'+'\x61\x63\x65'; var ued69='\x63'+'\x6F\x6C'+'\x6F\x72'; var ued19='\x66'+'\x6F\x6E'+'\x74\x2D'+ued17; var ued20='\x66'+'\x6F\x6E'+'\x74'+'\x2D\x66\x61'+'\x6D\x69'+'\x6C\x79'; var ued21='\x73\x70'+'\x61\x6E'; var ued12; var ued32='_cm'; var ued33='_cmi'; var uee37=10; var uee38='EditorContextMenu'; var uee39='EditorContextMenuItem'; var uee40='EditorContextMenuItemOver'; var uee41='EditorContextMenuDisabledItem'; var uee42='EditorContextMenuSeparator'; var ued34='EditorDropDownContextMenu'; var uei83='EditorDropDownContextMenuAutoHeight'; var ued35='EditorDropDownContextMenuFormatItem'; var ued36='EditorDropDownContextMenuFormatItemOver'; var ued37='EditorDropDownContextMenuFormatHItem'; var ued38='EditorDropDownContextMenuFormatHItemOver'; var ued39='EditorDropDownContextMenuFontItem'; var ued40='EditorDropDownContextMenuFontItemOver'; var uee43='EditorDropDownContextMenuStyleItem'; var uee44='EditorDropDownContextMenuStyleItemOver'; var uee45=8; var uee46=9; var uee47=13; var uee48=32; var uee49=33; var uee50=40; var uee51=46; var uee52=49; var uee53=58; var uej27=89; var uej28=90; var uee54=106; var uee55=111; var uee56=186; var uee57=192; var uee58=219; var uee59=222; var uee60='udcdd0e5e_187e_4479_a20c_c2be48d4d13e'; var uee61='border:1px dashed #C0C0C0'; var uei39='\x6C'+'\x74'+'\x72'; var uei40='\x72'+'\x74'+'\x6C'; var uei84='_Table'; var uei85='_Text'; var ueh66; var uei75=false; var UltimateEditors; var UltimateEditorToolbarButtons; var UltimateEditorToolbarDropDownLists; var UltimateEditorTabs; var curEditorObj; function uea8(uea9) { if (uea3) { return document.all[uea9]; } else if (uea6) { return document.getElementById(uea9); } } function uem6(uem7) { var uem8=uem7.offsetTop; var uem9=uem7.offsetParent; while (uem9 != null) { uem8 += uem9.offsetTop-((uem9.tagName.toLowerCase() != 'body') ? uem9.scrollTop : 0); uem9=uem9.offsetParent; } return uem8; } function uen0(uem7) { var uen1=uem7.offsetLeft; var uem9=uem7.offsetParent; while (uem9 != null) { uen1 += uem9.offsetLeft-((uem9.tagName.toLowerCase() != 'body') ? uem9.scrollLeft : 0); uem9=uem9.offsetParent; } return uen1; } function uen2() { if (uea3) { return (document.documentElement && document.documentElement.clientWidth) ? document.documentElement.clientWidth : (document.body) ? document.body.clientWidth : null; } else if (uea6) { return window.innerWidth; } } function uen3() { if (uea3) { return (document.documentElement && document.documentElement.clientHeight) ? document.documentElement.clientHeight : (document.body) ? document.body.clientHeight : null; } else if (uea6) { return window.innerHeight; } } function uen4() { if (uea3) { return (document.documentElement && document.documentElement.scrollLeft) ? document.documentElement.scrollLeft : document.body.scrollLeft; } else if (uea6) { return window.pageXOffset; } } function uen5() { if (uea3) { return (document.documentElement && document.documentElement.scrollTop) ? document.documentElement.scrollTop : document.body.scrollTop; } else if (uea6) { return window.pageYOffset; } } function uen6(uen7) { if (uea3) { document.body.scrollLeft=uen7; if (document.documentElement && typeof(document.documentElement.scrollLeft) != 'undefined') { document.documentElement.scrollLeft=uen7; } } } function uen8(uen9) { if (uea3) { document.body.scrollTop=uen9; if (document.documentElement && typeof(document.documentElement.scrollTop) != 'undefined') { document.documentElement.scrollTop=uen9; } } } function uee63(obj,ue1b,ue3u) { if (obj.attachEvent) { obj.attachEvent('on'+ue1b,ue3u); } else if (obj.addEventListener) { obj.addEventListener(ue1b,ue3u,true); } } function uee64(obj,ue1b,ue3u) { if (obj.detachEvent) { obj.detachEvent('on'+ue1b,ue3u); } else if (obj.removeEventListener) { obj.removeEventListener(ue1b,ue3u,true); } } function ueo0(ueo1) { if (uea3) { event.cancelBubble=true; } else { ueo1.stopPropagation(); ueo1.preventDefault(); } } function uec85(uec86,uee65) { var uee62=uec86.styleSheets; for (var i=uee62.length-1; i >= 0; i--) { if (uee62[i].href && uee62[i].href.indexOf(uee65) != -1) { return true; } } return false; } function LoadUltimateCss(ued22) { if (ued22 && !uec85(document,ued22)) { if (uea3) { document.createStyleSheet(ued22); } else if (uea6) { var ue8o=document.createElement('link'); ue8o.rel='stylesheet'; ue8o.type='text/css'; ue8o.href=ued22; document.getElementsByTagName("head")[0].appendChild(ue8o); } } } function uef15(uec86,uee66,uee67) { if (uec86.styleSheets) { var uee62=uec86.styleSheets; for (var i=0,uec71=uee62.length; i < uec71; i++) { var uee68=(uea3) ? uee62[i].rules : (uea6) ? uee62[i].cssRules : null; if (uee68) { for (var j=0,uec712=uee68.length; j < uec712; j++) { if (uee68[j].selectorText.toLowerCase() == uee66.toLowerCase()) { uee62[i].removeRule(j); break; } } } } } uec86.styleSheets[0].addRule(uee66,uee67); } function PreloadUltimateImages(uew0,uee69) { if (uee69) { var uee70=new Array(); var uee71=uee69.split(','); for (var i=0,uec71=uee71.length; i < uec71; i++) { uee70[i]=new Image(); uee70[i].src=uew0+uee71[i]+'.gif'; } } } function ued26(ued27) { return (ued27.currentStyle) ? ued27.currentStyle : (window.getComputedStyle) ? document.defaultView.getComputedStyle(ued27,null) : null; } function ued28(ued27,ued29,uee72) { var uee73=ued26(ued27); return (uee73 && typeof(uee73[ued29]) != 'undefined') ? uee73[ued29] : (typeof(uee72) != 'undefined') ? uee72 : null; } function ued60(uea23,ue0u,uei41) { var uei42=(uei41) ? ' title="'+uea23+'"' : ''; switch (uea23) { case 'Normal': return ued63(ue0u,'p',uei42); case 'Formatted': return ued63(ue0u,'pre',uei42); case 'Address': return ued63(ue0u,'address',uei42); case 'Heading 1': return ued63(ue0u,'h1',uei42); case 'Heading 2': return ued63(ue0u,'h2',uei42); case 'Heading 3': return ued63(ue0u,'h3',uei42); case 'Heading 4': return ued63(ue0u,'h4',uei42); case 'Heading 5': return ued63(ue0u,'h5',uei42); case 'Heading 6': return ued63(ue0u,'h6',uei42); case 'Numbered List': return ued63(ue0u,'ol',uei42,'li'); case 'Bulleted List': return ued63(ue0u,'ul',uei42,'li'); case 'Directory List': return ued63(ue0u,'dir',uei42); case 'Menu List': return ued63(ue0u,'menu',uei42,'li'); case 'Definition Term': return ued63(ue0u,'dl',uei42,'dt'); case 'Definition': return ued63(ue0u,'dl',uei42,'dd'); default: return ue0u; } } function ued63(ue0u,ued64,uei42,ued65) { return '<'+ued64+uei42+'>'+((ued65) ? '<'+ued65+'>' : '')+ue0u+((ued65) ? '' : '')+''; } function uei67(uef77,uei68,uej37) { return new RegExp('(<'+uef77+'\\s[\\s\\S]*?)('+uei68+'=['+uej37+'])([\\s\\S]*?)(['+uej37+'])','gi'); } function uee75(s) { return s.replace(/<[^>]+>/g,''); } function ueh50(s) { return s.replace(/^\s+/,''); } function ueh51(s) { return s.replace(/\s+$/,''); } function ueh52(s) { return ueh50(ueh51(s)); } function ueo2(ueo3,ueo4) { var ueo5; while (ueo4 != 0) { ueo5=ueo3 % ueo4; ueo3=ueo4; ueo4=ueo5; } return ueo3; } function ueo6(ueo3,ueo4) { return (ueo3*ueo4)/ueo2(ueo3,ueo4); } function uee76(uer9) { var uee77=uer9.colSpan; return (ued83 && uee77 == 0) ? 1 : uee77; } function uee78(uer9) { var uee79=uer9.rowSpan; return (ued83 && uee79 == 0) ? 1 : uee79; } function ueo7(ueo8,ueo9,uep0) { var uep1=ueo8.rows; if (ueo9 == null) { ueo9=0; } if (uep0 == null) { uep0=uep1.length-1; } var uep2=0; for (var uep3=uep1.length,i=((uep0 >= uep3) ? uep3-1 : uep0); i >= ueo9 && i < uep3; i--) { var uep4=uep1[i].cells; var uep5=0; for (var j=uep4.length-1; j >= 0; j--) { uep5 += uee76(uep4[j]); } if (uep5 > uep2) { uep2=uep5; } } return uep2; } function uep6(uep7) { var uep8=uep7.rowIndex; var ueo8=uep7.parentNode.parentNode; var uep1=ueo8.rows; var uep2=ueo7(ueo8); for (var i=uep8; i >= 0; i--) { var uep4=uep1[i].cells; var uep5=0; for (var j=uep4.length-1; j >= 0; j--) { uep5 += uee76(uep4[j]); } if (uep5 == uep2) { uep8=i; break; } } return uep8; } function uep9(ueo8,ueo9,uep0) { var uep2=ueo7(ueo8,ueo9,uep0); var uer0=new Array(); for (var i=ueo9; i <= uep0; i++) { uer0[i]=new Array(); for (var j=0; j < uep2; j++) { var uer1=new Object; uer1.rowNo=null; uer1.colNo=null; uer0[i][j]=uer1; } } var uep1=ueo8.rows; for (var i=ueo9,uep3=ueo8.rows.length; i <= uep0 && i < uep3; i++) { var uep4=uep1[i].cells; for (var j=0,uer3=uep4.length; j < uer3; j++) { var uer2=0; while (uer0[i][j+uer2].colNo != null) { uer2++; } for (var k=0; k < uee78(uep4[j]) && i+k <= uep0; k++) { for (var l=0,uec71=uee76(uep4[j]); l < uec71; l++) { uer0[i+k][j+l+uer2].rowNo=i; uer0[i+k][j+l+uer2].colNo=j; } } } } return uer0; } function uer4(uep7,uer5) { var uer6=uep7.cloneNode(true); if (uer5) { for (var i=0,uer7=uer6.childNodes.length; i < uer7; i++) { uer6.childNodes[i].innerHTML=(uea6) ? ' ' : ''; uer6.childNodes[i].rowSpan=1; } } return uer6; } function uer8(uer9,ues0) { var ues1=uer9.cloneNode(true); if (ues0) { ues1.innerHTML=(uea6) ? ' ' : ''; } return ues1; } function ues2(ues3,ues4) { return ues3.innerHTML+((ues4.innerHTML) ? (((ues3.innerHTML) ? '
' : '')+ues4.innerHTML) : ''); } function ues5(ueo8) { if (ueo8.rows.length == 0 || ueo8.rows[0].cells.length == 0) { ueo8.parentNode.removeChild(ueo8); } } function ues6() { this.ues8=[]; } ues6.prototype.ues7=function(src) { this.ues8[this.ues8.length]=src; }; ues6.prototype.ues9=function() { return this.ues8.join(''); }; function ueg12(ueg13,ued72,ueg14,ueg15) { var ueg16=ued72.toLowerCase(); if (ueg13) { var ueg17=ueg13.split(ueg14); for (var i=0,uec71=ueg17.length; i < uec71; i++) { var ueg18=ueg17[i].split(ueg15); for (var j=0,uec712=ueg18.length; j < uec712; j++) { if (ueg18[0].toLowerCase().replace(/\s/g,'') == ueg16 && uec712 > 1) { return ueg18[1]; } } } } } function ueg19() { return window.screen.availWidth; } function ueg20() { return window.screen.availHeight; } function ueg21(ueh62,ueg22,ueg23,ueg24,ueg25) { var ueg26=''; var ueg27=''; if (ueg25) { var ueg28=ueg12(ueg24,'width',',','='); ueg26=(typeof(ueg28) != 'undefined') ? ',left='+((ueg19()-ueg28)/2) : ''; var ueg29=ueg12(ueg24,'height',',','='); ueg27=(typeof(ueg29) != 'undefined') ? ',top='+((ueg20()-ueg29)/2) : ''; } ueh62.open(ueg22,ueg23,ueg24+ueg26+ueg27); } function UltimateEditor(ue7m,ued68,uev0,uet3,uet4,uet5,uet6,uei86,uei87,uet7,uet8,uet9,ueu0,ueu1,ueu2,ueu3,ueu4,ueu6,ueu7,uee80,ueu8,ueu9,uee81,uev1,ueb86,ueb85,uec51,ued41,uec55,uec68,uee82,uei45,uei46,uei47,uei48,uei49,uei50,uev2,uev3,uev4) { this.uec89=(typeof(UltimateEditors) != 'undefined' && typeof(UltimateEditors[ue7m]) != 'undefined'); this.ue7m=ue7m; this.ued68=ued68; this.uet0=ue7m+ue2m; this.uet1=ue7m+ue3m; this.uei43=ue7m+uei35; this.uet2=ue7m+ue4m; this.ueu5=ue7m+ue5m; this.ue2a=ue7m+ue6m; this.uev0=uev0; this.ueb88=ue7m+ueb87; this.uei44=ue7m+uei36; this.uej29=ue7m+uej26; this.ueb93=ue7m+ueb92; this.uet3=uet3; this.uet4=uet4; this.uet5=uet5; this.uet6=uet6; this.uei86=uei86; this.uei87=uei87; this.uet7=uet7; this.uet8=uet8; this.uet9=uet9; this.ueu0=ueu0; this.ueu1=ueu1; this.ueu2=ueu2; this.ued22=ueu1+'/'+uef9+'/'+ueu2+'/'+ued23; this.uew0=ueu1+'/'+uef8; this.uew1=this.uew0+'/'+uef7; this.uee83=ueu1+'/'+uee11; this.ueu3=ueu3; this.ueu4=ueu4; this.ueu6=ueu6; this.ueu7=ueu7; this.uee80=uee80; this.ueu8=ueu8; this.ueu9=ueu9; this.uee81=uee81; this.uev1=uev1; this.ueb86=ueb86; this.ueb85=ueb85; this.uec51=uec51; this.ued41=ued41; this.uev2=uev2; this.uev3=uev3; this.uev4=uev4; this.uew6=ueb0; this.uee84=false; this.ueh56=false; this.ueh57=false; this.uec55=uec55; this.uec13=uec55; this.uee85=false; this.uec68=uec68; this.uee82=uee82; this.uei45=uei45; this.uei46=uei46; this.uei47=uei47; this.uei48=uei48; this.uei49=uei49; this.uei50=uei50; this.uee86=new Array(); this.uee87=-1; this.uee88=null; this.uee89=null; this.uee90=null; this.uee91=null; this.ued81=(uea4 && typeof(window.showModalDialog) != 'undefined' && typeof(parent.window.dialogArguments) != 'undefined'); this.uee92(); this.uee93(); this.uex9(); if (uea3 && !this.ued81) { this.uee94(); } this.uec87(); var ue3a=uea8(this.ue2a); if (ue3a) { ue3a.value=uev0.replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(//g,'>'); } } UltimateEditor.prototype.uee92=function() { if (this.uev2) { var uev2=this.uev2; for (var i=0,uew8=uev2.length; i < uew8; i++) { var uey9=uev2[i]; uey9.uew9=this; uey9.uex0=this.uex1(uey9.uex2); if ((uea6 && uey9.uex2 && uef2.indexOf(','+uey9.uex2+',') != -1) || (uey9.uex2 == ued85 || uey9.uex2 == ued86)) { if (uey9.uex2 == ued85) { this.uee88=uey9; } else if (uey9.uex2 == ued86) { this.uee89=uey9; } else if (uey9.uex2 == ue3z) { this.uee90=uey9; } uey9.uef84=false; uey9.uex3(); } if (this.ueb85 && uey9.uex2 == ue2z) { this.ueb98=uey9; } else if (uey9.uex2 == ued94) { this.uee91=uey9; } } } if (this.uev3) { var uev3=this.uev3; for (var i=0,uex4=uev3.length; i < uex4; i++) { var uee95=uev3[i]; uee95.uew9=this; uee95.uex5=this.uex6(uee95.uex2); if (uea6 && uee95.uex2 && uef3.indexOf(uee95.uex2) != -1) { uee95.uef84=false; uee95.uex7(); } } } }; UltimateEditor.prototype.uee93=function() { if (this.uev4) { var uev4=this.uev4; for (var i=0,uex8=uev4.length; i < uex8; i++) { if (uev4[i].uei51) { this.uew5=uev4[i].uew5; } uev4[i].uew9=this; } } else { this.uew5=EDIT_MODE_DESIGN; } }; UltimateEditor.prototype.uex9=function() { if (!UltimateEditors) { UltimateEditors=new Object; } UltimateEditors[this.ue7m]=this; }; UltimateEditor.prototype.uec87=function() { if (uea4) { var uev6=uea8(this.uet1); if (uev6.contentWindow && uev6.contentWindow.document && uev6.contentWindow.document.readyState == 'complete') { this.uec73(); } else { window.setTimeout('UltimateEditors["'+this.ue7m+'"].uec87()',100); } } else if (uea6) { window.setTimeout('UltimateEditors["'+this.ue7m+'"].uec73()',100); } }; UltimateEditor.prototype.uec73=function() { if (uea6 || this.ued81) { this.uee94(); } this.uee96(); if (this.uec89) { this.uee97(); } this.uec69(this.uec80()); var uei52=uea8(this.uei43); if (uei52) { this.uec69(uei52.contentWindow.document); } if (this.uev0) { this.SetEditorHTML(this.uev0); this.ue7d(); if (this.uei45) { this.ued44(); } } this.uee99(); if (this.uee88) { this.uex3(this.uee88); } if (this.ueu4) { this.ue8a(); } this.uey2(); if (this.uev1) { this.SetFocus(); } this.uec11(); this.uei53(); this.uei54(); if (!this.uee91 && this.uec88()) { UltimateSpellAsYouTypes[this.uet1].Restart(); } var ued67=this.ue7m+'_OnLoad'; eval('if (window.'+ued67+') window.'+ued67+'()'); }; UltimateEditor.prototype.uee94=function() { var uev8=this.uec80(); if (this.ued81) { uev8.body.contentEditable=(this.ueu4) ? 'false' : 'true'; } else { if (uea6 && !this.ueu4) { uev8.designMode='on'; uev8.designMode='off'; } uev8.designMode=(this.ueu4) ? 'off' : 'on'; } }; UltimateEditor.prototype.uec79=function() { return uea8(this.uet1).contentWindow; }; UltimateEditor.prototype.uec80=function() { return this.uec79().document; }; UltimateEditor.prototype.uec81=function() { return this.uec80().body; }; UltimateEditor.prototype.uee96=function() { var ue7m=this.ue7m; var uev7=this.uec79(); var uev8=this.uec80(); uee63(uev7,'blur',function() { UltimateEditors[ue7m].ue7d(); }); uee63(uev8,'mouseup',function() { UltimateEditors[ue7m].uef10(); }); uee63(uev8,'contextmenu',function(ueo1) { UltimateEditors[ue7m].uef11(ueo1); }); uee63(uev8,'keydown',function(ueo1) { UltimateEditors[ue7m].uez6(ueo1); }); uee63(uev8,'keyup',function(ueo1) { UltimateEditors[ue7m].uef12(ueo1); }); if (this.ueu8 >= 0 || this.ueu9 >= 0 || this.uee81 >= 0) { uee63(uev8,((uea6) ? 'keydown' : 'keypress'),function(ueo1) { UltimateEditors[ue7m].uef13(ueo1); }); } var ue3a=uea8(this.ue2a); if (ue3a.form) { uee63(ue3a.form,'submit',function() { UltimateEditors[ue7m].ue7d(); }); } uee63(window,'beforeunload',function() { UltimateEditors[ue7m].ue7d(); }); uee63(uev8.body,'cut',function(ueo1) { UltimateEditors[ue7m].uef14(); }); uee63(uev8.body,'paste',function(ueo1) { UltimateEditors[ue7m].ued42(ueo1); }); }; UltimateEditor.prototype.uee97=function() { var ued25=document.getElementsByTagName('link'); for (var i=ued25.length-1; i >= 0; i--) { if (ued25[i].href.indexOf('/'+ued23) != -1) { ued25[i].href=this.ued22; } } }; UltimateEditor.prototype.uec69=function(uev8) { if (uea4 && uev8.styleSheets.length == 0) { uev8.createStyleSheet(); } if (uea4 && this.ueu3 != null) { uef15(uev8,"P","MARGIN-TOP: 0px; MARGIN-BOTTOM: "+this.ueu3+"px;"); } if (uev8 == this.uec80()) { if (uea4) { uev8.styleSheets[0].addRule("table."+uee60,uee61); uev8.styleSheets[0].addRule("table."+uee60+" td",uee61); uev8.styleSheets[0].addRule("table."+uee60+" th",uee61); } else if (uea6 && !ued83) { uev8.getElementsByTagName("head")[0].innerHTML += ''; if (!ued82) { uev8.getElementsByTagName("head")[0].innerHTML += ''; } } } if (this.uec68 && !ued82) { var uec70=this.uec68.split(','); for (var i=0,uec71=uec70.length; i < uec71; i++) { var uec72=uec70[i]; if (uec72) { uec72=ueh52(uec72); if (!uec85(uev8,uec72)) { if (uea4) { uev8.createStyleSheet(uec72); } else if (uea6 && !ued83) { var ue8o=document.createElement('link'); ue8o.rel='stylesheet'; ue8o.type='text/css'; ue8o.href=uec72; uev8.getElementsByTagName("head")[0].appendChild(ue8o); } } } } } }; UltimateEditor.prototype.uef16=function() { this.uey1(); this.uey2(); }; UltimateEditor.prototype.uey1=function() { var uev8=this.uec80(); var uev2=this.uev2; var uev3=this.uev3; if (uev2) { for (var i=0,uew8=uev2.length; i < uew8; i++) { var uey9=uev2[i]; if (uey9.uex0) { var uex2=uey9.uex2; if (uex2) { if (uev8.queryCommandState(uex2)) { uey9.uez1(this.uet5); uey9.uez2=true; } else { uey9.uez1(this.uet4); uey9.uez2=false; } } } if (uey9.uex2 == ue3z) { if (this.uey5()) { if (!uey9.uef84) { uey9.uef84=true; uey9.uez3(); } } else { if (uey9.uef84) { uey9.uef84=false; uey9.uex3(); } } } } } if (uev3) { for (var i=0,uex4=uev3.length; i < uex4; i++) { var uee95=uev3[i]; var ue2w=uea8(uee95.ue0w); var uex2=uee95.uex2; if (uex2 == ued87) { ue2w.selectedIndex=uee95.uef17(); uee95.uei88(ue2w); } else if (uex2 && uee95.uex5) { ue2w.value=uev8.queryCommandValue(uex2); uee95.uei88(ue2w); } } } }; UltimateEditor.prototype.uey5=function() { var ues3=this.uey7(); var uey6=(ues3 && ues3.tagName) ? ues3.tagName.toLowerCase() : ''; if (uey6 == 'a' || uey6 == 'img' || uey6 == 'hr' || uey6 == 'table' || uey6 == 'td') { return ues3; } else { var uei89=this.ued80(ues3,'a'); if (uei89 && uei89.tagName && uei89.tagName.toLowerCase() == 'a') { return uei89; } uei89=this.ued80(ues3,'td'); if (uei89 && uei89.tagName && uei89.tagName.toLowerCase() == 'td') { return uei89; } } return null; }; UltimateEditor.prototype.uey2=function() { if (this.ueu6 || this.ueu7 || this.uee80) { var uew4=uea8(this.ueu5); uew4.innerHTML=''; if (this.ueu6) { var uez4=this.GetWordCount(); uew4.innerHTML=((uew4.innerHTML != '') ? uee10 : '')+uee7+uez4; if (this.ueu8 >= 0) { uew4.innerHTML += uee9+(this.ueu8-uez4)+uef0; } } if (this.ueu7) { var uez5=this.GetCharacterCount(); uew4.innerHTML += ((uew4.innerHTML != '') ? uee10 : '')+uee8+uez5; if (this.ueu9 >= 0) { uew4.innerHTML += uee9+(this.ueu9-uez5)+uef0; } } if (this.uee80) { var uef18=this.GetHtmlCount(); uew4.innerHTML += ((uew4.innerHTML != '') ? uee10 : '')+ued99+uef18; if (this.uee81 >= 0) { uew4.innerHTML += uee9+(this.uee81-uef18)+uef0; } } } }; UltimateEditor.prototype.uec11=function() { var uev2=this.uev2; var uev3=this.uev3; if (uev2) { for (var i=0,uew8=uev2.length; i < uew8; i++) { var uey9=uev2[i]; if (this.uec55 && uey9.uex2 == uec12 && !uey9.ueb99) { this.uec13=false; uey9.ueb99=true; } else if (uey9.uex2 == ued94 && !uey9.ueb99 && this.uec88()) { UltimateSpellAsYouTypes[this.uet1].Pause(); } if (uey9.ueb99 || uey9.uec10) { if (uey9.ueb99) { uey9.uez1(this.uet5); uey9.uez2=true; } if (uey9.uec10) { if (uey9.uex2 == ue8x || uey9.uex2 == ue9x) { uea8(uey9.ue4u).style.backgroundColor=uey9.uec10; } } if ((this.uex1(uey9.uex2) && !this.uec80().queryCommandState(uey9.uex2)) || this.uec53(uey9.uex2)) { uey9.uec61(); } } } } if (uev3) { for (var i=0,uex4=uev3.length; i < uex4; i++) { var uee95=uev3[i]; if (uee95.uec10) { var ue2w=uea8(uee95.ue0w); ue2w.value=uee95.uec10; uee95.uei88(ue2w); uee95.uea21(true,uee95.uec10); } } } }; UltimateEditor.prototype.uei53=function() { var ueb91=uea8(this.ueb88).value; if (ueb91) { var uei55=uea8(this.uei44).value; var uej32=uea8(this.uej29); var uej30=(uej32) ? uej32.value : ''; var uei56=ueb91.split(','); var uei57=uei55.split(','); var uej31=(uej30 != '') ? uej30.split(',') : null; for (var i=0,uec71=uei56.length; i < uec71; i++) { var uef99=uei56[i].lastIndexOf('/'); var ue5r=(uef99 != -1) ? uei56[i].substring(0,uef99) : ''; var ue6r=(uef99 != -1) ? uei56[i].substring(uef99+1) : uei56[i]; this.ue2s(ue5r,ue6r,uei57[i],((uej31 != null) ? uej31[i] : '')); } } }; UltimateEditor.prototype.uei54=function() { if (this.uei50 == uei40) { this.uec81().dir=uei40; } }; UltimateEditor.prototype.uec88=function() { return (uea4 && !this.ueu4 && typeof(UltimateSpellAsYouTypes) != 'undefined' && typeof(UltimateSpellAsYouTypes[this.uet1]) != 'undefined' && UltimateSpellAsYouTypes[this.uet1].IsEnabled()); }; UltimateEditor.prototype.uej33=function() { return (this.uew5 == EDIT_MODE_DESIGN && this.uee85 && this.uec88()); }; UltimateEditor.prototype.uef10=function(ueo1) { this.uef16(); if (uee29 && !uee29.ueb19) { uea82(uee29); } HidePopup(); }; UltimateEditor.prototype.uef11=function(ueo1) { if (this.uee85 && this.uec88()) { var ueh63=UltimateSpellAsYouTypes[this.uet1].GetSpellAsYouTypeContextMenu(); if (ueh63 && ueh63.style.display != 'none') { return; } } if ((uea6 || ued83) && !this.uey5()) { return; } if (uea4 || ued83) { this.StoreCurrentRange(); if (ued83) { this.ue3s(); } } this.CancelEvent(ueo1); this.ued49(ueo1); }; UltimateEditor.prototype.ued49=function(ueo1) { var uev6=uea8(this.uet1); var ueb18=uev6.style.zIndex+1; var uem3=uen0(uev6)+ueo1.clientX+uee37; var uem4=uem6(uev6)+ueo1.clientY+uee37; var ued51=this.ued52(); if (typeof(this.ued50) == 'undefined') { this.ued48=this.uet1+ued32; this.ued50=new UltimatePopup(this.ued48,this.ued41,uee38,ueb18,uem3,uem4,ued51); } else { this.ued50.SetPopupZIndex(ueb18); this.ued50.SetPopupLeft(uem3); this.ued50.SetPopupTop(uem4); this.ued50.SetPopupItems(ued51); } this.ued50.PopulatePopup(); this.ued50.ShowPopup(ueo1); }; UltimateEditor.prototype.ued52=function() { var uef19=this.uef20(); var uef21=(uef19) ? uee41 : uee39; var uef22=(uef19) ? uee41 : uee40; var ued53=new Array(); if (!this.ueu4) { this.uef23(ued53,ued89,uee17,uef21,uef22,uef19); } this.uef23(ued53,ued90,uee18,uef21,uef22,uef19); if (!this.ueu4) { this.uef23(ued53,ued91,uee19); } var ues3=this.uey5(); if (ues3) { this.uef23(ued53,'','',uee42,uee42,true); var uey6=ues3.tagName.toLowerCase(); if (uey6 == 'a') { this.uef23(ued53,ued92,uee20); } else if (uey6 == 'td') { this.uef23(ued53,ue4w,uee21); this.uef23(ued53,ue5w,uee22); this.uef23(ued53,ue6w,uee23); this.uef23(ued53,ue7w,uee24); this.uef23(ued53,ue8w,uee25); this.uef23(ued53,ue9w,uee26); this.uef23(ued53,ue0x,uee27); this.uef23(ued53,ue1x,uee28); this.uef23(ued53,'','',uee42,uee42,true); } this.uef23(ued53,ue3z,this.uef24(uey6)); if (uey6 == 'td') { this.uef23(ued53,ue3z,this.uef24('table')); } } return ued53; }; UltimateEditor.prototype.uef23=function(ued53,uex2,uef25,uef21,uef22,uef26) { var ue7m=this.ue7m; ued53[ued53.length]=new UltimatePopupItem(this.ued48+ued33+ued53.length,(uef25) ? this.ued56(uex2,uef25) : '',(uef21) ? uef21 : uee39,(uef22) ? uef22 : uee40,function() { UltimateEditors[ue7m].ued59(uex2,uef25); },uef26); }; UltimateEditor.prototype.uef24=function(uey6,uey9) { var uef27=''; switch (uey6) { case 'a': uef27=uel4; break; case 'img': uef27=uel5; break; case 'hr': uef27=uel8; break; case 'table': uef27=uel6; break; case 'td': uef27=uel7; break; default: break; } return uef27+((uey9) ? uey9.uec78().title : uee16); }; UltimateEditor.prototype.ued56=function(uex2,ued61) { return ' '+ued61; }; UltimateEditor.prototype.ued59=function(uex2,ued61) { this.ue3s(); if (uex2 == ue3z) { this.ue1e(null,(ued61 == this.uef24('table')) ? 'table' : (ued61 == this.uef24('a')) ? 'a' : ''); } else if (uex2 == ue4w) { this.ue8k(true); } else if (uex2 == ue5w) { this.ue8k(); } else if (uex2 == ue6w) { this.ue7l(); } else if (uex2 == ue7w) { this.ue8m(true); } else if (uex2 == ue8w) { this.ue8m(); } else if (uex2 == ue9w) { this.ue2n(); } else if (uex2 == ue0x || uex2 == ue1x) { this.uef28(uex2,(uex2 == ue0x) ? uee27 : uee28); } else { this.ue3t(uex2); } }; UltimateEditor.prototype.uez6=function(ueo1) { if (this.ueu4) return; var ue4a=this.GetEventKeyCode(ueo1); var uey8=this.ue4g(this.ue3g()); if (ue4a == uee46 && !ueo1.shiftKey) { uey8.text=ue1a; if (uea3) { this.CancelEvent(ueo1); } } else if (uea3 && ue4a == uee47 && !ueo1.shiftKey && !this.uee84 && !(this.ueh56 || this.ueh57)) { if (typeof(uey8.pasteHTML) != 'undefined') { uey8.pasteHTML(''); } uey8.select(); this.CancelEvent(ueo1); } else if ((ue4a == uee45 && ueo1.altKey && !ueo1.shiftKey)) { this.uef34(); this.CancelEvent(ueo1); } else if ((ue4a == uej27 && ueo1.ctrlKey) || (ue4a == uee45 && ueo1.altKey && ueo1.shiftKey)) { this.uef51(); this.CancelEvent(ueo1); } }; UltimateEditor.prototype.uef12=function(ueo1) { if (this.ueu4) return; var ue4a=this.GetEventKeyCode(ueo1); if (this.uef29(ue4a,ueo1.shiftKey)) { this.uee99(); } if ((ue4a >= uee49 && ue4a <= uee50) || ue4a == uee51 || ue4a == uee45 || ueo1.ctrlKey) { this.uey1(); } this.uey2(); }; UltimateEditor.prototype.uef29=function(ue4a,uef30) { return ((ue4a == uee46 && !uef30) || ue4a == uee47 || ue4a == uee48 || (ue4a >= uee54 && ue4a <= uee55) || (ue4a >= uee56 && ue4a <= uee57) || (ue4a >= uee58 && ue4a <= uee59) || (uef30 && ue4a >= uee52 && ue4a <= uee53)); }; UltimateEditor.prototype.uef13=function(ueo1,uef31) { if (this.ueu8 >= 0) { this.uey3(ueo1,uef31); } if (this.ueu9 >= 0) { this.uey4(ueo1,uef31); } if (this.uee81 >= 0) { this.uef32(ueo1,uef31); } }; UltimateEditor.prototype.uey3=function(ueo1,uef31) { if (this.GetWordCount() >= this.ueu8) { if (ueo1 == null || String.fromCharCode(this.GetEventKeyCode(ueo1)).replace(/\s/g,"") == "") { this.uef33(ueo1,uef31); } } }; UltimateEditor.prototype.uey4=function(ueo1,uef31) { if (this.GetCharacterCount() >= this.ueu9) { this.uef33(ueo1,uef31); } }; UltimateEditor.prototype.uef32=function(ueo1,uef31) { if (this.GetHtmlCount() >= this.uee81) { this.uef33(ueo1,uef31); } }; UltimateEditor.prototype.uef33=function(ueo1,uef31) { if (ueo1) { this.CancelEvent(ueo1); } alert('Max count reached.'); if (uef31) { this.uef34(); } }; UltimateEditor.prototype.uef14=function() { this.uee99(); }; UltimateEditor.prototype.ued42=function(ueo1) { this.ueo1=ueo1; this.uee99(); if (this.uej33()) { UltimateSpellAsYouTypes[this.uet1].Pause(); } window.setTimeout('UltimateEditors["'+this.ue7m+'"].ued43();',100); }; UltimateEditor.prototype.uef35=function() { if (uea3) { var ue0u=window.clipboardData.getData('Text'); if (ue0u) { this.InsertHTML(uee75(ue0u).replace(/\r\n/g,'
')); if (this.uej33()) { UltimateSpellAsYouTypes[this.uet1].Restart(true); } } } }; UltimateEditor.prototype.ued43=function() { var ueh65=((/<(\s*\S+\s[^>]*)\s*class=["]?Mso\w+["]?([^>]*)>/gi).test(this.GetEditorHTML(true))); if (ueh65) { if (this.uei46 || confirm('\x57\x6F\x75\x6C\x64 \x79\x6F\x75 \x6C\x69\x6B\x65 \x74\x6F \x63\x6C\x65\x61\x6E \x57\x6F\x72\x64 \x66\x6F\x72\x6D\x61\x74\x3F')) { this.ued44(); } } this.uef13(null,true); if (this.uej33()) { if (ueh65) { UltimateSpellAsYouTypes[this.uet1].Restart(true); } else { UltimateSpellAsYouTypes[this.uet1].SpellAsYouTypePaste(this.ueo1); } } }; UltimateEditor.prototype.ue7d=function() { var ue3a=uea8(this.ue2a); if (ue3a) { ue3a.value=this.GetEditorHTML().replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(//g,'>'); } }; UltimateEditor.prototype.uex1=function(uex2) { return (uex2 && ueb5.indexOf(uex2) != -1); }; UltimateEditor.prototype.uex6=function(uex2) { return (ueb6.indexOf(uex2) != -1); }; UltimateEditor.prototype.uec53=function(uex2) { return (uec54.indexOf(uex2) != -1); }; UltimateEditor.prototype.uec75=function(uex2) { return (uec74.indexOf(uex2) != -1); }; UltimateEditor.prototype.ue5a=function(uew5) { var uev6=uea8(this.uet1); var uei52=uea8(this.uei43); if (uew5 == EDIT_MODE_PREVIEW) { uei52.contentWindow.document.body.innerHTML=this.GetEditorHTML(); window.document.body.focus(); } else if (this.uew5 != uew5) { if (uew5 == EDIT_MODE_HTML && this.uee85 && this.uec88()) { if (typeof(this.ueh53) != 'undefined') { window.clearTimeout(this.ueh53); } UltimateSpellAsYouTypes[this.uet1].Pause(); } var ue6a=this.uec81(); if (uew5 == EDIT_MODE_HTML) { var uec15=this.GetEditorHTML(); if (uea4) { ue6a.innerText=uec15; } else if (uea6) { var ue7a=document.createTextNode(uec15); ue6a.innerHTML=""; ue6a.appendChild(ue7a); } } else if (uew5 == EDIT_MODE_DESIGN) { var ue0u; if (uea4) { ue0u=ue6a.innerText; } else if (uea6) { var uey8=ue6a.ownerDocument.createRange(); uey8.selectNodeContents(ue6a); ue0u=uey8.toString(); } this.SetEditorHTML(ue0u); this.SetFocus(); } this.uew5=uew5; this.uey2(); if (this.uej33()) { this.ueh53=window.setTimeout("UltimateSpellAsYouTypes['"+this.uet1+"'].Restart()",200); } } if (uev6) { uev6.style.display=(uew5 == EDIT_MODE_PREVIEW) ? 'none' : ''; } if (uei52) { uei52.style.display=(uew5 == EDIT_MODE_PREVIEW) ? '' : 'none'; } this.ue8a(uew5); }; UltimateEditor.prototype.ue8a=function(uew5) { var ue9a=(this.uew5 != EDIT_MODE_DESIGN || uew5 == EDIT_MODE_PREVIEW); var uev2=this.uev2; var uev3=this.uev3; if (uev2) { for (var i=0,uew8=uev2.length; i < uew8; i++) { var uey9=uev2[i]; if (ue9a || (this.ueu4 && !this.uec75(uey9.uex2))) { uey9.uex3(); } else { if (uey9.uef84) { uey9.uez3(); } } } } if (uev3) { for (var i=0,uex4=uev3.length; i < uex4; i++) { var uee95=uev3[i]; if (ue9a || (this.ueu4 && !this.uec75(uee95.uex2))) { uee95.uex7(); } else { if (uee95.uef84) { uee95.ue0b(); } } } } }; UltimateEditor.prototype.ue3b=function(ue4b,ue5b) { return ((ue4b) ? 2 : 0)+((ue5b) ? 4 : 0); }; UltimateEditor.prototype.ue6b=function(ue7b,ue4b,ue5b,ue8b) { var sel=this.ue3g(); if (sel && sel.type.toLowerCase() != 'none') { var uey8=this.ue4g(sel); if (ue8b) { uey8.pasteHTML(ue8b); } else { uey8.collapse(false); } } else { var uey8=this.uec81().createTextRange(); } if (ue7b == '') { } else if (uey8.findText(ue7b,1,this.ue3b(ue4b,ue5b))) { uey8.select(); uey8.scrollIntoView(); } else { alert(uea7+' has finished searching the document.'); } }; UltimateEditor.prototype.ue9b=function(ue7b,ue4b,ue5b,ue8b) { if (ue7b != '' || ue8b != '') { var uey8=this.uec81().createTextRange(); uey8.collapse(true); var ue0c=0; while (uey8.findText(ue7b,1,this.ue3b(ue4b,ue5b))) { uey8.pasteHTML(ue8b); uey8.collapse(false); ue0c++; } alert(uea7+' has completed its search of the document and has made '+ue0c+' replacements.'); } }; UltimateEditor.prototype.ue1c=function(ue2c) { var ue3c=this.uec80().getElementsByTagName('table'); for (var i=ue3c.length-1; i >= 0; i--) { if (ue3c[i].className == ued9) { for (var j=ue3c[i].rows.length-1; j >= 0 ; j--) { for (var k=ue3c[i].rows[j].cells.length-1; k >= 0 ; k--) { ue3c[i].rows[j].cells[k].style.display=ue2c; } } } } }; UltimateEditor.prototype.ue4c=function(uex2) { this.ue1c('none'); if (uea3) { this.ue3t(uex2); this.ue1c(''); } else if (uea6) { this.uec79().print(); window.setTimeout("UltimateEditors['"+this.ue7m+"'].ue1c('')",1000); } }; UltimateEditor.prototype.ue5c=function() { var ue6c=window.open('',uel0,'resizable=1,scrollbars=1,status=0,toolbar=0'); ue6c.document.open(); ue6c.document.write('Print Preview
          
'+this.uec81().innerHTML+'
'); ue6c.document.close(); }; UltimateEditor.prototype.ue7c=function(uey9) { var uev6=uea8(this.uet1); if (this.uew6 == ueb0) { uey9.uez1(this.uet5); uey9.uez2=true; if (uea3) { this.uen7=uen4(); this.uen9=uen5(); document.body.scroll="no"; if (document.documentElement && document.documentElement.style) { document.documentElement.style.overflow="hidden"; } this.uef37=document.body.leftMargin; this.uef38=document.body.topMargin; document.body.leftMargin=0; document.body.topMargin=0; } if (ued66 || uea6) { this.ued30=document.body.style.overflow; document.body.style.overflow="hidden"; } var uev5=uea8(this.uet0); var ue0d=(uea6) ? 2 : parseInt(ued28(uev5,'paddingLeft',0)); var ue1d=parseInt(ued28(uev6,'borderBottomWidth',0)); var ue2d=parseInt(ued28(uev6,'borderLeftWidth',0)); var ue3d=parseInt(ued28(uev6,'borderRightWidth',0)); var ue4d=parseInt(ued28(uev6,'borderTopWidth',0)); var ue5d=uen2()-uev6.offsetWidth-(ue2d+ue3d); var ue6d=uen3()-uev5.offsetHeight-(ue1d+ue4d); this.ue5d=ue5d; this.ue6d=ue6d; uev6.style.width=(uev6.offsetWidth+ue5d-2*ue0d)+'px'; uev6.style.height=(uev6.offsetHeight+ue6d)+'px'; if (uea3) { uen6(uen0(uev5)); uen8(uem6(uev5)); } else { uev5.scrollIntoView(true); } this.uew6=ueb1; } else if (this.uew6 == ueb1) { uey9.uez1(this.uet4); uey9.uez2=false; if (uea3) { document.body.scroll="auto"; if (document.documentElement && document.documentElement.style) { document.documentElement.style.overflow="auto"; } uen6(this.uen7); uen8(this.uen9); document.body.leftMargin=this.uef37; document.body.topMargin=this.uef38; } if (ued66 || uea6) { document.body.style.overflow=this.ued30; } uev6.style.width=(uev6.offsetWidth-this.ue5d)+'px'; uev6.style.height=(uev6.offsetHeight-this.ue6d)+'px'; this.uew6=ueb0; } }; UltimateEditor.prototype.ue8d=function() { this.uec81().innerHTML=""; this.uef16(); this.SetFocus(); }; UltimateEditor.prototype.ue0e=function() { var uef90=''+((uea6) ? uef93 : '')+''; this.InsertHTML(uef90+' class="'+ued9+'" style="page-break-after:always;'+uef91+'">
'+uef92+'>'+uef95+'
'+uef93+'
Page Break'+uef92+'>'+uef95+''+uef93+''); }; UltimateEditor.prototype.ue1e=function(uey9,uef39) { if (!uey9) { uey9=this.uee90; } var ues3=this.uey7(); var uey6=(ues3.tagName) ? ues3.tagName.toLowerCase() : ''; if (uef39 && uey6 != uef39) { ues3=this.ued80(ues3,uef39); uey6=ues3.tagName.toLowerCase(); } var uef27=this.uef24(uey6,uey9); if (uey6 == 'a') { ue2e(ued6,ue3z,this,uey9,uef27); ue3e(ued6,ues3.href,ues3.innerHTML,ues3.title,ues3.target); } else if (uey6 == 'img') { ue2e(uec8,ue3z,this,uey9,uef27); ue4e(uec8,ues3.alt,ues3.align,ues3.border,ues3.width,ues3.height,ues3.hspace,ues3.vspace); } else if (uey6 == 'hr') { ue2e(uee2,ue3z,this,uey9,uef27); ue0f(uee2,ues3.size,ues3.color,ues3.noShade); } else if (uey6 == 'table') { ue2e(ued1,ue3z,this,uey9,uef27); var ue5e=ue7e(ues3.style.width); var ue6e=ue7e(ues3.style.height); ue8e(ued1,ue5e.len,ue5e.uef40,ue6e.len,ue6e.uef40,ues3.style.backgroundColor,ues3.align,ues3.style.borderStyle,ues3.style.borderColor,ues3.border,ues3.cellPadding,ues3.cellSpacing,ues3.style.borderCollapse,ues3.rules,ues3.className); } else { if (uey6 != 'td') { ues3=this.ued80(ues3,'td'); } if ((uey6 == 'td') || (ues3.tagName && ues3.tagName.toLowerCase() == 'td')) { ue2e(ued2,ue3z,this,uey9,uef27); var ue5e=ue7e(ues3.style.width); var ue6e=ue7e(ues3.style.height); ue9e(ued2,ue5e.len,ue5e.uef40,ue6e.len,ue6e.uef40,ues3.bgColor,ues3.align,ues3.vAlign,ues3.style.borderStyle,ues3.style.borderColor,ues3.noWrap,ues3.className); } } }; UltimateEditor.prototype.uef42=function(uey9) { uey9.uef41(this.uee84); this.uee84=(!this.uee84); }; UltimateEditor.prototype.uec14=function(uey9) { uey9.uef41(this.uec13); this.uec13=(!this.uec13); }; UltimateEditor.prototype.uef43=function(uey9) { var ue0u=(this.uee85) ? this.GetEditorHTML() : ''; uey9.uef41(this.uee85); this.uee85=(!this.uee85); if (this.uec88()) { if (this.uee85) { UltimateSpellAsYouTypes[this.uet1].Restart(true); } else { UltimateSpellAsYouTypes[this.uet1].Pause(); this.SetEditorHTML(ue0u); } } }; UltimateEditor.prototype.ue2f=function(ue4f,ue5f) { var ue3f=this.uec80().createElement(ue4f); if (ue5f) { ue3f.type=ue5f; } return ue3f; }; UltimateEditor.prototype.ue6f=function(ue5f) { return this.ue2f('input',ue5f); }; UltimateEditor.prototype.ue7f=function() { this.InsertHTML('
'); }; UltimateEditor.prototype.ue8f=function(uex2,ue5f) { if (uea3) { this.ue3t(uex2); } else if (uea6) { this.ue9f(this.ue6f(ue5f)); } }; UltimateEditor.prototype.ue0g=function(uex2,ue1g) { if (uea3) { this.ue3t(uex2); } else if (uea6) { this.InsertHTML(''); } }; UltimateEditor.prototype.ue2g=function(uex2) { if (uea3) { this.ue3t(uex2); } else if (uea6) { this.ue9f(this.ue2f('textarea')); } }; UltimateEditor.prototype.uef44=function(uex2) { if (uea3) { this.SetFocus(); var uey8=this.GetCurrentRange(); if (uey8) { if (uey8.text == '') { uey8.moveStart('textedit',-1); uey8.moveEnd('textedit',1); } var ue0u=uey8.text; ue0u=ue0u.replace(/\r\n/g,'
'); uey8.execCommand('delete'); uey8.pasteHTML(ue0u); } } else if (uea6) { this.ue3t(uex2); } }; UltimateEditor.prototype.ued44=function() { var ue0u=this.GetEditorHTML(true); ue0u=ue0u.replace(//gi,''); ue0u=ue0u.replace(//gi,''); ue0u=ue0u.replace(/<\/?\w+:[^>]*>/gi,''); ue0u=ue0u.replace(/<\?xml[^>]*>/gi,''); ue0u=ue0u.replace(/<(\s*\S+\s[^>]*)\s*class=["]?Mso\w+["]?([^>]*)>/gi,'<$1$2>'); ue0u=this.ued45(ue0u,'\x6D'+'\x73'+'\x6F-[^>]+?'); ue0u=this.ued45(ue0u,'\x74ab-\x73top\x73'); ue0u=this.ued45(ue0u,'t\x61b-\x69nte\x72va\x6C'); ue0u=this.ued45(ue0u,'\x6Can\x67ua\x67e'); ue0u=this.ued45(ue0u,'\x74e\x78t-\x75nde\x72l\x69ne'); ue0u=this.ued45(ue0u,'\x74e\x78t-\x65ff\x65ct'); ue0u=this.ued45(ue0u,'\x74e\x78t-l\x69ne-\x74hr\x6Fu\x67h'); ue0u=this.ued45(ue0u,'\x66on\x74-c\x6Fl\x6Fr'); ue0u=this.ued45(ue0u,'\x68or\x69z-\x61li\x67n'); ue0u=this.ued45(ue0u,'\x6Ci\x73t-\x69ma\x67e-[^>]+?'); ue0u=this.ued45(ue0u,'\x73ep\x61ra\x74or-\x69ma\x67e'); ue0u=this.ued45(ue0u,'\x74ab\x6Ce-\x62or\x64er-\x63o\x6Cor-[^>]+?'); ue0u=this.ued45(ue0u,'\x76er\x74-\x61li\x67n'); ue0u=this.ued45(ue0u,'\x76nd\x2Ems-\x65xc\x65l.n\x75m\x62e\x72fo\x72ma\x74'); ue0u=ue0u.replace(/<\/font>/gi,''); ue0u=ue0u.replace(/<\/em>/gi,''); ue0u=ue0u.replace(/<\/strong>/gi,''); ue0u=ue0u.replace(/<\/samp>/gi,''); ue0u=ue0u.replace(/<\/acronym>/gi,''); ue0u=ue0u.replace(/<\/cite>/gi,''); ue0u=ue0u.replace(/<\/code>/gi,''); ue0u=ue0u.replace(/<\/dfn>/gi,''); ue0u=ue0u.replace(/<\/kbd>/gi,''); ue0u=ue0u.replace(/<\/tt>/gi,''); ue0u=ue0u.replace(/<\/b>/gi,''); ue0u=ue0u.replace(/<\/i>/gi,''); ue0u=ue0u.replace(/<\/u>/gi,''); ue0u=ue0u.replace(/<\/s>/gi,''); ue0u=ue0u.replace(/<\/sub>/gi,''); ue0u=ue0u.replace(/<\/sup>/gi,''); ue0u=ue0u.replace(/<\/ins>/gi,''); ue0u=ue0u.replace(/<\/del>/gi,''); ue0u=ue0u.replace(/<[v]ar><\/[v]ar>/gi,''); ue0u=ue0u.replace(/<\/span>/gi,''); ue0u=ue0u.replace(//gi,''); ue0u=ue0u.replace(/\s+/g,' '); this.SetEditorHTML(ue0u); }; UltimateEditor.prototype.ued45=function(ue0u,ued29) { var re=new RegExp('(\x73t\x79l\x65="[^>]*?)\\b'+ued29+':[^>]+?;([^>]*?")','gi'); ue0u=ue0u.replace(re,'$1$2'); var re=new RegExp('(\x73t\x79l\x65="[^>]*?)\\b'+ued29+':[^>]+?"','gi'); ue0u=ue0u.replace(re,'$1"'); return ue0u; }; UltimateEditor.prototype.uef45=function() { if (uea3) { var uey8=this.GetCurrentRange(); var ue0u=uey8.htmlText; if (ue0u && ue0u.toLowerCase().indexOf(ued19) != -1) { var re=new RegExp('(<'+uee36+'\\s[^>]+?>)([\\s\\S]+)()','i'); ue0u=ue0u.replace(re,'$2'); ue0u=this.ued45(ue0u,ued19); re=new RegExp('[\\s]+style=""','gi'); ue0u=ue0u.replace(re,''); ue0u=this.uef76(ue0u,ued21); uey8.execCommand('delete'); uey8.pasteHTML(ue0u); } } }; UltimateEditor.prototype.uee99=function() { this.uee86=this.uee86.slice(0,this.uee87+1); if (this.uee88 && !this.uee88.uef84) { this.uez3(this.uee88); } if (this.uee89 && this.uee89.uef84) { this.uex3(this.uee89); } var ue0u=this.GetEditorHTML(true); if (this.uee86.length == 0 || this.uee86[this.uee87].ue0u != ue0u) { var uef46=new Object(); uef46.ue0u=ue0u; if (uea4) { var sel=this.ue3g(); if (sel.type.toLowerCase() == 'text') { var uey8=this.ue4g(sel); uef46.uef47=uey8.getBookmark(); var uef48=(uey8.duplicate) ? uey8.duplicate() : uey8; uef46.uef47=uef48.getBookmark(); } } if (this.uee87 >= this.uee82) { this.uee86.shift(); } else { this.uee87++; } this.uee86[this.uee87]=uef46; } }; UltimateEditor.prototype.uef49=function(uef50) { if (this.uee87 >= 0 && this.uee87 < this.uee86.length) { var uey6; if (uea4) { var ues3=this.uey7(); uey6=(ues3 && ues3.tagName) ? ues3.tagName.toLowerCase() : ''; } var uef46=this.uee86[this.uee87]; this.SetEditorHTML(uef46.ue0u); if (uea4) { var uef47=(uef50 && this.uee87 > 0) ? this.uee86[this.uee87-1].uef47 : uef46.uef47; if (uef47) { var uey8=this.ue4g(this.ue3g()); uey8.moveToBookmark(uef47); uey8.select(); } } if (uef50) { if (this.uee88 && !this.uee88.uef84) { this.uez3(this.uee88); } if (this.uee89 && this.uee87 == this.uee86.length-1) { this.uex3(this.uee89); } } else { if (this.uee88 && this.uee87 == 0) { this.uex3(this.uee88); } if (this.uee89 && !this.uee89.uef84) { this.uez3(this.uee89); } } if (uea4 && uey6 == 'img') { var uey8=this.ue4g(this.ue3g()); } this.uef16(); } }; UltimateEditor.prototype.uef34=function() { if (this.uee87 == this.uee86.length-1) { this.uee99(); } if (this.uee87 > 0) { this.uee87--; this.uef49(); } }; UltimateEditor.prototype.uef51=function() { if (this.uee87 < this.uee86.length-1) { this.uee87++; this.uef49(true); } }; UltimateEditor.prototype.uez3=function(uey9) { uey9.uez1(this.uet4); uey9.uef84=true; uey9.uez3(); }; UltimateEditor.prototype.uex3=function(uey9) { uey9.uez1(this.uet4); uey9.uef84=false; uey9.uex3(); }; UltimateEditor.prototype.ueh58=function(uex2) { this.ue3t(uex2); var ueh64=this.uec80().queryCommandState(uex2); if (uex2 == ueh54) { this.ueh56=ueh64; if (this.ueh57) { this.ueh57=false; this.uey1(); } } else if (uex2 == ueh55) { this.ueh57=ueh64; if (this.ueh56) { this.ueh56=false; this.uey1(); } } }; UltimateEditor.prototype.ue3g=function() { return (uea4) ? this.uec80().selection : this.uec79().getSelection(); }; UltimateEditor.prototype.ue4g=function(sel) { if (ued83) { var uey8=this.uec80().createRange(); if (sel.anchorNode) { uey8.setStart(sel.anchorNode,sel.anchorOffset); } if (sel.focusNode) { uey8.setEnd(sel.focusNode,sel.focusOffset); } return uey8; } else { return (uea4) ? sel.createRange() : ((typeof sel != "undefined") ? sel.getRangeAt(0) : this.uec80().createRange()); } }; UltimateEditor.prototype.uef52=function() { var ue0u=''; if (!this.uef20()) { var sel=this.ue3g(); var uey8=this.ue4g(sel); if (uea3) { if (sel.type.toLowerCase() == 'control') { for (var i=0,uec71=uey8.length; i < uec71; i++) { ue0u += uey8.item(i).outerHTML; } } else { ue0u=uey8.htmlText; } } else if (uea6) { var uef48=uey8.cloneContents(); var uef53=document.createElement('span'); uef53.appendChild(uef48); ue0u=uef53.innerHTML; } } return ue0u; }; UltimateEditor.prototype.uey7=function() { var sel=this.ue3g(); var uey8=this.ue4g(sel); if (uea3) { switch (sel.type.toLowerCase()) { case 'control': return uey8.item(0); case 'text': case 'none': return uey8.parentElement(); default: return null; } } else if (uea6) { var ue5g=uey8.commonAncestorContainer; if (!uey8.collapsed && uey8.startContainer == uey8.endContainer && uey8.endOffset-uey8.startOffset >= 0 && uey8.startContainer.hasChildNodes()) { ue5g=uey8.startContainer.childNodes[uey8.startOffset]; } while (ue5g && ue5g.nodeType == 3) { ue5g=ue5g.parentNode; } return ue5g; } }; UltimateEditor.prototype.ue9f=function(ue8g) { var sel=this.ue3g(); var uey8=this.ue4g(sel); if (!ued83) { sel.removeAllRanges(); } uey8.deleteContents(); var ue5g=uey8.startContainer; var pos=uey8.startOffset; uey8=document.createRange(); var ue9g; var ue0h=0; var ue1h=0; if (ue5g.nodeType == 3) { if (ue8g.nodeType == 3) { ue5g.insertData(pos,ue8g.nodeValue); ue9g=ue5g; ue0h=pos+ue8g.length; ue1h=ue0h; } else { var ue7a=ue5g; ue5g=ue7a.parentNode; var ue2h=ue7a.nodeValue; var ue3h=ue2h.substr(0,pos); var ue4h=ue2h.substr(pos); var ue5h=document.createTextNode(ue3h); ue9g=document.createTextNode(ue4h); ue5g.insertBefore(ue9g,ue7a); ue5g.insertBefore(ue8g,ue9g); ue5g.insertBefore(ue5h,ue8g); ue5g.removeChild(ue7a); } } else { ue9g=ue5g.childNodes[pos]; ue5g.insertBefore(ue8g,ue9g); } if (ue9g && !ued82 && !ued83) { uey8.setEnd(ue9g,ue1h); uey8.setStart(ue9g,ue0h); } if (uey8.toString() && !ued83) { sel.addRange(uey8); } }; UltimateEditor.prototype.ue6h=function(ueo8,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,uef54) { if (ue7h == '') { ueo8.style.width=''; } else if (ueo8.style.width != ue7h+ue8h) { ueo8.style.width=ue7h+ue8h; } if (ue9h == '') { ueo8.style.height=''; } else if (ueo8.style.height != ue9h+ue0i) { ueo8.style.height=ue9h+ue0i; } if (ueo8.style.backgroundColor != ue1i) { ueo8.style.backgroundColor=ue1i; } if (ueo8.align != ue2i) { ueo8.align=ue2i; } if (ueo8.style.borderStyle != ue3i) { ueo8.style.borderStyle=ue3i; } if (ueo8.style.borderColor != ue4i) { ueo8.style.borderColor=ue4i; } if (ueo8.border != ue5i) { ueo8.border=ue5i; } if (ueo8.cellPadding != ue6i) { ueo8.cellPadding=ue6i; } if (ueo8.cellSpacing != ue7i) { ueo8.cellSpacing=ue7i; } ueo8.style.borderCollapse=(ue8i) ? 'collapse' : ''; if (ueo8.rules != ue9i) { ueo8.rules=ue9i; } if (ueo8.className != uef54) { ueo8.className=uef54; } this.uef55(ueo8); }; UltimateEditor.prototype.uef56=function() { if (uea4) { var uev8=this.uec80(); var uef57=uev8.getElementsByTagName('table'); for (var i=0,uec71=uef57.length; i < uec71; i++) { this.uef55(uef57[i]); } } }; UltimateEditor.prototype.uef55=function(ueo8) { if (uea4 && (ueo8.border == 0 || ueo8.border == '') && ueo8.className != uee60) { ueo8.className=(ueo8.className == '') ? uee60 : ueo8.className+' '+uee60; } }; UltimateEditor.prototype.uef58=function(ue0u) { if (typeof(ue0u) != 'undefined') { var re=new RegExp(' class='+uee60,'gi'); ue0u=ue0u.replace(re,''); re=new RegExp(' '+uee60 ,'gi'); ue0u=ue0u.replace(re,''); re=new RegExp(uee60,'gi'); ue0u=ue0u.replace(re,''); } return ue0u; }; UltimateEditor.prototype.ue0j=function(uer9,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k,uef59) { if (ue1j == '') { uer9.style.width=''; } else if (uer9.style.width != ue1j+ue2j) { uer9.style.width=ue1j+ue2j; } if (ue3j == '') { uer9.style.height=''; } else if (uer9.style.height != ue3j+ue4j) { uer9.style.height=ue3j+ue4j; } if (uer9.bgColor != ue5j) { uer9.bgColor=ue5j; } if (uer9.align != ue6j) { uer9.align=ue6j; } if (uer9.vAlign != ue7j) { uer9.vAlign=ue7j; } if (uer9.style.borderStyle != ue8j) { uer9.style.borderStyle=ue8j; } if (uer9.style.borderColor != ue9j) { uer9.style.borderColor=ue9j; } if (uer9.noWrap != ue0k) { uer9.noWrap=ue0k; } if (uer9.className != uef59) { uer9.className=uef59; } }; UltimateEditor.prototype.ue1k=function(ue2k,ue3k,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,uef54,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k,uef59) { if (ue2k && ue3k) { var ue4k=this.uec80(); var ue5k=ue4k.createElement("tr"); var ue6k=ue4k.createElement("td"); this.ue0j(ue6k,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k,uef59); ue6k.innerHTML=(uea6) ? ' ' : ''; var ueo8=ue4k.createElement("table"); this.ue6h(ueo8,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,uef54); var ue7k=ue4k.createElement("tbody"); for (var i=0; i < ue2k; i++) { var uep7=ue5k.cloneNode(true); for (var j=0; j < ue3k; j++) { uep7.appendChild(ue6k.cloneNode(true)); } ue7k.appendChild(uep7); } ueo8.appendChild(ue7k); if (uea4) { this.InsertText(ueo8.outerHTML); } else { this.SetFocus(); this.ue9f(ueo8); } } }; UltimateEditor.prototype.ued80=function(ues3,uey6) { while (ues3 && ues3.tagName && (ues3.tagName.toLowerCase() != uey6) && ues3.parentNode) { ues3=ues3.parentNode; } return ues3; }; UltimateEditor.prototype.ue8k=function(ue9k) { var ues3=this.ued80(this.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { var uep7=ues3.parentNode; if (uep7.tagName.toLowerCase() == 'tr') { if (!ue9k && !uep7.nextSibling) { uep7.parentNode.insertBefore(uer4(uep7,true)); } else { if (!ue9k) { uep7=uep7.nextSibling; } var uer6=uer4(uep7,true); var uep8=uep7.rowIndex; var ueo8=uep7.parentNode.parentNode; var ue0l=uep6(uep7); var uer0=uep9(ueo8,ue0l,uep8); var ue1l=uer0[uep8]; var ue2l,ue3l,ue4l,ue5l; for (var j=0,ue6l=ue1l.length; j < ue6l; j++) { ue2l=ue1l[j].rowNo; ue3l=ue1l[j].colNo; if (ue2l != ue4l || ue3l != ue5l) { if (ue2l != uep8) { ueo8.rows[ue2l].cells[ue3l].rowSpan=uee78(ueo8.rows[ue2l].cells[ue3l])+1; } } ue4l=ue2l; ue5l=ue3l; } uep7.parentNode.insertBefore(uer6,uep7); } } } }; UltimateEditor.prototype.ue7l=function() { var ues3=this.ued80(this.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { var uep7=ues3.parentNode; if (uep7.tagName.toLowerCase() == 'tr') { var uep8=uep7.rowIndex; var ueo8=uep7.parentNode.parentNode; var ue0l=uep6(uep7); var uer0=uep9(ueo8,ue0l,uep8+1); var ue1l=uer0[uep8]; var ue6l=ue1l.length; var ue2l,ue3l,ue4l,ue5l; var ue8l=null; for (var j=ue6l-1; j >= 0; j--) { ue2l=ue1l[j].rowNo; ue3l=ue1l[j].colNo; if (ue2l != ue4l || ue3l != ue5l) { if (ue2l != uep8) { ueo8.rows[ue2l].cells[ue3l].rowSpan=uee78(ueo8.rows[ue2l].cells[ue3l])-1; } else { if (uee78(ueo8.rows[ue2l].cells[ue3l]) > 1) { ueo8.rows[ue2l].cells[ue3l].rowSpan=uee78(ueo8.rows[ue2l].cells[ue3l])-1; var ue9l=uer8(ueo8.rows[ue2l].cells[ue3l],true); var ue0m,ue1m; for (var k=j+1; k < ue6l; k++) { ue0m=uer0[uep8+1][k].rowNo; ue1m=uer0[uep8+1][k].colNo; if (!(ue0m == ue2l && ue1m == ue3l) && ue0m == uep8+1) { break; } } if (k < ue6l) { ueo8.rows[uep8+1].insertBefore(ue9l,ueo8.rows[uep8+1].cells[ue1m]); } else { ueo8.rows[uep8+1].insertBefore(ue9l,ue8l); ue8l=ue9l; } } ueo8.rows[ue2l].removeChild(ueo8.rows[ue2l].cells[ue3l]); } } ue4l=ue2l; ue5l=ue3l; } if (uep7.childNodes.length == 0) { uep7.parentNode.removeChild(uep7); } ues5(ueo8); } } }; UltimateEditor.prototype.ue8m=function(uef60) { var ues3=this.ued80(this.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { var ue9m=ues3.cellIndex; var uep7=ues3.parentNode; if (uep7.tagName.toLowerCase() == 'tr') { var ueo8=uep7.parentNode.parentNode; if (ueo8.tagName.toLowerCase() == 'table') { var ue9m=ues3.cellIndex; var uep8=uep7.rowIndex; var uep1=ueo8.rows; var uep3=uep1.length; var uer0=uep9(ueo8,0,uep3-1); var ue1l=uer0[uep8]; var ue6l=ue1l.length; for (var j=0; j < ue6l; j++) { if (ue1l[j].rowNo == uep8 && ue1l[j].colNo == ue9m) { break; } } var i=0; while (i < uep3) { ue1l=uer0[i]; var ue2l=ue1l[j].rowNo; var ue3l=ue1l[j].colNo; var ue0n=uep1[ue2l].cells[ue3l]; var ue1n=uee78(ue0n); if (uee76(ue0n) == uee76(ues3)) { var ue9l=uer8(ue0n,true); ue9l.colSpan=1; uep1[ue2l].insertBefore(ue9l,(uef60) ? ue0n : ue0n.nextSibling); } else { ue0n.colSpan=uee76(ue0n)+1; } i += ue1n; } } } } }; UltimateEditor.prototype.ue2n=function() { var ues3=this.ued80(this.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { var ue9m=ues3.cellIndex; var uep7=ues3.parentNode; if (uep7.tagName.toLowerCase() == 'tr') { var ueo8=uep7.parentNode.parentNode; if (ueo8.tagName.toLowerCase() == 'table') { var ue9m=ues3.cellIndex; var uep8=uep7.rowIndex; var uep1=ueo8.rows; var uep3=uep1.length; var uer0=uep9(ueo8,0,uep3-1); var ue1l=uer0[uep8]; var ue6l=ue1l.length; for (var j=0; j < ue6l; j++) { if (ue1l[j].rowNo == uep8 && ue1l[j].colNo == ue9m) { break; } } var i=0; var ue3n=false; while (i < uep3) { ue1l=uer0[i]; var ue2l=ue1l[j].rowNo; var ue3l=ue1l[j].colNo; var ue0n=uep1[ue2l].cells[ue3l]; var ue1n=uee78(ue0n); if (uee76(ue0n) == 1) { uep1[ue2l].removeChild(ue0n); ue3n=true; } else { ue0n.colSpan=uee76(ue0n)-1; } i += ue1n; if (i == uep3 && !ue3n) { i=0; ue3n=false; } } ues5(ueo8); } } } }; UltimateEditor.prototype.uef28=function(uex2,uec23) { var ues3=this.ued80(this.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { if (uex2 == ue0x) { ue2e(ued3,uex2,this,this,uec23); ue2v(); } else { ue2e(ued4,uex2,this,this,uec23); ue3v(ued4); } } }; UltimateEditor.prototype.ue4n=function(ue5n) { var ue6n=false; var ues3=this.ued80(this.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { var uep7=ues3.parentNode; if (uep7.tagName.toLowerCase() == 'tr') { var ueo8=uep7.parentNode.parentNode; if (ueo8.tagName.toLowerCase() == 'table') { var ue9m=ues3.cellIndex; var ue7n=uee76(ues3); var ue8n=uee78(ues3); var uep8=uep7.rowIndex; var ueo8=uep7.parentNode.parentNode; var uep1=ueo8.rows; if (ue5n == uej1) { var uer0=uep9(ueo8,uep8,uep8); var ue1l=uer0[uep8]; for (var j=0,ue6l=ue1l.length; j < ue6l; j++) { var ue2l=ue1l[j].rowNo; var ue3l=ue1l[j].colNo; var ue9n=uep1[ue2l].cells[ue3l]; if (ue2l == uep8 && ue3l == (ue9m+1) && uee78(ue9n) == ue8n) { ues3.innerHTML=ues2(ues3,ue9n); ues3.colSpan=uee76(ues3)+uee76(ue9n); uep7.removeChild(ue9n); ue6n=true; break; } } } else if (ue5n == uej2) { if (uep8+ue8n < uep1.length) { var uer0=uep9(ueo8,uep8,uep8+ue8n); var ue1l=uer0[uep8]; for (var j=0,ue6l=ue1l.length; j < ue6l; j++) { var ue2l=ue1l[j].rowNo; var ue3l=ue1l[j].colNo; if (ue2l == uep8 && ue3l == ue9m) { var ue0m=uer0[uep8+ue8n][j].rowNo; var ue1m=uer0[uep8+ue8n][j].colNo; var ue0o=uep1[ue0m].cells[ue1m]; if ((j == 0 || !(ue0m == uer0[uep8+ue8n][j-1].rowNo && ue1m == uer0[uep8+ue8n][j-1].colNo)) && uee76(ue0o) == ue7n) { ues3.innerHTML=ues2(ues3,ue0o); ues3.rowSpan=uee78(ues3)+uee78(ue0o); uep1[ue0m].removeChild(ue0o); ue6n=true; } break; } } } } } } } return ue6n; }; UltimateEditor.prototype.ue1o=function(ue2k,ue3k) { var ues3=this.ued80(this.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { var uep7=ues3.parentNode; if (uep7.tagName.toLowerCase() == 'tr') { var ueo8=uep7.parentNode.parentNode; if (ueo8.tagName.toLowerCase() == 'table') { var ue9m=ues3.cellIndex; var ue7n=uee76(ues3); var ue8n=uee78(ues3); var uep8=uep7.rowIndex; var uep1=ueo8.rows; if (ue3k > 1) { var ue2o=ueo6(ue7n,ue3k)/ue7n; var ue3o=ue2o*ue7n/ue3k; for (var i=0,ue4o=uep7.cells.length; i < ue4o; i++) { if (i != ue9m) { uep7.cells[i].colSpan=uee76(uep7.cells[i])*ue2o; } } ues3.colSpan=ue3o; for (var i=1; i < ue3k; i++) { var ue9l=uer8(ues3,true); uep7.insertBefore(ue9l,ues3.nextSibling); } for (var i=uep1.length-1; i >= 0; i--) { var ue5o=uep1[i]; if (ue5o.rowIndex != uep8) { var uep4=ue5o.cells; for (var j=uep4.length-1; j >= 0; j--) { uep4[j].colSpan=uee76(uep4[j])*ue2o; } } } } if (ue2k > 1) { var ue0l=uep6(uep7); if (ue8n == 1) { for (var i=1; i < ue2k; i++) { var uer6=uer4(uep7,true); for (var j=uer6.childNodes.length-1; j >= 0; j--) { if (j < ue9m || j >= ue9m+ue3k) { uer6.removeChild(uer6.childNodes[j]); } } uep7.parentNode.insertBefore(uer6,uep7.nextSibling); } var uer0=uep9(ueo8,ue0l,uep8); var ue1l=uer0[uep8]; var ue2l,ue3l,ue4l,ue5l; for (var j=0,ue6l=ue1l.length; j < ue6l; j++) { ue2l=ue1l[j].rowNo; ue3l=ue1l[j].colNo; if (ue2l != ue4l || ue3l != ue5l) { if (!(ue2l == uep8 && ue3l >= ue9m && ue3l < ue9m+ue3k)) { uep1[ue2l].cells[ue3l].rowSpan=uee78(uep1[ue2l].cells[ue3l])+(ue2k-1); } } ue4l=ue2l; ue5l=ue3l; } } else if (ue8n > 1 && ue2k <= ue8n && ue8n % ue2k == 0) { var uer0=uep9(ueo8,ue0l,uep8+ue8n-1); var ue6o=ue8n/ue2k; for (var i=0; i < ue3k; i++) { uep7.cells[ue9m+i].rowSpan=ue6o; } for (var i=uep8+ue6o; i <= uep8+ue8n-1; i += ue6o) { var ue1l=uer0[i]; for (var j=0,ue6l=ue1l.length; j < ue6l; j++) { var ue2l=ue1l[j].rowNo; var ue3l=ue1l[j].colNo; if (ue2l == uep8 && ue3l == ue9m) { var ue0m,ue1m; for (var k=j+1; k < ue6l; k++) { ue0m=ue1l[k].rowNo; ue1m=ue1l[k].colNo; if (!(ue0m == ue2l && ue1m == ue3l) && ue0m == i) { break; } } for (var l=0; l < ue3k; l++) { var ue9l=uer8(ues3,true); uep1[i].insertBefore(ue9l,(k < ue6l) ? uep1[i].cells[ue1m] : null); } break; } } } } } } } } }; UltimateEditor.prototype.ue7o=function(ue8o,ue9o,uef61,ue0p,ue1p) { ue8o.href=ue9o; ue8o.innerHTML=(uef61) ? uef61 : ue9o; if (ue8o.title != ue0p) { ue8o.title=ue0p; } if (ue8o.target != ue1p) { ue8o.target=ue1p; } }; UltimateEditor.prototype.ue2p=function(ue9o,uef61,ue0p,ue1p) { if (ue9o) { var ue4k=this.uec80(); var ue8o=ue4k.createElement("a"); this.ue7o(ue8o,ue9o,uef61,ue0p,ue1p); if (uea4) { this.InsertText(ue8o.outerHTML); } else { this.SetFocus(); this.ue9f(ue8o); } } }; UltimateEditor.prototype.uef63=function(uef64) { if (uef64) { var ue4k=this.uec80(); var ue8o=ue4k.createElement("a"); ue8o.name=uef64; if (uea4) { this.InsertText(ue8o.outerHTML); } else { this.SetFocus(); this.ue9f(ue8o); } } }; UltimateEditor.prototype.ue4p=function(ue5p,ue6p,ue7p,ue8p,ue9p,ue0r,ue1r,ue2r,ue3r) { if (ue5p.src != ue6p) { ue5p.src=ue6p; } if (ue5p.alt != ue7p) { ue5p.alt=ue7p; ue5p.title=ue7p; } if (ue5p.align != ue8p) { ue5p.align=ue8p; } if (ue5p.border != ue9p) { ue5p.border=ue9p; } if (ue5p.width != ue0r && ue0r != '') { ue5p.width=ue0r; } if (ue5p.height != ue1r && ue1r != '') { ue5p.height=ue1r; } if (ue5p.hspace != ue2r) { ue5p.hspace=ue2r; } if (ue5p.vspace != ue3r) { ue5p.vspace=ue3r; } }; UltimateEditor.prototype.ue1s=function(ue6p,ue7p,ue8p,ue9p,ue0r,ue1r,ue2r,ue3r) { if (ue6p) { var ue4k=this.uec80(); var ue5p=ue4k.createElement("img"); this.ue4p(ue5p,ue6p,ue7p,ue8p,ue9p,ue0r,ue1r,ue2r,ue3r); if (uea4) { var ue0u=ue5p.outerHTML; if (ue0r == '') { ue0u=ue0u.replace(/ width=[\d]+/gi,''); } if (ue1r == '') { ue0u=ue0u.replace(/ height=[\d]+/gi,''); } this.InsertText(ue0u); } else { this.SetFocus(); this.ue9f(ue5p); } } }; UltimateEditor.prototype.ue2s=function(ue5r,ue6r,ue7r,uej22) { if (ue5r && ue6r) { if (!this.ue5s) { this.ue5s=new Array(); } var ue6s=new Object; ue6s.ue5r=ue5r; ue6s.ue6r=ue6r; ue6s.ue7r=ue7r; ue6s.uej22=uej22; this.ue5s[this.ue5s.length]=ue6s; this.ueb90(); this.ueb96(); this.ue3s(); } }; UltimateEditor.prototype.uec24=function(uef67,uec32,uec25,uec26,uec27,uec28,uec29,uec30,uec31) { var uec42='CLSID:'; var uec43=''; var uec44=''; var uec45=''; var uec47=''; var uec48=''; var uec49=''; if (uef67 == uee33) { uec42 += uec34; uec43=uec36; uec44=uec38; uec45=uec40; uec47='movie'; uec48=''; uec49=' quality="'+uec29+'" bgcolor="'+uec30+'" loop="'+uec27+'"'; } else if (uef67 == uee34) { uec42 += uec35; uec43=uec37; uec44=uec39; uec45=uec41; uec47='Filename'; uec48=''; uec49=' autorewind="'+uec27+'"'; } this.InsertHTML(''+uec48+''); }; UltimateEditor.prototype.ueb90=function() { var ueb91=''; var uei55=''; var uej30=''; var ue5s=this.ue5s; for (var i=0,ueb74=ue5s.length; i < ueb74; i++) { ueb91 += ((ueb91) ? ',' : '')+ue5s[i].ue5r+'/'+ue5s[i].ue6r; uei55 += ((uei55) ? ',' : '')+ue5s[i].ue7r; uej30 += ((uej30) ? ',' : '')+ue5s[i].uej22; } uea8(this.ueb88).value=ueb91; uea8(this.uei44).value=uei55; var uej32=uea8(this.uej29); if (uej32) { uej32.value=uej30; } }; UltimateEditor.prototype.ueb96=function() { if (this.ueb85) { var ueb97=''; var ue5s=this.ue5s; for (var i=0,ueb74=ue5s.length; i < ueb74; i++) { if (ueb97) { ueb97 += ', '; } ueb97 += (ue5s[i].uej22) ? ue5s[i].uej22 : ue5s[i].ue6r; } if (ueb97) { ueb97=((typeof(this.ueb98) != 'undefined') ? (''+ueb95+'') : ueb95)+' '+ueb97; } var ueb94=uea8(this.ueb93); ueb94.innerHTML=ueb97; ueb94.style.display=(ueb97) ? 'block' : 'none'; } }; UltimateEditor.prototype.ue7s=function(ue8s,ue9s,ue0t,ue1t) { if (ue8s.size != ue9s) { ue8s.size=ue9s; } if (ue8s.color != ue0t) { ue8s.color=ue0t; } if (ue8s.noShade != ue1t) { ue8s.noShade=ue1t; } }; UltimateEditor.prototype.ue2t=function(ue9s,ue0t,ue1t) { var ue4k=this.uec80(); var ue8s=ue4k.createElement("hr"); this.ue7s(ue8s,ue9s,ue0t,ue1t); if (uea4) { this.InsertText(ue8s.outerHTML); } else { this.SetFocus(); this.ue9f(ue8s); } }; UltimateEditor.prototype.ue3t=function(uex2,ue4t,ue5t) { if (this.uew5 == EDIT_MODE_DESIGN || uex2 == ued89 || uex2 == ued90 || uex2 == ued91) { if (!uea4 && !ued83 && uex2 == ue9x) { uex2="HiliteColor"; } this.SetFocus(); this.uec80().execCommand(uex2,ue4t,ue5t); } }; UltimateEditor.prototype.ue6t=function(ue1b) { var uei93=ue1b.toLowerCase(); return (uei93 == 'blur') ? this.uec79() : (uei93 == 'copy' || uei93 == 'cut' || uei93 == 'paste' || uei93.indexOf('drag') == 0 || uei93.indexOf('drop') == 0) ? this.uec80().body : this.uec80(); }; UltimateEditor.prototype.uej34=function(ue1b) { var uei93=ue1b.toLowerCase(); return (uei93 == 'focus') ? 'focusin' : ue1b; }; UltimateEditor.prototype.ue7t=function() { if (uea3 && this.ue8t) { this.ue8t.select(); } else if (ued83 && this.uef68) { var sel=this.ue3g(); sel.setBaseAndExtent(this.uef68,this.uef69,this.uef70,this.uef71); } }; UltimateEditor.prototype.ue3s=function() { if (!ued83) { this.ue7t(); } this.SetFocus(); }; UltimateEditor.prototype.uef20=function() { var sel=this.ue3g(); var uey8=this.ue4g(sel); return (uea3) ? (sel.type.toLowerCase() == 'none') : (ued83) ? sel.isCollapsed : (uea6) ? uey8.collapsed : false; }; UltimateEditor.prototype.ue9t=function(ue0u) { var sel=this.ue3g(); var uey8=this.ue4g(sel); if (sel.type.toLowerCase() == 'control') { sel.clear(); uey8=sel.createRange(); } if (uey8.pasteHTML) { ue0u=this.uei69(ue0u); uey8.pasteHTML(ue0u); this.uei70(); } }; UltimateEditor.prototype.uec63=function(uec64) { this.uec62=false; if (uec64) { eval(uec64); } }; UltimateEditor.prototype.uec65=function(uec66,uec58) { if (uec66) { eval(uec66); } if (uec58 && window.__doPostBack) { this.ue7d(); window.__doPostBack(this.ued68,uec58); } }; UltimateEditor.prototype.StoreCurrentRange=function() { var sel=this.ue3g(); if (ued83) { var uef72=0; if (!sel.isCollapsed && sel.anchorNode == sel.focusNode && sel.anchorOffset == sel.focusOffset) { var uef72=(sel+'').length; sel.collapseToStart(); } this.uef68=sel.anchorNode; this.uef69=sel.anchorOffset; this.uef70=sel.focusNode; this.uef71=sel.focusOffset+uef72; } else { var uey8=this.ue4g(sel); if (uey8) { this.ue8t=(uey8.duplicate) ? uey8.duplicate() : (uey8.cloneRange) ? uey8.cloneRange() : uey8; } } }; UltimateEditor.prototype.GetCurrentRange=function() { return this.ue4g(this.ue3g()); }; UltimateEditor.prototype.InsertText=function(ue1u) { this.ue3s(); if (uea4) { this.ue9t(ue1u); } else if (uea6) { this.ue9f(document.createTextNode(ue1u)); } }; UltimateEditor.prototype.InsertHTML=function(ue0u) { if (uea4) { this.InsertText(ue0u); } else if (uea6) { if (ued83) { var uef53=this.uec80().createElement('span'); uef53.innerHTML=ue0u; this.SetFocus(); this.ue9f(uef53); } else { this.ue3t('inserthtml',false,ue0u); } } }; UltimateEditor.prototype.GetEditorText=function() { var re=new RegExp('
'+((this.uec13 || !uea3) ? '|
|

|' : ''),'gi'); return uee75(this.GetEditorHTML().replace(re,'\r\n').replace(' ',' ').replace('<','<').replace('>','>')); }; UltimateEditor.prototype.GetEditorHTML=function(uef73) { var ue0u; var ue6a=this.uec81(); if (this.uew5 == EDIT_MODE_DESIGN) { ue0u=(this.uec13) ? uxa0(ue6a) : ue6a.innerHTML; if (this.uei47) { ue0u=this.uec90(ue0u); } if (uea3) { var uef74=ue0u.toLowerCase(); if (uef74 == '

 

') { ue0u=''; } if (!this.uee84) { if (uef74.substring(0,3) == '

') { ue0u=ue0u.substring(3,ue0u.length-4); } } } ue0u=this.ued16(ue0u); if (uea6) { ue0u=ue0u.replace(/\r\n/,''); ue0u=ue0u.replace(/\n/,''); if (ued83) { ue0u=this.uef75(ue0u); } } if (!uef73) { if (this.uej33()) { ue0u=UltimateSpellAsYouTypes[this.uet1].CleanSpellAsYouTypeFormat(ue0u); } if (uea4) { ue0u=this.uef58(ue0u); } } } else if (this.uew5 == EDIT_MODE_HTML) { if (uea4) { ue0u=ue6a.innerText; } else if (uea6) { var uey8=ue6a.ownerDocument.createRange(); uey8.selectNodeContents(ue6a); ue0u=uey8.toString(); } } return ue0u; }; UltimateEditor.prototype.uef75=function(ue0u) { ue0u=ue0u.replace(/ class="Apple-style-span"/gi,''); ue0u=this.uef76(ue0u,ued21); return ue0u; }; UltimateEditor.prototype.uef76=function(ue0u,uef77) { var re=new RegExp('(<'+uef77+'>)([\\s\\S]+?)()','gi'); return ue0u.replace(re,'$2'); }; UltimateEditor.prototype.uec90=function(ue0u) { var uec91; var uec92; var uec97; while (uec91=ue0u.match(uec98)) { uec92=uec91[0].toString(); uec97=''; uec97 += this.ued70(uec92,ued17,ued19); uec97 += this.ued70(uec92,ued69,ued69); uec97 += this.ued70(uec92,ued18,ued20); uec97 += this.ued70(uec92,'style',''); ue0u=ue0u.replace(uec92,'<'+ued21+' style="'+uec97+'">'); } if (ue0u.match(uec99)) { ue0u=ue0u.replace(uec99,''); } return ue0u; }; UltimateEditor.prototype.ued70=function(ued71,ued72,ued73) { var ued74=''; var ued75=ued71.indexOf(' '+ued72+'='); if (ued75 != -1) { var ued76=ued75+ued72.length+2; var ued77; if (ued71.charAt(ued76) == '"') { ued77=ued71.substring(ued76+1,ued71.indexOf('"',ued76+1)); } else { var ued78=ued71.indexOf(' ',ued76+1); var ued79=ued71.indexOf('>',ued76+1); ued77=ued71.substring(ued76,((ued78 != -1) ? ued78 : ued79)); } if (ued72 == ued17) { ued77=this.ued10(parseInt(ued77)); } ued74=ued73+((ued73) ? ':' : '')+ued77+';'; } return ued74; }; UltimateEditor.prototype.ued10=function(ued11) { var ued13; if (typeof(ued12) != 'undefined') { return ued12[ued11-1]; } else if (ued13=uea8(this.ue7m+uea17)) { this.ued14(ued13); return ued12[ued11-1]; } else { switch (ued11) { case 1: return '8pt'; case 2: return '10pt'; case 3: return '12pt'; case 4: return '14pt'; case 5: return '18pt'; case 6: return '24pt'; case 7: return '36pt'; default: return '12pt'; } } }; UltimateEditor.prototype.ued14=function(ued13) { ued12=new Array(); var ued15; for (var i=0,uec71=ued13.options.length; i < uec71; i++) { if (ued13.options[i].value != '') { ued15=ued13.options[i].text; ued12[ued12.length]=ued15.substring(3,ued15.length-1).replace(/\s/g,''); } } }; UltimateEditor.prototype.ued16=function(ue0u) { return ue0u.replace(/

/gi,'

'); }; UltimateEditor.prototype.uef78=function(ue5t) { var uey8=this.GetCurrentRange(); if (uea3) { uey8.pasteHTML(''+uey8.htmlText+''); } else if (uea6) { var uev8=this.uec80(); var uef79=uev8.createElement('span'); uef79.style.cssText=ue5t; uef79.appendChild(uey8.extractContents()); uey8.insertNode(uef79); } }; UltimateEditor.prototype.uef80=function(uef77) { var uey8=this.GetCurrentRange(); var uev8=this.uec80(); var uef79=uev8.createElement(uef77); uef79.appendChild(uey8.extractContents()); uey8.insertNode(uef79); }; UltimateEditor.prototype.SetEditorHTML=function(ue0u) { ue0u=(uea3) ? this.uef81(ue0u) : ue0u; ue0u=this.uei69(ue0u); this.uec81().innerHTML=ue0u; this.uei70(); this.uef56(); }; UltimateEditor.prototype.uei69=function(ue0u) { if (uea3) { ue0u=this.uei71(ue0u,uei64); ue0u=this.uei71(ue0u,uej35); ue0u=this.uei71(ue0u,uei65); ue0u=this.uei71(ue0u,uej36); } return ue0u; }; UltimateEditor.prototype.uei71=function(ue0u,uei73) { return ue0u.replace(uei73,'$1$2$3$4 '+uei66+'$2$3$4'); }; UltimateEditor.prototype.uei70=function() { if (uea3) { this.uei72('img','src'); this.uei72('a','href'); } }; UltimateEditor.prototype.uei72=function(uef77,uei68) { var uei74=this.uec80().getElementsByTagName(uef77); if (uei74) { for (var i=0,uec71=uei74.length; i < uec71; i++) { if (typeof(uei74[i][uei66+uei68]) != 'undefined') { if (uei74[i][uei68] != uei74[i][uei66+uei68]) { uei74[i][uei68]=uei74[i][uei66+uei68]; } uei74[i].removeAttribute(uei66+uei68,0); } } } }; UltimateEditor.prototype.uef81=function(ue0u) { ue0u=ueh50(ue0u); var uef74=ue0u.toLowerCase(); var uef82=''; var uef83; while (uef74.substring(0,7) == '')+8) : (uef74.substring(0,6) == '')+1) : 0; uef82 += ue0u.substring(0,uef83); ue0u=ueh50(ue0u.substring(uef83)); uef74=ue0u.toLowerCase(); } return ue0u+uef82; }; UltimateEditor.prototype.GetWordCount=function() { var ue2b=this.GetEditorText(); return (ue2b == '') ? 0 : ue2b.split(/\s+/g).length+((!uea4 && !ued83) ? -1 : 0); }; UltimateEditor.prototype.GetCharacterCount=function() { return this.GetEditorText().length; }; UltimateEditor.prototype.GetHtmlCount=function() { return this.GetEditorHTML().length; }; UltimateEditor.prototype.SetFocus=function() { if (ued83 || ued82) { uea8(this.uet1).focus(); this.ue7t(); } else { this.uec79().focus(); } }; UltimateEditor.prototype.AddEventHandler=function(ue1b,ue3u) { uee63(this.ue6t(ue1b),this.uej34(ue1b),ue3u); }; UltimateEditor.prototype.RemoveEventHandler=function(ue1b,ue3u) { uee64(this.ue6t(ue1b),this.uej34(ue1b),ue3u); }; UltimateEditor.prototype.CancelEvent=function(ueo1) { if (uea3) { ueo1.returnValue=false; } else if (uea6) { var ue4a=this.GetEventKeyCode(ueo1); if (ue4a != 8 && (ue4a < 33 || ue4a > 40) && ue4a != 46) { ueo1.stopPropagation(); ueo1.preventDefault(); } } }; UltimateEditor.prototype.GetEventKeyCode=function(ueo1) { return ueo1.keyCode ? ueo1.keyCode : ueo1.charCode ? ueo1.charCode : ueo1.which ? ueo1.which : void 0; }; UltimateEditor.prototype.CancelCommand=function() { this.uec62=true; }; UltimateEditor.prototype.ExecuteCommand=function(uex2,ue4t,ue5t) { this.ue3t(uex2,ue4t,ue5t); }; UltimateEditor.prototype.SetEditorHtmlBeforePostBack=function() { this.ue7d(); }; function UltimateEditorToolbarButton(uez9,uex2,uef84,uez8,ue4u,ueb99,uec10,uec56,uec57,uec58) { this.uez9=uez9; this.uex2=uex2; this.uef84=uef84; this.uez8=uez8; this.ue4u=ue4u; this.ueb99=ueb99; this.uec10=uec10; this.uec56=uec56; this.uec57=uec57; this.uec58=uec58; this.uez2=false; this.uec82(); this.uec78().unselectable='on'; if (!uef84) { this.uex3(); } var ue5u=uea8(this.uez9); uee63(ue5u,'click',function() { UltimateEditorToolbarButtons[uez9].ue8u(); }); uee63(ue5u,'mouseover',function() { UltimateEditorToolbarButtons[uez9].ue9u(); }); uee63(ue5u,'mouseout',function() { UltimateEditorToolbarButtons[uez9].ue0v(); }); if (ued83) { uee63(ue5u,'mousedown',function() { UltimateEditorToolbarButtons[uez9].uef85(); }); } } UltimateEditorToolbarButton.prototype.uec82=function() { if (!UltimateEditorToolbarButtons) { UltimateEditorToolbarButtons=new Object; } UltimateEditorToolbarButtons[this.uez9]=this; }; UltimateEditorToolbarButton.prototype.uec78=function() { return uea8(this.uez9).childNodes[0]; }; UltimateEditorToolbarButton.prototype.ue8u=function() { this.uew9.uec63(this.uec56); if (!this.uew9.uec62) { this.uec50(); this.uec61(); this.uew9.uec65(this.uec57,this.uec58); } }; UltimateEditorToolbarButton.prototype.uec50=function() { if (this.uex0) { this.uez1((this.uez2) ? this.uew9.uet3 : this.uew9.uet6); this.uez2=!this.uez2; } }; UltimateEditorToolbarButton.prototype.uec61=function() { if (this.uef84) { curEditorObj=this.uew9; if (uea4) { this.uew9.StoreCurrentRange(); } else if (ued83) { this.uew9.ue3s(); } if (this.uex2 != ued85 && this.uex2 != ued86) { this.uew9.uee99(); } var uew9=this.uew9; var uex2=this.uex2; var ue1f=this.uec78(); var uec23=(ue1f) ? ue1f.title : ''; if (uex2 == ue3w) { ue2e(ued0,uex2,uew9,this,uec23); ue1v(ued0); } else if (uex2 == ue4w) { uew9.ue8k(true); } else if (uex2 == ue5w) { uew9.ue8k(); } else if (uex2 == ue6w) { uew9.ue7l(); } else if (uex2 == ue7w) { uew9.ue8m(true); } else if (uex2 == ue8w) { uew9.ue8m(); } else if (uex2 == ue9w) { uew9.ue2n(); } else if (uex2 == ue0x || uex2 == ue1x) { uew9.uef28(uex2,uec23); } else if (uex2 == ue2x) { ue2e(ued5,uex2,uew9,this,uec23); ue3e(ued5,'',uew9.uef52(),'',''); } else if (uex2 == ued93) { ue2e(ued97,uex2,uew9,this,uec23); uef66(ued97); } else if (uex2 == ue3x) { ue2e(ued7,uex2,uew9,this,uec23); ue4v(); } else if (uex2 == ue4x || uex2 == ue5x || uex2 == uec16 || uex2 == uec17 || uex2 == ued96) { ue5v(uex2,uew9,((uex2 == ue4x) ? uec7 : (uex2 == ue5x) ? uec9 : (uex2 == uec16) ? uec18 : (uex2 == uec17) ? uec19 : (uex2 == ued96) ? ued98 : ""),"fileSource",uec23); } else if (uex2 == ue6x || uex2 == ue7x) { ue6v(uex2,uew9,this); } else if (uex2 == ue8x || uex2 == ue9x) { uew9.ue3t(uex2,false,uea8(this.ue4u).style.backgroundColor); } else if (uex2 == ue0y) { ue2e(uec5,uex2,uew9,this,'',true); } else if (uex2 == ue1y) { if (uew9.uej33()) { UltimateSpellAsYouTypes[uew9.uet1].Pause(); } ue2e(uec6,uex2,uew9,this,'',true); } else if (uex2 == ue2y) { uew9.InsertText((new Date()).toLocaleDateString()); } else if (uex2 == ue3y) { uew9.InsertText((new Date()).toLocaleTimeString()); } else if (uex2 == ue4y) { if (uew9.GetEditorHTML() != "") { if (confirm("You will lose the changes you made to the document. Are you sure you want to start a new one?")) { uew9.ue8d(); } } } else if (uex2 == ue6y) { } else if (uex2 == ue7y) { uew9.ue4c(uex2); } else if (uex2 == ue8y) { uew9.ue5c(); } else if (uex2 == ue9y) { uew9.ue7c(this); } else if (uex2 == ue0z) { uew9.ue0e(); } else if (uex2 == ue1z) { ue2e(uee1,uex2,uew9,this,uec23); ue0f(uee1); } else if (uex2 == ue2z) { ue8v(uex2,uew9,this,uec23); } else if (uex2 == uec52) { if (window.UltimateSpellClick && uea8(uew9.uec51).childNodes[0].onclick) { UltimateSpellClick(uew9.uec51); } } else if (uex2 == ued94) { uew9.uef43(this); } else if (uex2 == ue3z) { uew9.ue1e(this); } else if (uex2 == ued88) { uew9.uef42(this); } else if (uex2 == uec12) { uew9.uec14(this); } else if (uex2 == ue4z) { uew9.ue7f(); } else if (uex2 == ue5z) { uew9.ue8f(uex2,'button'); } else if (uex2 == ue6z) { uew9.ue8f(uex2,'checkbox'); } else if (uex2 == ue7z) { uew9.ue8f(uex2,'hidden'); } else if (uex2 == ue8z) { uew9.ue8f(uex2,'password'); } else if (uex2 == ue9z) { uew9.ue8f(uex2,'radio'); } else if (uex2 == uea10) { uew9.ue8f(uex2,'reset'); } else if (uex2 == uea11) { uew9.ue8f(uex2,'submit'); } else if (uex2 == uea12) { uew9.ue8f(uex2,'text'); } else if (uex2 == uea13 || uex2 == uea14) { uew9.ue0g(uex2); } else if (uex2 == uea15) { uew9.ue2g(uex2); } else if (uex2 == ued84) { uew9.uef44(uex2); } else if (uex2 == ued31) { uew9.ued44(); } else if (uex2 == ued95) { uew9.uef35(); } else if (uex2 == ued85) { uew9.uef34(); } else if (uex2 == ued86) { uew9.uef51(); } else if (uex2 == ueh42) { window.open(uew9.ueu1+'/'+ueh43,ueh44,'resizable=1,scrollbars=1,status=0,toolbar=0'); } else if (uex2 == ueh54 || uex2 == ueh55) { uew9.ueh58(uex2); } else if (uex2) { uew9.ue3t(uex2); } uew9.uef13(null,true); } }; UltimateEditorToolbarButton.prototype.uef85=function() { if (ued83) { this.uew9.StoreCurrentRange(); } }; UltimateEditorToolbarButton.prototype.ue9u=function() { if (this.uef84) { if (this.uez2) { this.uez1(this.uew9.uet6); } else { this.uez1(this.uew9.uet3); } } }; UltimateEditorToolbarButton.prototype.ue0v=function() { if (this.uef84) { if (this.uez2) { this.uez1(this.uew9.uet5); } else { this.uez1(this.uew9.uet4); } } }; UltimateEditorToolbarButton.prototype.uez1=function(ue9v) { var ue5u=uea8(this.uez9); if (ue5u.className != ue9v) { ue5u.className=ue9v; if (this.uez8) { uea8(this.uez8).className=ue9v; } } }; UltimateEditorToolbarButton.prototype.uez3=function() { var ue5u=uea8(this.uez9); ue5u.disabled=false; var ue1f=this.uec78(); if (uea4) { ue1f.style.filter=""; if (this.ue4u) { uea8(this.ue4u).style.filter=""; } } else if (uea6) { if (ued83 || ued82) { ue1f.style.opacity=1; if (this.ue4u) { uea8(this.ue4u).style.opacity=1; } } else { ue1f.style.MozOpacity=1; if (this.ue4u) { uea8(this.ue4u).style.MozOpacity=1; } } } }; UltimateEditorToolbarButton.prototype.uex3=function() { var ue5u=uea8(this.uez9); ue5u.disabled=true; var ue1f=this.uec78(); if (uea4) { ue1f.style.filter="alpha(opacity=25)"; if (this.ue4u) { uea8(this.ue4u).style.filter="alpha(opacity=25)"; } } else if (uea6) { if (ued83 || ued82) { ue1f.style.opacity=0.25; if (this.ue4u) { uea8(this.ue4u).style.opacity=0.25; } } else { ue1f.style.MozOpacity=0.25; if (this.ue4u) { uea8(this.ue4u).style.MozOpacity=0.25; } } } }; UltimateEditorToolbarButton.prototype.uef41=function(uez2) { this.uez1((!uez2) ? this.uew9.uet5 : this.uew9.uet4); this.uez2=(!uez2); }; function UltimateEditorToolbarDropDownList(ue0w,uex2,ue1w,uef84,uec10,uec59,uec60,uec58) { this.ue0w=ue0w; this.uei90=ue0w+uei84; this.uei91=ue0w+uei85; this.uex2=uex2; this.ue1w=ue1w; this.uef84=uef84; this.uec10=uec10; this.uec59=uec59; this.uec60=uec60; this.uec58=uec58; this.uec83(); if (!uef84) { this.uex7(); } this.uea20(); var ue2w=uea8(this.ue0w); var uei92=uea8(this.uei90); uee63(uei92,'click',function(ueo1) { UltimateEditorToolbarDropDownLists[ue0w].ued47(ueo1); }); uee63(uei92,'mouseover',function() { UltimateEditorToolbarDropDownLists[ue0w].ue9u(); }); uee63(uei92,'mouseout',function() { UltimateEditorToolbarDropDownLists[ue0w].ue0v(); }); } UltimateEditorToolbarDropDownList.prototype.uec83=function() { if (!UltimateEditorToolbarDropDownLists) { UltimateEditorToolbarDropDownLists=new Object; } UltimateEditorToolbarDropDownLists[this.ue0w]=this; }; UltimateEditorToolbarDropDownList.prototype.ued47=function(ueo1) { if (this.uef84 && this.uew9.uew5 == EDIT_MODE_DESIGN) { if (uea4) { this.uew9.StoreCurrentRange(); } if (typeof(this.ued48) != 'undefined' && uea8(this.ued48).style.display == 'block') { HidePopup(); } else { this.ued49(ueo1); } } }; UltimateEditorToolbarDropDownList.prototype.ued49=function(ueo1) { var uei92=uea8(this.uei90); var uem3=uen0(uei92); var uem4=uem6(uei92)+uei92.offsetHeight; if (typeof(this.ued50) == 'undefined') { var uev6=uea8(this.uew9.ue7m); var ueb18=parseInt(uev6.style.zIndex); ueb18=((!isNaN(ueb18)) ? ueb18 : 0)+1; this.ued48=this.ue0w+ued32; var ued51=this.ued52(); this.ued50=new UltimatePopup(this.ued48,this.uew9.ued41,(this.uex2 == uea17 || this.uex2 == uea19) ? uei83 : ued34,ueb18,uem3,uem4,ued51); this.ued50.PopulatePopup(); } else { this.ued50.SetPopupLeft(uem3); this.ued50.SetPopupTop(uem4); } this.ued50.ShowPopup(ueo1); }; UltimateEditorToolbarDropDownList.prototype.ued52=function() { var ue0w=this.ue0w; var ued53=new Array(); var uea28=uea8(ue0w).options; var ued54; var ued55; for (var i=0,uec71=uea28.length; i < uec71; i++) { ued54=uea28[i].value; ued55=uea28[i].text; if (ued54 != "") { eval('ued53[ued53.length]=new UltimatePopupItem(this.ued48+ued33+i,this.ued56(ued54,ued55),this.ued57(ued55),this.ued58(ued55),function(ueo1) { UltimateEditorToolbarDropDownLists[ue0w].ued59("'+ued54+'"); });'); } } return ued53; }; UltimateEditorToolbarDropDownList.prototype.ued57=function(ued55) { if (this.uex2 == uea18) { if (uea6 || ued55.toLowerCase().indexOf('heading') != -1) { return ued37; } else { return ued35; } } else if (this.uex2 == uea16) { return ued39; } else { return uee43; } }; UltimateEditorToolbarDropDownList.prototype.ued58=function(ued55) { if (this.uex2 == uea18) { if (uea6 || ued55.toLowerCase().indexOf('heading') != -1) { return ued38; } else { return ued36; } } else if (this.uex2 == uea16) { return ued40; } else { return uee44; } }; UltimateEditorToolbarDropDownList.prototype.ued56=function(ued54,ued55) { var ued61; if (this.uex2 == uea18) { ued61=ued60(ued55,ued55,true); } else if (this.uex2 == uea16) { var ued62=(uea3 && (ued55 == 'Marlett' || ued55 == 'MS Outlook' || ued55 == 'Symbol' || ued55 == 'Webdings' || ued55.indexOf('Wingdings') != -1)) ? (ued55+' ') : ''; ued61=ued62+''+((ued62 != '') ? ued55.substring(0,6) : ued55)+''; } else if (this.uex2 == ued87) { ued61=''+ued55+''; } else { ued61=''+ued55+''; } return ued61; }; UltimateEditorToolbarDropDownList.prototype.ued59=function(ued54) { var ue2w=uea8(this.ue0w); ue2w.value=ued54; this.uew9.ue3s(); this.uea21(false,ued54); }; UltimateEditorToolbarDropDownList.prototype.uea21=function(uec67,ued54) { var ue2w=uea8(this.ue0w); this.uew9.uec63(this.uec59); if (!this.uew9.uec62) { if (typeof(ued54) == 'undefined') { ued54=ue2w.value; } this.uei88(ue2w); this.uec61(ued54); this.uew9.uec65(this.uec60,((!uec67) ? this.uec58 : '')); } if (ued83) { ue2w.selectedIndex=0; } }; UltimateEditorToolbarDropDownList.prototype.uei88=function(ue2w) { if (typeof(ue2w) == 'undefined') { ue2w=uea8(this.ue0w); } if (ue2w.selectedIndex != -1) { uea8(this.uei91).innerHTML=ue2w.options[ue2w.selectedIndex].text; } }; UltimateEditorToolbarDropDownList.prototype.uef85=function() { if (ued83) { this.uew9.StoreCurrentRange(); } }; UltimateEditorToolbarDropDownList.prototype.uec61=function(ue5t) { if (this.uef84) { if (ued83) { this.uew9.ue3s(); } this.uew9.uee99(); if (typeof(ue5t) == 'undefined') { var ue5t=uea8(this.ue0w).value; } if (this.uex2 == uea19 && uea4) { this.uew9.uec81().style.zoom=ue5t; } else if (this.uex2 == ued87) { this.uew9.uef78(ue5t); } else if (this.uex2) { if (ue5t != "") { ue5t=this.uea22(this.uex2,ue5t); if ((ued83 || (uea3 && !this.uew9.uef20())) && this.uex2 == uea18) { if (ued83) { this.uew9.uef80(ue5t); } else { this.uew9.ue9t(ued60(ue5t,this.uew9.uef52(),false)); } } else { this.uew9.ue3t(this.uex2,false,ue5t); if (this.uex2 == uea17) { this.uew9.uef45(); } } } } this.uew9.uef13(null,true); } }; UltimateEditorToolbarDropDownList.prototype.uea22=function(uex2,ue5t) { var uea23=ue5t; if (uea6) { uea23=uea23.toLowerCase(); if (uex2 == uea18) { uea23=((!ued83) ? '<' : '')+((uea23 == 'formatted') ? 'pre' : (uea23 == 'address') ? 'address' : (uea23.indexOf('heading') == 0) ? 'h'+uea23.charAt(8) : 'p')+((!ued83) ? '>' : ''); } } return uea23; }; UltimateEditorToolbarDropDownList.prototype.uea26=function(uea29,uea34,uea30) { var uea27=document.createElement("option"); var ue2w=uea8(this.ue0w); var uea28=ue2w.options; if (uea28.length > 0) { if (uea28[0].value == "") { for (var i=uea28.length-1; i > 0; i--) { if (uea6) { ue2w.remove(i); } else { uea28.remove(i); } } } else { uea28.length=0; } } if (uea34) { uea29.sort(); } for (var i=0,uea31=uea29.length; i < uea31; i++) { var uea25=uea27.cloneNode(true); uea25.text=uea29[i]; uea25.value=(uea30) ? uea30[i] : uea29[i]; uea28.add(uea25); } }; UltimateEditorToolbarDropDownList.prototype.uea32=function(uex2,uea33,uea34) { if (uex2 == ued87) { this.uea26(uea33,uea34); } else { var uea29=new Array(); for (var i=1,uea35=uea33.count; i < uea35; i++) { uea29[i-1]=uea33(i); } this.uea26(uea29,uea34); } }; UltimateEditorToolbarDropDownList.prototype.uea20=function() { var uex2=this.uex2; if (uex2 == uea18 || uex2 == uea16) { this.uef86(uex2); } }; UltimateEditorToolbarDropDownList.prototype.uef86=function(uex2) { if (this.ue1w && uea5) { var uea38=uea39(); if (uea38) { this.uea32(uex2,(uex2 == uea18) ? uea38.blockFormats : (uex2 == uea16) ? uea38.fonts : null,(uex2 == uea16)); } } }; UltimateEditorToolbarDropDownList.prototype.ue0b=function() { uea8(this.ue0w).disabled=false; uea8(this.uei90).disabled=false; }; UltimateEditorToolbarDropDownList.prototype.uex7=function() { uea8(this.ue0w).disabled=true; uea8(this.uei90).disabled=true; }; UltimateEditorToolbarDropDownList.prototype.uef17=function() { if (this.uex2 == ued87) { var uef87=0; var ues3=this.uew9.uey7(); if (ues3 && ues3.tagName && ues3.tagName.toLowerCase() == 'span' && ues3.style) { var ue2w=uea8(this.ue0w); var uea28=ue2w.options; var uef88=ues3.style.cssText.toLowerCase().replace(/\s/g,'').replace(/[;]/g,''); for (var i=1,uec71=uea28.length; i < uec71; i++) { if (ue2w.selectedIndex != i && uea28[i].value.toLowerCase().replace(/\s/g,'').replace(/[;]/g,'') == uef88) { return i; } } } } return 0; }; UltimateEditorToolbarDropDownList.prototype.ue9u=function() { if (this.uef84 && this.uew9.uew5 == EDIT_MODE_DESIGN) { uea8(this.uei90).className=this.uew9.uei86; } }; UltimateEditorToolbarDropDownList.prototype.ue0v=function() { if (this.uef84 && this.uew9.uew5 == EDIT_MODE_DESIGN) { uea8(this.uei90).className=this.uew9.uei87; } }; function UltimateEditorTab(uea40,uew5,uef84,uei51) { this.uea40=uea40; this.uew5=uew5; this.uef84=uef84; this.uei51=uei51; this.uec84(); var uea41=uea8(this.uea40); uee63(uea41,'click',function() { UltimateEditorTabs[uea40].ue8u(); }); uee63(uea41,'mouseover',function() { UltimateEditorTabs[uea40].ue9u(); }); uee63(uea41,'mouseout',function() { UltimateEditorTabs[uea40].ue0v(); }); } UltimateEditorTab.prototype.uec84=function() { if (!UltimateEditorTabs) { UltimateEditorTabs=new Object; } UltimateEditorTabs[this.uea40]=this; }; UltimateEditorTab.prototype.ue8u=function() { if (this.uef84 && !this.uei51) { this.uew9.ue5a(this.uew5); var uea42=this.uew9.uev4; var uet7=this.uew9.uet7; var uet8=this.uew9.uet8; if (uea42) { for (var i=0,uea43=uea42.length; i < uea43; i++) { uea8(uea42[i].uea40).className=(uea42[i].uea40 == this.uea40) ? uet7 : uet8; uea42[i].uei51=(uea42[i].uea40 == this.uea40); } } } }; UltimateEditorTab.prototype.ue9u=function() { if (this.uef84 && !this.uei51) { uea8(this.uea40).className=this.uew9.uet9; } }; UltimateEditorTab.prototype.ue0v=function() { if (this.uef84 && !this.uei51) { uea8(this.uea40).className=this.uew9.uet8; } }; function uea44(obj,uea45) { obj.style.border=uea45; } function uei58(uei59) { uea8(uei33).value=uei59.toUpperCase(); } function uea46(uea47,uea48,uea49,uea50,uea51,ue6i,ue7i,uea52,uea53,uea54,uea55,uea56,uea57,uea58,uea59,uea60,uew1,ueEmoticonFileNameArr) { var s=new ues6; s.ues7(''); if (uea59) { s.ues7(''); } for (var i=0,j=0,uea62='',uea63=uea48.length; i < uea63; i++) { uea62=''; if (++j-uea50 == 0 && i != uea63-1) { uea62 += ''; j=0; } s.ues7(uea62); } s.ues7('
'+uea59+'
'; break; case uee5: uea62 += '>'; break; default: uea62 += '>'+uea48[i]; } uea62 += '
'); return s.ues9(); } function uea64(uea65) { var uea66=uea65.toString(16); var uea67=uea66.length; if (uea67 < 6) { uea66="000000".substring(0,6-uea67).concat(uea66); } return uea66.toUpperCase(); } function uea68(uea66) { return parseInt(uea66,16); } function uea69(uea70) { return uea64(uea68(uea70) ^ 16777215); } function uea71(uea72,ueo1) { if (uea3) { ueo1=event; } if (ueo1.button == (uea3) ? 1 : 0) { uem5=true; uel9=ueo1.clientX; uem0=ueo1.clientY; var uea73=uea8(uea72); uem1=uea73.style; if (uea4) { uem2=uea8(uea73.uea81).style; } uem3=uea73.offsetLeft; uem4=uea73.offsetTop; uee63(document,'mousemove',uea75); } } function uea76() { uem5=false; uee64(document,'mousemove',uea75); } function uea75(ueo1) { if (uem5) { uem1.left=(uem3+ueo1.clientX-uel9)+'px'; uem1.top=(uem4+ueo1.clientY-uem0)+'px'; if (uea4) { uem2.left=uem1.left; uem2.top=uem1.top; } } } function ue4s(uea73) { uea73.style.top=(((uen3()-uea73.offsetHeight)/2)+uen5())+'px'; uea73.style.left=(((uen2()-uea73.offsetWidth)/2)+uen4())+'px'; } function uea77(uea73,ue0s,uea78) { if (uea73.style.visibility != ueb2) { if (ue0s) { uea79=uea73.id+uec1; if (!uea8(uea79)) { uew0=uea73.ue3f.uew0; uea73.innerHTML='
'+ue0s+'
'+uea73.innerHTML+'
'; } uea73.className=uea73.ue3f.ueu0; } if (uea78) { var ue5u=uea8(uea73.uea80.uez9); uea73.style.top=(uem6(ue5u)+ue5u.offsetHeight)+'px'; var uei60=uen0(ue5u); uea73.style.left=(uei60+((uei60+uea73.offsetWidth > uen2()+uen4()-((uea6) ? 20 : 0)) ? ue5u.offsetWidth-uea73.offsetWidth : 0))+'px'; } else { ue4s(uea73); } if (uea73.id == uec4) { uea8(uei33).value=''; } uea73.style.visibility=ueb2; uee29=uea73; if (uea4) { if (uea73.uea81) { var uea74=uea8(uea73.uea81); uea74.style.visibility=ueb2; uea74.style.left=uea73.style.left; uea74.style.top=uea73.style.top; uea74.style.width=uea73.offsetWidth+'px'; uea74.style.height=uea73.offsetHeight+'px'; } else { var uea81=uea73.id+uec0; uea73.parentNode.insertAdjacentHTML('afterBegin',''); uea73.uea81=uea81; } } } } function uea82(uea73,ueo1) { if (typeof(ueo1) == 'undefined' || !DOMContains(ueo1,uea73)) { if (uea73.style.visibility != ueb3) { uea73.style.visibility=ueb3; if (uea4 && uea73.uea81) { uea8(uea73.uea81).style.visibility=ueb3; } } uee29=null; } } function uea83(uea73) { var uex2=uea73.uex2; var ue3f=uea73.ue3f; var uea80=uea73.uea80; var uea84=uea73.uea84; if (uex2 == ueb4 && uea84) { ue3f.value=uea84; ue3f.style.backgroundColor=uea84; ue3f.style.color=uea69(uea84.substring(1,7)); } else if (uex2 == ue6x || uex2 == ue7x) { ue3f.ue3s(); if (uea84 != '') { ue3f.ue3t(uex2.substring(0,9),false,uea84); uea8(uea80.ue4u).style.backgroundColor=uea84; } } else if (uex2 == ue0y) { ue3f.SetFocus(); if (uea4) { ue3f.ue9t(uea84.innerHTML); } else if (uea6) { var uea85=uea84.childNodes[0].cloneNode(true); uea85.src=uea85.src; ue3f.ue9f(uea85); } } else if (uex2 == ue1y) { ue3f.InsertText(uea84); if (ue3f.uej33()) { UltimateSpellAsYouTypes[ue3f.uet1].Resume(); } } } function uea86(uea73,uea84) { uea73.uea84=uea84; uea83(uea73); uea82(uea73); } function ueb45(ueb46,uea80) { var ue3f=uea8(ueb46); uea80.uez9=uea80.id; ue6v(ueb4,ue3f,uea80,ue3f.value); } function ue6v(uex2,ue3f,uea80,uea87) { if ((!uea8(uec3) && ue3f.uei49) || !uea8(uec4)) { uea88(ue3f.uei49); } var uea38=uea8(uec3); if (uea38 && ue3f.uei49) { uea38.uex2=uex2; uea38.ue3f=ue3f; uea38.uea80=uea80; try { uea38.uea84="#"+uea64(uea38.ChooseColorDlg(uea87)); uea83(uea38); } catch (e) { uea88(false); uej38(uex2,ue3f,uea80); } } else { uej38(uex2,ue3f,uea80); } } function uej38(uex2,ue3f,uea80) { var uea89=uea8(uec4); if (uea89) { uea89.uex2=uex2; uea89.ue3f=ue3f; uea89.uea80=uea80; uea77(uea89,'',true); } } function ue2e(uea90,uex2,ue3f,uea80,ue0s,uea78) { if (!uea8(uea90)) { if (uea90 == uec5) { uea91(ue3f.uew1); } else if (uea90 == uec6) { uea92(); } else if (uea90 == ued0) { uea93(); } else if (uea90 == ued1) { uea94(); } else if (uea90 == ued2) { uea95(); } else if (uea90 == ued4) { uea96(); } else if (uea90 == ued3) { uea97(); } else if (uea90 == ued5 || uea90 == ued6) { uea98(uea90,ue3f); } else if (uea90 == ued97) { uef65(uea90); } else if (uea90 == ued7) { uea99(); } else if (uea90 == uec8) { ueb11(); } else if (uea90 == uee1 || uea90 == uee2) { ueb12(uea90); } } var ueb13=uea8(uea90); if (ueb13) { ueb13.uex2=uex2; ueb13.ue3f=ue3f; ueb13.uea80=uea80; uea77(ueb13,ue0s,uea78); } } function ueb14(uea72,ueb15) { var uea73=uea8(uea72); uea82(uea73); if (!ueb15) { uea73.ue3f.ue3s(); } } function ueb16(uea72,ueb17,ueb18,ueb19,uei61) { if (!uea8(uea72)) { var uea73=document.createElement("div"); uea73.id=uea72; uea73.style.position="absolute"; uea73.style.visibility=ueb3; uea73.style.left="-1000px"; uea73.style.top="-1000px"; uea73.style.zIndex=(ueb18) ? ueb18 : ueb7; uea73.ueb19=ueb19; uea73.innerHTML=ueb17; document.body.appendChild(uea73); if (uei61) { uea73.style.width=uea73.offsetWidth+'px'; uea73.style.height=uea73.offsetHeight+'px'; } if (!ueb19) { uee63(document,'mouseup',function(ueo1) { uea82(uea73,ueo1); }); } } } function ueb20(objNode,ueb21) { if (uea4 || ued82) { objNode.insertAdjacentHTML("beforeEnd",ueb21); } else if (uea6) { var uey8=document.createRange(); uey8.setStartBefore(document.body.lastChild); var ueb22=uey8.createContextualFragment(ueb21); objNode.appendChild(ueb22); } } function ue5v(uex2,ue3f,ue8r,ueb25,ue0s) { var ueb23=uea8(ue8r); var ueb24=false; if (!ueb23) { var ueb26=""; if (ue8r == uec7 || ue8r == uec9 || ue8r == uec18 || ue8r == uec19 || ue8r == ued98) { ueb26=ue3f.uee83+"?ii="+ue8r+"&ft="+((ue8r == uec7) ? uee32 : (ue8r == uec18) ? uee33 : (ue8r == uec19) ? uee34 : (ue8r == ued98) ? uee35 : (ue8r == uec9) ? uei37 : "")+"&wt="+ue0s+"&ms="+ue3f.ueb86+"&ei="+ue3f.ue7m+"&ep="+ue3f.ueu1; } ueb20(document.body,''); ueb23=uea8(ue8r); ueb24=true; } window.frames[ue8r].ueg33=ue3f.ue7m; ueb23.style.visibility=ueb2; if (!ueb24 && ueb25) { window.frames[ue8r].uea8(ueb25).focus(); } } function uea39() { var uea38=uea8(uec3); if (!uea38) { document.body.insertAdjacentHTML("beforeEnd",''); uea38=uea8(uec3); } return uea38; } function uea88(uei49) { if (uea5 && uei49) { uea39(); } else { if (!uea8(uec4)) { var ueb27='1px solid #ACA899'; var uea53=ueColorBoxWidth; var uea54=ueColorBoxHeight+((uea3) ? 0 : 2); ueb16(uec4,uea46(uee4,ueBasicColorCodeArr,ueBasicColorNameArr,ueColorCountPerRow,1,0,3,'border:'+ueb27+';border-bottom:0px;background-color:'+uee3,uea53,uea54,'border:'+ueb27+';'+uef4,'uea44(this,\''+'1px solid #000000'+'\');uei58(this.bgColor);','uea44(this,\''+ueb27+'\')','uea86(uea8(uec4),this.bgColor.toUpperCase())',ueBasicColorTitle,'font-family:Tahoma;font-size:11px;color:#000000;border:1px solid '+uee3)+uea46(uee4,ueAdditionalColorCodeArr,ueAdditionalColorNameArr,ueColorCountPerRow,1,0,3,'border:'+ueb27+';border-bottom:0px;border-top-style:dotted;background-color:'+uee3,uea53,uea54,'border:'+ueb27+';'+uef4,'uea44(this,\''+'1px solid #000000'+'\');uei58(this.bgColor);','uea44(this,\''+ueb27+'\')','uea86(uea8(uec4),this.bgColor.toUpperCase())',ueAdditionalColorTitle,'font-family:Tahoma;font-size:11px;color:#000000;border:1px solid '+uee3)+'

'+ueCustomColorTitle+'
',ueb9,false,true); } } } function uea91(uew1) { if (!uea8(uec5)) { var ueb32='1px solid #C5D3ED'; ueb16(uec5,uea46(uee5,ueEmoticonCodeArr,ueEmoticonNameArr,10,1,2,5,'background-color:#EEF3FA',19,19,'background-color:#FFFFFF;border:'+ueb32+';'+uef4,'uea44(this,\''+'1px solid #316AC5'+'\')','uea44(this,\''+ueb32+'\')','uea86(uea8(uec5),this)','','',uew1,ueEmoticonFileNameArr),ueb8,false,true); } } function uea92() { if (!uea8(uec6)) { var ueb40='1px solid '+uee3; ueb16(uec6,uea46(uee6,GetSymbolArray(),null,ueSymbolCountPerRow,1,0,3,'background-color:'+uee3,15,14,'border:'+ueb40+';'+uef4+';color:#606060;font-family:Verdana;font-size:10px;','uea44(this,\''+'1px solid #000000'+'\')','uea44(this,\''+ueb40+'\')','uea86(uea8(uec6),this.innerHTML)','',''),ueb8,false,true); } } function ueb42() { var uea73=uea8(ued0); uea73.ue3f.ue1k(uea8(ued0+ueg4).value,uea8(ued0+ueg5).value,uea8(ued0+ueg6).value,uea8(ued0+ueg7).value,uea8(ued0+ueg8).value,uea8(ued0+ueg9).value,uea8(ued0+ueh1).value,uea8(ued0+ueh2).value,uea8(ued0+ueh3).value,uea8(ued0+ueh4).value,uea8(ued0+ueh5).value,uea8(ued0+ueh6).value,uea8(ued0+ueh7).value,uea8(ued0+ueh8).checked,uea8(ued0+ueh9).value,uea8(ued0+uee12).value,uea8(ued0+uei0).value,uea8(ued0+uei1).value,uea8(ued0+uei2).value,uea8(ued0+uei3).value,uea8(ued0+uei4).value,uea8(ued0+uei5).value,uea8(ued0+uei6).value,uea8(ued0+uei7).value,uea8(ued0+uei8).value,!uea8(ued0+uei9).checked,uea8(ued0+uee13).value); uea82(uea73); } function ueb43(uea90) { var uea73=uea8(uea90); var ue3f=uea73.ue3f; var ue7h=uea8(uea90+ueg6).value; var ue8h=uea8(uea90+ueg7).value; var ue9h=uea8(uea90+ueg8).value; var ue0i=uea8(uea90+ueg9).value; var ue1i=uea8(uea90+ueh1).value; var ue2i=uea8(uea90+ueh2).value; var ue3i=uea8(uea90+ueh3).value; var ue4i=uea8(uea90+ueh4).value; var ue5i=uea8(uea90+ueh5).value; var ue6i=uea8(uea90+ueh6).value; var ue7i=uea8(uea90+ueh7).value; var ue8i=(uea8(uea90+ueh8).checked) ? 'collapse' : ''; var ue9i=uea8(uea90+ueh9).value; var uef54=uea8(uea90+uee12).value; if (uea90 == ued1) { ue3f.ue3s(); var ues3=ue3f.uey7(); var uey6=ues3.tagName.toLowerCase(); if (uey6 != 'table') { ues3=ue3f.ued80(ues3,'table'); } if ((uey6 == 'table') || (ues3.tagName && ues3.tagName.toLowerCase() == 'table')) { ue3f.ue6h(ues3,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,uef54); } } uea82(uea73); } function ueb44(uea90) { var uea73=uea8(uea90); var ue3f=uea73.ue3f; var ue1j=uea8(uea90+uei0).value; var ue2j=uea8(uea90+uei1).value; var ue3j=uea8(uea90+uei2).value; var ue4j=uea8(uea90+uei3).value; var ue5j=uea8(uea90+uei4).value; var ue6j=uea8(uea90+uei5).value; var ue7j=uea8(uea90+uei6).value; var ue8j=uea8(uea90+uei7).value; var ue9j=uea8(uea90+uei8).value; var ue0k=!uea8(uea90+uei9).checked; var uef59=uea8(uea90+uee13).value; if (uea90 == ued2) { ue3f.ue3s(); var ues3=ue3f.uey7(); var uey6=ues3.tagName.toLowerCase(); if (uey6 != 'td') { ues3=ue3f.ued80(ues3,'td'); } if ((uey6 == 'td') || (ues3.tagName && ues3.tagName.toLowerCase() == 'td')) { ue3f.ue0j(ues3,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k,uef59); } } uea82(uea73); } function ueb47(uea90) { return '
Table properties'+ueg3+''+ueg3+''+ueg3+''+ueg3+''+ueg3+''+ueg3+''+ueg3+''+ueg3+'
Width: Height: Alignment:
Border size:Cell padding:Cell spacing:
Border color: Border style:Inner borders:
Background color: Border collapse:CSS Class:
'; } function ueb48(uea90) { return '
Cell properties'+ueg3+''+ueg3+''+ueg3+''+ueg3+''+ueg3+''+ueg3+'
Width: Height: Alignment:
Border color: Border style:Vertical alignment:
Background color: Wrap text:CSS Class:
'; } function uea93() { if (!uea8(ued0)) { ueb16(ued0,'
Columns:      Rows: 
'+ueb47(ued0)+'
'+ueb48(ued0)+'
 
',ueb7,true); } } function uea94() { if (!uea8(ued1)) { ueb16(ued1,'
'+ueb47(ued1)+'
 
',ueb7,true); } } function uea95() { if (!uea8(ued2)) { ueb16(ued2,'
'+ueb48(ued2)+'
 
',ueb7,true); } } function ue7e(ueb49) { var ueb50=(ueb49.indexOf('px') != -1) ? ueb49.indexOf('px') : ueb49.indexOf('%'); var ueb51=new Object; ueb51.uef40=ueb49.substring(ueb50); ueb51.len=ueb49.substring(0,ueb50); return ueb51; } function ue8e(uea90,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,uef54) { var uea73=uea8(uea90); var ue3f=uea73.ue3f; var ueb52=(uea90 == ued1); uea8(uea90+ueg6).value=(ueb52) ? ue7h : 100; uea8(uea90+ueg7).value=(ueb52) ? ue8h : '%'; uea8(uea90+ueg8).value=(ueb52) ? ue9h : ''; uea8(uea90+ueg9).value=(ueb52) ? ue0i : ''; uea8(uea90+ueh1).value=(ueb52) ? ue1i : ''; uea8(uea90+ueh1).style.color=(ueb52) ? uea69(ue1i.substring(1,7)) : ''; uea8(uea90+ueh1).style.backgroundColor=(ueb52) ? ue1i : ''; uea8(uea90+ueh2).value=(ueb52) ? ue2i : ''; uea8(uea90+ueh3).value=(ueb52) ? ue3i : ''; uea8(uea90+ueh4).value=(ueb52) ? ue4i : ''; uea8(uea90+ueh4).style.color=(ueb52) ? uea69(ue4i.substring(1,7)) : ''; uea8(uea90+ueh4).style.backgroundColor=(ueb52) ? ue4i : ''; uea8(uea90+ueh5).value=(ueb52) ? ue5i : (ued83) ? 1 : 0; uea8(uea90+ueh6).value=(ueb52) ? ue6i : 2; uea8(uea90+ueh7).value=(ueb52) ? ue7i : 0; uea8(uea90+ueh8).checked=(ueb52) ? ue8i : true; uea8(uea90+ueh9).value=(ueb52) ? ue9i : ''; uea8(uea90+uee12).value=(ueb52) ? ue3f.uef58(uef54) : ''; if (ueb52) { uea8(uea90+ueg6).focus(); } } function ue9e(uea90,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k,uef59) { var ueb52=(uea90 == ued2); uea8(uea90+uei0).value=(ueb52) ? ue1j : ''; uea8(uea90+uei1).value=(ueb52) ? ue2j : ''; uea8(uea90+uei2).value=(ueb52) ? ue3j : ''; uea8(uea90+uei3).value=(ueb52) ? ue4j : ''; uea8(uea90+uei4).value=(ueb52) ? ue5j : ''; uea8(uea90+uei4).style.color=(ueb52) ? uea69(ue5j.substring(1,7)) : ''; uea8(uea90+uei4).style.backgroundColor=(ueb52) ? ue5j : ''; uea8(uea90+uei5).value=(ueb52) ? ue6j : ''; uea8(uea90+uei6).value=(ueb52) ? ue7j : ''; uea8(uea90+uei7).value=(ueb52) ? ue8j : ''; uea8(uea90+uei8).value=(ueb52) ? ue9j : ''; uea8(uea90+uei8).style.color=(ueb52) ? uea69(ue9j.substring(1,7)) : ''; uea8(uea90+uei8).style.backgroundColor=(ueb52) ? ue9j : ''; uea8(uea90+uei9).checked=(ueb52) ? !ue0k : true; uea8(uea90+uee13).value=(ueb52) ? uef59 : ''; if (ueb52) { uea8(uea90+uei4).focus(); } } function ue1v(uea90,ue2k,ue3k,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,uef54,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k,uef59) { var ueb52=(uea90 == ued1); uea8(uea90+ueg5).value=(ueb52) ? ue3k : 5; uea8(uea90+ueg4).value=(ueb52) ? ue2k : 2; ue8e(uea90,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,uef54); ue9e(uea90,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k,uef59); if (!ueb52) { uea8(uea90+ueg5).focus(); } } function ueb53() { var uea73=uea8(ued3); uea73.ue3f.ue3s(); if (!uea73.ue3f.ue4n((uea8(ued3+uej0+uej1).checked) ? uej1 : uej2)) { alert('Cells cannot be merged.'); } uea82(uea73); } function uea97() { if (!uea8(ued3)) { ueb16(ued3,'
 Merge right      Merge below
 
',ueb7,true); } } function ue2v() { uea8(ued3+uej0+uej1).checked=true; uea8(ued3+uej0+uej1).focus(); } function ueb54(uea72) { var uea73=uea8(uea72); var ue3f=uea73.ue3f; ue3f.ue3s(); var ues3=ue3f.ued80(ue3f.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { var ue3k=parseInt(uea8(uea72+ueg5).value); var ue2k=parseInt(uea8(uea72+ueg4).value); if (uea72 == ued4) { var ue8n=uee78(ues3); if (ue8n > 1 && (ue2k < 1 || ue2k > ue8n)) { alert('The number of rows must be between 1 and '+ue8n+'.'); } else if (ue8n > 1 && ue8n % ue2k != 0) { alert('The number of rows must be a divisor of '+ue8n+'.'); } else { ue3f.ue1o(ue2k,ue3k); uea82(uea73); } } } else { uea82(uea73); } } function ueb55(uea72) { return '
Columns:      Rows: 
 
'; } function ue3v(uea72) { uea8(uea72+ueg5).value=2; uea8(uea72+ueg4).value=1; uea8(uea72+ueg5).focus(); } function uea96() { if (!uea8(ued4)) { ueb16(ued4,ueb55(ued4),ueb7,true); } } function ueb56(uea90) { var uea73=uea8(uea90); var ue3f=uea73.ue3f; var ue9o=uea8(uea90+uej4).value; var uef61=uea8(uea90+uee14).value; var ue0p=uea8(uea90+uej5).value; var ue1p=uea8(uea90+uej6).value; if (uea90 == ued5) { ue3f.ue2p(ue9o,uef61,ue0p,ue1p); } else if (uea90 == ued6) { ue3f.ue3s(); ue3f.ue7o(ue3f.uey7(),ue9o,uef61,ue0p,ue1p); } uea82(uea73); } function ueb57(ueb58,ueb59) { var ueb60=0; for (var i=1,ueb61=ueb58.length,ueb62; i < ueb61; i++) { ueb62=ueb58[i].value; if (ueb59.indexOf(ueb62) != -1) { ueb60=i; break; } } return ueb60; } function ueb63(ueb64,ueb58) { var ueb65=uea8(ueb64); var ueb59=ueb65.value; for (var i=1,ueb61=ueb58.length,ueb62; i < ueb61; i++) { ueb62=ueb58[i].value; if (ueb59.indexOf(ueb62) != -1) { ueb59=ueb59.substring(ueb62.length,ueb59.length); break; } } ueb65.value=ueb58.value+ueb59; } function uea98(uea90,ue3f) { if (!uea8(uea90)) { ueb16(uea90,'
Hyperlink Information
Type:
URL:
Text:
Tooltip:
Target:
 
',ueb7,true); } } function ueh60(ueh62,ueg32,ueg33) { ueg21(ueh62,UltimateEditors[ueg33].ueu1+'/'+ueh61+'?'+ueg32,ueg33+'Explorer','width=500,height=450,resizable=1,status=0',true); } function ue3e(uea90,ue9o,uef61,ue0p,ue1p) { var ueb52=(uea90 == ued6); uea8(uea90+uej3).selectedIndex=(ueb52) ? ueb57(uea8(uea90+uej3),ue9o) : 4; uea8(uea90+uej4).value=(ueb52) ? ue9o : ('http:'+ueb84); uea8(uea90+uee14).value=uef61; uea8(uea90+uej5).value=(ueb52) ? ue0p : ''; uea8(uea90+uej6).value=(ueb52 && ue1p) ? ue1p : ''; uea8(uea90+uej4).focus(); } function uef62(uea90) { var uea73=uea8(uea90); var ue3f=uea73.ue3f; var uef64=uea8(uea90+uee15).value; ue3f.uef63(uef64); uea82(uea73); } function uef65(uea90) { if (!uea8(uea90)) { ueb16(uea90,'
Anchor Information
Name:
 
',ueb7,true); } } function uef66(uea90) { uea8(uea90+uee15).value=''; } function ueb66() { var uea73=uea8(ued7); uea73.ue3f.ue6b(uea8(ued7+uej7).value,uea8(ued7+uej9).checked,uea8(ued7+uek0).checked); } function ueb67() { var uea73=uea8(ued7); uea73.ue3f.ue6b(uea8(ued7+uej7).value,uea8(ued7+uej9).checked,uea8(ued7+uek0).checked,uea8(ued7+uej8).value); } function ueb68() { var uea73=uea8(ued7); uea73.ue3f.ue9b(uea8(ued7+uej7).value,uea8(ued7+uej9).checked,uea8(ued7+uek0).checked,uea8(ued7+uej8).value); } function uea99() { if (!uea8(ued7)) { ueb16(ued7,'
Find what:
Replace with:
 Match whole word
 Match case
',ueb7,true); } } function ue4v() { uea8(ued7+uej7).value=''; uea8(ued7+uej8).value=''; uea8(ued7+uej9).checked=false; uea8(ued7+uek0).checked=false; if (uea8(ued7).ue3f.ueu4) { uea8(ued7+uej8).disabled=true; uea8(ued7+uek2).disabled=true; uea8(ued7+uek3).disabled=true; } uea8(ued7+uej7).focus(); } function ueb73(ue6r) { var uea73=uea8(uee0); var uea80=uea73.uea80; var ue3f=uea73.ue3f; var ue5s=ue3f.ue5s; for (var i=0,ueb74=ue5s.length; i < ueb74; i++) { if (ue5s[i].ue6r == ue6r) { ue5s.splice(i,1); break; } } ue3f.ueb90(); ue3f.ueb96(); uea82(uea73); if (ue5s.length > 0) { ue8v(uea80.uex2,uea80.uew9,uea80,uea80.uec78().title); } } function ueb75(ue7r) { var ueb76=ue7r/1024; return Math.round(ueb76*100)/100+' KB'; } function ue8v(uex2,ue3f,uea80,ue0s) { var ue5s=ue3f.ue5s; if (!ue5s || ue5s.length == 0) { alert('There are no attachments to remove.'); } else { var ueb77=' style="border-top:1px solid #A0C6E5"'; var ueb78=' style="border-top:1px solid #A0C6E5;padding-left:10px;padding-right:10px"'; var ueb79=''; var ueb80=0; for (var i=0,ueb74=ue5s.length; i < ueb74; i++) { var ue6s=ue5s[i]; var ue6r=ue6s.ue6r; var ue7r=ue6s.ue7r; var uej22=ue6s.uej22; ueb80 += ue7r*1.0; ueb79 += ''+((uej22) ? uej22 : ue6r)+''+ueb75(ue7r)+''; } var ueb17=''+ueb79+'Total '+ueb75(ueb80)+' 
AttachmentsSizeDelete
'; var uea73=uea8(uee0); if (!uea73) { ueb16(uee0,ueb17,ueb7,true); } else { uea73.innerHTML=ueb17; } ue2e(uee0,uex2,ue3f,uea80,ue0s); } } function ueb81(uea90) { var uea73=uea8(uea90); var ue3f=uea73.ue3f; var ue7p=uea8(uea90+uek7).value; var ue8p=uea8(uea90+ueh2).value; var ue9p=uea8(uea90+ueh5).value; var ue0r=uea8(uea90+ueg6).value; var ue1r=uea8(uea90+ueg8).value; var ue2r=uea8(uea90+uek8).value; var ue3r=uea8(uea90+uek9).value; if (uea90 == uec8) { ue3f.ue3s(); var ue5p=ue3f.uey7(); ue3f.ue4p(ue3f.uey7(),ue5p.src,ue7p,ue8p,ue9p,ue0r,ue1r,ue2r,ue3r); } uea82(uea73); } function ueb11() { if (!uea8(uec8)) { ueb16(uec8,'
Alternate Text:
Layout'+ueg3+'
Alignment:Width:
Border Thickness:Height:
 
Spacing
Horizontal:
Vertical:
 
',ueb7,true); } } function ue4e(uea90,ue7p,ue8p,ue9p,ue0r,ue1r,ue2r,ue3r) { var ueb52=(uea90 == uec8); uea8(uea90+uek7).value=(ueb52) ? ue7p : ''; uea8(uea90+ueh2).value=(ueb52) ? ue8p.toLowerCase() : ''; uea8(uea90+ueh5).value=(ueb52) ? ue9p : ''; uea8(uea90+ueg6).value=(ueb52) ? ue0r : ''; uea8(uea90+ueg8).value=(ueb52) ? ue1r : ''; uea8(uea90+uek8).value=(ueb52) ? ue2r : ''; uea8(uea90+uek9).value=(ueb52) ? ue3r : ''; uea8(uea90+uek7).focus(); } function ueb82(uea90) { var uea73=uea8(uea90); var ue3f=uea73.ue3f; var ue9s=uea8(uea90+uel1).value; var ue0t=uea8(uea90+uel2).value; var ue1t=uea8(uea90+uel3).checked; if (uea90 == uee1) { ue3f.ue2t(ue9s,ue0t,ue1t); } else if (uea90 == uee2) { ue3f.ue3s(); ue3f.ue7s(ue3f.uey7(),ue9s,ue0t,ue1t); } uea82(uea73); } function ueb12(uea90) { if (!uea8(uea90)) { ueb16(uea90,'
Size:      Color:       No shade: 
 
',ueb7,true); } } function ue0f(uea90,ue9s,ue0t,ue1t) { var ueb52=(uea90 == uee2); uea8(uea90+uel1).value=(ueb52) ? ue9s : '2'; uea8(uea90+uel2).value=(ueb52) ? ue0t : ''; uea8(uea90+uel2).style.color=(ueb52) ? uea69(ue0t.substring(1,7)) : ''; uea8(uea90+uel2).style.backgroundColor=(ueb52) ? ue0t : ''; uea8(uea90+uel3).checked=(ueb52) ? ue1t : false; uea8(uea90+uel1).focus(); } function InitiateUltimateEditor(ue7m,uei76,uec77) { if (uei76 && typeof(Sys) != 'undefined' && typeof(Sys.WebForms) != 'undefined' && typeof(Sys.WebForms.PageRequestManager) != 'undefined') { ueh67(ue7m,uei76,uec77); if (!uei75) { Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(ueh68); uei75=true; } } else if (typeof(UltimateEditors) != 'undefined' && typeof(UltimateEditors[ue7m]) != 'undefined') { uec77(); } else { AddEventHandler(window,'load',uec77); } } function ueh67(ue7m,uei76,uec77) { if (typeof(ueh66) == 'undefined') { ueh66=new Object; } var uei77=new Object; uei77.uei76=uei76; uei77.uec77=uec77; ueh66[ue7m]=uei77; } function ueh68(sender,args) { for (var ue7m in ueh66) { var uei78=$get(ueh66[ue7m].uei76); if (Array.contains(args.get_panelsCreated(),uei78) || Array.contains(args.get_panelsUpdated(),uei78)) { if ($get(ue7m)) ueh66[ue7m].uec77(); } } } if (typeof(Sys) != 'undefined' && typeof(Sys.Application) != 'undefined') { Sys.Application.notifyScriptLoaded(); }