function _IG_GetFlashMajorVersion(){var f=0;if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){var b=navigator.plugins["Shockwave Flash"];if(b&&b.description)f=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 f}function _IG_EmbedCachedFlash(f,b,a){var g=arguments;if(typeof g[0]=="string"){var h=a||{},d=[];if(_et)d.push("et",_esc(_et));if(!isNaN(h.refreshInterval)&&h.refreshInterval>=
0)d.push("max_age",h.refreshInterval);g[0]="http://"+window.location.host+"/ig/proxy/"+d.join(",")+"/"+g[0]}_IG_EmbedFlash.apply(this,g)}function _IG_EmbedFlash(f,b,a){if(typeof f!="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 g=_IG_GetFlashMajorVersion();if(g){var h=parseInt(a.swf_version,10);if(isNaN(h))h=0;if(g>=h){if(!a.width)a.width="100%";if(!a.height)a.height="100%";if(typeof a.base!="string")a.base=f.match(/^[^?#]+\//)[0];if(typeof a.wmode!="string")a.wmode="opaque";if(typeof _IG_Prefs=="function"){var d=(new _IG_Prefs(a.swf_module_id)).getPreloadedString();if(d){for(var j in a)if(/flashvars/i.test(j)){var k=
a[j]+"";a[j]+=(k?"&":"")+d;d="";break}if(d)a.flashvars=d}}if(!window.name)window.name="gga_iframe"+Math.floor(Math.random()*10000000);a.flashvars=(a.flashvars?a.flashvars+"&":"")+"_IG_GadgetContainer="+_esc(window.name)+"&_ADS_GadgetContainer="+_esc(window.name);var e;if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){a.type="application/x-shockwave-flash";a.src=f;e="<embed";for(var c in a)if(!/^swf_/.test(c))e+=" "+c+"='"+a[c]+"'";e+=" /></embed>"}else{a.movie=f;var i={width:a.width,
height:a.height,classid:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000"};if(a.id)i.id=a.id;e="<object";for(var c in i)e+=" "+c+"='"+i[c]+"'";e+=">";for(var c in a)if(!/^swf_/.test(c)&&!i[c])e+="<param name='"+c+"' value='"+a[c]+"' />";e+="</object>"}b.innerHTML=e;return true}}return false}_exportSymbols("google.gadgets.Flash",["getMajorVersion",_IG_GetFlashMajorVersion,"embedCachedFlash",_IG_EmbedCachedFlash,"embedFlash",_IG_EmbedFlash]);
var _ig_ait_counter=0;function _ADS_ReportInteraction(a,c){var b=new _IG_Prefs;_ADS_ReportInteractionImpl(b.getString("aiturl"),a,c)}function _ADS_ReportInteractionImpl(a,c,b,e){if(!a)return;var g=false;if(a.match(/^DEBUG$/))g=true;else if(a.indexOf("http://pagead2.googlesyndication.com/")!=0&&!a.match(/^http:\/\/gcc-[0-9][0-9].googleadservices.com\//)&&!a.match(/^http:\/\/[a-z0-9-.]+.corp.google.com(:[0-9]+)?\//)&&!a.match(/^DEBUG$/))return;var f,d;if(typeof c!="undefined")f=c;else f="primaryinteraction";
if(typeof b!="undefined")d=b;else d=0;if(typeof f!="string")throw new Error("The opt_name parameter must be a string.");if(f=="")throw new Error("The opt_name parameter must not be an empty string.");if(typeof d!="number"&&(typeof Number=="undefined"||!(d instanceof Number)))throw new Error("The opt_value parameter must be a number.");if(d<0)throw new Error("The opt_value parameter must be positive.");else if(d==Infinity)throw new Error("The opt_value parameter must not be Infinity.");else if(isNaN(d))throw new Error("The opt_value parameter must not be NaN.");
f=_esc(f);d=d.toString();if(!g){a=a.replace("_AITNAME_",f);a=a.replace("_AITVALUE_",d);if(_ig_ait_counter>0){a+="&noconv=1";a+="&random="+_ig_ait_counter}var h=new Image;if(typeof e=="function")h.onload=e;h.src=a}else{if(_IG_DebugBuffer)_IG_DebugBuffer.write(['<div style="font-size: 10px;">',"["+f+", "+d+"]","</div>"].join(""));if(typeof e=="function")e()}_ig_ait_counter++}var _ReportAdInteraction=_ADS_ReportInteraction,_IG_ReportInteraction=_ADS_ReportInteraction,_IG_DebugBuffer=null;function igads_a(){var a=
new _IG_Prefs,c=a.getString("aiturl");if(c.match(/^DEBUG$/)){var b=document.createElement("script");b.src="/ig/lib/libdebugbuffer.js";var e=document.getElementsByTagName("head")[0];if(e)e.appendChild(b)}}if(typeof remote_modules!="object")igads_a();function _ADS_ClickDestinationUrl(a){var c=new _IG_Prefs,b=c.getString("clickurl");if(b)if(b.match(/^DEBUG$/)){var e=["*** Click-through confirmed ***","","Proceed to destination:",a].join("\n");if(!window.confirm(e))return}else if(b.match(/^https?:\/\/.+(ad)?url=$/))a=b+_esc(a);else if(b.match(/^https?:\/\/[^. ]+ad\.doubleclick\.net\/.+$/))a=b+a;else throw new Error("The clickurl UserPref value is invalid or not supported.");var g=c.getInt("ads_clicktarget_new_")==1?"_blank":"_top";window.open(a,
g,"")}function _ADS_ReportInteractionClick(a,c,b){var e=400,g=window.setTimeout(igads_(a),e),f=new _IG_Prefs;try{_ADS_ReportInteractionImpl(f.getString("aiturl"),c,b,igads_(a,g))}catch(d){window.clearTimeout(g);throw d;}}function igads_(a,c){return function(){if(c)window.clearTimeout(c);_ADS_ClickDestinationUrl(a)}}_exportSymbols("google.gadgets.Ads",["clickDestinationUrl",_ADS_ClickDestinationUrl]);

