// JavaScript Document
/*******************************************************************************
	Filename		: swf_embed.js
	Created			: 25-02-2008
	Created by		: Markus Sommerfeld
	Company		    : Charamel GmbH

	Comments		: JavaScript Class to embed a Flash file into the HTML content.
	                  Includes the Flash Player Version Detection - Rev 1.6
                      By Adobe Macromedia 
                      
    Modify #1
    Modified by     :   Markus Sommerfeld
    Modify Date     :   19-03-2008
    Modify Type     :   add ";" to each end of function (){};
    
    Modify #2
    Modified by     :   Markus Sommerfeld
    Modify Date     :   25-03-2008
    Modify Type     :   default _BGCOLOR="" to use the bgColor with is set in
                        the FLASH-file. 
                        
    Modify #3
    Modified by     :   Markus Sommerfeld
    Modify Date     :   18-04-2008
    Modify Type     :   DEBUG of no flashplayer installed.
                        Is no FlashPlayer installed the script returns an error
                                                 
*******************************************************************************/

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('d 3M(M,U,28){5(M==c||M==2u){1B("2q: 3k 2F 2G 2H a 2N 2I !!!");f 1m};5(U==c||U==2u){1B("2q: 2j 2K 2L 1R 2M 3F !!!");f 1m};b 1K=r p({2w:"3E/3D",1N:l,1J:"14/2P.3B",1Q:"2R 2S 2T<1d />"+"2j 1x 1g 1c<1d />1P: ",1I:"2h://2U.3v.2k/2V/2X",1U:"1F%",1O:"1F%",1H:"2Y",1E:"2Z",1X:"",1Z:"3p",20:"30",21:l,22:l,1D:l,23:1m,24:"31.D",27:9,2d:0,2e:0,1T:"33/x-35-36",26:"37"});3.F=M;3.o=U;3.4=28;3.1a="";3.g="";3.i="";3.u;3.19=19;3.8=8;3.P=P;3.C=C;3.L=L;3.17=17;3.1q=1q;3.B=B;3.Z=Z;3.J=J;3.1i=1i;3.7=7;3.z=z;3.1s=1s;3.1k=1k;d 8(1L){b 1M=1K[1L];f 1M};5(3.4==c){3.4=r p()};5(3.4["O"]==c){3.4["O"]=3.8("2w")};5(3.4["1w"]==c){3.4["1w"]=3.8("1N")};5(3.4["14"]==c){3.4["14"]=3.8("1J")};5(3.4["1v"]==c){3.4["1v"]=3.8("1Q")};5(3.4["X"]==c){3.4["X"]=3.8("1I")};5(3.4["1S"]==c){3.4["1S"]=3.8("1T")};5(3.4["t"]==c){3.4["t"]=3.8("1U")};5(3.4["v"]==c){3.4["v"]=3.8("1O")};5(3.4["10"]==c){3.4["10"]=3.8("1H")};5(3.4["h"]==c){3.4["h"]=3.8("1E")};5(3.4["1e"]==c){3.4["1e"]=3.8("1X")};5(3.4["1l"]==c){3.4["1l"]=3.8("1Z")};5(3.4["11"]==c){3.4["11"]=3.8("20")};5(3.4["1b"]==c){3.4["1b"]=3.8("21")};5(3.4["W"]==c){3.4["W"]=3.8("22")};5(3.4["16"]==c){3.4["16"]=3.8("1D")};5(3.4["1j"]==c){3.4["1j"]=3.8("23")};5(3.4["1h"]==c){3.4["1h"]=3.8("24")};5(3.4["25"]==c){3.4["25"]=3.8("26")};5(3.4["q"]==c){3.4["q"]=3.8("27")};d 1i(T,29){3.4[T]=29};d 7(T){f 3.4[T]};d P(){b 2a=2c(6,0,2t);f 2a};d C(){b 2f=2c(3.7("q"),3.8("2d"),3.8("2e"));f 2f};d 19(){f 1V()};d L(){b j="<3m ";A(b e I 3.N)j+=e+"=\'"+3.N[e]+"\' ";A(b e I 3.E)j+=e+"=\'"+3.E[e]+"\' ";5(3.i!="")j+="2m=\'"+3.i+"\'";j+="\\/>";3.1a=j;f j};d 17(){f 3.1a};d Z(){b g="<2p ";A(b e I 3.H){5(e!="k"){g+=e+"=\'"+3.H[e]+"\' "}s{g+=">";k=3.H["k"];A(b 1n I k)g+="<1t 1r=\'"+1n+"\' 1o=\'"+k[1n]+"\'>"}};A(b e I 3.E){g+="<1t 1r=\'"+e+"\' 1o=\'"+3.E[e]+"\'>"};5(3.i!=""){g+="<1t 1r=\'2m\' 1o=\'"+3.i+"\'>"};3.g=g;f g}d 1q(){f 3.g};d B(){3.z();b D=3.Z();D+=3.L();D+="<\\/2p>";f D};d 1s(Y,1u){5(Y!=""){b 12="="}s{b 12=""};5(3.i==""){3.i+=Y+12+1u}s{3.i+="&"+Y+12+1u}};d J(){b 2v=3.7("O")+"/"+3.7("14");b 1f=3.7("1v");b 18=3.7("X");b q=3.7("q");b V=""+"<1Y h=2r n=\'3J:3K\'>"+"<1W>"+"<Q>";5(3.7("1w")==l){V+=""+"<w n=\'R:G\'>"+"<a 1y=\'"+18+"\' 1A=\'2s\'>"+"<3L 1p=\'"+2v+"\' 2x=\'"+1f+"\'"+"13=\'1x 1g 1c 2y\' n=\'R:G\'>"+"<\\/a>"+"<\\/w>"};V+=""+"<w n=\'R:G\'>"+"<1C n=\'y-2l:2n;y-2i:1G;2g-h:2o\'>"+"<a 1y=\'"+18+"\' n=\'2A-2B:G;2C:#2E\' 1A=\'2s\'>"+1f+q+"<\\/a>"+"<\\/1C>"+"<1d />"+"<\\/w>"+"<\\/Q>"+"<Q>"+"<w 2O=2 h=2r n=\'y-2l:2n;y-2i:1G;2g-h:2o;y-34:38;R:G\'>"+"39 1P 1R: "+3.u+"<\\/w>"+"<\\/Q>"+"<\\/1W>"+"<\\/1Y>";f V};d z(){3.N=r p({1p:3.o,3b:3.7("X"),t:3.7("t"),v:3.7("v")});3.H=r p({3c:"3d:3f-3g-3h-3i-3l",3n:"2h://3q.3s.2k/3u/3w/3y/3z.3C#3G=6,0,2t,0",t:3.7("t"),v:3.7("v"),k:r p({1z:3.o})});3.E=r p({2D:3.7("1b"),W:3.7("W"),16:3.7("16"),10:3.7("10"),11:3.7("11"),h:3.7("h"),2W:3.7("1l"),32:3.7("1e")})};d 1k(){5(3.P()&&!3.C()){3.u=1V();5(3.u.3a("2b")!=-1){3.u=3.u.3e("2b","")};b 3j=(3o==l)?"3r":"3t";b 3x=3A.3H;m.13=m.13.3I(0,2z)+" - 1g 1c 2J";b 2Q=m.13;5(3.7("1j")==l){3.z();3.o=3.7("O")+"/"+3.7("1h");3.N["1p"]=3.o;3.H["k"]["1z"]=3.o;b K=3.B();m.S(3.F).15=K}s{m.S(3.F).15=3.J()}}s 5(3.C()){b K=3.B();m.S(3.F).15=K}s{m.S(3.F).15=3.J()}}};',62,235,'|||this|parameters|if||getParameter|getDefaultValue|||var|undefined|function|tag|return|swfObject|align|flashVar|embedObject|asParams|true|document|style|source|Object|requireVer|new|else|width|swfVersion|height|td||font|getTags|for|getSWFembedObject|isRequestedVersion|swf|optionalTag|swfDIV|none|objTag|in|getAlternateContent|swfObjEmb|generateSWFembed|_ID|embTag|jsPath|isFlashInstalled|tr|border|getElementById|_NAME|_SOURCE|alternateContent|loop|pluginPage|varName|generateSWFobject|quality|scale|andS|title|icon|innerHTML|menu|getGenerateSWFembed|plugInPage|getFlashVersion|swfEmbed|autoplay|Player|br|bgColor|alt_TEXT|Flash|expressInstF|setParameter|expressInst|init|wMode|false|para|VALUE|src|getGenerateSWFobject|NAME|addVariable|PARAM|varValue|errorMsg|iconShow|Adobe|href|movie|target|alert|span|_MENU|_ALIGN|100|8pt|_QUALITY|_PLUGIN_PAGE|_SFW_ICO|_DEFAULTS|_DEF|returnValue|_SFW_ICO_SHOW|_HEIGHT|Version|_ERROR_MSG|is|type|_TYPE|_WIDTH|GetSwfVer|table|_BGCOLOR|div|_WMODE|_SCALE|_AUTOPLAY|_LOOP|_EXPRESS_INSTALL|_EXPRESS_INSTALL_FILE|scriptAccess|_SCRIPT_ACCESS|_REQUIRED_MAJOR_VER|_PARAMETERS|_VALUE|isInstalled|WIN|DetectFlashVer|_REQUIRED_MINOR_VER|_REQUIRED_VER|hasVersion|vertical|http|size|the|com|family|FlashVars|verdana|middle|OBJECT|ERROR|center|_blank|65|null|swf_ICON|_JS_PATH|alt|nedded|47|text|decoration|color|play|571519|have|to|specify|ID|Installation|Source|URL|not|Layer|colspan|swf_ico|MMdoctitle|This|content|requires|www|go|wmode|getflashplayer|high|top|exactfit|expressinstall|bgcolor|application|weight|shockwave|flash|sameDomain|bold|Your|indexOf|pluginspage|classid|clsid|replace|d27cdb6e|ae6d|11cf|96b8|MMPlayerType|you|444553540000|EMBED|codebase|isIE|opage|fpdownload|ActiveX|macromedia|PlugIn|get|adobe|flashplayer|MMredirectURL|current|swflash|window|jpg|cab|swf_embed|javascript|defined|version|location|slice|margin|30px|img|SWFembed'.split('|'),0,{}))
