/*//////////////////////////////////////////////////////////////////////////////////////// swfIN 2.3.1 - 2009-02-05 javascript toolkit for flash developers © 2005-2009 Francis Turmel | swfIN.nectere.ca | www.nectere.ca | francis@nectere.ca released under the MIT license /*//////////////////////////////////////////////////////////////////////////////////////// if(typeof swfIN=="undefined"){var swfIN=function(b,c,d,a){this.params=[];this.flashVars=[];this.swfPath=b;this.swfID=c;this.containerDivID="div_"+c;this.width=String(d);this.height=String(a);this.scrollbarWidth=null;this.scrollbarHeight=null;this.requiredVersion=[0,0,0];this.redirectURL=null;this.redirectUseParams=false;this.xiPath=null;this.xiWidth=null;this.xiHeight=null;this.is_written=false;this.showDivName=null;this.showDivStyleMemory=null;this.isUsingMacMousewheel=false;swfIN._static.init() };swfIN.prototype={addParam:function(a,b){if(a!=""){this.params[a]=b}},addParams:function(b){for(var a in b){if(b.hasOwnProperty(a)){this.addParam(a,b[a])}}},addVar:function(a,b){if(a!=""){this.flashVars[a]=b}},addVars:function(b){for(var a in b){if(b.hasOwnProperty(a)){this.addVar(a,b[a])}}},scrollbarAt:function(b,a){this.scrollbarWidth=b;this.scrollbarHeight=a;if(this.isWritten()){this.refresh()}},resize:function(b,a){this.width=b;this.height=a;if(this.isWritten()){this.refresh()}},detect:function(b,c,a){this.detectRedirect(b,c,a) },detectRedirect:function(b,c,a){this.requiredVersion=b;this.redirectURL=c;this.redirectUseParams=a||false},detectShowDiv:function(b,c,a){this.requiredVersion=b;this.showDivName=c},useExpressInstall:function(b,c,a){this.xiPath=b;this.xiWidth=c;this.xiHeight=a},useSWFAddress:function(){if(typeof SWFAddress!="undefined"){SWFAddress.setId(this.getSWFID())}else{this._error("Can't find SWFAddress. Remove the .useSWFAddress() call if you're not using it.")}},useMacMousewheel:function(){this.isUsingMacMousewheel=true },callback:function(funk){var o=window.document[this.getSWFID()];var a=arguments;var f=funk;var expression="";for(var i=1;i";for(var d in e){if(e.hasOwnProperty(d)){b+=""}}b+="0&&this.scrollbarHeight>0)?"min-width:"+this.scrollbarWidth+"px; min-height:"+this.scrollbarHeight+"px":"";b="
"+b+"
";return b},_formFix:function(){if(swfIN.detect.ie()){window[this.getSWFID()]=document[this.getSWFID()]}},_calculateWidth:function(){return this._sizeHelper("Width") },_calculateHeight:function(){return this._sizeHelper("Height")},_sizeHelper:function(c){var d=String(this["scrollbar"+c]);var a=String(this[c.toLowerCase()]);if(d!=null&&a.indexOf("%")>-1){var b=swfIN.detect.getBrowserSize()[c.substr(0,1).toLowerCase()]*(a.split("%")[0]/100);a=(d>b)?d:a}return(a.indexOf("%")>-1)?a:a+"px"},_checkForConflicts:function(){if(this.swfID==null){this._error("The swf's id cannot be empty")}if(this.containerDivID==null){this._error("The container div's id cannot be empty") }if(this.swfID.indexOf(" ")>-1){this._error("The swf's id cannot contain spaces")}if(this.containerDivID.indexOf(" ")>-1){this._error("The container div's id cannot contain spaces")}if(this.getDivID()==this.getSWFID()){this._error("You cannot name swfs or divs by the same id. Please revise the ids currently in use.")}var a=swfIN._memory.swf_stack;for(var b=0;b=0){d=1;var b=3;while(d){try{b++;d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+b);c=[b,0,0]}catch(f){d=null}}}else{try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(f){try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");c=[6,0,21];d.AllowScriptAccess="always"}catch(f){if(c[0]==6){return c}}try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash") }catch(f){}}if(d!=null){c=d.GetVariable("$version").split(" ")[1].split(",")}}}return c},isPlayerVersionValid:function(b){var a=swfIN.detect.getPlayerVersion();if(a[0]b[0]){return true}if(a[1]b[1]){return true}if(a[2]0)},getBrowserSize:function(){if(self.innerWidth){return{w:self.innerWidth,h:self.innerHeight} }else{if(document.documentElement&&document.documentElement.clientWidth){return{w:document.documentElement.clientWidth,h:document.documentElement.clientHeight}}else{if(document.body){return{w:document.body.clientWidth,h:document.body.clientHeight}}else{return{w:null,h:null}}}}},getFullScreenSize:function(){return{w:screen.width,h:screen.height}},getAvailScreenSize:function(){return{w:screen.availWidth,h:screen.availHeight}}};swfIN.utils={$:function(a){return document.getElementById(a)},$delete:function(b){var a=swfIN.utils.$(b); a.parentNode.removeChild(a)},$hide:function(b){var a=swfIN.utils.$(b).style;a.visibility="hidden";a.position="absolute"},splice:function(g,d,f){var c=[];if(f==null){f=g.length-d}var b=0;for(var e=d;e