var OxO4aa5=["onload","contentWindow","idSource","innerHTML","body","document","","designMode","on","contentEditable","fontFamily","style","Tahoma","fontSize","11px","color","black","background","white","length","\x3C$1$3","\x26nbsp;","$1","\x26amp;","\x26lt;","\x26gt;","\x26#39;","\x26quot;"];var editor=Window_GetDialogArguments(window);function cancel(){Window_CloseDialog(window);} ;window[OxO4aa5[0]]=function (){var iframe=document.getElementById(OxO4aa5[2])[OxO4aa5[1]];iframe[OxO4aa5[5]][OxO4aa5[4]][OxO4aa5[3]]=OxO4aa5[6];iframe[OxO4aa5[5]][OxO4aa5[7]]=OxO4aa5[8];iframe[OxO4aa5[5]][OxO4aa5[4]][OxO4aa5[9]]=true;iframe[OxO4aa5[5]][OxO4aa5[4]][OxO4aa5[11]][OxO4aa5[10]]=OxO4aa5[12];iframe[OxO4aa5[5]][OxO4aa5[4]][OxO4aa5[11]][OxO4aa5[13]]=OxO4aa5[14];iframe[OxO4aa5[5]][OxO4aa5[4]][OxO4aa5[11]][OxO4aa5[15]]=OxO4aa5[16];iframe[OxO4aa5[5]][OxO4aa5[4]][OxO4aa5[11]][OxO4aa5[17]]=OxO4aa5[18];iframe.focus();} ;function insertContent(){var iframe=document.getElementById(OxO4aa5[2])[OxO4aa5[1]];var Oxce=iframe[OxO4aa5[5]][OxO4aa5[4]][OxO4aa5[3]];if(Oxce&&Oxce[OxO4aa5[19]]>0){Oxce=_CleanCode(Oxce);if(Oxce.match(/<*>/g)){Oxce=String_HtmlEncode(Oxce);} ;editor.PasteHTML(Oxce);Window_CloseDialog(window);} ;} ;function _CleanCode(Ox2d){Ox2d=Ox2d.replace(/<\\?\??xml[^>]>/gi,OxO4aa5[6]);Ox2d=Ox2d.replace(/<([\w]+) class=([^ |>]*)([^>]*)/gi,OxO4aa5[20]);Ox2d=Ox2d.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi,OxO4aa5[20]);Ox2d=Ox2d.replace(/\s*mso-[^:]+:[^;"]+;?/gi,OxO4aa5[6]);Ox2d=Ox2d.replace(/<o:p>\s*<\/o:p>/g,OxO4aa5[6]);Ox2d=Ox2d.replace(/<o:p>.*?<\/o:p>/g,OxO4aa5[21]);Ox2d=Ox2d.replace(/<\/?\w+:[^>]*>/gi,OxO4aa5[6]);Ox2d=Ox2d.replace(/<\!--.*-->/g,OxO4aa5[6]);Ox2d=Ox2d.replace(/<\\?\?xml[^>]*>/gi,OxO4aa5[6]);Ox2d=Ox2d.replace(/<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none(.*?)<\/\1>/ig,OxO4aa5[6]);Ox2d=Ox2d.replace(/<span\s*[^>]*>\s*&nbsp;\s*<\/span>/gi,OxO4aa5[21]);Ox2d=Ox2d.replace(/<span\s*[^>]*><\/span>/gi,OxO4aa5[6]);Ox2d=Ox2d.replace(/\s*style="\s*"/gi,OxO4aa5[6]);Ox2d=Ox2d.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,OxO4aa5[6]);Ox2d=Ox2d.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,OxO4aa5[6]);Ox2d=Ox2d.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,OxO4aa5[6]);while(Ox2d.match(/<span\s*>(.*?)<\/span>/gi)){Ox2d=Ox2d.replace(/<span\s*>(.*?)<\/span>/gi,OxO4aa5[22]);} ;while(Ox2d.match(/<font\s*>(.*?)<\/font>/gi)){Ox2d=Ox2d.replace(/<font\s*>(.*?)<\/font>/gi,OxO4aa5[22]);} ;Ox2d=Ox2d.replace(/<a name="?OLE_LINK\d+"?>((.|[\r\n])*?)<\/a>/gi,OxO4aa5[22]);Ox2d=Ox2d.replace(/<a name="?_Hlt\d+"?>((.|[\r\n])*?)<\/a>/gi,OxO4aa5[22]);Ox2d=Ox2d.replace(/<a name="?_Toc\d+"?>((.|[\r\n])*?)<\/a>/gi,OxO4aa5[22]);Ox2d=Ox2d.replace(/<p([^>])*>(&nbsp;)*\s*<\/p>/gi,OxO4aa5[6]);Ox2d=Ox2d.replace(/<p([^>])*>(&nbsp;)<\/p>/gi,OxO4aa5[6]);return Ox2d;} ;function String_HtmlEncode(Ox283){if(Ox283==null){return OxO4aa5[6];} ;Ox283=Ox283.replace(/&/g,OxO4aa5[23]);Ox283=Ox283.replace(/</g,OxO4aa5[24]);Ox283=Ox283.replace(/>/g,OxO4aa5[25]);Ox283=Ox283.replace(/'/g,OxO4aa5[26]);Ox283=Ox283.replace(/\x22/g,OxO4aa5[27]);return Ox283;} ;