function _IG_GetFlashMajorVersion(){var e=0;if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){var b=navigator.plugins["Shockwave Flash"];if(b&&b.description){e=parseInt(b.description.match(/[0-9]+/)[0],10)}}else{for(var b=9;b>0;b--){try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+b);return b}catch(a){}}}return e}function _IG_EmbedFlash(e,b,a){if(typeof e!="string"){throw new Error("The first argument to _IG_EmbedFlash must be a string.");}switch(typeof b){case "string":b=
_gel(b);case "object":if(b&&typeof b.innerHTML=="string"){break}default:throw new Error("The second argument to _IG_EmbedFlash must be an existing HTML element.");}switch(typeof a){case "undefined":a={};case "object":break;default:throw new Error("The third argument to _IG_EmbedFlash must be either an object or undefined.");}var j=_IG_GetFlashMajorVersion();if(j){var h=parseInt(a.swf_version,10);if(isNaN(h)){h=0}if(j>=h){if(!a.width){a.width="100%"}if(!a.height){a.height="100%"}if(typeof a.wmode!=
"string"){a.wmode="opaque"}if(typeof _IG_Prefs=="function"){var f=(new _IG_Prefs(a.swf_module_id)).getPreloadedString();if(f){for(var i in a){if(/flashvars/i.test(i)){var k=a[i]+"";a[i]+=(k?"&":"")+f;f="";break}}if(f){a.flashvars=f}}}var d;if(navigator.plugins&&navigator.mimeTypes){a.type="application/x-shockwave-flash";a.src=e;d="<embed";for(var c in a){if(!/^swf_/.test(c)){d+=" "+c+"='"+a[c]+"'"}}d+=" /></embed>"}else{a.movie=e;var g={width:a.width,height:a.height,classid:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000"};
if(a.id){g.id=a.id}d="<object";for(var c in g){d+=" "+c+"='"+g[c]+"'"}d+=">";for(var c in a){if(!/^swf_/.test(c)&&!g[c]){d+="<param name='"+c+"' value='"+a[c]+"' />"}}d+="</object>"}b.innerHTML=d;return true}}return false};
