//  DEVELOPER NOTES TO SELF:

// release notes, legal, documentation.

	//// BEGIN HEADER ////////////////////////////////////////////////////////////////////////////////
	//////////////////////////////////////////////////////////////////////////////////////////////////
	////                                                                                          ////
	////    SWFHANDLER OBJECT CREATOR. V3.0                                                       ////
	////                                                                                          ////
	////    Copyright 2008, Jose Cao-Garcia                                                       ////
	////                                                                                          ////
	////    This software is licensed under the Creative Commons                                  ////
	////    Attribution-ShareAlike 2.5 License:                                                   ////
	////    <http://creativecommons.org/licenses/by-sa/2.5/legalcode>                             ////
	////                                                                                          ////
	////    HELP/INFO/DEVELOPER CONTACT: jose@jcao.com, http://jcao.com                           ////
	////                                                                                          ////
	//////////////////////////////////////////////////////////////////////////////////////////////////
	//////////////////////////////////////////////////////////////////////////////////////////////////
	////                                                                                          ////
	////    SWFHANDLER is a simple, powerful and lightweight object creator that provides         ////
	////    support for flash deployment across all major/modern browsers (as well as Internet    ////
	////    Explorer) via W3C DOM and JavaScript. SWFHANDLER detects for the availability and     ////
	////    version of the shockwave flash plugin, It generates a pure-dom swf object that can    ////
	////    be inserted and manipulated via standard W3C DOM methods. In addition to detecting    ////
	////    the flash plugin and generating SWF objects, this script also provides object-level   ////
	////    support for javascript/flash interaction, via the Flash 'ExternalInterface' and       ////
	////    'liveconnect' methods provided by the shockwave flash browser plugin. Finally,        ////
	////    this script provides a flexible mechanism for serving alternate content to browsers   ////
	////    with missing or inadequate flash support.                                             ////
	////                                                                                          ////
	////    FOR MORE INFO VISIT: http://jcao.com/scripts/swfHandler/                              ////
	////                                                                                          ////
	//////////////////////////////////////////////////////////////////////////////////////////////////
	//// END HEADER //////////////////////////////////////////////////////////////////////////////////


	//// these CSS rules complement the built-in sifr support.
		document.writeln(' <style type="text/css">                                                                                   ');
		document.writeln('     @media screen {                                                                                       ');
		document.writeln('         .swfhandler-swfCont,                                                                              ');
		document.writeln('         .swfhandler-altCont,                                                                              ');
		document.writeln('         .swfhandler-font               { visibility: hidden; }                                            ');
		document.writeln('         img.swfhandler-clickImg        { display: block; position: relative; margin: 0px; padding: 0px; } ');
		document.writeln('         span.swfhandler-sifr-replaced  { visibility: hidden;  display: none;                            } ');
		document.writeln('         object.swfhandler-sifr-replaced,                                                                  ');
		document.writeln('         embed.swfhandler-sifr-replaced { margin: 0px; padding: 0px; }                                     ');
		document.writeln('     }                                                                                                     ');
		document.writeln('     @media print  {                                                                                       ');
		document.writeln('         span.swfhandler-sifr-replaced  { visibility: visible; display: inline; }                          ');
		document.writeln('         object.swfhandler-sifr-replaced,                                                                  ');
		document.writeln('         embed.swfhandler-sifr-replaced { visibility: hidden;  display: none;   }                          ');
		document.writeln('     }                                                                                                     ');
		document.writeln(' </style>                                                                                                  ');
		document.writeln('<div id="swfHandler-scaleTestingDiv" style="font-size: 10px ! important; height: 60em ! important; width: 60em ! important; background: red ! important; margin: 0px ! important; padding: 0px ! important; visibility: hidden ! important; position: absolute ! important; top: -1200px; left: -1200px;">&nbsp;</div>');


	//// OBJECT CREATOR FOR WORKING WITH SHOCKWAVE FLASH FILES (PACKED) --> http://deal.edwards.name/packer/
		eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('A 1b(r,s){4(r&&C(r)!=\'14\'){2r(\'1O 1b(1c): 3z 3A L 1d 1P 1v 2s 2t 14\');}3 t=T;t.1j=s||N.1Q;t.1c={2u:\'2v\',1R:\'2w\',2x:\'2y/x-2z-1S\',1T:\'3B:3C-3D-3E-3F-3G\',U:8,V:\'2A%\',W:\'2A%\'};L(3 i 1e r){t.1c[i]=r[i]}4(C(1k)==\'F\'){3H t.1c.1T}t.D=[];t.1U=1O 3I();t.X={1f:{3J:{B:{v:z,y:z,u:5},7:\'E\',Y:[\'2B\',\'3K\',\'3L\',\'3M\',\'3N\']},2u:{B:{v:5,y:z,u:5},7:\'E\',Y:[\'3O\',\'3P\',\'2v\']},3Q:{B:{v:5,y:z,u:5},7:\'E:J\'},3R:{B:{v:5,y:z,u:5},7:\'E:3S\'},1T:{B:{v:z,y:5,u:5},7:\'E\'},3T:{B:{v:z,y:5,u:5},7:\'E:J\'},1V:{B:{v:z,y:5,u:5},7:\'E:J\'},1W:{B:{v:5,y:z,u:5},7:\'E\'},W:{B:{v:z,y:5,u:5},7:\'1w\'},I:{B:{v:z,y:5,u:5},7:\'E\'},3U:{B:{v:5,y:z,u:5},7:\'1g\'},3V:{B:{v:5,y:z,u:5},7:\'1g\'},15:{B:{v:5,y:z,u:5},7:\'E:J\'},M:{B:{v:5,y:5,u:5},7:\'E\'},3W:{B:{v:5,y:z,u:5},7:\'1g\'},3X:{B:{v:z,y:z,u:5},7:\'E\'},1R:{B:{v:5,y:z,u:5},7:\'E\',Y:[\'3Y\',\'2w\',\'3Z\',\'40\',\'2C\']},41:{B:{v:5,y:z,u:5},7:\'E\',Y:[\'l\',\'t\',\'r\',\'b\',\'42\',\'43\',\'44\',\'45\']},2D:{B:{v:5,y:z,u:5},7:\'E\',Y:[\'46\',\'47\',\'48\',\'2E\']},49:{B:{v:5,y:z,u:5},7:\'1g\'},1x:{B:{v:5,y:5,u:5},7:\'E:J\'},2x:{B:{v:z,y:z,u:5},7:\'E\',Y:[\'2y/x-2z-1S\']},V:{B:{v:z,y:5,u:5},7:\'1w\'},2F:{B:{v:5,y:z,u:5},7:\'E\',Y:[\'1X\',\'4a\',\'2G\']}},1y:{U:{7:\'1w\'},G:{7:\'E\'},13:{7:\'E\',Y:[\'2H\',\'G\',\'2I:\']},1z:{7:\'1g\'},1Y:{7:\'E\'},J:{7:\'E:J\'},2J:{7:\'1g\'}}};t.1A={2K:\'4b 16.\',2L:\'1Z 16 (2M).\',4c:\'2N 1Z (2N).\',2O:\'4d 4e 16.\',2P:\'4f 4g 16.\',2Q:\'20 4h 4i 16.\',2R:\'20 4j 16.\',21:\'20 4k 4l 16.\'};t.Z=A(a,b,c,d){3 f=[\'1b 1A: \'+t.1A[a]+\'.\\n\\t\\4m 4n 4o 2S://4p.4q/4r/1b/ L 4s 4t.\'].P(\'\');4(b){3 g=\'\\n\\t\\4u:{\';L(3 i 1e b){g+=\'\\n\\t\\t\\t\'+i+\':\'+b[i]+\', \';4(c&&i==c){g+=\'\\/\\/<---\'+(d||t.1A[a])}}g=g.K(\', }\').P(\'\\n\\t\\t};\');f+=g}11{4v.4w(f)}12(e){}};t.4x=A(a,b){4(!a||!b||C(a)!=\'E\'||C(b)!=\'14\'){2r(\'1d.D: 22 1v 23 a 4y, 2T 4z\');}H{t.D[a]={24:b.24,1B:b.1B||\'2B\',1C:b.1C||0,1h:b.1h||\'#25\',1D:b.1D||b.1h||\'#25\',1E:b.1E||b.1h||\'#25\',1F:b.1F||Q,1l:b.1l||Q,1m:b.1m||Q,1n:b.1n||Q,1o:b.1o||Q}}};t.15=A(a,b,c){a=t.2U(a,b);a=t.2V(a);3 d=((1d.17>=a.U)&&!c)?\'2W\':\'G\';2X(d){1G\'2W\':4(b){b.9.1H=\'\'}3 e={v:\'<14<!--18-->><!-- 2Y --></14>\\n\',y:\'<!--18-->\',u:\'\\t<1I<!--18--> />\\n\'};L(3 f 1e a){4(t.X.1f[f]){e=t.2Z(e,f,a[f])}}e.u=(e.u==\'\\t<1I<!--18--> />\\n\')?\'\':e.u.K(\'<!--18-->\').P(\'\');e=e.v.K(\'<!-- 2Y -->\').P(e.y+e.u);e=e.K(\'<!--18-->\').P(\'\');4(b){b.O=e;b.1J();4(!a.1z){3 g=(C(1k)!=\'F\'&&N.4A)?1X[a.M]:N[a.I]}H{3 g=z}}H{b=N.30(\'31\');b.O=e;b.1J();3 g=b.4B(b.4C)}4(!a.1z&&g){g.26=t.26;g.27=t.27;g.28=t.28;g.29=t.29;g.2a=t.2a;g.2b=t.2b;g.2c=t.2c}1p;1G\'G\':4(a.G){3 h=(/\\.4D$|\\.4E$|\\.4F$|\\.4G$/.1q(a.G));3 i=((/\\.4H$|\\.4I$|\\.4J$|\\.4K$|\\.4L$|\\.4M$|^2S|^4N/.1q(a.G)));3 j=(!h&&!i);4(h){4(b){b.O=\'<4O 1x="\'+a.G+\'" V="\'+a.V+\'" W="\'+a.W+\'" />\'}H{t.Z(\'21\',a,\'G\',\'22 1v 23 a 32 33 34 2d 35 36 2e 2t 4P 37\')}}4(j){4(b){b.O=a.G}H{t.Z(\'21\',a,\'G\',\'22 1v 23 a 32 33 34 2d 35 36 2e 4Q 4R\')}}4(i){2f.4S(a.G)}3 g=Q}H{b.9.1H=\'38\'}1p}R g};t.2Z=A(a,b,c){3 d=t.X.1f[b].B;3 e=\'<!--18-->\';4(d.v){a.v=a.v.K(e).P(\' \'+b+\'="\'+c+\'"\'+e)}4(d.u){a.u=a.u.K(e).P(\' \'+b+\'="\'+c+\'"\'+e)}4(d.y){a.y=a.y.K(e).P(\'\\t<4T M="\'+b+\'" 39="\'+c+\'" />\\n\'+e)}R a};t.2V=A(a){4(!a.J){a.J=\'F 3a Q\';t.Z(\'2R\',a,\'J\',\'4U 4V 4W 37 4X. 4Y "(2M) 1Z" 4Z L "1V", "1x", 2T "15" 51 2s 52 2e 53 54 2d 55 J 56.\')}4(!a.U){a.U=\'F 3a Q\';t.Z(\'2Q\',a,\'U\')}L(3 i 1e a){3 b=i;3 c=a[i];3 d=(t.X.1f[b]||t.X.1y[b]);4(!d){t.Z(\'2P\',a,i)}H{3 e=t.X.1f[b]||t.X.1y[b];3 f=e.7.K(\':\')[0];3 g=(/\\w\\:/.1q(e.7))?e.7.K(\':\')[1]:Q;3 h=e.Y||Q;4(f==\'1w\'){3 j=(2g(c).57()!=\'3b\');3 k=(/\\%$/.1q(c));c=a[i]=(j)?2g(c):c;4(k){a[i]+=\'%\'}}4(C(c)!=f){t.Z(\'2L\',a,i)}H{4(h&&h.P().3c(c)==-1){t.Z(\'2O\',a,i)}}}}R a};t.2U=A(d,e){4(e){3 f=e.1r(\'14\');3 g=e.1r(\'1I\');4(f.S||g.S){3 h=(f.S)?f[0].I:g[0].M;4(h){d.I=d.M=h;d.G=t.1U[d.I]}}H{d.G=e.O}}4(d.I||d.M){4(d.I&&!d.M){d.M=d.I}4(d.M&&!d.I){d.I=d.M}}H{3 i=A(a){3 b=\'58\';3 c=\'\';2h(c.S<a){c+=b.59(3d.5a(3d.5b()*(b.S-1)))};R c};2h(!d.I||N.3e(d.I)){d.I=d.M=\'5c\'+i(8)}}t.1U[d.I]=d.G;L(3 j 1e t.1c){4(C(d[j])==\'F\'){d[j]=t.1c[j]}}4(d.2J){d.1W=N.2f.5d.3f(1)}d.15=d.1x=d.1V=d.J;R d};t.3g=A(g,h){3 i=g.19(\'1b\').5e();3 j=A(a){3 b={};3 c=a.5f;L(3 d=0;d<c.S;d++){3 e=c[d].M;3 f=c[d].39;4(!t.X.1y[e]&&!t.X.1f[e]){5g}b[e]=f}R b};3 k=j(g);2X(i){1G\'2H\':4(k.1Y){1X[k.1Y]=t.15(k,g,h)}H{t.15(k,g,h)}1p;1G\'G\':3 l=(h||!1d.17||(1d.17<=k.U));g.9.1H=(l)?\'3h\':\'38\';1p}1K(A(){g.9.2i=\'3i\'},3j)};t.3k=A(a,b){3 c=a.19(\'1L\')||1a(a.O);3 d=a.19(\'13\').K(\':\')[1].K(\' \').P(\'\');3 e=\'<3l 5h="13-2j-2k">\'+2l(c)+\'</3l>\';4(C(t.D[d])!=\'F\'&&t.17>=6){a.O=2l(c);a.9.V=\'\';a.9.W=\'\';a.9.2i=\'5i\';a.9.1H=\'3h\';a.1J();3 f=a.1s+\'3m\';3 g=a.1i+\'3m\';4(C(t.D[d].1l)!=\'F\'){a.9.1M=t.D[d].1l}4(C(t.D[d].1m)!=\'F\'){a.9.3n=t.D[d].1m}4(C(t.D[d].1n)!=\'F\'){a.9.3o=t.D[d].1n}4(C(t.D[d].1o)!=\'F\'){a.9.3p=t.D[d].1o}3 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3u\'){4(e.1i>0){t.3k(e,b)}}}H{4(!c||c==\'1P\'){t.3g(e,b)}}}};t.3v=A(a,b){t.2n(a||t.1j,b,\'3u\')};t.3w=A(a,b){t.2n(a||t.1j,b,\'1P\')};t.3t=A(a){3 b=[];a=a||t.1j;3 c=a;2h(c!=N.1Q){4(c==t.1j){1p}c=c.5F;4(c==N.1Q){t.Z(\'2K\')}}3 d=a.1r(\'*\');L(3 i=0;i<d.S;i++){3 e=d[i];3 f=e.19(\'13\');4(f){b.5G(e)}}R b};t.3x=A(){3 a=5;3 b=5;4(C(1k)!=\'F\'){L(3 c=0;c<50;c++){11{3 d=1O 1k(\'3y.3y.\'+c);b=c}12(e){}}}H{4(1t.1u&&1t.1u.S>0){4(1t.1u[\'2o 2p 2.0\']){b=2}4(1t.1u[\'2o 2p\']){a=1t.1u[\'2o 2p\'].5H;b=a.K(\'.\')[0].3f(a.K(\'.\')[0].5I(\' \'))}}}t.17=b;4(N.2f.5J.3c(\'1S=5\')!=-1){t.17=5}};t.3r=A(){3 a=N.3e(\'1b-5K\');3 b=(a.1s!=1N||a.1i!=1N);3 c=a.1s/1N;3 d=a.1i/1N;3 e=(c+d)/2;R e};t.26=A(a){11{R T.5L(a)}12(e){R\'F\'}};t.27=A(a,b){11{T.5M(a,b)}12(e){}};t.28=A(a,b){11{3 c=(b)?b:\'2q/\';4(2g(a)==3b){T.5N(c,a)}H{T.5O(c,a)}}12(e){}};t.29=A(a){11{3 b=(a)?a:\'2q/\';T.5P(b)}12(e){}};t.2a=A(a){11{3 b=(a)?a:\'2q/\';T.5Q(b)}12(e){}};t.2b=A(){11{T.5R()}12(e){}};t.2c=A(a,b){11{T.5S(a,b)}12(e){}};t.3x();1K(t.3w,5T);1K(t.3v,5U)};',62,367,'|||var|if|false||valueType||style|||||||||||||||||||||EMBED|OBJECT|||PARAM|true|function|applyTo|typeof|fontStyles|string|undefined|altcont|else|id|url|split|for|name|document|innerHTML|join|null|return|length|this|revreq|width|height|propDict|values|devWarn||try|catch|swfhandler|object|movie|Error|rev|ins|getAttribute|escape|swfHandler|defaults|swf|in|markupProps|boolean|textcolor|offsetHeight|scope|ActiveXObject|adjFontSize|adjLineHeight|adjLetterSpacing|adjWordSpacing|break|test|getElementsByTagName|offsetWidth|navigator|plugins|must|number|src|objectProps|isFont|error|textalign|offsetTop|hovercolor|linkcolor|sifr_url_0|case|display|embed|normalize|setTimeout|textStr|fontSize|600|new|movies|body|quality|flash|classid|storedAltConts|data|flashvars|window|objref|Type|No|altTarget|you|specify|face|000000|lC_getVar|lC_setVar|lC_goFrame|lC_pause|lC_play|lC_rewind|lC_loadMov|setting|as|location|parseInt|while|visibility|sifr|replaced|unescape|className|setAll|Shockwave|Flash|_level0|throw|be|an|allowScriptAccess|sameDomain|high|type|application|shockwave|100|left|best|scale|noScale|wmode|transparent|swfcont|font|copyquery|beyondScope|badType|Major|Minor|badValue|badProp|noRevreq|noUrl|http|and|swfOptsProc|validateSwfOpts|swfCont|switch|children|setSwfOpt|createElement|div|target|element|when|alternate|content|URL|none|value|or|NaN|indexOf|Math|getElementById|substring|setOne|block|visible|250|setOneSifr|span|px|lineHeight|letterSpacing|wordSpacing|10px|getScalingFactor|em|getAll|fonts|setFonts|setMovies|testPlugin|ShockwaveFlash|default|options|clsid|d27cdb6e|ae6d|11cf|96b8|444553540000|delete|Object|align|top|right|bottom|middle|always|never|base|bgcolor|hexadecimal|codebase|loop|menu|play|pluginspage|low|autolow|autohigh|salign|tl|tr|bl|br|showall|noborder|exactfit|swliveconnect|opaque|Scope|badSubType|Illegal|Value|Unknown|Property|Version|Check|Url|Alt|Target|tSee|documentation|at|jcao|com|scripts|debugging|info|tswfOpts|console|warn|newFont|styleName|styleValues|embeds|removeChild|firstChild|png|jpg|jpeg|gif|html|htm|shtml|asp|aspx|php|https|img|image|HTML|text|replace|param|MISSING|OR|UNDEFINED|PROPERTY|Multiple|errors||can|resolved|well|by|the|property|toString|0123456789abcdefghijklmnopqrstuvwxyz|charAt|round|random|swfHandlerGenerated_|search|toLowerCase|attributes|continue|class|hidden|txt|setAttribute|onclick|onmousedown|onmouseup|onmouseover|onmouseout|nbsp|clickImg|cursor|pointer|position|absolute|zIndex|marginTop|background|black|marginLeft|filter|alpha|opacity|appendChild|parentNode|push|description|lastIndexOf|href|scaleTestingDiv|GetVariable|SetVariable|TGotoLabel|TGotoFrame|TStopPlay|TPlay|Rewind|LoadMovie|050|150'.split('|'),0,{}))


	// add to initialization sequence
//		initSequence.push(function() { window.swf = new swfHandler(); });


