var gadgets=gadgets||{},shindig=shindig||{},osapi=osapi||{}; ; gadgets.config=function(){var a={}; var b; return{register:function(e,d,c){var f=a[e]; if(!f){f=[]; a[e]=f }f.push({validators:d||{},callback:c}) },get:function(c){if(c){return b[c]||{} }return b },init:function(e,n){b=e; for(var c in a){if(a.hasOwnProperty(c)){var d=a[c],k=e[c]; for(var h=0,g=d.length; h1){for(var d=0,c; (c=arguments[d]); ++d){e.push(c) }}else{e=f }return function(h){for(var g=0,j; (j=e[g]); ++g){if(h===e[g]){return true }}return false } },RegExValidator:function(c){return function(d){return c.test(d) } },ExistsValidator:function(c){return typeof c!=="undefined" },NonEmptyStringValidator:function(c){return typeof c==="string"&&c.length>0 },BooleanValidator:function(c){return typeof c==="boolean" },LikeValidator:function(c){return function(e){for(var f in c){if(c.hasOwnProperty(f)){var d=c[f]; if(!d(e[f])){return false }}}return true } }} }();; gadgets.config.isGadget=false; gadgets.config.isContainer=true;; gadgets.util=function(){var a=null; function b(e){var f; var c=e.indexOf("?"); var d=e.indexOf("#"); if(d===-1){f=e.substr(c+1) }else{f=[e.substr(c+1,d-c-1),"&",e.substr(d+1)].join("") }return f.split("&") }return{getUrlParameters:function(n){var d=typeof n==="undefined"; if(a!==null&&d){return a }var h={}; var e=b(n||document.location.href); var l=window.decodeURIComponent?decodeURIComponent:unescape; for(var g=0,f=e.length; ga){gadgets.warn("Nix transport setup failed, falling back..."); h("..",false); return }if(!l&&window.opener&&"GetAuthToken" in window.opener){l=window.opener; if(l.GetAuthToken()==gadgets.rpc.getAuthToken("..")){var k=gadgets.rpc.getAuthToken(".."); l.CreateChannel(window[d]("..",k),k); i[".."]=l; window.opener=null; h("..",true); return }}window.setTimeout(function(){e() },j) }return{getCode:function(){return"nix" },isParentVerifiable:function(){return false },init:function(l,m){h=m; if(typeof window[d]!=="unknown"){window[f]=function(o){window.setTimeout(function(){l(gadgets.json.parse(o)) },0) }; window[b]=function(o,q,p){if(gadgets.rpc.getAuthToken(o)===p){i[o]=q; h(o,true) }}; var k="Class "+c+"\n Private m_Intended\nPrivate m_Auth\nPublic Sub SetIntendedName(name)\n If isEmpty(m_Intended) Then\nm_Intended = name\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\n If isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Sub SendMessage(data)\n "+f+"(data)\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub CreateChannel(channel, auth)\n Call "+b+"(m_Intended, channel, auth)\nEnd Sub\nEnd Class\nFunction "+d+"(name, auth)\nDim wrap\nSet wrap = New "+c+"\nwrap.SetIntendedName name\nwrap.SetAuth auth\nSet "+d+" = wrap\nEnd Function"; try{window.execScript(k,"vbscript") }catch(n){return false }}return true },setup:function(o,k){if(o===".."){e(); return true }try{var m=document.getElementById(o); var n=window[d](o,k); m.contentWindow.opener=n }catch(l){return false }return true },call:function(k,n,m){try{if(i[k]){i[k].SendMessage(gadgets.json.stringify(m)) }}catch(l){return false }return true }} }() };; ; gadgets.rpctx=gadgets.rpctx||{}; if(!gadgets.rpctx.rmr){gadgets.rpctx.rmr=function(){var g=500; var e=10; var h={}; var b; var i; function k(p,n,o,m){var q=function(){document.body.appendChild(p); p.src="about:blank"; if(m){p.onload=function(){l(m) } }p.src=n+"#"+o }; if(document.body){q() }else{gadgets.util.registerOnLoadHandler(function(){q() }) }}function c(o){if(typeof h[o]==="object"){return }var p=document.createElement("iframe"); var m=p.style; m.position="absolute"; m.top="0px"; m.border="0"; m.opacity="0"; m.width="10px"; m.height="1px"; p.id="rmrtransport-"+o; p.name=p.id; var n=gadgets.rpc.getRelayUrl(o); if(!n){n=gadgets.rpc.getOrigin(gadgets.util.getUrlParameters()["parent"])+"/robots.txt" }h[o]={frame:p,receiveWindow:null,relayUri:n,searchCounter:0,width:10,waiting:true,queue:[],sendId:0,recvId:0}; if(o!==".."){k(p,n,a(o)) }d(o) }function d(o){var q=null; h[o].searchCounter++; try{var n=gadgets.rpc._getTargetWin(o); if(o===".."){q=n.frames["rmrtransport-"+gadgets.rpc.RPC_ID] }else{q=n.frames["rmrtransport-.."] }}catch(p){}var m=false; if(q){m=f(o,q) }if(!m){if(h[o].searchCounter>e){return }window.setTimeout(function(){d(o) },g) }}function j(n,p,t,s){var o=null; if(t!==".."){o=h[".."] }else{o=h[n] }if(o){if(p!==gadgets.rpc.ACK){o.queue.push(s) }if(o.waiting||(o.queue.length===0&&!(p===gadgets.rpc.ACK&&s&&s.ackAlone===true))){return true }if(o.queue.length>0){o.waiting=true }var m=o.relayUri+"#"+a(n); try{o.frame.contentWindow.location=m; var q=o.width==10?20:10; o.frame.style.width=q+"px"; o.width=q }catch(r){return false }}return true }function a(n){var o=h[n]; var m={id:o.sendId}; if(o){m.d=Array.prototype.slice.call(o.queue,0); m.d.push({s:gadgets.rpc.ACK,id:o.recvId}) }return gadgets.json.stringify(m) }function l(x){var u=h[x]; var q=u.receiveWindow.location.hash.substring(1); var y=gadgets.json.parse(decodeURIComponent(q))||{}; var n=y.d||[]; var o=false; var t=false; var v=0; var m=(u.recvId-y.id); for(var p=0; p0)){var w=(x==="..")?gadgets.rpc.RPC_ID:".."; j(x,gadgets.rpc.ACK,w,{ackAlone:o}) }}function f(p,s){var o=h[p]; try{var n=false; n="document" in s; if(!n){return false }n=typeof s.document=="object"; if(!n){return false }var r=s.location.href; if(r==="about:blank"){return false }}catch(m){return false }o.receiveWindow=s; function q(){l(p) }if(typeof s.attachEvent==="undefined"){s.onresize=q }else{s.attachEvent("onresize",q) }if(p===".."){k(o.frame,o.relayUri,a(p),p) }else{l(p) }return true }return{getCode:function(){return"rmr" },isParentVerifiable:function(){return true },init:function(m,n){b=m; i=n; return true },setup:function(o,m){try{c(o) }catch(n){gadgets.warn("Caught exception setting up RMR: "+n); return false }return true },call:function(m,o,n){return j(m,n.s,o,n) }} }() };; ; gadgets.rpctx=gadgets.rpctx||{}; if(!gadgets.rpctx.ifpc){gadgets.rpctx.ifpc=function(){var e=[]; var d=0; var c; function b(h){var f=[]; for(var k=0,g=h.length; k=0; --f){var k=e[f]; try{if(k&&(k.recyclable||k.readyState==="complete")){k.parentNode.removeChild(k); if(window.ActiveXObject){e[f]=k=null; e.splice(f,1) }else{k.recyclable=false; g=k; break }}}catch(h){}}if(!g){g=document.createElement("iframe"); g.style.border=g.style.width=g.style.height="0px"; g.style.visibility="hidden"; g.style.position="absolute"; g.onload=function(){this.recyclable=true }; e.push(g) }g.src=j; window.setTimeout(function(){document.body.appendChild(g) },0) }return{getCode:function(){return"ifpc" },isParentVerifiable:function(){return true },init:function(f,g){c=g; c("..",true); return true },setup:function(g,f){c(g,true); return true },call:function(f,k,i){var j=gadgets.rpc.getRelayUrl(f); ++d; if(!j){gadgets.warn("No relay file assigned for IFPC"); return false }var h=null; if(i.l){var g=i.a; h=[j,"#",b([k,d,1,0,b([k,i.s,"","",k].concat(g))])].join("") }else{h=[j,"#",f,"&",k,"@",d,"&1&0&",encodeURIComponent(gadgets.json.stringify(i))].join("") }a(h); return true }} }() };; if(!gadgets.rpc){gadgets.rpc=function(){var D="__cb"; var J=""; var K="__ack"; var f=500; var y=10; var c="|"; var n={}; var M={}; var u={}; var t={}; var r=0; var j={}; var k={}; var H={}; var e={}; var l={}; var v={}; var s=(window.top!==window.self); var p=window.name; var B=function(){}; var G=0; var P=1; var a=2; var I=(function(){function T(U){return function(){gadgets.log("gadgets.rpc."+U+"("+gadgets.json.stringify(Array.prototype.slice.call(arguments))+"): call ignored. [caller: "+document.location+", isChild: "+s+"]") } }return{getCode:function(){return"noop" },isParentVerifiable:function(){return true },init:T("init"),setup:T("setup"),call:T("call")} })(); if(gadgets.util){e=gadgets.util.getUrlParameters() }function C(){return typeof window.postMessage==="function"?gadgets.rpctx.wpm:typeof window.postMessage==="object"?gadgets.rpctx.wpm:window.ActiveXObject?gadgets.rpctx.nix:navigator.userAgent.indexOf("WebKit")>0?gadgets.rpctx.rmr:navigator.product==="Gecko"?gadgets.rpctx.frameElement:gadgets.rpctx.ifpc }function i(Y,W){var U=z; if(!W){U=I }l[Y]=U; var T=v[Y]||[]; for(var V=0; V0?W.substring(1,U):W.substring(1); var T=U>0?W.substring(U+1):null; return{id:V,origin:T} }else{return null }}function S(V){if(typeof V==="undefined"||V===".."){return window.parent }var U=q(V); if(U){return window.top.frames[U.id] }V=String(V); var T=window.frames[V]; if(T){return T }T=document.getElementById(V); if(T&&T.contentWindow){return T.contentWindow }return null }var z=C(); n[J]=function(){gadgets.warn("Unknown RPC service: "+this.s) }; n[D]=function(U,T){var V=j[U]; if(V){delete j[U]; V(T) }}; function O(W,U,T){if(k[W]===true){return }if(typeof k[W]==="undefined"){k[W]=0 }var V=S(W); if(W===".."||V!=null){if(z.setup(W,U,T)===true){k[W]=true; return }}if(k[W]!==true&&k[W]++4){Q(gadgets.json.parse(decodeURIComponent(U[U.length-1]))) }else{h.apply(null,U.concat(T)) }},receiveSameDomain:function(T){T.a=Array.prototype.slice.call(T.a); window.setTimeout(function(){Q(T) },0) },getOrigin:o,getReceiverOrigin:function(V){var U=l[V]; if(!U){return null }if(!U.isParentVerifiable(V)){return null }var T=gadgets.rpc.getRelayUrl(V)||gadgets.util.getUrlParameters().parent; return gadgets.rpc.getOrigin(T) },init:function(){if(z.init(Q,i)===false){z=I }if(s){g("..") }},_getTargetWin:S,_parseSiblingId:q,_createRelayIframe:function(T,V){var Y=gadgets.rpc.getRelayUrl(".."); if(!Y){return null }var X=Y+"#..&"+p+"&"+T+"&"+encodeURIComponent(gadgets.json.stringify(V)); var U=document.createElement("iframe"); U.style.border=U.style.width=U.style.height="0px"; U.style.visibility="hidden"; U.style.position="absolute"; function W(){document.body.appendChild(U); U.src='javascript:""'; U.src=X }if(document.body){W() }else{gadgets.util.registerOnLoadHandler(function(){W() }) }return U },ACK:K,RPC_ID:p,SEC_ERROR_LOAD_TIMEOUT:G,SEC_ERROR_FRAME_PHISH:P,SEC_ERROR_FORGED_MSG:a} }(); gadgets.rpc.init() };; function adjustHeight(sizeInPx){ document.getElementById('1427331208').style.height=sizeInPx+'px'; } gadgets.rpc.registerDefault(function(){}); gadgets.rpc.register('resize_iframe',adjustHeight); gadgets.rpc.setAuthToken('1427331208','1427331208'); (function(){ var css=''; var html='\x3ctable class\x3d\x22gadget\x22 cellspacing\x3d0 cellpadding\x3d0 width\x3d320\x3e\x3ctr\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d\x222\x22\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d2\x3e\x3cdiv style\x3d\x22background:white;padding:3px; border:1px solid #999999;\x22\x3e\x3ciframe id\x3d\x221427331208\x22 src\x3d\x22http://www-open-opensocial.googleusercontent.com/gadgets/ifr?url\x3dhttp%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fdictionary.xml\x26container\x3dopen\x26view\x3dhome\x26lang\x3den\x26country\x3dALL\x26debug\x3d0\x26nocache\x3d0\x26sanitize\x3d0\x26v\x3d7c39fbca9da17e8e\x26source\x3d__LOCATION__\x26parent\x3d__LOCATION__\x26libs\x3dcore%3Acore.io%3Arpc#up_sl\x3des\x26up_tl\x3den\x26up_default_text\x3d\x26st\x3d%25st%25\x26rpctoken\x3d1427331208\x22 width\x3d320 height\x3d100 style\x3d\x22display:block;\x22 frameborder\x3d0 scrolling\x3d\x22no\x22\x3e\x3c/iframe\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd style\x3d\x22text-align:left;vertical-align:middle;height:28px;\x22\x3e\x3ca href\x3d\x22http://fusion.google.com/ig/add?synd\x3dopen\x26source\x3dggyp\x26moduleurl\x3dhttp://www.google.com/ig/modules/dictionary.xml\x22 target\x3d\x22_top\x22\x3e\x3cimg style\x3d\x22border:0;\x22 src\x3d\x22http://www.gmodules.com/ig/images/plus_google.gif\x22\x3e\x3c/a\x3e\x3c/td\x3e\x3ctd style\x3d\x22text-align:right;vertical-align:middle;height:28px;\x22\x3e\x3cspan class\x3d\x22powered\x22\x3e\x3ca href\x3d\x22http://www.google.com/webmasters/gadgets.html\x22 target\x3d\x22_top\x22\x3eGadgets\x3c/a\x3e powered by Google\x3c/span\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e'; html=html.replace(/__LOCATION__/g, encodeURIComponent(location.href)); document.write(css+html); })();