if(typeof com=="undefined")var com={};if(typeof com.deconcept=="undefined")com.deconcept={};if(typeof com.deconcept.util=="undefined")com.deconcept.util={};if(typeof com.deconcept.FlashObjectUtil=="undefined")com.deconcept.FlashObjectUtil={};
com.deconcept.FlashObject=function(a,b,c,f,d,g,e,h,i,j,k){if(document.createElement&&document.getElementById){this.DETECT_KEY=k?k:"detectflash";this.skipDetect=com.deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];this.useExpressInstall=e;a&&this.setAttribute("swf",a);b&&this.setAttribute("id",b);c&&this.setAttribute("width",c);f&&this.setAttribute("height",f);d&&this.setAttribute("version",new com.deconcept.PlayerVersion(d.toString().split(".")));
this.installedVer=com.deconcept.FlashObjectUtil.getPlayerVersion(this.getAttribute("version"),e);g&&this.addParam("bgcolor",g);this.addParam("quality",h?h:"high");this.setAttribute("xiRedirectUrl",i?i:window.location);this.setAttribute("redirectUrl","");j&&this.setAttribute("redirectUrl",j)}};
com.deconcept.FlashObject.prototype={setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},createParamTag:function(a,b){var c=document.createElement("param");c.setAttribute("name",a);c.setAttribute("value",b);return c},getVariablePairs:function(){var a=
[],b,c=this.getVariables();for(b in c)a.push(b+"="+c[b]);return a},getFlashHTML:function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){this.getAttribute("doExpressInstall")&&this.addVariable("MMplayerType","PlugIn");a='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';a+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var b=this.getParams();
for(var c in b)a+=[c]+'="'+b[c]+'" ';c=this.getVariablePairs().join("&");if(c.length>0)a+='flashvars="'+c+'"';a+="/>"}else{this.getAttribute("doExpressInstall")&&this.addVariable("MMplayerType","ActiveX");a='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';a+='<param name="movie" value="'+this.getAttribute("swf")+'" />"';b=this.getParams();for(c in b)a+='<param name="'+c+
'" value="'+b[c]+'">';c=this.getVariablePairs().join("&");if(c.length>0){a+='<param name="flashvars" value="'+c+'">';a+="</object>"}}return a},write:function(a){if(this.useExpressInstall){if(this.installedVer.versionIsValid(new com.deconcept.PlayerVersion([6,0,65]))&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));this.addVariable("MMdoctitle",document.title)}}else this.setAttribute("doExpressInstall",
false);if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version")))(typeof a=="string"?document.getElementById(a):a).innerHTML=this.getFlashHTML();else this.getAttribute("redirectUrl")!=""&&document.location.replace(this.getAttribute("redirectUrl"))}};
com.deconcept.FlashObjectUtil.getPlayerVersion=function(a,b){var c=new com.deconcept.PlayerVersion(0,0,0);if(navigator.plugins&&navigator.mimeTypes.length){if((a=navigator.plugins["Shockwave Flash"])&&a.description)c=new com.deconcept.PlayerVersion(a.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}else{try{for(var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),d=3;f!=null;d++){f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+d);c=new com.deconcept.PlayerVersion([d,
0,0])}}catch(g){}if(a&&c.major>a.major)return c;if(!a||(a.minor!=0||a.rev!=0)&&c.major==a.major||c.major!=6||b)try{c=new com.deconcept.PlayerVersion(f.GetVariable("$version").split(" ")[1].split(","))}catch(e){}}return c};com.deconcept.PlayerVersion=function(a){this.major=parseInt(a[0])||0;this.minor=parseInt(a[1])||0;this.rev=parseInt(a[2])||0};
com.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};
com.deconcept.util={getRequestParameter:function(a){var b=document.location.search||document.location.href.hash;if(b){a=b.indexOf(a+"=");var c=b.indexOf("&",a)>-1?b.indexOf("&",a):b.length;if(b.length>1&&a>-1)return b.substring(b.indexOf("=",a)+1,c)}return""},removeChildren:function(a){for(;a.hasChildNodes();)a.removeChild(a.firstChild)}};if(Array.prototype.push==null)Array.prototype.push=function(a){this[this.length]=a;return this.length};
var getQueryParamValue=com.deconcept.util.getRequestParameter,FlashObject=com.deconcept.FlashObject,isIE=navigator.appVersion.indexOf("MSIE")!=-1?true:false,isWin=navigator.appVersion.toLowerCase().indexOf("win")!=-1?true:false,isOpera=navigator.userAgent.indexOf("Opera")!=-1?true:false;
function ControlVersion(){var a,b;try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");a=b.GetVariable("$version")}catch(c){}if(!a)try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a="WIN 6,0,21,0";b.AllowScriptAccess="always";a=b.GetVariable("$version")}catch(f){}if(!a)try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a=b.GetVariable("$version")}catch(d){}if(!a)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a="WIN 3,0,18,0"}catch(g){}if(!a)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
a="WIN 2,0,0,11"}catch(e){a=-1}return a}
function GetSwfVer(){var a=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){a=navigator.plugins["Shockwave Flash"+(navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"")].description.split(" ");var b=a[2].split("."),c=b[0];b=b[1];tempArrayMinor=a[3]!=""?a[3].split("r"):a[4].split("r");a=c+"."+b+"."+(tempArrayMinor[1]>0?tempArrayMinor[1]:0)}}else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1)a=
4;else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1)a=3;else if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1)a=2;else if(isIE&&isWin&&!isOpera)a=ControlVersion();return a}
function DetectFlashVer(a,b,c){versionStr=GetSwfVer();if(versionStr==-1)return false;else if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else versionArray=versionStr.split(".");var f=versionArray[0],d=versionArray[1],g=versionArray[2];if(f>parseFloat(a))return true;else if(f==parseFloat(a))if(d>parseFloat(b))return true;else if(d==parseFloat(b))if(g>=parseFloat(c))return true;return false}}
function AC_AddExtension(a,b){return a.indexOf("?")!=-1?a.replace(/\?/,b+"?"):a+b}function AC_Generateobj(a,b,c){var f="";if(isIE&&isWin&&!isOpera){f+="<object ";for(var d in a)f+=d+'="'+a[d]+'" ';for(d in b)f+='><param name="'+d+'" value="'+b[d]+'" /> ';f+="></object>"}else{f+="<embed ";for(d in c)f+=d+'="'+c[d]+'" ';f+="> </embed>"}document.write(f)}
function AC_FL_RunContent(){var a=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}
function AC_GetArgs(a,b,c,f,d){var g={};g.embedAttrs={};g.params={};g.objAttrs={};for(var e=0;e<a.length;e+=2)switch(a[e].toLowerCase()){case "classid":break;case "pluginspage":g.embedAttrs[a[e]]=a[e+1];break;case "src":case "movie":a[e+1]=AC_AddExtension(a[e+1],b);g.embedAttrs.src=a[e+1];g.params[c]=a[e+1];break;case "onafterupdate":case "onbeforeupdate":case "onblur":case "oncellchange":case "onclick":case "ondblClick":case "ondrag":case "ondragend":case "ondragenter":case "ondragleave":case "ondragover":case "ondrop":case "onfinish":case "onfocus":case "onhelp":case "onmousedown":case "onmouseup":case "onmouseover":case "onmousemove":case "onmouseout":case "onkeypress":case "onkeydown":case "onkeyup":case "onload":case "onlosecapture":case "onpropertychange":case "onreadystatechange":case "onrowsdelete":case "onrowenter":case "onrowexit":case "onrowsinserted":case "onstart":case "onscroll":case "onbeforeeditfocus":case "onactivate":case "onbeforedeactivate":case "ondeactivate":case "type":case "codebase":case "id":g.objAttrs[a[e]]=
a[e+1];break;case "width":case "height":case "align":case "vspace":case "hspace":case "class":case "title":case "accesskey":case "name":case "tabindex":g.embedAttrs[a[e]]=g.objAttrs[a[e]]=a[e+1];break;default:g.embedAttrs[a[e]]=g.params[a[e]]=a[e+1]}g.objAttrs.classid=f;if(d)g.embedAttrs.type=d;return g}
Vars=function(a){this.numVars=0;if(a!=null){var b,c;a=a.split("&");for(var f=a.length,d=0;d<f;d++){c=a[d];if(c.indexOf("=")!=-1&&c.length>3){b=c.split("=");c=b[0];b=b[1];if(this[c]==null&&c.length>0&&b.length>0){this[c]=b;this.numVars++}}}}};Vars.prototype.toString=function(a){var b="";if(a==null)a="";for(var c in this)if(this[c]!=null&&typeof this[c]!="object"&&typeof this[c]!="function"&&c!="numVars")b+=a+c+"="+this[c]+"&";if(b.length>0)b=b.substr(0,b.length-1);return b};
function getSearch(a){var b="";if(a.location.search.length>1){b=new String(a.location.search);b=b.substring(1,b.length)}return b}var lc_id=Math.floor(Math.random()*1E5).toString(16);try{if(this!=top){top.Vars=Vars;top.getSearch=getSearch;top.lc_id=lc_id}}catch(e$$8){}function gotFlash(a){a=typeof a=="string"?a.split("."):[];return DetectFlashVer(a.length>0?a[0]:8,a.length>1?a[1]:0,a.length>2?a[2]:0)}
function tryFlash(a,b,c,f,d){a=typeof a=="string"?a.split("."):[];var g=b.indexOf("/")>-1?b.substr(0,b.lastIndexOf("/")+1):"";b=b.indexOf("/")>-1?b.substr(b.lastIndexOf("/")+1):b;var e=a.length>0?a[0]:8,h=a.length>1?a[1]:0,i=a.length>2?a[2]:0;a=DetectFlashVer(6,0,65);e=DetectFlashVer(e,h,i);b=b.substr(0,b.lastIndexOf("."));if(a&&!e){d=isIE==true?"ActiveX":"PlugIn";g=window.location;e=document.title.slice(0,47)+" - Flash Player Installation";AC_FL_RunContent("src","img/default/playerProductInstall",
"FlashVars","MMredirectURL="+g+"&MMplayerType="+d+"&MMdoctitle="+e+"","width",String(c),"height",String(f),"align","middle","id",String(b),"quality","high","bgcolor","#869ca7","name",String(b),"allowScriptAccess","sameDomain","type","application/x-shockwave-flash","pluginspage","http://www.adobe.com/go/getflashplayer");return true}else if(e){AC_FL_RunContent("src",g+b,"width",String(c),"height",String(f),"align","middle","id",String(b),"quality","high","bgcolor","#869ca7","name",String(b),"flashvars",
d,"allowScriptAccess","sameDomain","type","application/x-shockwave-flash","pluginspage","http://www.adobe.com/go/getflashplayer");return true}else return false};
