/*
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.isUsingMacMousewheel=false;swfIN._static.init()};swfIN.prototype={addParam:function(a,b){if(a!=""){this.params[a]=b
}},addVar:function(a,b){if(a!=""){this.flashVars[a]=b}},addVars:function(b){for(var a in b){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<arguments.length;i++){expression+=(i==1)?"a["+i+"]":", a["+i+"]"
}return eval("o[f]("+expression+");")},write:function(){if(!swfIN.detect.isPlayerVersionValid(this.requiredVersion)&&swfIN.detect.isPlayerVersionValid(swfIN._memory.expressInstallVersion)&&this.xiPath!=null&&swfIN.utils.getQueryParam("detect")!="false"){this.addParam("scale","noScale");document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVar("MMdoctitle",document.title);this.addVar("MMplayerType",(swfIN.detect.nsPlugin())?"PlugIn":"ActiveX");this.addVar("MMredirectURL",window.location);
this.width=this.xiWidth||this.width;if(this.width<swfIN._memory.expressInstallMinSize.w){this.width=swfIN._memory.expressInstallMinSize.w}this.height=this.xiHeight||this.height;if(this.height<swfIN._memory.expressInstallMinSize.h){this.height=swfIN._memory.expressInstallMinSize.h}this.swfPath=this.xiPath;document.write(this.getHTML());this.is_written=true}else{if(swfIN.detect.isPlayerVersionValid(this.requiredVersion)||swfIN.utils.getQueryParam("detect")=="false"){document.write(this.getHTML());this.is_written=true
}else{if(this.redirectURL!=null){var a=(this.redirectUseParams)?this.redirectURL+"?required="+this.requiredVersion.join(".")+"&installed="+swfIN.detect.getPlayerVersionString():this.redirectURL;location.href=a}}}if(this.isWritten()){if(this.showDivName){swfIN.utils.$delete(this.showDivName)}this._checkForConflicts();swfIN._memory.swf_stack.push(this);this.refresh();this._formFix()}},isWritten:function(){return this.is_written},hideSEO:function(a){swfIN.utils.$delete(a)},getDivID:function(){return this.containerDivID
},getDivRef:function(){return swfIN.utils.$(this.getDivID())},getSWFID:function(){return this.swfID},getSWFRef:function(){return swfIN.utils.$(this.getSWFID())},refresh:function(){var a=this.getDivRef();a.style.width=this._calculateWidth();a.style.height=this._calculateHeight();if(this.scrollbarWidth){a.style["min-width"]=this.scrollbarWidth+"px"}if(this.scrollbarHeight){a.style["min-height"]=this.scrollbarHeight+"px"}},getHTML:function(){var f="";for(var d in this.flashVars){var c=(f=="")?"":"&";
f+=c+d+"="+escape(this.flashVars[d])}var e=[];e.quality="high";e.menu="false";e.swLiveConnect="true";e.pluginspage=swfIN._memory.player_download;e.allowScriptAccess="always";e.FlashVars=f;for(var d in this.params){e[d]=this.params[d]}var b="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'  id='"+this.swfID+"' width='100%' height='100%' align='top' hspace='0' vspace='0'><param name='movie' value='"+this.swfPath+"'>";for(var d in e){b+="<param name='"+d+"' value='"+e[d]+"'>"}b+="<embed src='"+this.swfPath+"' width='100%' height='100%' align='top' hspace='0' vspace='0' type='application/x-shockwave-flash' name='"+this.swfID+"' ";
for(var d in e){b+=d+"='"+e[d]+"' "}b+="></embed></object>";var a=(this.scrollbarWidth>0&&this.scrollbarHeight>0)?"min-width:"+this.scrollbarWidth+"px; min-height:"+this.scrollbarHeight+"px":"";b="<div id='"+this.containerDivID+"' style='width:"+this._calculateWidth()+"; height:"+this._calculateHeight()+"; "+a+"'>"+b+"</div>";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<a.length;b++){if(a[b].getDivID()==this.getDivID()||a[b].getDivID()==this.getSWFID()||a[b].getSWFID()==this.getDivID()||a[b].getSWFID()==this.getSWFID()){this._error("You cannot name swfs or divs by the same id. Please revise the ids currently in use.")
}}},_error:function(a){alert("swfIN error!\n"+a)}};swfIN._static={init:function(){if(!swfIN._memory.is_init){if(Array.prototype.push==null){Array.prototype.push=function(a){this[this.length]=a;return this.length}}if(swfIN.detect.mac()){swfIN.utils.addEventListener(window,"DOMMouseScroll",swfIN._static.sendMousewheel);swfIN.utils.addEventListener(document,"mousewheel",swfIN._static.sendMousewheel)}swfIN.utils.addEventListener(window,"resize",swfIN._static.refreshAll);swfIN._memory.is_init=true}},refreshAll:function(){var b=swfIN._memory.swf_stack;
for(var c=0;c<b.length;c++){var a=b[c];if(a.isWritten()){a.refresh()}}},sendMousewheel:function(d){var e=0;if(d.wheelDelta){e=d.wheelDelta/40}else{if(d.detail){e=-d.detail}}if(e){var b=swfIN._memory.swf_stack;for(var c=0;c<b.length;c++){var a=b[c];if(a.isWritten()&&a.isUsingMacMousewheel){a.callback("externalMouseEvent",e)}}}}};swfIN._memory={swf_stack:[],is_init:false,player_download:"http://www.adobe.com/go/getflash/",user_agent:navigator.userAgent.toLowerCase(),expressInstallMinSize:{w:214,h:137},expressInstallVersion:[6,0,65],fullscreenModeVersion:[9,0,28],vistaVersion:[9,0,28]};
swfIN.detect={getPlayerVersion:function(){var c=[0,0,0];var d;if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){c=a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split(".")}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=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 false}if(a[0]>b[0]){return true}if(a[1]<b[1]){return false}if(a[1]>b[1]){return true}if(a[2]<b[2]){return false}return true},getPlayerVersionString:function(){return swfIN.detect.getPlayerVersion().join(".")
},ns4:function(){return(document.layers!=null)},ie5_mac:function(){return(swfIN._memory.user_agent.indexOf("msie 5")!=-1&&swfIN._memory.user_agent.indexOf("mac")!=-1)},ie7:function(){return(swfIN._memory.user_agent.indexOf("msie 7")!=-1)},ie:function(){return(swfIN._memory.user_agent.indexOf("msie")!=-1)},safari:function(){return(swfIN._memory.user_agent.indexOf("applewebkit")!=-1)},opera:function(){return(window.opera)},mac:function(){return(swfIN._memory.user_agent.indexOf("mac")!=-1)},nsPlugin:function(){return(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length>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)},splice:function(e,c){var b=[];for(var d=c;d<e.length;d++){b[d-c]=e[d]}return b},delegate:function(b,a){var c=function(){var e=arguments.callee.t;var d=arguments.callee.f;var f=arguments.callee.a;return d.apply(e,f)};c.t=b;c.f=a;c.a=swfIN.utils.splice(arguments,2);return c},addEventListener:function(a,c,b){if(a.addEventListener){a.addEventListener(c,b,true)}else{a.attachEvent("on"+c,b)
}},popUp:function(a,b,o,f,n,m,d){var l=swfIN.detect.getFullScreenSize();var k=swfIN.detect.getAvailScreenSize();o=(o=="full")?k.w:o;f=(f=="full")?k.h:f;n=(n=="center")?(l.w-o)/2:n;m=(m=="center")?(l.h-f)/2:m;var c=[];c.width=o;c.innerWidth=o;c.height=f;c.innerHeight=f;c.toolbar=0;c.location=0;c.directories=0;c.status=0;c.menubar=0;c.scrollbars=0;c.resizable=0;c.copyhistory=0;c.fullscreen=0;for(var e in d){c[e]=d[e]}var j="";for(var e in c){j+=(j=="")?e+"="+c[e]:","+e+"="+c[e]}var g=window.open(a,b,j);
g.resizeTo(o,f);g.moveTo(0,0);g.moveBy(n,m);g.focus()},getQueryParam:function(a){var b=swfIN.utils.getAllQueryParams()[a];return(b!=undefined&&b!="")?b:null},getAllQueryParams:function(){var b=[];var d=window.location.search.substring(1).split("&");for(var c=0;c<d.length;c++){var a=d[c].split("=");b[a[0]]=a[1]}return b}}};
*/
var fd={};fd.showFlash=function(_1,id,_3,_4,w,h,_7,_8,_9){if(fd.movies==null){fd.movies=[];}if(_7==null){_7=0;}var _a=fd.tools.getFlashVersion();var _b="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+_7+",0,0,0";if(fd.player_download==null){fd.player_download="http://www.macromedia.com/go/getflashplayer";}fd.tryExpressInstall=(_a<_7&&_9&&_a>=6);(_8!=null)?_8=_8.split(" : "):_8="";if(_a>=_7||fd.tools.getQsParam("bypassFlashCheck")=="true"||fd.tryExpressInstall){fd.actions.outputTag(_1,id,_3,_4,w,h,_b);}else{if(_8[0]=="r"){fd.actions.redirect(_8[1],_8[2],_7,_a);}else{if(_8[0]=="i"){fd.actions.image(_8[1],_8[2]);}else{if(_8[0]=="d"){fd.actions.showDiv(_8[1]);}else{if(_8[0]=="h"){fd.actions.html(_8[1]);}}}}}for(var i=0;i<fd.movies.length;i++){if(fd.movies[i]==id){alert("swfIN alert:\nYou cannot name two swfs by the same id. Please revise your swfs IDs in your swfIN() instanciation.");}}fd.movies.push(id);};fd.actions={outputTag:function(_d,id,_f,_10,w,h,_13){if(fd.tryExpressInstall){_10["MMplayerType"]=(fd.tools.nsPlugin())?"PlugIn":"ActiveX";document.title=document.title.slice(0,47)+" - Flash Player Installation";_10["MMdoctitle"]=document.title;_10["MMredirectURL"]=escape(window.location);}var fv="";for(var k in _10){fv+=(fv=="")?k+"="+escape(_10[k]):"&"+k+"="+escape(_10[k]);}var p=[];p["quality"]="high";p["menu"]="false";p["swLiveConnect"]="true";p["pluginspage"]=fd.player_download;p["allowScriptAccess"]="always";p["FlashVars"]=fv;for(var i in _f){p[i]=_f[i];}var _18,obj_h;if(!fd.tools.ns4()){_18="100%";obj_h="100%";}else{_18=fd.size.calculate(w,"w");obj_h=fd.size.calculate(h,"h");}var cb=(fd.tools.ie7())?"codebase='"+_13+"'":"";var tag="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' "+cb+" id='"+id+"' width='"+_18+"' height='"+obj_h+"' align='top' hspace='0' vspace='0'><param name='movie' value='"+_d+"'>";for(var i in p){tag+="<param name='"+i+"' value='"+p[i]+"'>";}tag+="<embed src='"+_d+"' width='"+_18+"' height='"+obj_h+"' align='top' hspace='0' vspace='0' type='application/x-shockwave-flash' name='"+id+"' ";for(var i in p){tag+=i+"='"+p[i]+"' ";}tag+="></embed></object>";if(!fd.tools.ns4()){var a="<div id='div_"+id+"' style='width:"+fd.size.calculate(w,"w")+"; height:"+fd.size.calculate(h,"h")+"'>"+tag+"</div>";document.write(a);if(fd.tools.ie()){$id("div_"+id).innerHTML=$id("div_"+id).innerHTML;}$id("div_"+id).fd_w=w;$id("div_"+id).fd_h=h;}else{document.write(tag);}},redirect:function(url,_1f,_20,_21){if(_1f=="true"){location.href=url+"?r="+_20+"&i="+_21;}else{location.href=url;}},image:function(_22,url){if(url=="none"){document.write("<img src='"+_22+"' border=0 />");}else{if(url==null){url=fd.player_download;}document.write("<a href='"+url+"' target='_blank'><img src='"+_22+"' border=0 /></a>");}},showDiv:function(id){if(!fd.tools.ns4()&&!fd.tools.ie5_mac()){$id(id).style.display="block";}},html:function(_25){document.write(_25);}};fd.size={calculate:function(val,_27){if(val.indexOf(" : ")!=-1){val=val.split(" : ");var _28=val[0].split("%");var _29=(_28[0]!=""&&_28[1]!=null)?(_28[0]/100):1;var _2a=fd.tools.browserSize()[_27]*_29;var res=(val[1]>_2a||val[1]=="")?val[1]:val[0];if(res.indexOf("%")>-1){return res;}else{return res+"px";}}else{if(val.indexOf("%")>-1){return val;}else{return val+"px";}}},refresh:function(){if(!fd.tools.ns4()){for(var id in fd.movies){if($id("div_"+fd.movies[id])){var w=fd.size.calculate($id("div_"+fd.movies[id]).fd_w,"w");var h=fd.size.calculate($id("div_"+fd.movies[id]).fd_h,"h");$id("div_"+fd.movies[id]).style.width=w;$id("div_"+fd.movies[id]).style.height=h;}}}else{location.reload();}},resizeDiv:function(id,w,h){var _32=$id("div_"+id).fd_w.split(" : ");var _33=$id("div_"+id).fd_h.split(" : ");$id("div_"+id).fd_w=(_32[1]==null)?w:w+" : "+_32[1];$id("div_"+id).fd_h=(_33[1]==null)?h:h+" : "+_33[1];fd.size.refresh();},changeMinSize:function(id,w,h){var _37=$id("div_"+id).fd_w.split(" : ");var _38=$id("div_"+id).fd_h.split(" : ");$id("div_"+id).fd_w=_37[0]+" : "+w;$id("div_"+id).fd_h=_38[0]+" : "+h;fd.size.refresh();},percent2pixel:function(){return 0;}};fd.tools={getQsParam:function(key){var tmp=fd.tools.getQs()[key];return (tmp!=null&&tmp!=undefined&&tmp!="")?tmp:null;},getQs:function(){var _3b=window.location.search.substring(1).split("&");var qs=[];for(var i=0;i<_3b.length;i++){var pos=_3b[i].indexOf("=");if(pos>0){qs[_3b[i].substring(0,pos)]=_3b[i].substring(pos+1);}}return qs;},ns4:function(){return (document.layers)?true:false;},ie5_mac:function(){var _3f=navigator.userAgent.toLowerCase();return (_3f.indexOf("msie 5")!=-1&&_3f.indexOf("mac")!=-1);},ie7:function(){var _40=navigator.userAgent.toLowerCase();return (_40.indexOf("msie 7")!=-1);},ie:function(){var _41=navigator.userAgent.toLowerCase();return (_41.indexOf("msie")!=-1);},mac:function(){var _42=navigator.userAgent.toLowerCase();return (_42.indexOf("mac")!=-1);},nsPlugin:function(){return (navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length);},browserSize: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};}}}return false;},getFlashVersion:function(){document.writeln("<script language=\"VBscript\">");document.writeln("Function detectActiveXControl(activeXControlName)");document.writeln("  on error resume next");document.writeln("  detectActiveXControl = False");document.writeln("  detectActiveXControl = IsObject(CreateObject(activeXControlName))");document.writeln("End Function");document.writeln("</scr"+"ipt>");var _43=0;var b=navigator.userAgent.toLowerCase();if((b.indexOf("msie")!=-1)&&(b.indexOf("win")!=-1)&&(b.indexOf("opera")==-1)){if(fd.tools.ie7()){_43=15;}else{for(var i=3;i<15;i++){if(detectActiveXControl("ShockwaveFlash.ShockwaveFlash."+i)==true){_43=i;}}}}else{if(navigator.plugins["Shockwave Flash"]){var _46=navigator.plugins["Shockwave Flash"].description;_43=parseInt(_46.charAt(_46.indexOf(".")-1));}if(b.indexOf("webtv/2.6")!=-1){_43=4;}if(b.indexOf("webtv/2.5")!=-1){_43=3;}if(b.indexOf("webtv")!=-1){_43=2;}}return _43;},screenSize:function(_47){if(_47=="full"){return {w:screen.width,h:screen.height};}if(_47=="avail"){return {w:screen.availWidth,h:screen.availHeight};}return false;},popUp:function(url,_49,w,h,x,y,_4e){var _4f=fd.tools.screenSize("full");var scr=fd.tools.screenSize("avail");w=(w=="full")?scr.w:w;h=(h=="full")?scr.h:h;x=(x=="center")?(_4f.w-w)/2:x;y=(y=="center")?(_4f.h-h)/2:y;var p=[];p["width"]=w;p["innerWidth"]=w;p["height"]=h;p["innerHeight"]=h;p["toolbar"]=0;p["location"]=0;p["directories"]=0;p["status"]=0;p["menubar"]=0;p["scrollbars"]=0;p["resizable"]=0;p["copyhistory"]=0;p["fullscreen"]=0;for(var i in _4e){p[i]=_4e[i];}var _53="";for(var i in p){_53+=(_53=="")?i+"="+p[i]:","+i+"="+p[i];}var win=window.open(url,_49,_53);win.resizeTo(w,h);win.moveTo(0,0);win.moveBy(x,y);win.focus();}};if(Array.prototype.push==null){Array.prototype.push=function(val){this[this.length]=val;return this.length;};}function $id(id){return document.getElementById(id);}window.onresize=fd.size.refresh;var swfIN=function(_58,id,w,h,_5c){this.fd=fd;this.params=[];this.flashVars=[];this.movie=_58;this.id=id;this.w=w;this.h=h;};swfIN.prototype={addParam:function(_5d,val){this.params[_5d]=val;},addVar:function(_5f,val){this.flashVars[_5f]=val;},addVars:function(_61){for(var i in _61){this.addVar(i,_61[i]);}},minSize:function(_63,_64){if(_63!=null){this.w+=" : "+_63;}if(_64!=null){this.h+=" : "+_64;}},detect:function(_65,_66,_67,_68){this.requiredVersion=_65;this.param1=_66,this.param2=_67,this.param3=_68;var _69="";for(var i=1;i<=3;i++){if(this["param"+i]!=null){if(_69==""){_69+=this["param"+i];}else{_69+=" : "+this["param"+i];}}}this.myAction=_69;},useExpressInstall:function(){this.express=true;},write:function(){this.fd.showFlash(this.movie,this.id,this.params,this.flashVars,this.w,this.h,this.requiredVersion,this.myAction,this.express);this.fd.size.refresh();},name:"swfIN 1.0.3  -  2007-03-29",author:"\ufffd 2004-2007 Francis Turmel  |  swfIN.nectere.ca  |  www.nectere.ca  |  francis@nectere.ca",desc:"javascript toolkit for flash developers  |  released under the MIT license"};