(function(){$.fn.eHelpForm=function(n){var n=$.extend({textColor:"#13183E",okColor:"#CE0000"},n);return this.each(function(){function r(n,t){var i=parseInt(n.substring(1,3),16),r=parseInt(n.substring(3,5),16),u=parseInt(n.substring(5,7),16);i=parseInt(i*(100+t)/100);r=parseInt(r*(100+t)/100);u=parseInt(u*(100+t)/100);i=i<255?i:255;r=r<255?r:255;u=u<255?u:255;var f=i.toString(16).length==1?"0"+i.toString(16):i.toString(16),e=r.toString(16).length==1?"0"+r.toString(16):r.toString(16),o=u.toString(16).length==1?"0"+u.toString(16):u.toString(16);return"#"+f+e+o}var t,i;n.modulid="#"+$(this).attr("id");t=document.styleSheets[document.styleSheets.length-1];i=t.cssRules;t.insertRule(n.modulid+" .help-form { color:"+n.textColor+";}",i.length);t.insertRule(n.modulid+" .help-form .form-area .select2-container--default .select2-selection--single .select2-selection__rendered { color:"+n.textColor+";}",i.length);t.insertRule(n.modulid+" .help-form .form-button .btn-helpdetail { background-color:"+n.textColor+";}",i.length);var u=r(n.textColor,-25),f=r(n.textColor,50),e=r(n.textColor,25);t.insertRule(n.modulid+" .help-form .form-button .btn-helpdetail:hover { background-color:"+u+";}",i.length);t.insertRule(n.modulid+" .help-form .form-area .select2-container--default .select2-selection--single { border-color:"+n.textColor+";}",i.length);t.insertRule(n.modulid+" .help-form .form-area .select2-container--default .select2-selection--single .select2-selection__arrow:after { color:"+n.okColor+";}",i.length);t.insertRule(n.modulid+" .help-form .form-button .btn-helpcontent:after { color:"+n.okColor+";}",i.length);t.insertRule(n.modulid+" .help-form .form-button .btn-helpcontent { color:"+f+";}",i.length);t.insertRule(n.modulid+" .help-form .form-button .btn-helpcontent:hover { color:"+e+";}",i.length)})}})(jQuery)