var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var e;var d;var f;try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");e=d.GetVariable("$version")}catch(f){}if(!e){try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");e="WIN 6,0,21,0";d.AllowScriptAccess="always";e=d.GetVariable("$version")}catch(f){}}if(!e){try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");e=d.GetVariable("$version")}catch(f){}}if(!e){try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");e="WIN 3,0,18,0"}catch(f){}}if(!e){try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");e="WIN 2,0,0,11"}catch(f){e=-1}}return e}function GetSwfVer(){var l=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var m=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var j=navigator.plugins["Shockwave Flash"+m].description;var n=j.split(" ");var p=n[2].split(".");var k=p[0];var i=p[1];var o=n[3];if(o==""){o=n[4]}if(o[0]=="d"){o=o.substring(1)}else{if(o[0]=="r"){o=o.substring(1);if(o.indexOf("d")>0){o=o.substring(0,o.indexOf("d"))}}}var l=k+"."+i+"."+o}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){l=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){l=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){l=2}else{if(isIE&&isWin&&!isOpera){l=ControlVersion()}}}}}return l}function DetectFlashVer(i,k,l){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 j=versionArray[0];var h=versionArray[1];var g=versionArray[2];if(j>parseFloat(i)){return true}else{if(j==parseFloat(i)){if(h>parseFloat(k)){return true}else{if(h==parseFloat(k)){if(g>=parseFloat(l)){return true}}}}}return false}}}function AC_AddExtension(c,d){if(c.indexOf("?")!=-1){return c.replace(/\?/,d+"?")}else{return c+d}}function AC_Generateobj(h,i,g){var j="";if(isIE&&isWin&&!isOpera){j+="<object ";for(var f in h){j+=f+'="'+h[f]+'" '}j+=">";for(var f in i){j+='<param name="'+f+'" value="'+i[f]+'" /> '}j+="</object>"}else{j+="<embed ";for(var f in g){j+=f+'="'+g[f]+'" '}j+="> </embed>"}document.write(j)}function AC_FL_RunContent(){var b=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(b.objAttrs,b.params,b.embedAttrs)}function AC_SW_RunContent(){var b=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(b.objAttrs,b.params,b.embedAttrs)}function AC_GetArgs(i,n,l,o,k){var j=new Object();j.embedAttrs=new Object();j.params=new Object();j.objAttrs=new Object();for(var p=0;p<i.length;p=p+2){var m=i[p].toLowerCase();switch(m){case"classid":break;case"pluginspage":j.embedAttrs[i[p]]=i[p+1];break;case"src":case"movie":i[p+1]=AC_AddExtension(i[p+1],n);j.embedAttrs.src=i[p+1];j.params[l]=i[p+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":j.objAttrs[i[p]]=i[p+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":j.embedAttrs[i[p]]=j.objAttrs[i[p]]=i[p+1];break;default:j.embedAttrs[i[p]]=j.params[i[p]]=i[p+1]}}j.objAttrs.classid=o;if(k){j.embedAttrs.type=k}return j};