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_EmbedCachedFlash(e,b,a){var g=arguments;if(typeof g[0]=="string"){var h=a||{},f=[];_et&&f.push("et",_esc(_et));!isNaN(h.refreshInterval)&&h.refreshInterval>=0&&f.push("max_age",h.refreshInterval);g[0]="http://www.gmodules.com/ig/proxy/"+f.join(",")+"/"+g[0]}_IG_EmbedFlash.apply(this,g)}
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 g=_IG_GetFlashMajorVersion();
if(g){var h=parseInt(a.swf_version,10);if(isNaN(h))h=0;if(g>=h){for(var f in a){var k=f.toLowerCase();if(f!=k){a[k]=a[f];delete a[f]}}if(!a.allowscriptaccess)a.allowscriptaccess="always";if(!a.width)a.width="100%";if(!a.height)a.height="100%";if(typeof a.base!="string")a.base=e.match(/^[^?#]+\//)[0];if(typeof a.wmode!="string")a.wmode="opaque";if(typeof _IG_Prefs=="function"){var j=(new _IG_Prefs(a.swf_module_id)).getPreloadedString();if(j)a.flashvars=a.flashvars?a.flashvars+"&"+j:j}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 d;if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){a.type="application/x-shockwave-flash";a.src=e;d="<embed";for(var c in a)/^swf_/.test(c)||(d+=" "+c+"='"+a[c]+"'");d+=" /></embed>"}else{a.movie=e;var i={width:a.width,height:a.height,classid:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000"};if(a.id)i.id=
a.id;d="<object";for(var c in i)d+=" "+c+"='"+i[c]+"'";d+=">";for(var c in a)if(!/^swf_/.test(c)&&!i[c])d+="<param name='"+c+"' value='"+a[c]+"' />";d+="</object>"}b.innerHTML=d;return true}}return false}_exportSymbols("google.gadgets.Flash",["getMajorVersion",_IG_GetFlashMajorVersion,"embedCachedFlash",_IG_EmbedCachedFlash,"embedFlash",_IG_EmbedFlash]);
function _ADS_ClickDestinationUrl(a){var b=igads_.a.getString("clickurl");if(b)if(b.match(/^DEBUG$/)){var c=["*** Click-through confirmed ***","","Proceed to destination:",a].join("\n");if(!window.confirm(c))return}else if(b.match(/^https?:\/\/.+(ad)?url=$/))a=b+_esc(a);else if(b.match(/^https?:\/\/([^. ]+\.)+doubleclick\.net\/\S+$/))a=b+a;else throw new Error("The clickurl UserPref value is invalid or not supported.");var d=igads_.a.getInt("ads_clicktarget_new_")==1?"_blank":"_top";window.open(a,
d,"")}function _ADS_ReportInteraction(a,b){igads_.h(igads_.a.getString("aiturl"),a,b)}function _ADS_ReportInteractionClick(a,b,c){var d=400,g=window.setTimeout(igads_.g(a),d);try{igads_.h(igads_.a.getString("aiturl"),b,c,igads_.g(a,g))}catch(f){window.clearTimeout(g);throw f;}}
var igads_={a:null,e:null,j:1000,f:0,d:false,c:0,h:function(a,b,c,d){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,e;f=typeof b!="undefined"?b:"primaryinteraction";e=typeof c!="undefined"?c: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 e!="number"&&(typeof Number=="undefined"||!(e instanceof Number)))throw new Error("The opt_value parameter must be a number.");if(e<0)throw new Error("The opt_value parameter must be positive.");else if(e==Infinity)throw new Error("The opt_value parameter must not be Infinity.");else if(isNaN(e))throw new Error("The opt_value parameter must not be NaN.");f=_esc(f);e=e.toString();if(g){_IG_DebugBuffer&&_IG_DebugBuffer.write(['<div style="font-size: 10px;">',
"["+f+", "+e+"]","</div>"].join(""));typeof d=="function"&&d()}else{a=a.replace("_AITNAME_",f);a=a.replace("_AITVALUE_",e);if(igads_.c>0){a+="&noconv=1";a+="&random="+igads_.c}var h=new Image;if(typeof d=="function")h.onload=d;h.src=a}igads_.c++},g:function(a,b){return function(){b&&window.clearTimeout(b);_ADS_ClickDestinationUrl(a)}},i:function(a){var b=a?_IG_AddDOMEventHandler:_IG_RemoveDOMEventHandler;b(window,"mouseover",igads_.b);b(window,"mouseout",igads_.b);b(document.body,"mouseover",igads_.b);
b(document.body,"mouseout",igads_.b)},m:function(){_ADS_ReportInteraction("mouseover");igads_.i(false)},b:function(a){if(a.type=="mouseover"){if(!igads_.d){igads_.d=true;igads_.f=window.setTimeout(igads_.m,igads_.j)}}else if(a.type=="mouseout")if(a.clientX<0||a.clientY<0||a.clientX>=igads_.e.getWidth()||a.clientY>=igads_.e.getHeight()){igads_.d=false;window.clearTimeout(igads_.f)}},k:function(){if(igads_.a.getString("aiturl").match(/^DEBUG$/)){var a=document.createElement("script");a.src="/ig/lib/libdebugbuffer.js";
var b=document.getElementsByTagName("head")[0];b&&b.appendChild(a)}},l:function(){this.a=new _IG_Prefs;this.e=new _IG_MultiSize;this.k();this.i(true)}},_ReportAdInteraction=_ADS_ReportInteraction,_IG_ReportInteraction=_ADS_ReportInteraction,_IG_DebugBuffer=null;typeof remote_modules!="object"&&igads_.l();_exportSymbols("google.gadgets.Ads",["clickDestinationUrl",_ADS_ClickDestinationUrl]);_exportSymbols("google.gadgets.Ads",["reportInteraction",_ADS_ReportInteraction]);
_exportSymbols("google.gadgets.Ads",["reportInteractionClick",_ADS_ReportInteractionClick]);function igads_a(){if(self.innerWidth)return self.innerWidth;else if(document.documentElement&&document.documentElement.clientWidth)return document.documentElement.clientWidth;else if(document.body)return document.body.clientWidth;return 0}function igads_b(){if(self.innerHeight)return self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)return document.documentElement.clientHeight;else if(document.body)return document.body.clientHeight;return 0}
function igads_c(a){var b=igads_a(),c=igads_b();if(a.match("EXACT")){var d=a.match(/^EXACT_([0-9]+)x([0-9]+)/);return b==d[1]&&c==d[2]}else if(a=="SQUARE")return b==c;else if(a=="SQUARE_LIKE")return b/c<2&&c/b<2;else if(a=="TALL_NARROW")return c/b>=2;else if(a=="SHORT_WIDE")return b/c>=2;return false}function _IG_MultiSize(){this.getWidth=igads_a;this.getHeight=igads_b;this.isShape=igads_c}_exportClass("google.gadgets","MultiSize",_IG_MultiSize,["getWidth",igads_a,"getHeight",igads_b,"isShape",igads_c]);

