/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license
*/ (function(){function b(a,b,c){var k=n;if(k)for(var f=this instanceof CKEDITOR.ui.dialog.checkbox,e=0;e<k.length;e++){var d=k;switch(d.type){case g:if(!a)continue;if(null!==a.getAttribute(d.name)){a=a.getAttribute(d.name);f?this.setValue(“true”==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d);break;case o:if(!a)continue;if(d.name in c){a=c;f?this.setValue(“true”==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d);break;case i:if(!b)continue; if(b.getAttribute(d.name)){a=b.getAttribute(d.name);f?this.setValue(“true”==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d)}}}function c(a,b,c){var k=n;if(k)for(var f=“”===this.getValue(),e=this instanceof CKEDITOR.ui.dialog.checkbox,d=0;d<k.length;d++){var h=k;switch(h.type){case g:if(!a||“data”==h.name&&b&&!a.hasAttribute(“data”))continue;var l=this.getValue();f||e&&l===h?a.removeAttribute(h.name):a.setAttribute(h.name,l);break;case o:if(!a)continue; l=this.getValue();if(f||e&&l===h)h.name in c&&c.remove();else if(h.name in c)c.setAttribute(“value”,l);else{var p=CKEDITOR.dom.element.createFromHtml(“<cke:param></cke:param>”,a.getDocument());p.setAttributes({name:h.name,value:l});1>a.getChildCount()?p.appendTo(a):p.insertBefore(a.getFirst())}break;case i:if(!b)continue;l=this.getValue();f||e&&l===h?b.removeAttribute(h.name):b.setAttribute(h.name,l)}}}for(var g=1,o=2,i=4,n={id:,classid:[{type:g, name:“classid”}],codebase:,pluginspage:,src:,name:,align:,“class”:,width:,height:,hSpace:,vSpace:,style:[{type:g, name:“style”},{type:i,name:“style”}],},m=“play loop menu quality scale salign wmode bgcolor base flashvars allowScriptAccess allowFullScreen”.split(“ ”),j=0;j
<div id=“cke_FlashPreviewLoader’+CKEDITOR.tools.getNextNumber()+‘” style=“display:none”><div class=“loading”> </div></div><div id=“cke_FlashPreviewBox’+CKEDITOR.tools.getNextNumber()+‘” class=“FlashPreviewBox”></div></div>’;return{title:a.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){this.fakeImage=this.objectNode=this.embedNode=null;k=new CKEDITOR.dom.element(“embed”,a.document);var e=this.getSelectedElement();if(e&&e.data(“cke-real-element-type”)&& “flash”==e.data(“cke-real-element-type”)){this.fakeImage=e;var d=a.restoreRealElement(e),h=null,b=null,c={};if(“cke:object”==d.getName()){h=d;d=h.getElementsByTag(“embed”,“cke”);0<d.count()&&(b=d.getItem(0));for(var d=h.getElementsByTag(“param”,“cke”),g=0,i=d.count();g<i;g++){var f=d.getItem(g),j=f.getAttribute(“name”),f=f.getAttribute(“value”);c=f}}else“cke:embed”==d.getName()&&(b=d);this.objectNode=h;this.embedNode=b;this.setupContent(h,b,c,e)}},onOk:function(){var e=null,d=null,b=null;if(this.fakeImage)e= this.objectNode,d=this.embedNode;else if(g&&(e=CKEDITOR.dom.element.createFromHtml(“<cke:object></cke:object>”,a.document),e.setAttributes({classid:“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000”,codebase:“”,a.document),d.setAttributes({type:“application/x-shockwave-flash”,pluginspage:“http://www.macromedia.com/go/getflashplayer”}),e&&d.appendTo(e“>download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0”})),i)d=CKEDITOR.dom.element.createFromHtml(“