////////////////////////////////////////////////////////////
// This software is solely the property of Karamasoft LLC. /
//   Copyright 2007 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 uea3=(uea1 != -1 && navigator.userAgent.indexOf('Opera') == -1) ? 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 ue5y='Open'; 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 ued31='\x43'+'\x6C\x65'+'\x61\x6E\x57'+'\x6F\x72'+'\x64\x46'+'\x6F\x72'+'\x6D\x61'+'\x74'; var ueb5='Bold,Italic,JustifyCenter,JustifyFull,JustifyLeft,JustifyRight,StrikeThrough,Subscript,Superscript,Underline'; var ueb6=uea16+','+uea17+','+uea18; var uec54=ue8x+','+ue9x+','+uec12; var uec74=ue7y+','+ue8y+',Copy,SelectAll,'+ue3x+','+uea19+','+ue9y; var ueb7=1000; var ueb8=1002; var ueb9=1003; 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 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 ued8='u4b50ad06_9abe_4b28_8c91_66b7290a2764'; 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 uee3='#ECE9D8'; var uee4=0; var uee5=1; var uee6=2; var uee7=' Words: '; var uee8=' Characters: '; var uee9=' ('; var uef0=' left)'; var uef2=ue5y+','+ue6y+','+ue3x; var uef3=uea19; var uef4='cursor:pointer'; var uef5='Paragraph'; var uef6='Font'; var uef7='Emoticons'; var uef8='Images'; var uef9='Themes'; var ueg0='Upload'; var ueg1='UltimateEditor.upload.aspx'; var ued23='UltimateEditor.css'; var ueg2=' style="width:80px"'; var ueg3='<td style="width:10px">&nbsp;</td>'; 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 uel4='Link '; var uel5='Image '; var uel6='Table '; var uel7='Cell '; var uel8='Rule '; var ueb95='Attachments:'; var ue0a=' '; var ue1a=ue0a+ue0a+ue0a+ue0a; var ueb83='/'; var ueb84=ueb83+ueb83; var ue2m='c'; var ue3m='i'; var ue4m='t'; var ue5m='s'; var ue6m='h'; var ueb87='ah'; var ueb92='ad'; var uel9; var uem0; var uem1; var uem2; var uem3; var uem4; var uem5=false; var EDIT_MODE_DESIGN=0; var EDIT_MODE_HTML=1; var uec20="image"; var uec21="flash"; var uec22="wmp"; 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 uec98=new RegExp('<\x66\x6F'+'\x6E\x74(\\s[^>]+)?>','i'); var uec99=new RegExp('</\x66'+'\x6F\x6E\x74>','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='_D'; var ued33='_I'; var ued34='EditorDropDownContextMenu'; var ued35='EditorDropDownContextMenuFormatItem'; var ued36='EditorDropDownContextMenuFormatItemOver'; var ued37='EditorDropDownContextMenuFormatHItem'; var ued38='EditorDropDownContextMenuFormatHItemOver'; var ued39='EditorDropDownContextMenuFontItem'; var ued40='EditorDropDownContextMenuFontItemOver'; 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=uem9.offsetParent; } return uem8; } function uen0(uem7) { var uen1=uem7.offsetLeft; var uem9=uem7.offsetParent; while (uem9 != null) { uen1 += uem9.offsetLeft; 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) { if (document.documentElement && document.documentElement.scrollLeft) { document.documentElement.scrollLeft=uen7; } else if (document.body) { document.body.scrollLeft=uen7; } } } function uen8(uen9) { if (uea3) { if (document.documentElement && document.documentElement.scrollTop) { document.documentElement.scrollTop=uen9; } else if (document.body) { document.body.scrollTop=uen9; } } } function AddEventHandler(obj,ue1b,ue3u) { if (obj.attachEvent) { obj.attachEvent('on'+ue1b,ue3u); } else if (obj.addEventListener) { obj.addEventListener(ue1b,ue3u,true); } } function AddEventHandlers(obj,ue2u,ue3u) { for (var i=0; i < ue2u.length; i++) { AddEventHandler(obj,ue2u[i],ue3u); } } function RemoveEventHandler(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,cssName) { var docStyleSheets=uec86.styleSheets; for (var i=docStyleSheets.length-1; i >= 0; i--) { if (docStyleSheets[i].href.indexOf(cssName) != -1) { return true; } } return false; } function ued26(ued27) { return (ued27.currentStyle) ? ued27.currentStyle : (window.getComputedStyle) ? document.defaultView.getComputedStyle(ued27,null) : null; } function ued28(ued27,ued29) { var ued27CurrentStyle=ued26(ued27); return (ued27CurrentStyle) ? ued27CurrentStyle[ued29] : null; } function ued60(uea23,ue0u) { switch (uea23) { case 'Normal': return ued63(ue0u,'p'); case 'Formatted': return ued63(ue0u,'pre'); case 'Address': return ued63(ue0u,'address'); case 'Heading 1': return ued63(ue0u,'h1'); case 'Heading 2': return ued63(ue0u,'h2'); case 'Heading 3': return ued63(ue0u,'h3'); case 'Heading 4': return ued63(ue0u,'h4'); case 'Heading 5': return ued63(ue0u,'h5'); case 'Heading 6': return ued63(ue0u,'h6'); case 'Numbered List': return ued63(ue0u,'ol','li'); case 'Bulleted List': return ued63(ue0u,'ul','li'); case 'Directory List': return ued63(ue0u,'dir'); case 'Menu List': return ued63(ue0u,'menu','li'); case 'Definition Term': return ued63(ue0u,'dl','dt'); case 'Definition': return ued63(ue0u,'dl','dd'); default: return ue0u; } } function ued63(ue0u,ued64,ued65) { return '<'+ued64+'>'+((ued65) ? '<'+ued65+'>' : '')+ue0u+((ued65) ? '</'+ued65+'>' : '')+'</'+ued64+'>'; } 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 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 += uep4[j].colSpan; } 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 += uep4[j].colSpan; } 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 < uep4[j].rowSpan && i+k <= uep0; k++) { for (var l=0; l < uep4[j].colSpan; 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=''; if (uea6) { uer6.childNodes[i].appendChild(document.createElement("br")); } uer6.childNodes[i].rowSpan=1; } } return uer6; } function uer8(uer9,ues0) { var ues1=uer9.cloneNode(true); if (ues0) { ues1.innerHTML=''; if (uea6) { ues1.appendChild(document.createElement("br")); } } return ues1; } function ues2(ues3,ues4) { return ues3.innerHTML+((ues4.innerHTML) ? (((ues3.innerHTML) ? '<br>' : '')+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 UltimateEditor(ue7m,ued68,uet3,uet4,uet5,uet6,uet7,uet8,uet9,ueu0,ueu1,ueu2,ueu3,ueu4,ueu6,ueu7,ueu8,ueu9,uev1,ueb86,ueb85,uec51,ued41,uec55,uec68,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.uet2=ue7m+ue4m; this.ueu5=ue7m+ue5m; this.ue2a=ue7m+ue6m; var ue3a=uea8(this.ue2a); this.uev0=ue3a.value.replace(/&lt;/g,'<').replace(/&gt;/g,'>'); this.ueb88=ue7m+ueb87; this.ueb93=ue7m+ueb92; this.uet3=uet3; this.uet4=uet4; this.uet5=uet5; this.uet6=uet6; 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+'/'+uef9+'/'+ueu2+'/'+uef8; this.uew1=this.uew0+'/'+uef7; this.uew2=ueu1+'/'+ueg1; this.uew3=ueu1+'/'+ueg0; this.ueu3=ueu3; this.ueu4=ueu4; this.ueu6=ueu6; this.ueu7=ueu7; this.ueu8=ueu8; this.ueu9=ueu9; 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.uew5=EDIT_MODE_DESIGN; this.uew6=ueb0; this.uec55=uec55; this.uec13=uec55; this.uec68=uec68; this.ued24(); var uev7=this.uec79(); var uev8=this.uec80(); var ued81=(window.showModalDialog && parent.window.dialogArguments); if (uec76 && ued81) { uev8.body.contentEditable=(ueu4) ? 'false' : 'true'; } else { if (uea6 && !ueu4) { uev8.designMode='on'; uev8.designMode='off'; } uev8.designMode=(ueu4) ? 'off' : 'on'; } if (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.enabled=false; uey9.uex3(); } if (ueb85 && uey9.uex2 == ue2z) { this.ueb98=uey9; } } } if (uev3) { for (var i=0,uex4=uev3.length; i < uex4; i++) { var uez0Obj=uev3[i]; uez0Obj.uew9=this; uez0Obj.uex5=this.uex6(uez0Obj.uex2); if (uea6 && uez0Obj.uex2 && uef3.indexOf(uez0Obj.uex2) != -1) { uez0Obj.enabled=false; uez0Obj.uex7(); } } } if (uev4) { for (var i=0,uex8=uev4.length; i < uex8; i++) { uev4[i].uew9=this; } } this.uex9(); if (this.uec89) { this.uec87(); } else { AddEventHandlers(uev8,new Array('mouseup','keyup'),function() { UltimateEditors[ue7m].uey1(); UltimateEditors[ue7m].uey2(); }); AddEventHandler(uev7,'blur',function() { UltimateEditors[ue7m].ue7d(); }); AddEventHandler(uev8,'keydown',function(ueo1) { UltimateEditors[ue7m].uez6(ueo1); }); if (ueu6 && ueu8 > 0) { AddEventHandler(uev8,((uea6) ? 'keydown' : 'keypress'),function(ueo1) { UltimateEditors[ue7m].uey3(ueo1); }); } if (ueu7 && ueu9 > 0) { AddEventHandler(uev8,((uea6) ? 'keydown' : 'keypress'),function(ueo1) { UltimateEditors[ue7m].uey4(ueo1); }); } if (ue3a.form) { AddEventHandler(ue3a.form,'submit',function() { UltimateEditors[ue7m].ue7d(); }); } AddEventHandler(window,'beforeunload',function() { UltimateEditors[ue7m].ue7d(); }); if (uea4 && !ued81) { AddEventHandler(uev7,'load',function() { UltimateEditors[ue7m].uec73(); }); } else { this.uec73(); } } } UltimateEditor.prototype.ued24=function() { if (this.uec89) { 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.uex9=function() { if (!UltimateEditors) { UltimateEditors=new Object; } UltimateEditors[this.ue7m]=this; }; 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.uey5=function() { var ues3=this.uey7(); var uey6=ues3.tagName.toLowerCase(); if (uey6 == 'a' || uey6 == 'img' || uey6 == 'hr' || uey6 == 'table' || uey6 == 'td') { return true; } else { ues3=this.ued80(ues3,'td'); return (ues3.tagName && ues3.tagName.toLowerCase() == 'td'); } }; 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.enabled) { uey9.enabled=true; uey9.uez3(); } } else { if (uey9.enabled) { uey9.enabled=false; uey9.uex3(); } } } } } if (uev3) { for (var i=0,uex4=uev3.length; i < uex4; i++) { var uez0Obj=uev3[i]; if (uez0Obj.uex5) { var uex2=uez0Obj.uex2; if (uex2) { uea8(uez0Obj.ue0w).value=uev8.queryCommandValue(uex2); } } } } }; UltimateEditor.prototype.uey2=function() { if (this.ueu6 || this.ueu7) { var uew4=uea8(this.ueu5); uew4.innerHTML=""; if (this.uew5 == EDIT_MODE_DESIGN) { if (this.ueu6) { var uez4=this.GetWordCount(); uew4.innerHTML=uee7+uez4; if (this.ueu8 > 0) { uew4.innerHTML += uee9+(this.ueu8-uez4)+uef0; } } if (this.ueu7) { var uez5=this.GetCharacterCount(); uew4.innerHTML += uee8+uez5; if (this.ueu9 > 0) { uew4.innerHTML += uee9+(this.ueu9-uez5)+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; } 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 uez0Obj=uev3[i]; if (uez0Obj.uec10) { uea8(uez0Obj.ue0w).value=uez0Obj.uec10; uez0Obj.uea21(true); } } } }; UltimateEditor.prototype.uec69=function() { var uev8=this.uec80(); if (uea4 && uev8.styleSheets.length == 0) { uev8.createStyleSheet(); } if (uea4 && this.ueu3 != null) { for (var i=0,uec71=uev8.styleSheets[0].rules.length; i < uec71; i++) { if (uev8.styleSheets[0].rules[i].selectorText.toLowerCase() == 'p') { uev8.styleSheets[0].removeRule(i); break; } } uev8.styleSheets[0].addRule("P","MARGIN-TOP: 0px; MARGIN-BOTTOM: "+this.ueu3+"px;"); } if (this.uec68) { var uec70=this.uec68.split(','); for (var i=0,uec71=uec70.length; i < uec71; i++) { var uec72=uec70[i]; if (uec72) { uec72=uec72.replace(/^\s+/g,'').replace(/\s+$/g,''); if (!uec85(uev8,uec72)) { if (uea4) { uev8.createStyleSheet(uec72); } else { uev8.getElementsByTagName("head")[0].innerHTML += '<link rel="stylesheet" type="text/css" href="'+uec72+'">'; } } } } } }; 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 { this.uec73(); } }; UltimateEditor.prototype.uec73=function() { this.uec69(); if (this.uev0) { this.SetEditorHTML(this.uev0); } if (this.ueu4) { this.ue8a(); } this.uey2(); if (this.uev1) { this.SetFocus(); } this.uec11(); if (this.uec89 && this.uec88()) { UltimateSpellAsYouTypes[this.uet1].Restart(); } var ue7m=this.ue7m; if (uea3) { AddEventHandler(this.uec80().body,'paste',function(ueo1) { UltimateEditors[ue7m].ued42(); }); } var ued67=this.ue7m+'_OnLoad'; eval('if (window.'+ued67+') window.'+ued67+'()'); }; UltimateEditor.prototype.uec88=function() { return (!this.ueu4 && typeof(UltimateSpellAsYouTypes) != 'undefined' && typeof(UltimateSpellAsYouTypes[this.uet1]) != 'undefined' && UltimateSpellAsYouTypes[this.uet1].IsEnabled()); }; UltimateEditor.prototype.uez6=function(ueo1) { var ue4a=this.GetEventKeyCode(ueo1); if (ue4a == 9 && !ueo1.shiftKey) { this.ue4g(this.ue3g()).text=ue1a; if (uea3) { this.CancelEvent(ueo1); } } }; UltimateEditor.prototype.uey3=function(ueo1) { if (this.uew5 == EDIT_MODE_DESIGN && this.GetWordCount() >= this.ueu8) { if (String.fromCharCode(this.GetEventKeyCode(ueo1)).replace(/\s/g,"") == "") { this.CancelEvent(ueo1); } } }; UltimateEditor.prototype.uey4=function(ueo1) { if (this.uew5 == EDIT_MODE_DESIGN && this.GetCharacterCount() >= this.ueu9) { this.CancelEvent(ueo1); } }; UltimateEditor.prototype.ued42=function() { if (!this.uec88()) { window.setTimeout('UltimateEditors["'+this.ue7m+'"].ued43();',100); } }; UltimateEditor.prototype.ued43=function() { if ((/<(\s*\S+\s[^>]*)\s*class=["]?Mso\w+["]?([^>]*)>/gi).test(this.GetEditorHTML(true))) { if (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(); } } }; UltimateEditor.prototype.ue7d=function() { uea8(this.ue2a).value=this.GetEditorHTML().replace(/</g,'&lt;').replace(/>/g,'&gt;'); }; UltimateEditor.prototype.uex1=function(uex2) { return (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) { if (this.uew5 != uew5) { 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) { if (uea4) { ue6a.innerHTML=ue6a.innerText; } else if (uea6) { var uey8=ue6a.ownerDocument.createRange(); uey8.selectNodeContents(ue6a); ue6a.innerHTML=uey8.toString(); } this.SetFocus(); } this.uew5=uew5; this.ue8a(); this.uey2(); if (this.uec88()) { if (uew5 == EDIT_MODE_HTML) { UltimateSpellAsYouTypes[this.uet1].Pause(); } else if (uew5 == EDIT_MODE_DESIGN) { UltimateSpellAsYouTypes[this.uet1].Restart(); } } } }; UltimateEditor.prototype.ue8a=function() { var ue9a=(this.uew5 != EDIT_MODE_DESIGN); 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.enabled) { uey9.uez3(); } } } } if (uev3) { for (var i=0,uex4=uev3.length; i < uex4; i++) { var uez0Obj=uev3[i]; if (ue9a || (this.ueu4 && !this.uec75(uez0Obj.uex2))) { uez0Obj.uex7(); } else { if (uez0Obj.enabled) { uez0Obj.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 (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('<html><head><title>Print Preview</title><style>P {MARGIN-TOP: 0px; MARGIN-BOTTOM: '+this.ueu3+'px}</style></head><body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0"><table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%"><tr><td align="center" style="background-color:'+uee3+';border:1px solid #3F3F3F;height:30px;padding-left:10px;margin-top:-2px"><input type="button" id="ppPrint" value="Print" style="width:80px;font-family:Tahoma;font-size:11px" onclick="window.opener.window.UltimateEditors[\''+this.ue7m+'\'].ue4c(\'Print\');window.close();">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select id="ppZoom" style="font-family:Tahoma;font-size:11px" onchange="document.getElementById(\'PrintPreviewContent\').style.zoom=this.value;"><option value="" selected>Zoom</option><option value="10%">10%</option><option value="25%">25%</option><option value="50%">50%</option><option value="75%">75%</option><option value="100%">100%</option><option value="150%">150%</option><option value="200%">200%</option><option value="500%">500%</option></select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="ppClose" value="Close" style="width:80px;font-family:Tahoma;font-size:11px" onclick="window.close();"></td></tr><tr valign="top"><td id="PrintPreviewContent" style="border:10px solid #ACA899;padding:10px">'+this.uec81().innerHTML+'</td></tr></table></body></html>'); 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.docBodyLeftMargin=document.body.leftMargin; this.docBodyTopMargin=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';  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.docBodyLeftMargin; document.body.topMargin=this.docBodyTopMargin; } 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.uey1(); this.uey2(); }; UltimateEditor.prototype.ue9d=function() { this.ue3t("SaveAs"); }; UltimateEditor.prototype.ue0e=function() { this.InsertHTML('<table border="0" cellpadding="0" cellspacing="0" width="100%" class="'+ued9+'" style="page-break-after:always"><tr><td unselectable="on"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td unselectable="on"></td></tr><tr><td bgcolor="#C0C0C0"><img width="1" height="1"></td></tr></table></td><td align="center" style="width:80px;font-family:Tahoma;font-size:11px;color:#C0C0C0" nowrap unselectable="on">Page Break</td><td unselectable="on"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td unselectable="on"></td></tr><tr><td bgcolor="#C0C0C0"><img width="1" height="1"></td></tr></table></td></tr></table>'+((uea6) ? '<br>' : '')); }; UltimateEditor.prototype.ue1e=function(uey9) { var ues3=this.uey7(); var uey6=ues3.tagName.toLowerCase(); if (uey6 == 'a') { ue2e(ued6,uey9.uex2,this,uey9,uel4+uey9.uec78().title); ue3e(ued6,ues3.href,ues3.title,ues3.target); } else if (uey6 == 'img') { ue2e(uec8,uey9.uex2,this,uey9,uel5+uey9.uec78().title); ue4e(uec8,ues3.alt,ues3.align,ues3.border,ues3.width,ues3.height,ues3.hspace,ues3.vspace); } else if (uey6 == 'hr') { ue2e(uee2,uey9.uex2,this,uey9,uel8+uey9.uec78().title); ue0f(uee2,ues3.size,ues3.color,ues3.noShade); } else if (uey6 == 'table') { ue2e(ued1,uey9.uex2,this,uey9,uel6+uey9.uec78().title); var ue5e=ue7e(ues3.style.width); var ue6e=ue7e(ues3.style.height); ue8e(ued1,ue5e.len,ue5e.lenType,ue6e.len,ue6e.lenType,ues3.style.backgroundColor,ues3.align,ues3.style.borderStyle,ues3.style.borderColor,ues3.border,ues3.cellPadding,ues3.cellSpacing,ues3.style.borderCollapse,ues3.rules); } else { if (uey6 != 'td') { ues3=this.ued80(ues3,'td'); } if ((uey6 == 'td') || (ues3.tagName && ues3.tagName.toLowerCase() == 'td')) { ue2e(ued2,uey9.uex2,this,uey9,uel7+uey9.uec78().title); var ue5e=ue7e(ues3.style.width); var ue6e=ue7e(ues3.style.height); ue9e(ued2,ue5e.len,ue5e.lenType,ue6e.len,ue6e.lenType,ues3.bgColor,ues3.align,ues3.vAlign,ues3.style.borderStyle,ues3.style.borderColor,ues3.noWrap); } } }; UltimateEditor.prototype.uec14=function(uey9) { uey9.uez1((!this.uec13) ? this.uet5 : this.uet4); uey9.uez2=(!this.uec13); this.uec13=(!this.uec13); }; 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('<form style="width:200px;height:200px"></form>'); }; 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('<select'+((uex2 == uea14) ? ' multiple="true"' : '')+'></select>'); } }; UltimateEditor.prototype.ue2g=function(uex2) { if (uea3) { this.ue3t(uex2); } else if (uea6) { this.ue9f(this.ue2f('textarea')); } }; UltimateEditor.prototype.ued44=function() { var ue0u=this.GetEditorHTML(true); ue0u=ue0u.replace(/<!--\[[\s\S]*?\]-->/gi,''); ue0u=ue0u.replace(/<!\[[\s\S]*?\]>/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><\/font>/gi,''); ue0u=ue0u.replace(/<em><\/em>/gi,''); ue0u=ue0u.replace(/<strong><\/strong>/gi,''); ue0u=ue0u.replace(/<samp><\/samp>/gi,''); ue0u=ue0u.replace(/<acronym><\/acronym>/gi,''); ue0u=ue0u.replace(/<cite><\/cite>/gi,''); ue0u=ue0u.replace(/<code><\/code>/gi,''); ue0u=ue0u.replace(/<dfn><\/dfn>/gi,''); ue0u=ue0u.replace(/<kbd><\/kbd>/gi,''); ue0u=ue0u.replace(/<tt><\/tt>/gi,''); ue0u=ue0u.replace(/<b><\/b>/gi,''); ue0u=ue0u.replace(/<i><\/i>/gi,''); ue0u=ue0u.replace(/<u><\/u>/gi,''); ue0u=ue0u.replace(/<s><\/s>/gi,''); ue0u=ue0u.replace(/<sub><\/sub>/gi,''); ue0u=ue0u.replace(/<sup><\/sup>/gi,''); ue0u=ue0u.replace(/<ins><\/ins>/gi,''); ue0u=ue0u.replace(/<del><\/del>/gi,''); ue0u=ue0u.replace(/<[v]ar><\/[v]ar>/gi,''); ue0u=ue0u.replace(/<span><\/span>/gi,''); ue0u=ue0u.replace(/<span style="">/gi,'<span>'); 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.ue3g=function() { return (uea4) ? this.uec80().selection : this.uec79().getSelection(); }; UltimateEditor.prototype.ue4g=function(sel) { return (uea4) ? sel.createRange() : ((typeof sel != "undefined") ? sel.getRangeAt(0) : this.uec80().createRange()); }; 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.nodeType == 3) { ue5g=ue5g.parentNode; } return ue5g; } }; UltimateEditor.prototype.ue9f=function(ue8g) { var sel=this.ue3g(); var uey8=this.ue4g(sel); 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); } uey8.setEnd(ue9g,ue1h); uey8.setStart(ue9g,ue0h); sel.addRange(uey8); }; UltimateEditor.prototype.ue6h=function(ueo8,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i) { 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; } }; UltimateEditor.prototype.ue0j=function(uer9,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k) { 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; } }; UltimateEditor.prototype.ue1k=function(ue2k,ue3k,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k) { 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); if (uea6) { ue6k.appendChild(ue4k.createElement("br")); } var ueo8=ue4k.createElement("table"); this.ue6h(ueo8,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i); 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.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 += 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 -= 1; } else {  if (ueo8.rows[ue2l].cells[ue3l].rowSpan > 1) { ueo8.rows[ue2l].cells[ue3l].rowSpan -= 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(leftCol) { 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=ue0n.rowSpan; if (ue0n.colSpan == ues3.colSpan) { var ue9l=uer8(ue0n,true); ue9l.colSpan=1; uep1[ue2l].insertBefore(ue9l,(leftCol) ? ue0n : ue0n.nextSibling); } else { ue0n.colSpan += 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=ue0n.rowSpan; if (ue0n.colSpan == 1) { uep1[ue2l].removeChild(ue0n); ue3n=true; } else { ue0n.colSpan -= 1; } i += ue1n; if (i == uep3 && !ue3n) { i=0; ue3n=false; } }  ues5(ueo8); } } } }; 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=ues3.colSpan; var ue8n=ues3.rowSpan; 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) && ue9n.rowSpan == ue8n) { ues3.innerHTML=ues2(ues3,ue9n); ues3.colSpan += ue9n.colSpan; 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)) && ue0o.colSpan == ue7n) { ues3.innerHTML=ues2(ues3,ue0o); ues3.rowSpan += ue0o.rowSpan; 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=ues3.colSpan; var ue8n=ues3.rowSpan; 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 *= 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 *= 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 += (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,ue0p,ue1p) { ue8o.href=ue9o; if (ue8o.title != ue0p) { ue8o.title=ue0p; } if (ue8o.target != ue1p) { ue8o.target=ue1p; } }; UltimateEditor.prototype.ue2p=function(ue9o,ue0p,ue1p) { if (ue9o) { var ue4k=this.uec80(); var ue8o=ue4k.createElement("a"); this.ue7o(ue8o,ue9o,ue0p,ue1p); if (uea4) { var ue3p=this.ue8t.htmlText; ue8o.innerHTML=(ue3p) ? ue3p : ue9o; } else { var uey8=this.ue4g(this.ue3g()); if (uey8.startOffset != uey8.endOffset) { ue8o.appendChild(uey8.extractContents()); } else { ue8o.innerHTML=ue9o; } } 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,ue4r,ue7p,ue8p,ue9p,ue0r,ue1r,ue2r,ue3r) { if (ue6p) { var ue4k=this.uec80(); var ue5p=ue4k.createElement("img"); this.ue4p(ue5p,(uea4) ? ue6p : ue4r+ue6p,ue7p,ue8p,ue9p,ue0r,ue1r,ue2r,ue3r); if (uea4) { this.InsertText(ue5p.outerHTML); } else { this.SetFocus(); this.ue9f(ue5p); } } }; UltimateEditor.prototype.ue2s=function(ue5r,ue6r,ue7r) { if (ue5r && ue6r) { if (!this.ue5s) { this.ue5s=new Array(); } var ue6s=new Object; ue6s.ue5r=ue5r; ue6s.ue6r=ue6r; ue6s.ue7r=ue7r; this.ue5s[this.ue5s.length]=ue6s; this.ueb90(); this.ueb96(); this.ue3s(); } }; UltimateEditor.prototype.uec24=function(ue9r,uec32,uec33,uec25,uec26,uec27,uec28,uec29,uec30,uec31) { var uec42='CLSID:'; var uec43=''; var uec44=''; var uec45=''; var uec46=uec33+uec32; var uec47=''; var uec48=''; var uec49=''; if (ue9r == uec21) { uec42 += uec34; uec43=uec36; uec44=uec38; uec45=uec40; uec47='movie'; uec48='<param name="quality" value="'+uec29+'"><param name="bgcolor" value="'+uec30+'"><param name="loop" value="'+uec27+'">'; uec49=' quality="'+uec29+'" bgcolor="'+uec30+'" loop="'+uec27+'"'; } else if (ue9r == uec22) { uec42 += uec35; uec43=uec37; uec44=uec39; uec45=uec41; uec47='Filename'; uec48='<param name="AutoRewind" value="'+uec27+'">'; uec49=' autorewind="'+uec27+'"'; } this.InsertHTML('<object classid="'+uec42+'" codebase="'+uec43+'" width="'+uec25+'" height="'+uec26+'" align="'+uec28+'" id="'+uec31+'"><param name="'+uec47+'" value="'+uec46+'">'+uec48+'<embed src="'+uec46+'" width="'+uec25+'" height="'+uec26+'" name="'+uec31+'" align="'+uec28+'"'+uec49+' type="'+uec45+'" pluginspage="'+uec44+'"></embed></object>'); }; UltimateEditor.prototype.ueb90=function() { var ueb91=''; var ue5s=this.ue5s; for (var i=0,ueb74=ue5s.length; i < ueb74; i++) { if (ueb91) { ueb91 += ','; } ueb91 += ue5s[i].ue5r+'\\'+ue5s[i].ue6r; } uea8(this.ueb88).value=ueb91; }; 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 += ',&nbsp;'; } ueb97 += ue5s[i].ue6r; } if (ueb97) { ueb97='<a href="JavaScript:ue8v(curEditorObj.ueb98.uex2,curEditorObj,curEditorObj.ueb98,curEditorObj.ueb98.uec78().title);">'+ueb95+'</a>'+' '+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) { if (!uea4 && uex2 == ue9x) { uex2="HiliteColor"; } this.SetFocus(); this.uec80().execCommand(uex2,ue4t,ue5t); } }; UltimateEditor.prototype.ue6t=function(ueo1) { return (ueo1.toLowerCase() == 'blur') ? this.uec79() : this.uec80(); }; UltimateEditor.prototype.ue7t=function() { if (!this.ue8t) { this.StoreCurrentRange(); } this.ue8t.select(); }; UltimateEditor.prototype.ue3s=function() { if (uea4) { this.ue7t(); } this.SetFocus(); }; UltimateEditor.prototype.ue9t=function(ue0u) { var uey8=this.ue4g(this.ue3g()); if (uey8.pasteHTML) { uey8.pasteHTML(ue0u); } }; 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(); var uey8=this.ue4g(sel); this.ue8t=(uey8.duplicate) ? uey8.duplicate() : 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) { this.ue3t('inserthtml',false,ue0u); } }; UltimateEditor.prototype.GetEditorText=function() { var ue2b; var ue6a=this.uec81(); if (uea4) { ue2b=ue6a.innerText; } else { var uey8=ue6a.ownerDocument.createRange(); uey8.selectNodeContents(ue6a); ue2b=uey8.toString(); if (ue2b == "\r\n") { ue2b=""; } } return ue2b; }; UltimateEditor.prototype.GetEditorHTML=function(ued46) { var ue0u=(this.uec13) ? uxa0(this.uec81()) : this.uec81().innerHTML; ue0u=this.uec90(ue0u); ue0u=this.ued16(ue0u); if (!ued46 && this.uec88()) { ue0u=UltimateSpellAsYouTypes[this.uet1].CleanSpellAsYouTypeFormat(ue0u); } return ue0u; }; 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,'</'+ued21+'>'); } 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(/<P>/gi,'<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: '+this.ueu3+'px">'); }; UltimateEditor.prototype.SetEditorHTML=function(ue0u) { this.uec81().innerHTML=ue0u; }; UltimateEditor.prototype.GetWordCount=function() { var ue2b=this.GetEditorText(); if (ue2b == "") { return 0; } else { return this.GetEditorText().split(/\s+/g).length+((!uea4) ? -1 : 0); } }; UltimateEditor.prototype.GetCharacterCount=function() { return this.GetEditorText().length; }; UltimateEditor.prototype.SetFocus=function() { this.uec79().focus(); }; UltimateEditor.prototype.AddEventHandler=function(ue1b,ue3u) { AddEventHandler(this.ue6t(ue1b),ue1b,ue3u); }; UltimateEditor.prototype.RemoveEventHandler=function(ue1b,ue3u) { RemoveEventHandler(this.ue6t(ue1b),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,enabled,uez8,ue4u,ueb99,uec10,uec56,uec57,uec58) { this.uez9=uez9; this.uex2=uex2; this.enabled=enabled; 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 (!enabled) { this.uex3(); } var ue5u=uea8(this.uez9); AddEventHandler(ue5u,'click',function() { UltimateEditorToolbarButtons[uez9].ue8u(); }); AddEventHandler(ue5u,'mouseover',function() { UltimateEditorToolbarButtons[uez9].ue9u(); }); AddEventHandler(ue5u,'mouseout',function() { UltimateEditorToolbarButtons[uez9].ue0v(); }); } 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.enabled) { curEditorObj=this.uew9; if (uea4) { this.uew9.StoreCurrentRange(); } 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) { var ues3=uew9.ued80(uew9.uey7(),'td'); if (ues3.tagName && ues3.tagName.toLowerCase() == 'td') { if (uex2 == ue0x) { ue2e(ued3,uex2,uew9,this,uec23); ue2v(); } else if (uex2 == ue1x) { ue2e(ued4,uex2,uew9,this,uec23); ue3v(ued4); } } } else if (uex2 == ue2x) { ue2e(ued5,uex2,uew9,this,uec23); ue3e(ued5); } else if (uex2 == ue3x) { ue2e(ued7,uex2,uew9,this,uec23); ue4v(); } else if (uex2 == ue4x || uex2 == ue5x || uex2 == uec16 || uex2 == uec17) { ue5v(uex2,uew9,((uex2 == ue4x) ? uec7 : (uex2 == ue5x) ? uec9 : (uex2 == uec16) ? uec18 : (uex2 == uec17) ? uec19 : ""),"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) { 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 || uex2 == ue5y) { if (uew9.uec81().innerHTML != "") { if (uea3 && confirm("Do you want to save the changes you made to the document?")) { uew9.ue9d(); } if (uex2 == ue4y) { if (uea3 || confirm("You will lose the changes you made to the document. Are you sure you want to start a new one?")) { uew9.ue8d(); } } } if (uex2 == ue5y) { ue2e(ued8,uex2,uew9,this,uec23); ue7v(); } } else if (uex2 == ue6y) { uew9.ue9d(); } 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 == ue3z) { uew9.ue1e(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 == ued31) { uew9.ued44(); } else if (uex2) { uew9.ue3t(uex2); } } }; UltimateEditorToolbarButton.prototype.ue9u=function() { if (this.enabled) { if (this.uez2) { this.uez1(this.uew9.uet6); } else { this.uez1(this.uew9.uet3); } } }; UltimateEditorToolbarButton.prototype.ue0v=function() { if (this.enabled) { 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) { 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) { ue1f.style.MozOpacity=0.25; if (this.ue4u) { uea8(this.ue4u).style.MozOpacity=0.25; } } }; function UltimateEditorToolbarDropDownList(ue0w,uex2,ue1w,enabled,uec10,uec59,uec60,uec58) { this.ue0w=ue0w; this.uex2=uex2; this.ue1w=ue1w; this.enabled=enabled; this.uec10=uec10; this.uec59=uec59; this.uec60=uec60; this.uec58=uec58; this.uec83(); if (!enabled) { this.uex7(); } this.uea20(); var ue2w=uea8(this.ue0w); if (uex2 == uea18 || uex2 == uea16) { AddEventHandler(ue2w,'mouseup',function(ueo1) { ueo0(ueo1); }); AddEventHandler(ue2w,(ued66) ? 'focus' : (uea3) ? 'beforeactivate' : (uea6) ? 'mousedown' : 'change',function(ueo1) { UltimateEditorToolbarDropDownLists[ue0w].ued47(ueo1); }); } else { AddEventHandler(ue2w,'change',function() { UltimateEditorToolbarDropDownLists[ue0w].uea21(); }); } } UltimateEditorToolbarDropDownList.prototype.uec83=function() { if (!UltimateEditorToolbarDropDownLists) { UltimateEditorToolbarDropDownLists=new Object; } UltimateEditorToolbarDropDownLists[this.ue0w]=this; }; UltimateEditorToolbarDropDownList.prototype.ued47=function(ueo1) { if (uea4) { this.uew9.StoreCurrentRange(); } if (ued66 || uea6) { uea8(this.ue0w).blur(); } else if (uea3) { this.uew9.CancelEvent(ueo1); } if (typeof(this.ued48) != 'undefined' && uea8(this.ued48).style.display == 'block') { HidePopup(); } else { this.ued49(ueo1); } }; UltimateEditorToolbarDropDownList.prototype.ued49=function(ueo1) { var ue2w=uea8(this.ue0w); var uem3=uen0(ue2w); var uem4=uem6(ue2w)+ue2w.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,ued34,ueb18,uem3,uem4,ued51); this.ued50.PopulatePopup(); } else { this.ued50.uem3=uem3; this.ued50.uem4=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(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; } }; 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; } }; UltimateEditorToolbarDropDownList.prototype.ued56=function(ued55) { var ued61; if (this.uex2 == uea18) { ued61=ued60(ued55,ued55); } else if (this.uex2 == uea16) { var ued62=(uea3 && (ued55 == 'Marlett' || ued55 == 'MS Outlook' || ued55 == 'Symbol' || ued55 == 'Webdings' || ued55.indexOf('Wingdings') != -1)) ? (ued55+' ') : ''; ued61=ued62+'<span style="font-family:'+ued55+'">'+((ued62 != '') ? ued55.substring(0,6) : ued55)+'</span>'; } return ued61; }; UltimateEditorToolbarDropDownList.prototype.ued59=function(ued54) { uea8(this.ue0w).value=ued54; this.uew9.ue3s(); this.uea21(false,ued54); }; UltimateEditorToolbarDropDownList.prototype.uea21=function(uec67,ued54) { this.uew9.uec63(this.uec59); if (!this.uew9.uec62) { this.uec61(ued54); this.uew9.uec65(this.uec60,((!uec67) ? this.uec58 : '')); } }; UltimateEditorToolbarDropDownList.prototype.uec61=function(ue5t) { if (this.enabled) { 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) { if (ue5t != "") { this.uew9.ue3t(this.uex2,false,this.uea22(this.uex2,ue5t)); } } } }; UltimateEditorToolbarDropDownList.prototype.uea22=function(uex2,ue5t) { var uea23=ue5t.toLowerCase(); if (uea6) { if (uex2 == uea18) { uea23='<'+((uea23 == 'formatted') ? 'pre' : (uea23 == 'address') ? 'address' : (uea23.indexOf('heading') == 0) ? 'h'+uea23.charAt(8) : 'p')+'>'; } } return uea23; }; UltimateEditorToolbarDropDownList.prototype.uea24=function() { var uea25=document.createElement("option"); uea25.text=(this.uex2 == uea18) ? uef5 : (this.uex2 == uea16) ? uef6 : ""; uea25.value=""; return uea25; }; UltimateEditorToolbarDropDownList.prototype.uea26=function(uea29,uea34,uea30) { var uea27=document.createElement("option"); var uea28=uea8(this.ue0w).options; if (uea28.length > 0) { if (uea28[0].value == "") { for (var i=uea28.length-1; i > 0; i--) { uea28.remove(i); } } else { uea28.length=0; } } if (uea28.length == 0) { uea28.add(this.uea24()); } 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(uea33,uea34) { 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.uea36=function() { if (this.ue1w && uea5) { var uea38=uea39(); if (uea38) { this.uea32(uea38.fonts,true); } } }; UltimateEditorToolbarDropDownList.prototype.uea37=function() { if (this.ue1w && uea5) { var uea38=uea39(); if (uea38) { this.uea32(uea38.blockFormats,false); } } }; UltimateEditorToolbarDropDownList.prototype.uea20=function() { var uex2=this.uex2; if (uex2 == uea16) { this.uea36(); } else if (uex2 == uea18) { this.uea37(); } }; UltimateEditorToolbarDropDownList.prototype.ue0b=function() { uea8(this.ue0w).disabled=false; }; UltimateEditorToolbarDropDownList.prototype.uex7=function() { uea8(this.ue0w).disabled=true; }; function UltimateEditorTab(uea40,uew5,enabled) { this.uea40=uea40; this.uew5=uew5; this.enabled=enabled; this.uec84(); var uea41=uea8(this.uea40); AddEventHandler(uea41,'click',function() { UltimateEditorTabs[uea40].ue8u(); }); AddEventHandler(uea41,'mouseover',function() { UltimateEditorTabs[uea40].ue9u(); }); AddEventHandler(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.enabled && this.uew5 != this.uew9.uew5) { 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; } } } }; UltimateEditorTab.prototype.ue9u=function() { if (this.enabled && this.uew5 != this.uew9.uew5) { uea8(this.uea40).className=this.uew9.uet9; } }; UltimateEditorTab.prototype.ue0v=function() { if (this.enabled && this.uew5 != this.uew9.uew5) { uea8(this.uea40).className=this.uew9.uet8; } }; function uea44(obj,uea45) { obj.style.border=uea45; } function uea46(uea47,uea48,uea49,uea50,uea51,ue6i,ue7i,uea52,uea53,uea54,uea55,uea56,uea57,uea58,uea59,uea60,uew1,uea61) { var str=new ues6; str.ues7('<table border='+uea51+' cellpadding='+ue6i+' cellspacing='+ue7i+' style="'+uea52+'"><tr>'); if (uea59) { str.ues7('<td colspan='+uea50+' style="'+uea60+'">'+uea59+'</td></tr><tr>'); } for (var i=0,j=0,uea62='',uea63=uea48.length; i < uea63; i++) { uea62='<td align="center" valign="middle" title="'+((uea49) ? uea49[i] : '')+'" width='+uea53+'" height='+uea54+' style="'+uea55+'" onmouseover="'+uea56+'" onmouseout="'+uea57+'" onmouseup="'+uea58+'"'; switch (uea47) { case uee4: uea62 += ' bgcolor="#'+uea48[i]+'"><img height=1 width=1>'; break; case uee5: uea62 += '><img height=19 width=19 src="'+uew1+'/'+uea61[i]+'">'; break; default: uea62 += '>'+uea48[i]; } uea62 += '</td>'; if (++j-uea50 == 0 && i != uea63-1) { uea62 += '</tr><tr>'; j=0; } str.ues7(uea62); } str.ues7('</tr></table>'); return str.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; AddEventHandler(document,'mousemove',uea75); } } function uea76() { uem5=false; RemoveEventHandler(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='<table border="0" cellpadding="0" cellspacing="0"><tr id="'+uea79+'" style="background-color:#2457CA;cursor:move" onmousedown="uea71(\''+uea73.id+'\''+((uea6) ? ",arguments[0]" : "")+')" onmouseup="uea76()" onselectstart="return false"><td style="padding-left:4px;font-family:Tahoma;font-size:11px;font-weight:bold;color:#FFFFFF">'+ue0s+'</td><td align="right"><img src="'+uew0+'/Close.gif" border="0" width="21" height="21" hspace="2" vspace="2" style="cursor:default" onmouseover="this.src=\''+uew0+'/CloseOver.gif\'" onmouseout="this.src=\''+uew0+'/Close.gif\'" onmousedown="this.src=\''+uew0+'/CloseDown.gif\'; ueo0('+((uea6) ? "arguments[0]" : "")+');" onmouseup="ueb14(\''+uea73.id+'\')"></td></tr><tr><td colspan="2">'+uea73.innerHTML+'</td></tr></table>'; } uea73.className=uea73.ue3f.ueu0; } if (uea78) { var ue5u=uea8(uea73.uea80.uez9); uea73.style.top=(uem6(ue5u)+ue5u.offsetHeight)+'px'; uea73.style.left=uen0(ue5u)+'px'; } else { ue4s(uea73); } uea73.style.visibility=ueb2; 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','<iframe id="'+uea81+'"'+((window.location.protocol == 'https:') ? ' src="blank.htm"' : '')+' scrolling="no" frameborder="0" style="position:absolute;left:'+uea73.style.left+';top:'+uea73.style.top+';width:'+uea73.offsetWidth+'px;height:'+uea73.offsetHeight+'px;z-index:'+(uea73.style.zIndex-1)+'"></iframe>'); uea73.uea81=uea81; } } } } function uea82(uea73) { if (uea73.style.visibility != ueb3) { uea73.style.visibility=ueb3; if (uea4 && uea73.uea81) { uea8(uea73.uea81).style.visibility=ueb3; } } } 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.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); } } function uea86(uea73,uea84) { uea73.uea84=uea84; uea83(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) && !uea8(uec4)) { uea88(); } var uea38=uea8(uec3); var uea89=uea8(uec4); if (uea38) { uea38.uex2=uex2; uea38.ue3f=ue3f; uea38.uea80=uea80; uea38.uea84="#"+uea64(uea38.ChooseColorDlg(uea87)); uea83(uea38); } else 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); } else if (uea90 == ued7) { uea99(); } else if (uea90 == ued8) { ueb10(); } 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) { 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.innerHTML=ueb17; document.body.appendChild(uea73); if (!ueb19) { AddEventHandler(document,'mouseup',function() { uea82(uea73); }); } } } function ueb20(ueb21) { if (uea4) { document.body.insertAdjacentHTML("beforeEnd",ueb21); } else if (uea6) { var uey8=document.createRange(); uey8.setStartBefore(document.body.lastChild); var ueb22=uey8.createContextualFragment(ueb21); document.body.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) { ueb26=ue3f.uew2+"?ue8r="+ue8r+"&ue9r="+((ue8r == uec7) ? uec20 : (ue8r == uec18) ? uec21 : (ue8r == uec19) ? uec22 : "")+"&ue0s="+ue0s+"&ueb86="+ue3f.ueb86+"&uew3="+ue3f.uew3; } ueb20('<iframe id="'+ue8r+'" name="'+ue8r+'" src="'+ueb26+'"'+uec2+'></iframe>'); ueb23=uea8(ue8r); ueb24=true; } ueb23.style.visibility=ueb2; if (!ueb24 && ueb25) { window.parent.frames[ue8r].uea8(ueb25).focus(); } } function uea39() { var uea38=uea8(uec3); if (!uea38) { document.body.insertAdjacentHTML("beforeEnd",'<OBJECT id="'+uec3+'" CLASSID="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0" height="0"></OBJECT>'); uea38=uea8(uec3); } return uea38; } function uea88() { if (uea5) { uea39(); } else { if (!uea8(uec4)) { var ueb27='1px solid #ACA899'; var ueb28=new Array("008000","00FF00","008080","00FFFF","000080","0000FF","800080","FF00FF","800000","FF0000","808000","FFFF00","FFFFFF","C0C0C0","808080","000000"); var ueb29=new Array("Green","Lime","Teal","Aqua","Navy","Blue","Purple","Fuchsia","Maroon","Red","Olive","Yellow","White","Silver","Gray","Black"); var ueb30=new Array("556B2F","006400","2F4F4F","708090","00008B","191970","4B0082","8B008B","A52A2A","8B0000","A0522D","8B4513","B8860B","F5F5DC","F0FFF0","696969","6B8E23","228B22","008B8B","778899","0000CD","483D8B","9400D3","C71585","CD5C5C","B22222","D2691E","CD853F","DAA520","FAFAD2","FCFFFA","A9A9A9","9ACD32","2E8B57","5F9EA0","4682B4","4169E1","8A2BE2","9932CC","FF1493","BC8F8F","DC143C","FF8C00","DEB887","BDB76B","FFFFE0","F0FFFF","D3D3D3","7CFC00","3CB371","20B2AA","00BFFF","1E90FF","6A5ACD","BA55D3","DB7093","FA8072","FF4500","F4A460","D2B48C","FFD700","FFFFF0","F8F8FF","DCDCDC","7FFF00","32CD32","66CDAA","00CED1","6495ED","7B68EE","DA70D6","FF69B4","F08080","FF6347","FFA500","FFE4C4","F0E68C","FFF8DC","FAF0E6","F5F5F5","ADFF2F","8FBC8B","40E0D0","48D1CC","87CEEB","9370DB","EE82EE","FFB6C1","E9967A","FF7F50","FFDEAD","FFEBCD","EEE8AA","FDF5E6","FFF5EE","F8F8FF","98FB98","00FF7F","7FFFD4","B0E0E6","87CEFA","B0C4DE","DDA0DD","FFC0CB","FFA07A","F5DEB3","FFE4B5","FAEBD7","FFFACD","FFFAF0","FFFAFA","F0F8FF","90EE90","00FA9A","AFEEEE","E0FFFF","ADD8E6","E6E6FA","D8BFD8","FFE4E1","FFDAB9","FFEFD5"); var ueb31=new Array("DarkOliveGreen","DarkGreen","DarkSlateGray","SlateGray","DarkBlue","MidnightBlue","Indigo","DarkMagenta","Brown","DarkRed","Sienna","SaddleBrown","DarkGoldenrod","Beige","Honeydew","DimGray","OliveDrab","ForestGreen","DarkCyan","LightSlateGray","MediumBlue","DarkSlateBlue","DarkViolet","MediumVioletRed","IndianRed","Firebrick","Chocolate","Peru","Goldenrod","LightGoldenrodYellow","MintCream","DarkGray","YellowGreen","SeaGreen","CadetBlue","SteelBlue","RoyalBlue","BlueViolet","DarkOrchid","DeepPink","RosyBrown","Crimson","DarkOuey8","BurlyWood","DarkKhaki","LightYellow","Azure","LightGrey","LawnGreen","MediumSeaGreen","LightSeaGreen","DeepSkyBlue","DodgerBlue","SlateBlue","MediumOrchid","PaleVioletRed","Salmon","Ouey8Red","SandyBrown","Tan","Gold","Ivory","GhostWhite","Gainsboro","Chartreuse","LimeGreen","MediumAquamarine","DarkTurquoise","CornflowerBlue","MediumSlateBlue","Orchid","HotPink","LightCoral","Tomato","Ouey8","Bisque","Khaki","Cornsilk","Linen","WhiteSmoke","GreenYellow","DarkSeaGreen","Turquoise","MediumTurquoise","SkyBlue","MediumPurple","Violet","LightPink","DarkSalmon","Coral","NavajoWhite","BlanchedAlmond","PaleGoldenrod","Oldlace","Seashell","GhostWhite","PaleGreen","SpringGreen","Aquamarine","PowderBlue","LightSkyBlue","LightSteelBlue","Plum","Pink","LightSalmon","Wheat","Moccasin","AntiqueWhite","LemonChiffon","FloralWhite","Snow","AliceBlue","LightGreen","MediumSpringGreen","PaleTurquoise","LightCyan","LightBlue","Lavender","Thistle","MistyRose","Peachpuff","PapayaWhip"); ueb16(uec4,uea46(uee4,ueb28,ueb29,16,1,0,3,'background-color:'+uee3,12,14,'border:'+ueb27+';'+uef4,'uea44(this,\''+'1px solid #000000'+'\')','uea44(this,\''+ueb27+'\')','uea86(uea8(uec4),this.bgColor.toUpperCase())','Basic:','font-family:Tahoma;font-size:11px;color:#000000;border:1px solid '+uee3)+uea46(uee4,ueb30,ueb31,16,1,0,3,'background-color:'+uee3,12,14,'border:'+ueb27+';'+uef4,'uea44(this,\''+'1px solid #000000'+'\')','uea44(this,\''+ueb27+'\')','uea86(uea8(uec4),this.bgColor.toUpperCase())','Additional:','font-family:Tahoma;font-size:11px;color:#000000;border:1px solid '+uee3),ueb9); } } } function uea91(uew1) { if (!uea8(uec5)) { var ueb32='1px solid #C5D3ED'; var ueb33=new Array(":)",":D",";)",":-O",":P","(H)",":-@",":S",":$",":(",":'(",":|","8o|","8-|","+o(","<:o)","|-)","*-)",":-#",":-*","^o)","8-)","(A)","(6)",":^)","(Y)","(N)","(L)","(U)","(B)","(S)","(*)","(@)","(&)","({)","(})","(K)","(F)","(W)","(O)","(G)","(^)","(P)","(I)","(C)","(T)","(mp)","(au)","(ap)","(co)","(mo)","(~)","(8)","(pi)","(so)","(E)","(Z)","(X)","(ip)","(um)"); var ueb34=new Array("Smile","Open-mouthed","Wink","Surprised","Tongue out","Hot","Angry","Confused","Embarrassed","Sad","Crying","Disappointed","Baring teeth","Nerd","Sick","Party","Sleepy","Thinking","Don't tell anyone","Secret telling","Sarcastic","Eye-rolling","Angel","Devil","I don't know","Thumbs up","Thumbs down","Red heart","Broken heart","Beer mug","Sleeping half-moon","Star","Cat face","Dog face","Guy hug","Girl hug","Red lips","Red rose","Wilted rose","Clock","Gift with a bow","Birthday cake","Camera","Light bulb","Coffee cup","Telephone receiver","Mobile Phone","Auto","Airplane","Computer","Money","Filmstrip","Note","Pizza","Soccer ball","E-mail","Boy","Girl","Island with a palm tree","Umbrella"); var uea61=new Array("Smile.gif","OpenMouthed.gif","Wink.gif","Surprised.gif","TongueOut.gif","Hot.gif","Angry.gif","Confused.gif","Embarrassed.gif","Sad.gif","Crying.gif","Disappointed.gif","BaringTeeth.gif","Nerd.gif","Sick.gif","Party.gif","Sleepy.gif","Thinking.gif","DontTellAnyone.gif","SecretTelling.gif","Sarcastic.gif","EyeRolling.gif","Angel.gif","Devil.gif","IDontKnow.gif","ThumbsUp.gif","ThumbsDown.gif","RedHeart.gif","BrokenHeart.gif","BeerMug.gif","SleepingHalfMoon.gif","Star.gif","CatFace.gif","DogFace.gif","GuyHug.gif","GirlHug.gif","RedLips.gif","RedRose.gif","WiltedRose.gif","Clock.gif","GiftWithABow.gif","BirthdayCake.gif","Camera.gif","LightBulb.gif","CoffeeCup.gif","TelephoneReceiver.gif","MobilePhone.gif","Auto.gif","Airplane.gif","Computer.gif","Money.gif","Filmstrip.gif","Note.gif","Pizza.gif","SoccerBall.gif","Email.gif","Boy.gif","Girl.gif","IslandWithAPalmTree.gif","Umbrella.gif"); ueb16(uec5,uea46(uee5,ueb33,ueb34,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,uea61),ueb8); } } function ueb35(ueb36,ueb37,ueb38) { var ueb39=new Array(ueb38-ueb37-ueb36.split(',').length); for (var i=ueb37,j=0; i < ueb38; i++) { if (ueb36.indexOf(i) == -1) { ueb39[j++]='&#'+i+';'; } } return ueb39; } function uea92() { if (!uea8(uec6)) { var ueb40='1px solid '+uee3; var ueb36='129,141,143,144,157,160,173'; var ueb37=128; var ueb38=256; var ueb39=ueb35(ueb36,ueb37,ueb38); var ueb41=null; ueb16(uec6,uea46(uee6,ueb39,ueb41,14,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); } } 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+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); 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; if (uea90 == ued1) { ue3f.ue3s(); ue3f.ue6h(ue3f.uey7(),ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i); } 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; 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); } } uea82(uea73); } function ueb47(uea90) { return '<fieldset><legend>Table properties</legend><table border="0" cellpadding="1" cellspacing="0"><tr><td>Width:</td><td><input type="text" id="'+uea90+ueg6+'" size="2">&nbsp;<select id="'+uea90+ueg7+'"><option value=""></option><option value="px">pixels</option><option value="%">percent</option></select></td>'+ueg3+'<td>Height:</td><td><input type="text" id="'+uea90+ueg8+'" value="" size="2">&nbsp;<select id="'+uea90+ueg9+'"><option value=""></option><option value="px">pixels</option><option value="%">percent</option></select></td>'+ueg3+'<td>Alignment:</td><td><select id="'+uea90+ueh2+'"><option value=""></option><option value="center">center</option><option value="left">left</option><option value="right">right</option></select></td></tr><tr><td>Border size:</td><td><input type="text" id="'+uea90+ueh5+'" size="1"></td>'+ueg3+'<td>Cell padding:</td><td><input type="text" id="'+uea90+ueh6+'" size="1"></td>'+ueg3+'<td>Cell spacing:</td><td><input type="text" id="'+uea90+ueh7+'" size="1"></td></tr><tr><td>Border color:</td><td><input type="text" id="'+uea90+ueh4+'" size="8">&nbsp;<input type="button" id="'+uea90+ueh4+ueh0+'" value="..." style="width:20px" onclick="ueb45(\''+uea90+ueh4+'\',this)"></td>'+ueg3+'<td>Border style:</td><td><select id="'+uea90+ueh3+'"><option value="">none</option><option value="dashed">dashed</option><option value="dotted">dotted</option><option value="double">double</option><option value="groove">groove</option><option value="inset">inset</option><option value="outset">outset</option><option value="ridge">ridge</option><option value="solid">solid</option><option value="window-inset">window-inset</option></select></td>'+ueg3+'<td>Inner borders:</td><td><select id="'+uea90+ueh9+'"><option value=""></option><option value="all">all</option><option value="cols">cols</option><option value="groups">groups</option><option value="none">none</option><option value="rows">rows</option></select></td></tr><tr><td>Background color:</td><td><input type="text" id="'+uea90+ueh1+'" value="" size="8">&nbsp;<input type="button" id="'+uea90+ueh1+ueh0+'" value="..." style="width:20px" onclick="ueb45(\''+uea90+ueh1+'\',this)"></td>'+ueg3+'<td style="width:77px">Border collapse:</td><td><input type="checkbox" id="'+uea90+ueh8+'"></td>'+ueg3+'<td></td><td></td></tr></table></fieldset>'; } function ueb48(uea90) { return '<fieldset><legend>Cell properties</legend><table border="0" cellpadding="1" cellspacing="0"><tr><td>Width:</td><td><input type="text" id="'+uea90+uei0+'" size="2">&nbsp;<select id="'+uea90+uei1+'"><option value=""></option><option value="px">pixels</option><option value="%">percent</option></select></td>'+ueg3+'<td>Height:</td><td><input type="text" id="'+uea90+uei2+'" size="2">&nbsp;<select id="'+uea90+uei3+'"><option value=""></option><option value="px">pixels</option><option value="%">percent</option></select></td>'+ueg3+'<td>Alignment:</td><td><select id="'+uea90+uei5+'"><option value=""></option><option value="center">center</option><option value="left">left</option><option value="right">right</option></select></td></tr><tr><td>Border color:</td><td><input type="text" id="'+uea90+uei8+'" size="8">&nbsp;<input type="button" id="'+uea90+uei8+ueh0+'" value="..." style="width:20px" onclick="ueb45(\''+uea90+uei8+'\',this)"></td>'+ueg3+'<td>Border style:</td><td><select id="'+uea90+uei7+'"><option value="">none</option><option value="dashed">dashed</option><option value="dotted">dotted</option><option value="double">double</option><option value="groove">groove</option><option value="inset">inset</option><option value="outset">outset</option><option value="ridge">ridge</option><option value="solid">solid</option><option value="window-inset">window-inset</option></select></td>'+ueg3+'<td>Vertical alignment:</td><td><select id="'+uea90+uei6+'"><option value=""></option><option value="baseline">baseline</option><option value="bottom">bottom</option><option value="middle">middle</option><option value="top">top</option></select></td></tr><tr><td>Background color:</td><td><input type="text" id="'+uea90+uei4+'" size="8">&nbsp;<input type="button" id="'+uea90+uei4+ueh0+'" value="..." style="width:20px" onclick="ueb45(\''+uea90+uei4+'\',this)"></td>'+ueg3+'<td style="width:77px">Wrap text:</td><td><input type="checkbox" id="'+uea90+uei9+'" checked></td>'+ueg3+'<td></td><td></td></tr></table></fieldset>'; } function uea93() { if (!uea8(ued0)) { ueb16(ued0,'<table border="0" cellpadding="0" cellspacing="7"><tr><td>Columns:&nbsp;<input type="text" id="'+ued0+ueg5+'" value="3" size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rows:&nbsp;<input type="text" id="'+ued0+ueg4+'" value="3" size="1"></td></tr><tr><td>'+ueb47(ued0)+'</td></tr><tr><td>'+ueb48(ued0)+'</td></tr><tr><td align="center"><input type="button" id="'+ued0+'OK" value="OK" onclick="ueb42()"'+ueg2+'>&nbsp;<input type="button" id="'+ued0+'Cancel" value="Cancel" onclick="ueb14(ued0)"'+ueg2+'></td></tr></table>',ueb7,true); } } function uea94() { if (!uea8(ued1)) { ueb16(ued1,'<table border="0" cellpadding="0" cellspacing="7"><tr><td>'+ueb47(ued1)+'</td></tr><tr><td align="center"><input type="button" id="'+ued1+'OK" value="OK" onclick="ueb43(\''+ued1+'\')"'+ueg2+'>&nbsp;<input type="button" id="'+ued1+'Cancel" value="Cancel" onclick="ueb14(ued1)"'+ueg2+'></td></tr></table>',ueb7,true); } } function uea95() { if (!uea8(ued2)) { ueb16(ued2,'<table border="0" cellpadding="0" cellspacing="7"><tr><td>'+ueb48(ued2)+'</td></tr><tr><td align="center"><input type="button" id="'+ued2+'OK" value="OK" onclick="ueb44(\''+ued2+'\')"'+ueg2+'>&nbsp;<input type="button" id="'+ued2+'Cancel" value="Cancel" onclick="ueb14(ued2)"'+ueg2+'></td></tr></table>',ueb7,true); } } function ue7e(ueb49) { var ueb50=(ueb49.indexOf('px') != -1) ? ueb49.indexOf('px') : ueb49.indexOf('%'); var ueb51=new Object; ueb51.lenType=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) { 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 : '#FFFFFF'; uea8(uea90+ueh2).value=(ueb52) ? ue2i : ''; uea8(uea90+ueh3).value=(ueb52) ? ue3i : ''; uea8(uea90+ueh4).value=(ueb52) ? ue4i : '#000000'; uea8(uea90+ueh4).style.color=(ueb52) ? uea69(ue4i.substring(1,7)) : '#FFFFFF'; uea8(uea90+ueh4).style.backgroundColor=(ueb52) ? ue4i : '#000000'; uea8(uea90+ueh5).value=(ueb52) ? ue5i : 1; 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 : ''; if (ueb52) { uea8(uea90+ueg6).focus(); } } function ue9e(uea90,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k) { 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 : '#FFFFFF'; uea8(uea90+uei5).value=(ueb52) ? ue6j : ''; uea8(uea90+uei6).value=(ueb52) ? ue7j : ''; uea8(uea90+uei7).value=(ueb52) ? ue8j : ''; uea8(uea90+uei8).value=(ueb52) ? ue9j : '#000000'; uea8(uea90+uei8).style.color=(ueb52) ? uea69(ue9j.substring(1,7)) : '#FFFFFF'; uea8(uea90+uei8).style.backgroundColor=(ueb52) ? ue9j : '#000000'; uea8(uea90+uei9).checked=(ueb52) ? !ue0k : true; if (ueb52) { uea8(uea90+uei4).focus(); } } function ue1v(uea90,ue2k,ue3k,ue7h,ue8h,ue9h,ue0i,ue1i,ue2i,ue3i,ue4i,ue5i,ue6i,ue7i,ue8i,ue9i,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k) { 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); ue9e(uea90,ue1j,ue2j,ue3j,ue4j,ue5j,ue6j,ue7j,ue8j,ue9j,ue0k); 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,'<table border="0" cellpadding="0" cellspacing="7"><tr><td><input type="radio" id="'+ued3+uej0+uej1+'" name="'+ued3+uej0+'">&nbsp;Merge right&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" id="'+ued3+uej0+uej2+'" name="'+ued3+uej0+'">&nbsp;Merge below</td></tr><tr><td align="center"><input type="button" id="'+ued3+'OK" value="OK" onclick="ueb53()"'+ueg2+'>&nbsp;<input type="button" id="'+ued3+'Cancel" value="Cancel" onclick="ueb14(\''+ued3+'\')"'+ueg2+'></td></tr></table>',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=ues3.rowSpan; 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 '<table border="0" cellpadding="0" cellspacing="7"><tr><td>Columns:&nbsp;<input type="text" id="'+uea72+ueg5+'" value="2" size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rows:&nbsp;<input type="text" id="'+uea72+ueg4+'" value="1" size="1"></td></tr><tr><td align="center"><input type="button" id="'+uea72+'OK" value="OK" onclick="ueb54(\''+uea72+'\')"'+ueg2+'>&nbsp;<input type="button" id="'+uea72+'Cancel" value="Cancel" onclick="ueb14(\''+uea72+'\')"'+ueg2+'></td></tr></table>'; } 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 ue0p=uea8(uea90+uej5).value; var ue1p=uea8(uea90+uej6).value; if (uea90 == ued5) { ue3f.ue2p(ue9o,ue0p,ue1p); } else if (uea90 == ued6) { ue3f.ue3s(); ue3f.ue7o(ue3f.uey7(),ue9o,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) { if (!uea8(uea90)) { ueb16(uea90,'<table border="0" cellpadding="0" cellspacing="7"><tr><td><fieldset><legend>Hyperlink Information</legend><table border="0" cellpadding="0" cellspacing="7"><tr><td>Type:</td><td><select id="'+uea90+uej3+'" onchange="ueb63(\''+uea90+uej4+'\',this)"><option value="">(other)</option><option value="file:'+ueb84+'">file:</option><option value="ftp:'+ueb84+'">ftp:</option><option value="gopher:'+ueb84+'">gopher:</option><option value="http:'+ueb84+'" selected>http:</option><option value="https:'+ueb84+'">https:</option><option value="mailto:">mailto:</option><option value="news:">news:</option><option value="telnet:">telnet:</option><option value="wais:">wais:</option></select></td></tr><tr><td>URL:</td><td><input type="text" id="'+uea90+uej4+'" value="http:'+ueb84+'" style="width:220px"></td></tr><tr><td>Tooltip:</td><td><input type="text" id="'+uea90+uej5+'" value="" style="width:220px"></td></tr><tr><td>Target:</td><td><select id="'+uea90+uej6+'"><option value=""></option><option value="_blank">_blank</option><option value="_parent">_parent</option><option value="_search">_search</option><option value="_self">_self</option><option value="_top">_top</option></select></td></tr></table></fieldset></td></tr><tr><td align="center"><input type="button" id="'+uea90+'OK" value="OK" onclick="ueb56(\''+uea90+'\')"'+ueg2+'>&nbsp;<input type="button" id="'+uea90+'Cancel" value="Cancel" onclick="ueb14(\''+uea90+'\')"'+ueg2+'></td></tr></table>',ueb7,true); } } function ue3e(uea90,ue9o,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+uej5).value=(ueb52) ? ue0p : ''; uea8(uea90+uej6).value=(ueb52 && ue1p) ? ue1p : ''; uea8(uea90+uej4).focus(); } 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,'<table border="0" cellpadding="0" cellspacing="7"><tr><td>Find what:</td><td><input type="text" id="'+ued7+uej7+'" size="36"></td><td><input type="button" id="'+ued7+uek1+'" value="Find Next" onclick="ueb66()"'+ueg2+'></td></tr><tr><td>Replace with:</td><td><input type="text" id="'+ued7+uej8+'" size="36"></td><td><input type="button" id="'+ued7+uek2+'" value="Replace" onclick="ueb67()"'+ueg2+'></td></tr><tr><td colspan="2" rowspan="2"><input type="checkbox" id="'+ued7+uej9+'">&nbsp;Match whole word<br><input type="checkbox" id="'+ued7+uek0+'">&nbsp;Match case</td><td><input type="button" id="'+ued7+uek3+'" value="Replace All" onclick="ueb68()"'+ueg2+'></td></tr><tr><td><input type="button" id="'+ued7+uek4+'" value="Close" onclick="ueb14(ued7,true)"'+ueg2+'></td></tr></table>',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 ueb69() { var uea73=uea8(ued8); var ue3f=uea73.ue3f; var ue6r=uea8(ued8+uek5).value; if (ue6r.indexOf('\\') != -1) { var fso=new ActiveXObject("Scripting.FileSystemObject"); if (fso.FileExists(ue6r)) { var f=fso.OpenTextFile(ue6r,1,false,-2); var r=f.ReadAll(); f.close(); ue3f.SetEditorHTML(r); } else { alert('File not found.'); return; } } else { uea8(ue3f.uet1).src=ue6r; } uea82(uea73); ue3f.SetFocus(); } function ueb70(ueb71,ueb72) { uea8(ueb72).click(); uea8(ueb71).value=uea8(ueb72).value; } function ueb10() { if (!uea8(ued8)) { ueb16(ued8,'<table border="0" cellpadding="0" cellspacing="7"><tr><td align="center">Open:&nbsp;<input type="text" id="'+ued8+uek5+'" size="63">&nbsp;<input type="button" value="Browse..." onclick="ueb70(\''+ued8+uek5+'\',\''+ued8+uek6+'\')"><input id="'+ued8+uek6+'" type="file" style="display:none"></td></tr><tr><td align="center" style="width:440px">(You can either enter a URL like http:'+ueb84+'localhost/MyWebApp/MyWebPage.htm,or a physical file path like C:\\inetpub\\wwwroot\\MyWebApp\\MyWebPage.htm using the Browse button. To be able to use a physical file path you have to enable "Initialize and script ActiveX controls not marked as safe" in Tools->Internet Options->Security->Custom Level...)</td></tr><tr><td align="center"><input type="button" id="'+ued8+'OK" value="OK" onclick="ueb69()"'+ueg2+'>&nbsp;<input type="button" id="'+ued8+'Cancel" value="Cancel" onclick="ueb14(\''+ued8+'\')"'+ueg2+'></td></tr></table>',ueb7,true); } } function ue7v() { uea8(ued8+uek5).value=''; uea8(ued8+uek6).value=''; uea8(ued8+uek5).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; ueb80 += ue7r; ueb79 += '<tr><td'+ueb77+'>'+ue6r+'</td><td'+ueb78+' align="right" nowrap>'+ueb75(ue7r)+'</td><td'+ueb77+' align="center"><img src="'+ue3f.uew0+'/Delete.gif" width="21" height="20" title="Delete" style="'+uef4+'" onclick="ueb73(\''+ue6r+'\')"></td></tr>'; } var ueb17='<table border="0" cellpadding="5" cellspacing="0"><tr style="font-weight:bold"><td nowrap>Attachments</td><td align="center" nowrap>Size</td><td nowrap>Delete</td></tr>'+ueb79+'<tr><td'+ueb78+' colspan="2" align="right">Total&nbsp;'+ueb75(ueb80)+'</td><td'+ueb77+'>&nbsp;</td></tr><tr><td colspan="3" align="center"><input type="button" id="'+uee0+'Close" value="Close" onclick="ueb14(\''+uee0+'\')"'+ueg2+'></td></tr></table>'; 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,'<table border="0" cellpadding="0" cellspacing="7"><tr><td nowrap>Alternate Text:</td><td><input type="text" id="'+uec8+uek7+'" style="width:358px"></td></tr><tr><td colspan="2"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td><fieldset><legend>Layout</legend><table border="0" cellpadding="0" cellspacing="4"><tr><td>Alignment:</td><td><select id="'+uec8+ueh2+'"><option value=""></option><option value="left">Left</option><option value="right">Right</option><option value="texttop">Texttop</option><option value="absmiddle">Absmiddle</option><option value="baseline">Baseline</option><option value="absbottom">Absbottom</option><option value="bottom">Bottom</option><option value="middle">Middle</option><option value="top">Top</option><select></td>'+ueg3+'<td>Width:</td><td><input type="text" id="'+uec8+ueg6+'" style="width:45px"></td></tr><tr><td nowrap>Border Thickness:</td><td><input type="text" id="'+uec8+ueh5+'" style="width:78px"></td><td></td><td>Height:</td><td><input type="text" id="'+uec8+ueg8+'" style="width:45px"></td></tr></table></fieldset></td><td style="width:14px">&nbsp;</td><td><fieldset><legend>Spacing</legend><table border="0" cellpadding="0" cellspacing="4"><tr><td>Horizontal:</td><td><input type="text" id="'+uec8+uek8+'" style="width:45px"></td></tr><tr><td>Vertical:</td><td><input type="text" id="'+uec8+uek9+'" style="width:45px"></td></tr></table></fieldset></td></tr></table></td></tr><tr><td colspan="2" align="center"><input type="button" id="'+uec8+'OK" value="OK" onclick="ueb81(\''+uec8+'\')"'+ueg2+'>&nbsp;<input type="button" id="'+uec8+'Cancel" value="Cancel" onclick="ueb14(\''+uec8+'\')"'+ueg2+'></td></tr></table>',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,'<table border="0" cellpadding="0" cellspacing="7"><tr><td>Size:&nbsp;<input type="text" id="'+uea90+uel1+'" size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Color:&nbsp;<input type="text" id="'+uea90+uel2+'" size="8">&nbsp;<input type="button" id="'+uea90+uel2+ueh0+'" value="..." style="width:20px" onclick="ueb45(\''+uea90+uel2+'\',this)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No shade:&nbsp;<input type="checkbox" id="'+uea90+uel3+'"></td></tr><tr><td align="center"><input type="button" id="'+uea90+'OK" value="OK" onclick="ueb82(\''+uea90+'\')"'+ueg2+'>&nbsp;<input type="button" id="'+uea90+'Cancel" value="Cancel" onclick="ueb14(\''+uea90+'\')"'+ueg2+'></td></tr></table>',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,uec77) { if (typeof(UltimateEditors) != 'undefined' && typeof(UltimateEditors[ue7m]) != 'undefined') { uec77(); } else { AddEventHandler(window,'load',uec77); } } 
