var OxO960e=["onload","contentWindow","idSource","innerHTML","body","document","","designMode","on","contentEditable","fontFamily","style","Tahoma","fontSize","11px","color","black","background","white","length","\x22","\x3C$1$3"," ","\x26nbsp;","$1","\x3Ch$1\x3E","\x3C$1\x3E$2\x3C/$1\x3E"];var editor=Window_GetDialogArguments(window);function cancel(){Window_CloseDialog(window);} ;window[OxO960e[0]]=function (){var iframe=document.getElementById(OxO960e[2])[OxO960e[1]];iframe[OxO960e[5]][OxO960e[4]][OxO960e[3]]=OxO960e[6];iframe[OxO960e[5]][OxO960e[7]]=OxO960e[8];iframe[OxO960e[5]][OxO960e[4]][OxO960e[9]]=true;iframe[OxO960e[5]][OxO960e[4]][OxO960e[11]][OxO960e[10]]=OxO960e[12];iframe[OxO960e[5]][OxO960e[4]][OxO960e[11]][OxO960e[13]]=OxO960e[14];iframe[OxO960e[5]][OxO960e[4]][OxO960e[11]][OxO960e[15]]=OxO960e[16];iframe[OxO960e[5]][OxO960e[4]][OxO960e[11]][OxO960e[17]]=OxO960e[18];iframe.focus();} ;function insertContent(){var iframe=document.getElementById(OxO960e[2])[OxO960e[1]];var Oxce=iframe[OxO960e[5]][OxO960e[4]][OxO960e[3]];if(Oxce&&Oxce[OxO960e[19]]>0){editor.PasteHTML(_RemoveWord(Oxce));Window_CloseDialog(window);} ;} ;function _RemoveWord(Ox2d){Ox2d=Ox2d.replace(/<[\/]?(base|meta|link|style|font|st1|shape|path|lock|imagedata|stroke|formulas|xml|del|ins|[ovwxp]:\w+)[^>]*?>/gi,OxO960e[6]);Ox2d=Ox2d.replace(/\s*mso-[^:]+:[^;"]+;?/gi,OxO960e[6]);Ox2d=Ox2d.replace(/<!--[\s\S]*?-->/gi,OxO960e[6]);Ox2d=Ox2d.replace(/\s*MARGIN: 0cm 0cm 0pt\s*;/gi,OxO960e[6]);Ox2d=Ox2d.replace(/\s*MARGIN: 0cm 0cm 0pt\s*"/gi,OxO960e[20]);Ox2d=Ox2d.replace(/\s*TEXT-INDENT: 0cm\s*;/gi,OxO960e[6]);Ox2d=Ox2d.replace(/\s*TEXT-INDENT: 0cm\s*"/gi,OxO960e[20]);Ox2d=Ox2d.replace(/\s*TEXT-ALIGN: [^\s;]+;?"/gi,OxO960e[20]);Ox2d=Ox2d.replace(/\s*PAGE-BREAK-BEFORE: [^\s;]+;?"/gi,OxO960e[20]);Ox2d=Ox2d.replace(/\s*FONT-VARIANT: [^\s;]+;?"/gi,OxO960e[20]);Ox2d=Ox2d.replace(/\s*tab-stops:[^;"]*;?/gi,OxO960e[6]);Ox2d=Ox2d.replace(/\s*tab-stops:[^"]*/gi,OxO960e[6]);Ox2d=Ox2d.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi,OxO960e[21]);Ox2d=Ox2d.replace(/\s*style="\s*"/gi,OxO960e[6]);Ox2d=Ox2d.replace(/<SPAN\s*[^>]*>\s* \s*<\/SPAN>/gi,OxO960e[22]);Ox2d=Ox2d.replace(/<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none(.*?)<\/\1>/ig,OxO960e[6]);Ox2d=Ox2d.replace(/<span\s*[^>]*>\s*&nbsp;\s*<\/span>/gi,OxO960e[23]);Ox2d=Ox2d.replace(/<SPAN\s*[^>]*><\/SPAN>/gi,OxO960e[6]);Ox2d=Ox2d.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi,OxO960e[21]);Ox2d=Ox2d.replace(/<SPAN\s*>(.*?)<\/SPAN>/gi,OxO960e[24]);Ox2d=Ox2d.replace(/<\/?\w+:[^>]*>/gi,OxO960e[6]);Ox2d=Ox2d.replace(/<\!--.*?-->/g,OxO960e[6]);Ox2d=Ox2d.replace(/<H\d>\s*<\/H\d>/gi,OxO960e[6]);Ox2d=Ox2d.replace(/<(\w[^>]*) language=([^ |>]*)([^>]*)/gi,OxO960e[21]);Ox2d=Ox2d.replace(/<(\w[^>]*) onmouseover="([^\"]*)"([^>]*)/gi,OxO960e[21]);Ox2d=Ox2d.replace(/<(\w[^>]*) onmouseout="([^\"]*)"([^>]*)/gi,OxO960e[21]);Ox2d=Ox2d.replace(/<H(\d)([^>]*)>/gi,OxO960e[25]);Ox2d=Ox2d.replace(/<(H\d)><FONT[^>]*>(.*?)<\/FONT><\/\1>/gi,OxO960e[26]);Ox2d=Ox2d.replace(/<(H\d)><EM>(.*?)<\/EM><\/\1>/gi,OxO960e[26]);Ox2d=Ox2d.replace(/<a name="?OLE_LINK\d+"?>((.|[\r\n])*?)<\/a>/gi,OxO960e[24]);Ox2d=Ox2d.replace(/<a name="?_Hlt\d+"?>((.|[\r\n])*?)<\/a>/gi,OxO960e[24]);Ox2d=Ox2d.replace(/<a name="?_Toc\d+"?>((.|[\r\n])*?)<\/a>/gi,OxO960e[24]);return Ox2d;} ;