/* FlashControl */
/* Compressed: 2007.06.01 */

var Flash_contentVersion=8;

var plugin=(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"])?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0;if(plugin){var words=navigator.plugins["Shockwave Flash"].description.split(" ");for(var i=0;i<words.length;++i)
{if(isNaN(parseInt(words[i])))
continue;var Flash_PluginVersion=words[i];}
var FlashCanPlay=Flash_PluginVersion>=Flash_contentVersion;}
else if(navigator.userAgent&&navigator.userAgent.indexOf("MSIE")>=0&&(navigator.appVersion.indexOf("Win")!=-1)){document.write('<SCR'+'IPT LANGUAGE=VBScript\> \n');document.write('on error resume next \n');document.write('FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & Flash_contentVersion)))\n');document.write('<\/SCR'+'IPT\> \n');}
function FlashObject(name,src,width,height){this.attributes=new Object();this.variables=new Object();this.setAttribute('id',name);this.setAttribute('name',name);this.setAttribute('src',src);this.setAttribute('width',width);this.setAttribute('height',height);};FlashObject.prototype={setNoFlashImage:function(src){this.setAttribute('noFlashImg',src);},setAttribute:function(n,v){this.attributes[n]=v;},getAttribute:function(n){return this.attributes[n];},addVariable:function(n,v){v=new String(v);while(v.search(' ')!=-1){v=v.replace(' ','%20');}
while(v.search('&')!=-1){v=v.replace('&','%26');}
this.variables[n]=v;},getVariables:function(n,v){return this.variables;},getVariablePairs:function(){var a=new Array();var key;var v=this.getVariables();for(key in v){a.push(key+"="+v[key]);}
return a;},write:function(n){if(!FlashCanPlay&&this.getAttribute('noFlashImg')){var c='<img src="'+this.getAttribute('noFlashImg')+'" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'" alt="" />';}else{var c='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" type="application/x-shockwave-flash" data="'+this.getAttribute('src')+'"  id="'+this.getAttribute('name')+'" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'"';if(this.getAttribute('align')){c=c+' align="'+this.getAttribute('align')+'"';}
if(this.getAttribute('style')){c=c+' style="'+this.getAttribute('style')+'"';}
if(this.getAttribute('class')){c=c+' class="'+this.getAttribute('class')+'"';}
c=c+'>';c=c+'<!--[if IE]><param name="movie" value="'+this.getAttribute('src')+'"><![endif]-->';var vp=this.getVariablePairs().join("&");if(vp.length){c=c+'<param name="flashvars" value="'+vp+'">';}
if(this.getAttribute('wmode')){c=c+'<param name="wmode" value="'+this.getAttribute('wmode')+'">';}
if(this.getAttribute('bgcolor')){c=c+'<param name="bgcolor" value="'+this.getAttribute('bgcolor')+'">';}
c=c+'<embed';if(this.getAttribute('bgcolor')){c=c+' bgcolor="'+this.getAttribute('bgcolor')+'"';}
if(vp.length){c=c+' flashvars="'+vp+'"';}
if(this.getAttribute('style')){c=c+' style="'+this.getAttribute('style')+'"';}
if(this.getAttribute('wmode')){c=c+' wmode="'+this.getAttribute('wmode')+'"';}
c=c+' id="e'+this.getAttribute('name')+'"';c=c+' name="e'+this.getAttribute('name')+'"';c=c+' src="'+this.getAttribute('src')+'"';c=c+' width="'+this.getAttribute('width')+'"';c=c+' height="'+this.getAttribute('height')+'"';c=c+' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';c=c+'<\/object>';}
if(typeof(n)=='undefined'||n=='')
{document.write(c);}else{document.getElementById(n).innerHTML=c;}
return c;},encodeMyHtml:function(v){v=new String(v);v=v.replace(/</g,"&lt;");v=v.replace(/>/g,"&gt;");return v;}}
function getFlashMovieObject(movieName)
{if(window.document[movieName])
return window.document[movieName];if(navigator.appName.indexOf("Microsoft Internet")==-1){if(document.embeds&&document.embeds[movieName])
return document.embeds[movieName];}
else
return document.getElementById(movieName);}
