/* Copyright 2008 Google Inc. */ (function() { 
var b=b||{};b.global=this;b.b=null;b.provide=function(a) {b.c(a)};b.c=function(a,c) {var d=a.split("."),e=b.global,f;if(!(d[0]in e)&& _proxy_jslib_handle(e, 'execScript', '', 0, 0)) _proxy_jslib_handle(e, 'execScript', '', 1, 0)("var "+d[0]);while(d.length&&(f=d.shift()))if(!d.length&&b.isDef(c)) _proxy_jslib_assign('', e, (f), '=', (c));else e= _proxy_jslib_handle(e, (f), 0, 0)? _proxy_jslib_handle(e, (f), 0, 0):( _proxy_jslib_assign('', e, (f), '=', ({})))};b.getObjectByName=function(a,c) {var d=a.split("."),e=c||b.global;for(var f;f=d.shift();)if( _proxy_jslib_handle(e, (f), 0, 0))e= _proxy_jslib_handle(e, (f), 0, 0);else return null;return e};b.globalize=function(a,c) {var d=c||b.global;for(var e in a) _proxy_jslib_assign('', d, (e), '=', ( _proxy_jslib_handle(a, (e), 0, 0)))};b.addDependency=function() {};b.require=function() {};
b.useStrictRequires=false;b.basePath="";b.nullFunction=function() {};b.identityFunction=function() {return arguments[0]};b.abstractMethod=function() {throw Error("unimplemented abstract method");};b.addSingletonGetter=function(a) {a.getInstance=function() {return a.i||(a.i=new (a))}};b.typeOf=function(a) {var c=typeof a;if(c=="object")if(a){if(typeof a.length=="number"&&typeof a.splice!="undefined"&&!b.d(a,"length"))return"array";if(typeof a.call!="undefined")return"function"}else return"null";else if(c==
"function"&&typeof a.call=="undefined")return"object";return c};if(Object.prototype.propertyIsEnumerable)b.d=function(a,c) {return Object.prototype.propertyIsEnumerable.call(a,c)};else b.d=function(a,c) {if(c in a)for(var d in a)if(d==c&&Object.prototype.hasOwnProperty.call(a,c))return true;return false};b.isDef=function(a) {return typeof a!="undefined"};b.isNull=function(a) {return a===null};b.isDefAndNotNull=function(a) {return b.isDef(a)&&!b.isNull(a)};b.isArray=function(a) {return b.typeOf(a)=="array"};
b.isArrayLike=function(a) {var c=b.typeOf(a);return c=="array"||c=="object"&&typeof a.length=="number"};b.isDateLike=function(a) {return b.isObject(a)&&typeof a.getFullYear=="function"};b.isString=function(a) {return typeof a=="string"};b.isBoolean=function(a) {return typeof a=="boolean"};b.isNumber=function(a) {return typeof a=="number"};b.isFunction=function(a) {return b.typeOf(a)=="function"};b.isObject=function(a) {var c=b.typeOf(a);return c=="object"||c=="array"||c=="function"};b.getHashCode=function(a) {if(a.hasOwnProperty&&
a.hasOwnProperty(b.a)){var c= _proxy_jslib_handle(a, (b.a), 0, 0);if(c)return c}if(! _proxy_jslib_handle(a, (b.a), 0, 0)) _proxy_jslib_assign('', a, (b.a), '=', ( _proxy_jslib_assign('++', (b), ('h'), '')));return  _proxy_jslib_handle(a, (b.a), 0, 0)};b.removeHashCode=function(a) {if("removeAttribute"in a)a.removeAttribute(b.a);try{ _proxy_jslib_assign('delete', (a), (b.a), '')}catch(c){}};b.a="closure_hashCode_";b.h=0;b.cloneObject=function(a) {var c=b.typeOf(a);if(c=="object"||c=="array"){if(a.clone)return a.clone();var d=c=="array"?[]:{};for(var e in a) _proxy_jslib_assign('', d, (e), '=', (b.cloneObject( _proxy_jslib_handle(a, (e), 0, 0))));return d}return a};b.bind=function(a,c) {var d=a.e;if(arguments.length>2){var e=Array.prototype.slice.call(arguments,
2);if(d)e.unshift.apply(e,d);d=e}c=a.g||c;a=a.f||a;var f,h=c||b.global;f=d?function() {var j=Array.prototype.slice.call(arguments);j.unshift.apply(j,d);return a.apply(h,j)}:function() {return a.apply(h,arguments)};f.e=d;f.g=c;f.f=a;return f};b.partial=function(a) {var c=Array.prototype.slice.call(arguments,1);c.unshift(a,null);return b.bind.apply(null,c)};b.mixin=function(a,c) {for(var d in c) _proxy_jslib_assign('', a, (d), '=', ( _proxy_jslib_handle(c, (d), 0, 0)))};b.now=Date.now||function() {return(new (Date)).getTime()};b.globalEval=function(a) {if( _proxy_jslib_handle(b.global, 'execScript', '', 0, 0)) _proxy_jslib_handle(b.global, 'execScript', '', 1, 0)(a,
"JavaScript");else if( _proxy_jslib_handle(b.global, 'eval', '', 0, 0)){if(b.b==null){b.global.eval(_proxy_jslib_proxify_js(("var _et_ = 1;"), 0, 0) );if(typeof b.global._et_!="undefined"){ _proxy_jslib_assign('delete', (b.global), ('_et_'), '');b.b=true}else b.b=false}if(b.b)b.global.eval(_proxy_jslib_proxify_js((a), 0, 0) );else{var c=b.global.document,d=c.createElement("script");d.type="text/javascript";d.defer=false;d.appendChild(c.createTextNode(a)); _proxy_jslib_handle(c, 'body', '', 0, 0).appendChild(d); _proxy_jslib_handle(c, 'body', '', 0, 0).removeChild(d)}}else throw Error("goog.globalEval not available");};b.getMsg=function(a,c) {var d=c||{};for(var e in d)a= _proxy_jslib_handle(a, 'replace', '', 1, 0)(new (RegExp)("\\{\\$"+e+
"\\}","gi"), _proxy_jslib_handle(d, (e), 0, 0));return a};b.exportSymbol=function(a,c) {b.c(a,c)};b.exportProperty=function(a,c,d) { _proxy_jslib_assign('', a, (c), '=', (d))};b.inherits=function(a,c) {function d() {}d.prototype=c.prototype;a.j=c.prototype;a.prototype=new (d);a.prototype.constructor=a};Function.prototype.bind=function(a) {if(arguments.length>1){var c=Array.prototype.slice.call(arguments,1);c.unshift(this,a);return b.bind.apply(null,c)}else return b.bind(this,a)};Function.prototype.partial=function() {var a=Array.prototype.slice.call(arguments);a.unshift(this,
null);return b.bind.apply(null,a)};Function.prototype.inherits=function(a) {b.inherits(this,a)};Function.prototype.mixin=function(a) {b.mixin(this.prototype,a)};var l=b.getMsg("Poor, I would not recommend this post"),p=b.getMsg("Below Average"),q=b.getMsg("Average"),u=b.getMsg("Above Average"),x=b.getMsg("Excellent, I would recommend this post");function y(a) {if(a.readyState!=4)return;if(a.status!=200)return;var c=a.responseText;if(c.length<1)return;if(c[0]!=100||c.length!=3)return;var d="watch"+c[1]+"@"+c[2],e=window.document.getElementsByName(d),f=window.document.getElementsByName(d+"_img");for(var h=0;h<e.length;h++){ _proxy_jslib_handle( _proxy_jslib_handle(e, (h), 0, 0), 'setAttribute', '', 1, 0)("value",0); _proxy_jslib_assign('',  _proxy_jslib_handle(f, (h), 0, 0), 'src', '=', (
"/groups/img/watched_n.gif")); _proxy_jslib_handle(e, (h), 0, 0).blur()}}var z=["Click the star to watch this topic","Watching this topic","Click the envelope to receive email updates","Receiving thread updates via email"];function A(a,c,d) {this.id="rating_holder_"+a;this.rating=c;this.text=d}window.RAT_RatingHolder=A;var B=null;function C() {B=null; _proxy_jslib_handle(window.document, 'body', '', 0, 0).parentNode.onmouseup=null}function D(a,c,d) {B=d; _proxy_jslib_handle(window.document, 'body', '', 0, 0).parentNode.onmouseup=C;E(a,c)}window.RAT_startTrackingStars=D;function F(a) {if(window.is_ie&&
B!=null&&a.button==0)C()}window.RAT_mouseMove=F;function G(a,c,d,e,f) {if(B!=null&&B==e){E(c,d);H(a,c,d,e,f);B=null}}window.RAT_mouseUpInStar=G;function H(a,c,d,e,f) {window._SendServerRequest(window._G2_UrlBuilder.makeGroupUrl("/ratings?did="+c+"&rat="+d+"&tok="+f));e.rating=d;e.text="Rating Saved";var h= _proxy_jslib_handle(window.document, 'getElementById', '', 1, 0)("ratings_text_"+c); _proxy_jslib_assign('', h, 'innerHTML', '=', (e.text));if(e.text=="Text for clearing space")h.style.display="none"}function I(a,c,d) {if(B!=null&&B!=d)return;if(B!=null&&B==d)E(a,c);else for(var e=
1;e<=c;e++) _proxy_jslib_assign('',  _proxy_jslib_handle(window.document, 'getElementById', '', 1, 0)("s"+e+"_"+a+"_img"), 'src', '=', ("/groups/img/yellow_star_lite.gif"));var f= _proxy_jslib_handle(window.document, 'getElementById', '', 1, 0)("ratings_text_"+a);f.style.display="inline";switch(c){case "1": _proxy_jslib_assign('', f, 'innerHTML', '=', (l));break;case "2": _proxy_jslib_assign('', f, 'innerHTML', '=', (p));break;case "3": _proxy_jslib_assign('', f, 'innerHTML', '=', (q));break;case "4": _proxy_jslib_assign('', f, 'innerHTML', '=', (u));break;case "5": _proxy_jslib_assign('', f, 'innerHTML', '=', (x));break;default:break}}window.RAT_hesitateStars=I;function J(a,c,d) {E(a,d.rating);var e= _proxy_jslib_handle(window.document, 'getElementById', '', 1, 0)("ratings_text_"+a); _proxy_jslib_assign('', e, 'innerHTML', '=', (d.text));if(d.text=="Text for clearing space")e.style.display=
"none"}window.RAT_unhesStars=J;function E(a,c) {for(var d=1;d<=5;d++)if(d<=c) _proxy_jslib_assign('',  _proxy_jslib_handle(window.document, 'getElementById', '', 1, 0)("s"+d+"_"+a+"_img"), 'src', '=', ("/groups/img/yellow_star_blue_outline.gif"));else  _proxy_jslib_assign('',  _proxy_jslib_handle(window.document, 'getElementById', '', 1, 0)("s"+d+"_"+a+"_img"), 'src', '=', ("/groups/img/clear_star_blue_outline.gif"))}function K(a,c,d,e) {var f="watch"+c+"@"+d,h=window.document.getElementsByName(f),j=window.document.getElementsByName(f+"_img"),m="threadsub"+c+"@"+d,k=window.document.getElementsByName(m),i=window.document.getElementsByName(m+
"_img"),n=window.document.getElementsByName(m+"_lnk0"),r=window.document.getElementsByName(m+"_lnk2");if(h.length<1)return false;var s;try{s=parseInt(h[0].getAttribute("value"),10)}catch(o){s=1}if(k.length<1)if(e==2)return false;var t;try{t=parseInt(k[0].getAttribute("value"),10)}catch(o){t=0}if(e==1)for(var g=0;g<h.length;g++){var v;if(s==0){v=1; _proxy_jslib_handle( _proxy_jslib_handle(h, (g), 0, 0), 'setAttribute', '', 1, 0)("value",1); _proxy_jslib_assign('',  _proxy_jslib_handle(j, (g), 0, 0), 'src', '=', ("/groups/img/watched_y.gif")); _proxy_jslib_handle(j, (g), 0, 0).title=z[1]}else{v=0; _proxy_jslib_handle( _proxy_jslib_handle(h, (g), 0, 0), 'setAttribute', '', 1, 0)("value",0); _proxy_jslib_assign('',  _proxy_jslib_handle(j, (g), 0, 0), 'src', '=', ("/groups/img/watched_n.gif"));
 _proxy_jslib_handle(j, (g), 0, 0).title=z[0]} _proxy_jslib_handle(h, (g), 0, 0).blur()}else for(var g=0;g<k.length;g++){var w;if(t==0){w=1; _proxy_jslib_handle( _proxy_jslib_handle(k, (g), 0, 0), 'setAttribute', '', 1, 0)("value",1);if(i.length>g) _proxy_jslib_assign('',  _proxy_jslib_handle(i, (g), 0, 0), 'src', '=', ("/groups/img/threadsub_y.gif"));if(i.length>g) _proxy_jslib_handle(i, (g), 0, 0).title=z[3];if(n.length>g) _proxy_jslib_handle(n, (g), 0, 0).style.display="";if(r.length>g) _proxy_jslib_handle(r, (g), 0, 0).style.display="none"}else{w=0; _proxy_jslib_handle( _proxy_jslib_handle(k, (g), 0, 0), 'setAttribute', '', 1, 0)("value",0);if(i.length>g) _proxy_jslib_assign('',  _proxy_jslib_handle(i, (g), 0, 0), 'src', '=', ("/groups/img/threadsub_n.gif"));if(i.legnth>g) _proxy_jslib_handle(i, (g), 0, 0).title=z[2];if(n.length>g) _proxy_jslib_handle(n, (g), 0, 0).style.display="none";if(r.length>g) _proxy_jslib_handle(r, (g), 0, 0).style.display=""} _proxy_jslib_handle(k, (g), 0, 0).blur()}var L=2*t+s,M=window._G2_UrlBuilder.makeGroupUrlForGroup(window._G2_createGroup(c),
"/watch_topic?Action.JS=1&WebToken="+a+"&tid="+d+"&oldstate="+L+"&email="+(e==2?"1":"0"));window._StartGETRequest(M,y);var o=window.is_ie?window.event:this;if(o)if(window.is_ie){o.cancelBubble=true;o.returnValue=false}return false}window.toggleStar=K;function N(a,c,d,e) {var f="watch"+d+"_"+e,h=window.document.getElementsByName(f),j=window.document.getElementsByName(f+"_img");if(h.length<1)return;var m;try{m=parseInt(h[0].getAttribute("value"),10)}catch(k){m=1}for(var i=0;i<h.length;i++){if(m==1){ _proxy_jslib_handle( _proxy_jslib_handle(h, (i), 0, 0), 'setAttribute', '', 1, 0)("value",
0); _proxy_jslib_assign('',  _proxy_jslib_handle(j, (i), 0, 0), 'src', '=', ("/groups/img/watched_n.gif"))}else{ _proxy_jslib_handle( _proxy_jslib_handle(h, (i), 0, 0), 'setAttribute', '', 1, 0)("value",1); _proxy_jslib_assign('',  _proxy_jslib_handle(j, (i), 0, 0), 'src', '=', ("/groups/img/watched_y.gif"))} _proxy_jslib_handle(h, (i), 0, 0).blur()}var n=window._G2_UrlBuilder.makeGroupUrlForGroup(window._G2_createGroup(c),"/watch_topic?Action.JS=1&WebToken="+a+"&tid="+e+"&oldstate="+m+"&email=0");window._SendServerRequest(n);var k=window.is_ie?window.event:this;if(k)if(window.is_ie){k.cancelBubble=true;k.returnValue=false;return false}else return false;return false}window.toggle_watch=N;function O(a,c) {var d="threadsub"+
a+"@"+c,e=window.document.getElementsByName(d);if(e.length<1)return false;var f;try{f=parseInt(e[0].getAttribute("value"),10)}catch(h){return false}return f?true:false}window.TS_isThreadSubbed=O;
 })()
 ;
_proxy_jslib_flush_write_buffers() ;