var ie=(document.defaultCharset&&document.getElementById&&!window.home);if(ie){document.write("<style id='hideObject'> object{display:none;} </style>");}objectSwap=function(){if(!document.getElementsByTagName){return;}var H=[];var J=document.getElementsByTagName("object");for(var E=0;E<J.length;E++){var B=J[E];var G=B.outerHTML;var C="";var I=true;for(var D=0;D<B.childNodes.length;D++){var A=B.childNodes[D];if(A.tagName=="PARAM"){if(A.name=="flashVersion"){I=detectFlash(A.value);if(!I){B.id=(B.id=="")?("stripFlash"+E):B.id;H.push(B.id);break;}}C+=A.outerHTML;}}if(!I){continue;}if(!ie){continue;}if(B.className.toLowerCase().indexOf("noswap")!=-1){continue;}var K=G.split(">")[0]+">";var F=K+C+B.innerHTML+" </OBJECT>";B.outerHTML=F;}if(H.length){stripFlash(H);}if(ie){document.getElementById("hideObject").disabled=true;}};detectFlash=function(B){if(navigator.plugins&&navigator.plugins.length){var D=navigator.plugins["Shockwave Flash"];if(D==undefined){return false;}var A=navigator.plugins["Shockwave Flash"].description.split(" ")[2];return(Number(A)>=Number(B));}else{if(ie&&typeof(ActiveXObject)=="function"){try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+B);return true;}catch(E){return false;}}}return true;};stripFlash=function(A){if(!document.createElement){return;}for(var B=0;B<A.length;B++){var D=document.getElementById(A[B]);var E=D.innerHTML;E=E.replace(/<!--\s/g,"");E=E.replace(/\s-->/g,"");E=E.replace(/<embed/gi,"<span");var C=document.createElement("div");C.innerHTML=E;C.className=D.className;C.id=D.id;D.parentNode.replaceChild(C,D);}};var tempFunc=window.onload;window.onload=function(){if(typeof(tempFunc)=="function"){try{tempFunc();}catch(A){}}objectSwap();};