/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
var swfobject=function(){var c="undefined",g="object",I="Shockwave Flash",O="ShockwaveFlash.ShockwaveFlash",s="application/x-shockwave-flash",F="SWFObjectExprInst",D="onreadystatechange",d=window,b=document,j=navigator,N=false,t=[U],i=[],u=[],n=[],o,q,z,G,l=false,p=false,f,v,K=true,a=function(){var m=typeof b.getElementById!=c&&typeof b.getElementsByTagName!=c&&typeof b.createElement!=c,h=j.userAgent.toLowerCase(),f=j.platform.toLowerCase(),l=f?/win/.test(f):/win/.test(h),o=f?/mac/.test(f):/mac/.test(h),n=/webkit/.test(h)?parseFloat(h.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i/*@cc_on=1@*/,e=[0,0,0],a=null;if(typeof j.plugins!=c&&typeof j.plugins[I]==g){a=j.plugins[I].description;if(a&&!(typeof j.mimeTypes!=c&&j.mimeTypes[s]&&!j.mimeTypes[s].enabledPlugin)){N=true;i=false;a=a.replace(/^.*\s+(\S+\s+\S+$)/,"$1");e[0]=parseInt(a.replace(/^(.*)\..*$/,"$1"),10);e[1]=parseInt(a.replace(/^.*\.(.*)\s.*$/,"$1"),10);e[2]=/[a-zA-Z]/.test(a)?parseInt(a.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof d.ActiveXObject!=c)try{var k=new ActiveXObject(O);if(k){a=k.GetVariable("$version");if(a){i=true;a=a.split(" ")[1].split(",");e=[parseInt(a[0],10),parseInt(a[1],10),parseInt(a[2],10)]}}}catch(p){}return{w3:m,pv:e,wk:n,ie:i,win:l,mac:o}}(),V=function(){if(!a.w3)return;(typeof b.readyState!=c&&b.readyState=="complete"||typeof b.readyState==c&&(b.getElementsByTagName("body")[0]||b.body))&&m();if(!l){typeof b.addEventListener!=c&&b.addEventListener("DOMContentLoaded",m,false);if(a.ie&&a.win){b.attachEvent(D,function(){if(b.readyState=="complete"){b.detachEvent(D,arguments.callee);m()}});d==top&&(function(){if(l)return;try{b.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}m()})()}a.wk&&(function(){if(l)return;if(!/loaded|complete/.test(b.readyState)){setTimeout(arguments.callee,0);return}m()})();J(m)}}();function m(){if(l)return;try{var c=b.getElementsByTagName("body")[0].appendChild(h("span"));c.parentNode.removeChild(c)}catch(e){return}l=true;for(var d=t.length,a=0;a<d;a++)t[a]()}function H(a){if(l)a();else t[t.length]=a}function J(a){if(typeof d.addEventListener!=c)d.addEventListener("load",a,false);else if(typeof b.addEventListener!=c)b.addEventListener("load",a,false);else if(typeof d.attachEvent!=c)T(d,"onload",a);else if(typeof d.onload=="function"){var e=d.onload;d.onload=function(){e();a()}}else d.onload=a}function U(){if(N)Q();else B()}function Q(){var i=b.getElementsByTagName("body")[0],e=h(g);e.setAttribute("type",s);var d=i.appendChild(e);if(d){var f=0;(function(){if(typeof d.GetVariable!=c){var b=d.GetVariable("$version");if(b){b=b.split(" ")[1].split(",");a.pv=[parseInt(b[0],10),parseInt(b[1],10),parseInt(b[2],10)]}}else if(f<10){f++;setTimeout(arguments.callee,10);return}i.removeChild(e);d=null;B()})()}else B()}function B(){var p=i.length;if(p>0)for(var h=0;h<p;h++){var g=i[h].id,f=i[h].callbackFn,d={success:false,id:g};if(a.pv[0]>0){var b=e(g);if(b)if(r(i[h].swfVersion)&&!(a.wk&&a.wk<312)){k(g,true);if(f){d.success=true;d.ref=A(g);f(d)}}else if(i[h].expressInstall&&y()){var j={};j.data=i[h].expressInstall;j.width=b.getAttribute("width")||"0";j.height=b.getAttribute("height")||"0";if(b.getAttribute("class"))j.styleclass=b.getAttribute("class");if(b.getAttribute("align"))j.align=b.getAttribute("align");for(var o={},m=b.getElementsByTagName("param"),q=m.length,l=0;l<q;l++)if(m[l].getAttribute("name").toLowerCase()!="movie")o[m[l].getAttribute("name")]=m[l].getAttribute("value");x(j,o,g,f)}else{P(b);f&&f(d)}}else{k(g,true);if(f){var n=A(g);if(n&&typeof n.SetVariable!=c){d.success=true;d.ref=n}f(d)}}}}function A(f){var b=null,a=e(f);if(a&&a.nodeName=="OBJECT")if(typeof a.SetVariable!=c)b=a;else{var d=a.getElementsByTagName(g)[0];if(d)b=d}return b}function y(){return!p&&r("6.0.65")&&(a.win||a.mac)&&!(a.wk&&a.wk<312)}function x(g,j,i,m){p=true;z=m||null;G={success:false,id:i};var f=e(i);if(f){if(f.nodeName=="OBJECT"){o=w(f);q=null}else{o=f;q=i}g.id=F;if(typeof g.width==c||!/%$/.test(g.width)&&parseInt(g.width,10)<310)g.width="310";if(typeof g.height==c||!/%$/.test(g.height)&&parseInt(g.height,10)<137)g.height="137";b.title=b.title.slice(0,47)+" - Flash Player Installation";var n=a.ie&&a.win?"ActiveX":"PlugIn",l="MMredirectURL="+d.location.toString().replace(/&/g,"%26")+"&MMplayerType="+n+"&MMdoctitle="+b.title;if(typeof j.flashvars!=c)j.flashvars+="&"+l;else j.flashvars=l;if(a.ie&&a.win&&f.readyState!=4){var k=h("div");i+="SWFObjectNew";k.setAttribute("id",i);f.parentNode.insertBefore(k,f);f.style.display="none";(function(){if(f.readyState==4)f.parentNode.removeChild(f);else setTimeout(arguments.callee,10)})()}C(g,j,i)}}function P(b){if(a.ie&&a.win&&b.readyState!=4){var c=h("div");b.parentNode.insertBefore(c,b);c.parentNode.replaceChild(w(b),c);b.style.display="none";(function(){if(b.readyState==4)b.parentNode.removeChild(b);else setTimeout(arguments.callee,10)})()}else b.parentNode.replaceChild(w(b),b)}function w(f){var d=h("div");if(a.win&&a.ie)d.innerHTML=f.innerHTML;else{var e=f.getElementsByTagName(g)[0];if(e){var b=e.childNodes;if(b)for(var i=b.length,c=0;c<i;c++)!(b[c].nodeType==1&&b[c].nodeName=="PARAM")&&!(b[c].nodeType==8)&&d.appendChild(b[c].cloneNode(true))}}return d}function C(b,f,q){var n,l=e(q);if(a.wk&&a.wk<312)return n;if(l){if(typeof b.id==c)b.id=q;if(a.ie&&a.win){var o="";for(var d in b)if(b[d]!=Object.prototype[d])if(d.toLowerCase()=="data")f.movie=b[d];else if(d.toLowerCase()=="styleclass")o+=' class="'+b[d]+'"';else if(d.toLowerCase()!="classid")o+=" "+d+'="'+b[d]+'"';var p="";for(var m in f)if(f[m]!=Object.prototype[m])p+='<param name="'+m+'" value="'+f[m]+'" />';l.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+o+">"+p+"</object>";u[u.length]=b.id;n=e(b.id)}else{var j=h(g);j.setAttribute("type",s);for(var i in b)if(b[i]!=Object.prototype[i])if(i.toLowerCase()=="styleclass")j.setAttribute("class",b[i]);else i.toLowerCase()!="classid"&&j.setAttribute(i,b[i]);for(var k in f)f[k]!=Object.prototype[k]&&k.toLowerCase()!="movie"&&S(j,k,f[k]);l.parentNode.replaceChild(j,l);n=j}}return n}function S(d,c,b){var a=h("param");a.setAttribute("name",c);a.setAttribute("value",b);d.appendChild(a)}function M(c){var b=e(c);if(b&&b.nodeName=="OBJECT")if(a.ie&&a.win){b.style.display="none";(function(){if(b.readyState==4)R(c);else setTimeout(arguments.callee,10)})()}else b.parentNode.removeChild(b)}function R(c){var a=e(c);if(a){for(var b in a)if(typeof a[b]=="function")a[b]=null;a.parentNode.removeChild(a)}}function e(c){var a=null;try{a=b.getElementById(c)}catch(d){}return a}function h(a){return b.createElement(a)}function T(b,a,c){b.attachEvent(a,c);n[n.length]=[b,a,c]}function r(d){var c=a.pv,b=d.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return c[0]>b[0]||c[0]==b[0]&&c[1]>b[1]||c[0]==b[0]&&c[1]==b[1]&&c[2]>=b[2]?true:false}function L(k,j,d,m){if(a.ie&&a.mac)return;var l=b.getElementsByTagName("head")[0];if(!l)return;var e=d&&typeof d=="string"?d:"screen";if(m){f=null;v=null}if(!f||v!=e){var i=h("style");i.setAttribute("type","text/css");i.setAttribute("media",e);f=l.appendChild(i);if(a.ie&&a.win&&typeof b.styleSheets!=c&&b.styleSheets.length>0)f=b.styleSheets[b.styleSheets.length-1];v=e}if(a.ie&&a.win)f&&typeof f.addRule==g&&f.addRule(k,j);else f&&typeof b.createTextNode!=c&&f.appendChild(b.createTextNode(k+" {"+j+"}"))}function k(a,c){if(!K)return;var b=c?"visible":"hidden";if(l&&e(a))e(a).style.visibility=b;else L("#"+a,"visibility:"+b)}function E(a){var d=/[\\\"<>\.;]/,b=d.exec(a)!=null;return b&&typeof encodeURIComponent!=c?encodeURIComponent(a):a}var W=function(){a.ie&&a.win&&window.attachEvent("onunload",function(){for(var e=n.length,b=0;b<e;b++)n[b][0].detachEvent(n[b][1],n[b][2]);for(var d=u.length,c=0;c<d;c++)M(u[c]);for(var f in a)a[f]=null;a=null;for(var g in swfobject)swfobject[g]=null;swfobject=null})}();return{registerObject:function(c,e,f,d){if(a.w3&&c&&e){var b={};b.id=c;b.swfVersion=e;b.expressInstall=f;b.callbackFn=d;i[i.length]=b;k(c,false)}else d&&d({success:false,id:c})},getObjectById:function(b){if(a.w3)return A(b)},embedSWF:function(o,b,l,j,m,n,d,i,h,e){var f={success:false,id:b};if(a.w3&&!(a.wk&&a.wk<312)&&o&&b&&l&&j&&m){k(b,false);H(function(){l+="";j+="";var a={};if(h&&typeof h===g)for(var s in h)a[s]=h[s];a.data=o;a.width=l;a.height=j;var p={};if(i&&typeof i===g)for(var t in i)p[t]=i[t];if(d&&typeof d===g)for(var q in d)if(typeof p.flashvars!=c)p.flashvars+="&"+q+"="+d[q];else p.flashvars=q+"="+d[q];if(r(m)){var u=C(a,p,b);a.id==b&&k(b,true);f.success=true;f.ref=u}else if(n&&y()){a.data=n;x(a,p,b,e);return}else k(b,true);e&&e(f)})}else e&&e(f)},switchOffAutoHideShow:function(){K=false},ua:a,getFlashPlayerVersion:function(){return{major:a.pv[0],minor:a.pv[1],release:a.pv[2]}},hasFlashPlayerVersion:r,createSWF:function(c,d,b){return a.w3?C(c,d,b):undefined},showExpressInstall:function(d,e,b,c){a.w3&&y()&&x(d,e,b,c)},removeSWF:function(b){a.w3&&M(b)},createCSS:function(e,d,c,b){a.w3&&L(e,d,c,b)},addDomLoadEvent:H,addLoadEvent:J,getQueryParamValue:function(e){var c=b.location.search||b.location.hash;if(c){if(/\?/.test(c))c=c.split("?")[1];if(e==null)return E(c);for(var d=c.split("&"),a=0;a<d.length;a++)if(d[a].substring(0,d[a].indexOf("="))==e)return E(d[a].substring(d[a].indexOf("=")+1))}return""},expressInstallCallback:function(){if(p){var b=e(F);if(b&&o){b.parentNode.replaceChild(o,b);if(q){k(q,true);if(a.ie&&a.win)o.style.display="block"}z&&z(G)}p=false}}}}(),deconcept={SWFObject:function(g,h,f,e,d,b,c){var a={};if(c!=null)a.quality=c;if(b!=null)a.bgcolor=b;this.addParam=function(b,c){a[b]=c};this.write=function(b){swfobject.embedSWF(g,b,f,e,d,false,{},a)}},SWFObjectUtil:{getPlayerVersion:function(){var a=swfobject.getFlashPlayerVersion();a.rev=a.release;return a}}},SWFObject=deconcept.SWFObject;MoockFPI=function(){};MoockFPI.prototype.detectFlash=function(a){return deconcept.SWFObjectUtil.getPlayerVersion().major>=a};document.moockFlashPlayerInspector=new MoockFPI;function insertFlashMovie(i,g,f,a,b,e,c,h,d){if(document.moockFlashPlayerInspector.detectFlash(b)){var j='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '+g+" "+f+" ID="+a+' CODEBASE="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+b+',0,0,0"><PARAM NAME="MOVIE" VALUE="'+e+'"><PARAM NAME="QUALITY" VALUE="high"><PARAM NAME="bgcolor" VALUE="'+c+'"><PARAM NAME="MENU" VALUE="false"><PARAM NAME="wmode" VALUE="'+h+'"><PARAM NAME="FlashVars" VALUE="'+d+'"><PARAM NAME="allowFullScreen" VALUE="true"><PARAM NAME="allowScriptAccess" VALUE="always"><EMBED SRC="'+e+'" '+g+" "+f+'  ID="'+a+'" NAME="'+a+'" wmode="'+h+'" QUALITY="high" allowFullScreen="true" allowScriptAccess="always" bgcolor="'+c+'" TYPE="application/x-shockwave-flash" FlashVars="'+d+'" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>';document.write(j)}else document.write(i)}
