var wimpyButtonSwf="/js/wimpy_button.swf";var wimpyButtonImagePlay="/img/b_play_small.png";var wimpyButtonImagePause="/img/b_pause_small.png";var wimpyButtonReg="MiUyNSUzRWclMjV0JTdGTiUzQiU3RGhkJTNCZiUzRVAlN0NoWGYlM0EzJTNFY3kxdiU0MEszUyUzQS4w";function wimpyButtonTrackStarted(a){}function wimpyButtonTrackStopped(a){wimpyButtonState=0;wimpyButtonResetGrapicStates()}function wimpyButtonTrackDone(a){wimpyButtonState=0;wimpyButtonResetGrapicStates()}var wimpyButtonID="wimpyButtonBridge";var wimpyButtonUserAgent=navigator.appName.indexOf("Microsoft");var wimpyButtonState=0;var wimpyButtonRAND=0;var wimpyButtonObjIDS=new Object();var wimpyButtonCurrentFile="";function wimpyButtonGetElement(a){return document.getElementById(a)}function wimpyButtonPause(){wimpyButtonState=0;wimpyButtonGetElement(wimpyButtonID).js_wimpy_pause()}function wimpyButtonPlay(a){if(wimpyButtonState<1){wimpyButtonState=1;wimpyButtonCurrentFile=a;wimpyButtonGetElement(wimpyButtonID).js_wimpy_play(a)}}function wimpyButtonResetGrapicStates(){for(var a in wimpyButtonObjIDS){var c=wimpyButtonGetElement(a);c.src=wimpyButtonImagePlay}}function wimpyButtonPlayPause(a){var c=window.event||arguments.callee.caller.arguments[0];var b=c.target||c.srcElement;if(!b.id){b.id="wimpyButtonRAND"+(wimpyButtonRAND++)}wimpyButtonObjIDS[b.id]=b.id;for(var d in wimpyButtonObjIDS){var f=wimpyButtonGetElement(d);f.src=wimpyButtonImagePlay}if(wimpyButtonCurrentFile!=a&&wimpyButtonState==1){wimpyButtonState=0}if(wimpyButtonState==1){b.src=wimpyButtonImagePlay;wimpyButtonPause()}else{b.src=wimpyButtonImagePause;wimpyButtonPlay(a)}}function wimpyButtonWrite(){document.write('<div id="wimpyButtonBridgeTarget">Wimpy Button Bridge Error</div>');var a="1";var c="1";var b=new SWFObject(wimpyButtonSwf,wimpyButtonID,a,c,"8","#FFFFFF");b.addVariable("wimpyReg",wimpyButtonReg);b.addParam("scale","noscale");b.addParam("salign","lt");b.addParam("allowScriptAccess","always");b.addParam("allowFullScreen","true");b.addParam("menu","false");b.addParam("wmode","opaque");b.write("wimpyButtonBridgeTarget")}if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(a,c,b,d,f,g,h,i,j,k){if(!document.getElementById){return}this.DETECT_KEY=k?k:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(a){this.setAttribute("swf",a)}if(c){this.setAttribute("id",c)}if(b){this.setAttribute("width",b)}if(d){this.setAttribute("height",d)}if(f){this.setAttribute("version",new deconcept.PlayerVersion(f.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(g){this.addParam("bgcolor",g)}var l=h?h:"high";this.addParam("quality",l);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var m=(i)?i:window.location;this.setAttribute("xiRedirectUrl",m);this.setAttribute("redirectUrl","");if(j){this.setAttribute("redirectUrl",j)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,c){this.attributes[a]=c},getAttribute:function(a){return this.attributes[a]},addParam:function(a,c){this.params[a]=c},getParams:function(){return this.params},addVariable:function(a,c){this.variables[a]=c},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=new Array();var c;var b=this.getVariables();for(c in b){a[a.length]=c+"="+b[c]}return a},getSWFHTML:function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}a="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";a+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var c=this.getParams();for(var b in c){a+=[b]+"=\""+c[b]+"\" "}var d=this.getVariablePairs().join("&");if(d.length>0){a+="flashvars=\""+d+"\""}a+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}a="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";a+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var f=this.getParams();for(var b in f){a+="<param name=\""+b+"\" value=\""+f[b]+"\" />"}var g=this.getVariablePairs().join("&");if(g.length>0){a+="<param name=\"flashvars\" value=\""+g+"\" />"}a+="</object>"}return a},write:function(a){if(this.getAttribute("useExpressInstall")){var c=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(c)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var b=(typeof a=="string")?document.getElementById(a):a;b.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var a=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var c=navigator.plugins["Shockwave Flash"];if(c&&c.description){a=new deconcept.PlayerVersion(c.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var b=1;var d=3;while(b){try{d++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+d);a=new deconcept.PlayerVersion([d,0,0])}catch(e){b=null}}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(e){if(a.major==6){return a}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(b!=null){a=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}}return a};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(a){var c=document.location.search||document.location.hash;if(a==null){return c}if(c){var b=c.substring(1).split("&");for(var d=0;d<b.length;d++){if(b[d].substring(0,b[d].indexOf("="))==a){return b[d].substring((b[d].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var a=document.getElementsByTagName("OBJECT");for(var c=a.length-1;c>=0;c--){a[c].style.display="none";for(var b in a[c]){if(typeof a[c][b]=="function"){a[c][b]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;wimpyButtonWrite();
