if(typeof YAHOO=="undefined"||!YAHOO){var YAHOO={}
}YAHOO.namespace=function(){var F=arguments,G=null,I,J,H;
for(I=0;
I<F.length;
I=I+1){H=F[I].split(".");
G=YAHOO;
for(J=(H[0]=="YAHOO")?1:0;
J<H.length;
J=J+1){G[H[J]]=G[H[J]]||{};
G=G[H[J]]
}}return G
};
YAHOO.log=function(F,E,G){var H=YAHOO.widget.Logger;
if(H&&H.log){return H.log(F,E,G)
}else{return false
}};
YAHOO.register=function(M,R,J){var N=YAHOO.env.modules;
if(!N[M]){N[M]={versions:[],builds:[]}
}var L=N[M],O=J.version,P=J.build,Q=YAHOO.env.listeners;
L.name=M;
L.version=O;
L.build=P;
L.versions.push(O);
L.builds.push(P);
L.mainClass=R;
for(var K=0;
K<Q.length;
K=K+1){Q[K](L)
}if(R){R.VERSION=O;
R.BUILD=P
}else{YAHOO.log("mainClass is undefined for module "+M,"warn")
}};
YAHOO.env=YAHOO.env||{modules:[],listeners:[]};
YAHOO.env.getVersion=function(B){return YAHOO.env.modules[B]||null
};
YAHOO.env.ua=function(){var E={ie:0,opera:0,gecko:0,webkit:0,mobile:null,air:0};
var F=navigator.userAgent,D;
if((/KHTML/).test(F)){E.webkit=1
}D=F.match(/AppleWebKit\/([^\s]*)/);
if(D&&D[1]){E.webkit=parseFloat(D[1]);
if(/ Mobile\//.test(F)){E.mobile="Apple"
}else{D=F.match(/NokiaN[^\/]*/);
if(D){E.mobile=D[0]
}}D=F.match(/AdobeAIR\/([^\s]*)/);
if(D){E.air=D[0]
}}if(!E.webkit){D=F.match(/Opera[\s\/]([^\s]*)/);
if(D&&D[1]){E.opera=parseFloat(D[1]);
D=F.match(/Opera Mini[^;]*/);
if(D){E.mobile=D[0]
}}else{D=F.match(/MSIE\s([^;]*)/);
if(D&&D[1]){E.ie=parseFloat(D[1])
}else{D=F.match(/Gecko\/([^\s]*)/);
if(D){E.gecko=1;
D=F.match(/rv:([^\s\)]*)/);
if(D&&D[1]){E.gecko=parseFloat(D[1])
}}}}}return E
}();
(function(){YAHOO.namespace("util","widget","example");
if("undefined"!==typeof YAHOO_config){var H=YAHOO_config.listener,E=YAHOO.env.listeners,F=true,G;
if(H){for(G=0;
G<E.length;
G=G+1){if(E[G]==H){F=false;
break
}}if(F){E.push(H)
}}}})();
YAHOO.lang=YAHOO.lang||{};
(function(){var D=YAHOO.lang,E=["toString","valueOf"],F={isArray:function(A){if(A){return D.isNumber(A.length)&&D.isFunction(A.splice)
}return false
},isBoolean:function(A){return typeof A==="boolean"
},isFunction:function(A){return typeof A==="function"
},isNull:function(A){return A===null
},isNumber:function(A){return typeof A==="number"&&isFinite(A)
},isObject:function(A){return(A&&(typeof A==="object"||D.isFunction(A)))||false
},isString:function(A){return typeof A==="string"
},isUndefined:function(A){return typeof A==="undefined"
},_IEEnumFix:(YAHOO.env.ua.ie)?function(C,I){for(var J=0;
J<E.length;
J=J+1){var A=E[J],B=I[A];
if(D.isFunction(B)&&B!=Object.prototype[A]){C[A]=B
}}}:function(){},extend:function(B,A,C){if(!A||!B){throw new Error("extend failed, please check that all dependencies are included.")
}var J=function(){};
J.prototype=A.prototype;
B.prototype=new J();
B.prototype.constructor=B;
B.superclass=A.prototype;
if(A.prototype.constructor==Object.prototype.constructor){A.prototype.constructor=A
}if(C){for(var K in C){if(D.hasOwnProperty(C,K)){B.prototype[K]=C[K]
}}D._IEEnumFix(B.prototype,C)
}},augmentObject:function(B,C){if(!C||!B){throw new Error("Absorb failed, verify dependencies.")
}var L=arguments,J,A,K=L[2];
if(K&&K!==true){for(J=2;
J<L.length;
J=J+1){B[L[J]]=C[L[J]]
}}else{for(A in C){if(K||!(A in B)){B[A]=C[A]
}}D._IEEnumFix(B,C)
}},augmentProto:function(A,B){if(!B||!A){throw new Error("Augment failed, verify dependencies.")
}var H=[A.prototype,B.prototype];
for(var C=2;
C<arguments.length;
C=C+1){H.push(arguments[C])
}D.augmentObject.apply(this,H)
},dump:function(A,N){var Q,O,C=[],B="{...}",R="f(){...}",M=", ",P=" => ";
if(!D.isObject(A)){return A+""
}else{if(A instanceof Date||("nodeType" in A&&"tagName" in A)){return A
}else{if(D.isFunction(A)){return R
}}}N=(D.isNumber(N))?N:3;
if(D.isArray(A)){C.push("[");
for(Q=0,O=A.length;
Q<O;
Q=Q+1){if(D.isObject(A[Q])){C.push((N>0)?D.dump(A[Q],N-1):B)
}else{C.push(A[Q])
}C.push(M)
}if(C.length>1){C.pop()
}C.push("]")
}else{C.push("{");
for(Q in A){if(D.hasOwnProperty(A,Q)){C.push(Q+P);
if(D.isObject(A[Q])){C.push((N>0)?D.dump(A[Q],N-1):B)
}else{C.push(A[Q])
}C.push(M)
}}if(C.length>1){C.pop()
}C.push("}")
}return C.join("")
},substitute:function(B,f,Y){var b,c,d,V,U,C,W=[],e,a="dump",X=" ",A="{",T="}";
for(;
;
){b=B.lastIndexOf(A);
if(b<0){break
}c=B.indexOf(T,b);
if(b+1>=c){break
}e=B.substring(b+1,c);
V=e;
C=null;
d=V.indexOf(X);
if(d>-1){C=V.substring(d+1);
V=V.substring(0,d)
}U=f[V];
if(Y){U=Y(V,U,C)
}if(D.isObject(U)){if(D.isArray(U)){U=D.dump(U,parseInt(C,10))
}else{C=C||"";
var Z=C.indexOf(a);
if(Z>-1){C=C.substring(4)
}if(U.toString===Object.prototype.toString||Z>-1){U=D.dump(U,parseInt(C,10))
}else{U=U.toString()
}}}else{if(!D.isString(U)&&!D.isNumber(U)){U="~-"+W.length+"-~";
W[W.length]=e
}}B=B.substring(0,b)+U+B.substring(c+1)
}for(b=W.length-1;
b>=0;
b=b-1){B=B.replace(new RegExp("~-"+b+"-~"),"{"+W[b]+"}","g")
}return B
},trim:function(B){try{return B.replace(/^\s+|\s+$/g,"")
}catch(A){return B
}},merge:function(){var A={},C=arguments;
for(var B=0,H=C.length;
B<H;
B=B+1){D.augmentObject(A,C[B],true)
}return A
},later:function(C,R,B,P,O){C=C||0;
R=R||{};
var Q=B,M=P,N,A;
if(D.isString(B)){Q=R[B]
}if(!Q){throw new TypeError("method undefined")
}if(!D.isArray(M)){M=[P]
}N=function(){Q.apply(R,M)
};
A=(O)?setInterval(N,C):setTimeout(N,C);
return{interval:O,cancel:function(){if(this.interval){clearInterval(A)
}else{clearTimeout(A)
}}}
},isValue:function(A){return(D.isObject(A)||D.isString(A)||D.isNumber(A)||D.isBoolean(A))
}};
D.hasOwnProperty=(Object.prototype.hasOwnProperty)?function(B,A){return B&&B.hasOwnProperty(A)
}:function(B,A){return !D.isUndefined(B[A])&&B.constructor.prototype[A]!==B[A]
};
F.augmentObject(D,F,true);
YAHOO.util.Lang=D;
D.augment=D.augmentProto;
YAHOO.augment=D.augmentProto;
YAHOO.extend=D.extend
})();
YAHOO.register("yahoo",YAHOO,{version:"2.6.0",build:"1321"});
YAHOO.lang.JSON=(function(){var l=YAHOO.lang,_UNICODE_EXCEPTIONS=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_ESCAPES=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,_VALUES=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,_BRACKETS=/(?:^|:|,)(?:\s*\[)+/g,_INVALID=/^[\],:{}\s]*$/,_SPECIAL_CHARS=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_CHARS={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};
function _revive(data,reviver){var walk=function(o,key){var k,v,value=o[key];
if(value&&typeof value==="object"){for(k in value){if(l.hasOwnProperty(value,k)){v=walk(value,k);
if(v===undefined){delete value[k]
}else{value[k]=v
}}}}return reviver.call(o,key,value)
};
return typeof reviver==="function"?walk({"":data},""):data
}function _char(c){if(!_CHARS[c]){_CHARS[c]="\\u"+("0000"+(+(c.charCodeAt(0))).toString(16)).slice(-4)
}return _CHARS[c]
}function _prepare(s){return s.replace(_UNICODE_EXCEPTIONS,_char)
}function _isValid(str){return l.isString(str)&&_INVALID.test(str.replace(_ESCAPES,"@").replace(_VALUES,"]").replace(_BRACKETS,""))
}function _string(s){return'"'+s.replace(_SPECIAL_CHARS,_char)+'"'
}function _stringify(h,key,d,w,pstack){var o=typeof w==="function"?w.call(h,key,h[key]):h[key],i,len,j,k,v,isArray,a;
if(o instanceof Date){o=l.JSON.dateToString(o)
}else{if(o instanceof String||o instanceof Boolean||o instanceof Number){o=o.valueOf()
}}switch(typeof o){case"string":return _string(o);
case"number":return isFinite(o)?String(o):"null";
case"boolean":return String(o);
case"object":if(o===null){return"null"
}for(i=pstack.length-1;
i>=0;
--i){if(pstack[i]===o){return"null"
}}pstack[pstack.length]=o;
a=[];
isArray=l.isArray(o);
if(d>0){if(isArray){for(i=o.length-1;
i>=0;
--i){a[i]=_stringify(o,i,d-1,w,pstack)||"null"
}}else{j=0;
if(l.isArray(w)){for(i=0,len=w.length;
i<len;
++i){k=w[i];
v=_stringify(o,k,d-1,w,pstack);
if(v){a[j++]=_string(k)+":"+v
}}}else{for(k in o){if(typeof k==="string"&&l.hasOwnProperty(o,k)){v=_stringify(o,k,d-1,w,pstack);
if(v){a[j++]=_string(k)+":"+v
}}}}a.sort()
}}pstack.pop();
return isArray?"["+a.join(",")+"]":"{"+a.join(",")+"}"
}return undefined
}return{isValid:function(s){return _isValid(_prepare(s))
},parse:function(s,reviver){s=_prepare(s);
if(_isValid(s)){return _revive(eval("("+s+")"),reviver)
}throw new SyntaxError("parseJSON")
},stringify:function(o,w,d){if(o!==undefined){if(l.isArray(w)){w=(function(a){var uniq=[],map={},v,i,j,len;
for(i=0,j=0,len=a.length;
i<len;
++i){v=a[i];
if(typeof v==="string"&&map[v]===undefined){uniq[(map[v]=j++)]=v
}}return uniq
})(w)
}d=d>=0?d:1/0;
return _stringify({"":o},"",d,w,[])
}return undefined
},dateToString:function(d){function _zeroPad(v){return v<10?"0"+v:v
}return d.getUTCFullYear()+"-"+_zeroPad(d.getUTCMonth()+1)+"-"+_zeroPad(d.getUTCDate())+"T"+_zeroPad(d.getUTCHours())+":"+_zeroPad(d.getUTCMinutes())+":"+_zeroPad(d.getUTCSeconds())+"Z"
},stringToDate:function(str){if(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})Z$/.test(str)){var d=new Date();
d.setUTCFullYear(RegExp.$1,(RegExp.$2|0)-1,RegExp.$3);
d.setUTCHours(RegExp.$4,RegExp.$5,RegExp.$6);
return d
}return str
}}
})();
YAHOO.register("json",YAHOO.lang.JSON,{version:"2.6.0",build:"1321"});
document.iframeLoaders={};
iframe=function(){this.initialize.apply(this,arguments)
};
iframe.prototype={initialize:function(E,C,D){D=D||(new Date()*1);
if(!C){C={}
}this.form=E;
this.uniqueId=D;
document.iframeLoaders[this.uniqueId]=this;
var B=E.action+"?jsonRequest="+escape(E.elements[0].value);
var A=B.indexOf("/",B.indexOf("//")+2);
this.transport=this.getTransport((A>0)?B.substring(0,A):"");
this.onComplete=C.onComplete||null;
this.update=this.$(C.update)||null;
this.updateMultiple=C.multiple||false;
if(((navigator.vendor&&(navigator.vendor.indexOf("Apple"))>-1)||window.opera)&&(/\/Direct\/Process(\?|$)/.test(E.action))&&E.elements&&(E.elements.length==1)){var G=this.transport.contentWindow||this.transport.contentDocument;
if(B.length<80000){if(G.document){G=G.document
}try{G.location.replace(B);
return 
}catch(F){}}}E.target="frame_"+this.uniqueId;
E.setAttribute("target","frame_"+this.uniqueId);
E.submit()
},onStateChange:function(){this.transport=this.$("frame_"+this.uniqueId);
try{var doc=this.transport.contentDocument.body.innerHTML;
this.transport.contentDocument.close()
}catch(e){try{var doc=this.transport.contentWindow.document.body.innerHTML;
this.transport.contentWindow.document.close()
}catch(e){try{var doc=this.transport.document.body.innerHTML;
this.transport.document.body.close()
}catch(e){try{var doc=window.frames["frame_"+this.uniqueId].document.body.innerText
}catch(e){}}}}this.transport.responseText=doc;
if(this.onComplete){setTimeout(this.bind(function(){this.onComplete(this.transport)
},this),10)
}if(this.update){setTimeout(this.bind(function(){this.update.innerHTML=this.transport.responseText
},this),10)
}if(this.updateMultiple){setTimeout(this.bind(function(){try{var hasscript=false;
eval("var inputObject = "+this.transport.responseText);
for(var i in inputObject){if(i=="script"){hasscript=true
}else{if(elm=this.$(i)){elm.innerHTML=inputObject[i]
}else{}}}if(hasscript){eval(inputObject.script)
}}catch(e){}},this),10)
}},getTransport:function(A){var B=document.createElement("DIV"),C;
B.setAttribute("style","width: 0; height: 0; margin: 0; padding: 0; visibility: hidden; overflow: hidden");
if(navigator.userAgent.indexOf("MSIE")>0&&navigator.userAgent.indexOf("Opera")==-1){B.style.width=0;
B.style.height=0;
B.style.margin=0;
B.style.padding=0;
B.style.visibility="hidden";
B.style.overflow="hidden";
B.innerHTML='<iframe name="frame_'+this.uniqueId+'" id="frame_'+this.uniqueId+'" src="'+A+'/ver1.0/Content/blank.html" onload="setTimeout(function(){document.iframeLoaders['+this.uniqueId+'].onStateChange()},20);"></iframe>'
}else{C=document.createElement("iframe");
C.setAttribute("name","frame_"+this.uniqueId);
C.setAttribute("id","frame_"+this.uniqueId);
C.addEventListener("load",this.bind(function(){this.onStateChange()
},this),false);
B.appendChild(C)
}if(typeof (RequestBatch)==="undefined"){document.body.appendChild(B)
}else{(RequestBatch.container||document.body).appendChild(B)
}return C
},bind:function(A,B){return function(){return A.apply(B,arguments)
}
},"$":function(A){return document.getElementById(A)
}};
if(typeof (RequestBatch)==="undefined"){RequestBatch=function(){this.initialize.apply(this,arguments)
};
var counter=0;
var pendingRequests=0;
function DirectAccessErrorHandler(B,A){}(function(){var B=(navigator.userAgent.indexOf("MSIE")!=-1&&navigator.userAgent.indexOf("Opera")==-1);
var F=B?2083:4000;
var D=typeof PLUCK_JSONPMAX!=="undefined"?PLUCK_JSONPMAX:null;
var C=document.location.toString().match(/PLUCK_JSONPMAX=([0-9]+)/);
if(C&&C.length>0){D=C[1]
}if(D){F=D
}function E(J,L,O,M,K){var N=J.indexOf("?")==-1?"?":"&";
J=J.replace("/Process","/Jsonp")+N+"r="+L+"&cb="+O;
if(M){J=J+"&ctk="+M+"&crm="+K
}return J
}function G(J,K,L){J=E(J,encodeURIComponent(K),L);
if(J.length<F){return J
}return false
}function A(J,O,P){var N=F-E(J,"",P,"",false).length-100;
var Q=[];
while(O.length>0){var M="";
var K="";
var M=O.substr(0,N);
var K=encodeURIComponent(M);
while(K.length>N){var L=K.length-N;
M=O.substr(0,M.length-L);
K=encodeURIComponent(M)
}Q.push(K);
O=O.substr(M.length)
}return Q
}function H(){var J=document.cookie.split(";");
for(var K=0;
K<J.length;
K++){var M=J[K];
while(M.charAt(0)===" "){M=M.substring(1,M.length)
}var L=M.indexOf("=");
if(L>0){name=M.substring(0,L);
value=M.substring(L+1);
if(name.toLowerCase()=="hd"){value=unescape(value);
value=value.split("|");
return value[0]
}}}return null
}function I(N,K,L,O,M){var J=/\DDirect\/Process\?\w\S*/;
myregexp=new RegExp(J);
N=N.indexOf("?")==-1?N.replace("/Direct/Process","/Stats/Tracker.gif"):N.replace(myregexp,"/Stats/Tracker.gif");
return srcUrl=N+"?plckUrl="+encodeURIComponent(K)+"&plckUserId="+L+"&plckGcid="+O+"&plckCurrentTime="+M
}RequestBatch.prototype={initialize:function(){this.UniqueId=counter++;
this.Requests=new Array()
},gcid:"daapiCall",InsertTrackerNode:function(J,L,K,O,M){if(document.getElementById("slImgNodeTrckr")===null){var N=document.createElement("img");
N.setAttribute("id","slImgNodeTrckr");
N.src=I(J,L,K,O,M);
if(N.style.setAttribute){N.style.setAttribute("display","none")
}else{N.setAttribute("style","display:none")
}document.getElementsByTagName("body")[0].appendChild(N)
}},InitializeTracking:function(J){var L=location.href;
var K=H();
var N=new Date();
var M=this;
if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);
M.InsertTrackerNode(J,L,K,M.gcid,N.getTime())
},false)
}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
M.InsertTrackerNode(J,L,K,M.gcid,N.getTime())
}});
if(document.documentElement.doScroll&&window==window.top){(function(){try{document.documentElement.doScroll("left")
}catch(O){setTimeout(arguments.callee,0);
return 
}M.InsertTrackerNode(J,L,K,M.gcid,N.getTime())
})()
}}}},HasTemplate:function(){return typeof (this["Template"])!="undefined"
},AddToRequest:function(J){this.Requests[this.Requests.length]=J
},BeginRequest:function(P,U){pendingRequests++;
if(!RequestBatch.callbacks){RequestBatch.callbacks={}
}var T=YAHOO.lang.JSON.stringify(this),M=(navigator.userAgent.indexOf("MSIE")!=-1&&navigator.userAgent.indexOf("Opera")==-1);
if(M&&!RequestBatch.container){var S=document.body,L;
RequestBatch.container=L=S.insertBefore(document.createElement("div"),S.firstChild);
L.style.height=L.style.width=L.style.margin=L.style.padding=0;
L.style.visibility=L.style.overflow="hidden";
L.style.display="none"
}var O="daapiCallback"+this.UniqueId;
var N=this;
var K="RequestBatch.callbacks."+O;
var J=null;
var R=function(){if(J!=null&&J.chunks.length>0){var W=J.chunks.shift();
var X=J.chunks.length;
return E(P,W,K,J.token,X)
}return null
};
var Q=G(P,T,K)||null;
if(Q==null){J={token:"i",chunks:A(P,T,K)};
Q=R()
}var V=function(X){var W=document.createElement("script");
W.type="text/javascript";
W.src=X;
var Y=document.getElementsByTagName("head")[0];
RequestBatch.callbacks[O]=(function(a,Z){return function(b){if(b.hasOwnProperty("chunkToken")){if(!b.error&&J!=null&&J.chunks.length>0){J.token=b.chunkToken;
V(R())
}else{}}else{if(N.HasTemplate()){U(b)
}else{U(b.ResponseBatch)
}}a=Z=null
}
})(U,Y,W);
Y.appendChild(W)
};
V(Q);
this.UniqueId=counter++
}}
})()
}function generateForm(K,E,A){var D=document.createElement("form");
D.acceptCharset="UTF-8";
D.name="f"+K;
D.id="f"+K;
D.action=E;
var I=document.createElement("input");
I.name="jsonRequest";
I.type="hidden";
I.value=A;
D.appendChild(I);
D.method="post";
if(navigator.userAgent.toLowerCase().indexOf("firefox")!=-1){var G=E.indexOf("?")==-1?"?":"&";
var H=E+G+"jsonRequest="+escape(A);
if(H.length<4000){var J=E.indexOf("sid=");
if(J!=-1){var C=E.indexOf("&",J);
var B=E.substring(J+"sid=".length,C==-1?E.length:C);
var F=document.createElement("input");
F.name="sid";
F.type="hidden";
F.value=B;
D.appendChild(F);
D.action=E.substring(0,J-1)
}D.method="get"
}}(RequestBatch.container||document.body).appendChild(D);
return D
}function processResponse(F,D,A){pendingRequests--;
try{if(A){F(D.ResponseText)
}else{var C=unescape(D.responseText);
C=C.replace(/\\\>/g,">");
var B=YAHOO.lang.JSON.parse(C);
try{F(B.ResponseBatch)
}catch(E){DirectAccessErrorHandler("exception during client callback",E)
}}}catch(E){DirectAccessErrorHandler("exception during processResponse",E)
}}function getPendingRequestCount(){return pendingRequests
}(function(){var A=function(){return function(){this.initialize.apply(this,arguments)
}
};
UserKey=A();
UserKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.UserKey=C
}};
CommentKey=A();
CommentKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.CommentKey=C
}};
ArticleKey=A();
ArticleKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.ArticleKey=C
}};
PersonaMessageKey=A();
PersonaMessageKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.PersonaMessageKey=C
}};
ReviewKey=A();
ReviewKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.ReviewKey=C
}};
GalleryKey=A();
GalleryKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.GalleryKey=C
}};
PhotoKey=A();
PhotoKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.PhotoKey=C
}};
VideoKey=A();
VideoKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.VideoKey=C
}};
BlogKey=A();
BlogKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.BlogKey=C
}};
BlogPostKey=A();
BlogPostKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.BlogPostKey=C
}};
CustomItemKey=A();
CustomItemKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.CustomItemKey=C
}};
CustomCollectionKey=A();
CustomCollectionKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.CustomCollectionKey=C
}};
ForumCategoryKey=A();
ForumCategoryKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.ForumCategoryKey=C
}};
ForumKey=A();
ForumKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.ForumKey=C
}};
DiscussionKey=A();
DiscussionKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.DiscussionKey=C
}};
ForumPostKey=A();
ForumPostKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.ForumPostKey=C
}};
EventKey=A();
EventKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.EventKey=C
}};
EventSetKey=A();
EventSetKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.EventSetKey=C
}};
CommunityGroupKey=A();
CommunityGroupKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.CommunityGroupKey=C
}};
CommunityGroupMembershipKey=A();
CommunityGroupMembershipKey.prototype={initialize:function(B,D){var C=new Object();
C.CommunityGroupKey=B;
C.UserKey=D;
this.CommunityGroupMembershipKey=C
}};
CommunityGroupInvitationKey=A();
CommunityGroupInvitationKey.prototype={initialize:function(B,D){var C=new Object();
C.CommunityGroupKey=B;
C.UserKey=D;
this.CommunityGroupInvitationKey=C
}};
CommunityGroupRegistrantKey=A();
CommunityGroupRegistrantKey.prototype={initialize:function(B,D){var C=new Object();
C.CommunityGroupKey=B;
C.UserKey=D;
this.CommunityGroupRegistrantKey=C
}};
CommunityGroupBannedUserKey=A();
CommunityGroupBannedUserKey.prototype={initialize:function(B,D){var C=new Object();
C.CommunityGroupKey=B;
C.UserKey=D;
this.CommunityGroupBannedUserKey=C
}};
PollKey=A();
PollKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.PollKey=C
}};
BadgeFamilyKey=A();
BadgeFamilyKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.BadgeFamilyKey=C
}};
LeaderboardKey=A();
LeaderboardKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.LeaderboardKey=C
}};
FeedActivityKey=A();
FeedActivityKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.FeedActivityKey=C
}};
RatingsReferenceKey=A();
RatingsReferenceKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.RatingsReferenceKey=C
}};
CommentPage=A();
CommentPage.prototype={initialize:function(F,B,D,C,G){var E=new Object();
E.ArticleKey=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
E.FindCommentKey=G;
this.CommentPage=E
}};
PersonaMessagePage=A();
PersonaMessagePage.prototype={initialize:function(F,B,D,C){var E=new Object();
E.UserKey=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
this.PersonaMessagePage=E
}};
ReviewPage=A();
ReviewPage.prototype={initialize:function(F,B,D,C){var E=new Object();
E.ArticleKey=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
this.ReviewPage=E
}};
UserReviewPage=A();
UserReviewPage.prototype={initialize:function(F,B,D,C){var E=new Object();
E.UserKey=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
this.UserReviewPage=E
}};
MediaType=A();
MediaType.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.MediaType=C
}};
PublicGalleryPage=A();
PublicGalleryPage.prototype={initialize:function(C,D,B){var E=new Object();
E.NumberPerPage=C;
E.OnPage=D;
E.MediaType=B;
this.PublicGalleryPage=E
}};
UserGalleryPage=A();
UserGalleryPage.prototype={initialize:function(F,C,D,B){var E=new Object();
E.UserKey=F;
E.NumberPerPage=C;
E.OnPage=D;
E.MediaType=B;
this.UserGalleryPage=E
}};
PhotoPage=A();
PhotoPage.prototype={initialize:function(F,B,D,C){var E=new Object();
E.GalleryKey=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
this.PhotoPage=E
}};
VideoPage=A();
VideoPage.prototype={initialize:function(F,B,D,C){var E=new Object();
E.GalleryKey=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
this.VideoPage=E
}};
CommentAction=A();
CommentAction.prototype={initialize:function(D,G,C,F,B){var E=new Object();
E.CommentOnKey=D;
E.OnPageUrl=G;
E.OnPageTitle=C;
E.CommentBody=F;
E.PostedOnDate=B;
this.CommentAction=E
}};
ReviewAction=A();
ReviewAction.prototype={initialize:function(H,B,I,G,C,J,D,F){var E=new Object();
E.ReviewOnKey=H;
E.OnPageUrl=B;
E.OnPageTitle=I;
E.ReviewTitle=G;
E.ReviewRating=C;
E.ReviewBody=J;
E.ReviewPros=D;
E.ReviewCons=F;
this.ReviewAction=E
}};
RecommendAction=A();
RecommendAction.prototype={initialize:function(D,B){var C=new Object();
C.RecommendThisKey=D;
if(B){C.OnPageTitle=B
}this.RecommendAction=C
}};
RateAction=A();
RateAction.prototype={initialize:function(C,E,B,D){var F=new Object();
F.RateThisKey=C;
F.Rating=E;
if(typeof (B)!="undefined"){F.MultiRate=B
}if(typeof (D)!=="undefined"){F.RatingsReferenceKey=D
}this.RateAction=F
}};
DeleteContentAction=A();
DeleteContentAction.prototype={initialize:function(C){var B=new Object();
B.DeleteThisContent=C;
this.DeleteContentAction=B
}};
EmailContentAction=A();
EmailContentAction.prototype={initialize:function(E,C,B){var D=new Object();
D.ToAddress=E;
D.Subject=C;
D.Body=B;
this.EmailContentAction=D
}};
EmailContentWithUserIDAction=A();
EmailContentWithUserIDAction.prototype={initialize:function(E,C,B){var D=new Object();
D.UserKey=E;
D.Subject=C;
D.Body=B;
this.EmailContentWithUserIDAction=D
}};
ReportAbuseAction=A();
ReportAbuseAction.prototype={initialize:function(C,E,D){var B=new Object();
B.ReportThisKey=C;
B.AbuseReason=E;
B.AbuseDescription=D;
this.ReportAbuseAction=B
}};
Category=A();
Category.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.Category=C
}};
Section=A();
Section.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.Section=C
}};
UpdateArticleAction=A();
UpdateArticleAction.prototype={initialize:function(F,G,C,E,B){var D=new Object();
D.UpdateArticle=F;
D.OnPageUrl=G;
D.OnPageTitle=C;
D.Section=E;
D.Categories=B;
this.UpdateArticleAction=D
}};
UpdateGalleryAction=A();
UpdateGalleryAction.prototype={initialize:function(E,C,I,F,H,J,G,B){var D=new Object();
D.UpdateGallery=E;
D.GalleryType=C;
D.MediaType=I;
D.Title=F;
D.Description=H;
D.Tags=J;
D.Section=G;
D.GalleryPromo=B;
this.UpdateGalleryAction=D
}};
UpdatePhotoAction=A();
UpdatePhotoAction.prototype={initialize:function(F,G,C,B,E){var D=new Object();
D.UpdatePhoto=F;
D.Title=G;
D.Description=C;
D.Tags=B;
D.Section=E;
this.UpdatePhotoAction=D
}};
UpdateVideoAction=A();
UpdateVideoAction.prototype={initialize:function(B,G,D,C,F){var E=new Object();
E.UpdateVideo=B;
E.Title=G;
E.Description=D;
E.Tags=C;
E.Section=F;
this.UpdateVideoAction=E
}};
GalleryType=A();
GalleryType.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.GalleryType=C
}};
GalleryPromo=A();
GalleryPromo.prototype={initialize:function(E,C,B){var D=new Object();
D.Title=E;
D.Body=C;
D.PhotoKey=B;
this.GalleryPromo=D
}};
UserTier=A();
UserTier.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.UserTier=C
}};
MembershipTier=A();
MembershipTier.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.MembershipTier=C
}};
Activity=A();
Activity.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.Activity=C
}};
DiscoverArticlesAction=A();
DiscoverArticlesAction.prototype={initialize:function(F,E,C,H,B,D){var G=new Object();
G.SearchSections=F;
G.SearchCategories=E;
G.LimitToContributors=C;
G.Activity=H;
G.Age=B;
G.MaximumNumberOfDiscoveries=D;
this.DiscoverArticlesAction=G
}};
AddFriendAction=A();
AddFriendAction.prototype={initialize:function(C){var B=new Object();
B.FriendUserKey=C;
this.AddFriendAction=B
}};
AddPersonaMessageAction=A();
AddPersonaMessageAction.prototype={initialize:function(D,B){var C=new Object();
C.ToUserKey=D;
C.Body=B;
this.AddPersonaMessageAction=C
}};
RemovePersonaMessageAction=A();
RemovePersonaMessageAction.prototype={initialize:function(C){var B=new Object();
B.PersonaMessageKey=C;
this.RemovePersonaMessageAction=B
}};
ApproveFriendAction=A();
ApproveFriendAction.prototype={initialize:function(D,B){var C=new Object();
C.FriendUserKey=D;
C.IsApproved=B;
this.ApproveFriendAction=C
}};
RemoveFriendAction=A();
RemoveFriendAction.prototype={initialize:function(C){var B=new Object();
B.FriendUserKey=C;
this.RemoveFriendAction=B
}};
AddEnemyAction=A();
AddEnemyAction.prototype={initialize:function(B){var C=new Object();
C.EnemyUserKey=B;
this.AddEnemyAction=C
}};
RemoveEnemyAction=A();
RemoveEnemyAction.prototype={initialize:function(B){var C=new Object();
C.EnemyUserKey=B;
this.RemoveEnemyAction=C
}};
FriendPage=A();
FriendPage.prototype={initialize:function(G,B,E,C,D,H){var F=new Object();
F.UserKey=G;
F.NumberPerPage=B;
F.OnPage=E;
F.IsPendingList=C;
F.FilterKey=D;
F.FilterValue=H;
this.FriendPage=F
}};
IsFriend=A();
IsFriend.prototype={initialize:function(D,C){var B=new Object();
B.FriendUserKey=D;
B.UserKey=C;
this.IsFriend=B
}};
EnemyPage=A();
EnemyPage.prototype={initialize:function(F,B,D,C){var E=new Object();
E.UserKey=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
this.EnemyPage=E
}};
DiscoverContentAction=A();
DiscoverContentAction.prototype={initialize:function(K,C,B,E,I,J,H,F,D){var G=new Object();
G.SearchSections=K;
G.SearchCategories=C;
G.LimitToContributors=B;
G.Activity=E;
G.ContentType=I;
G.Age=J;
G.MaximumNumberOfDiscoveries=H;
G.FilterBySiteOfOrigin=F;
if(D){G.ParentKeys=D
}this.DiscoverContentAction=G
}};
ContentType=A();
ContentType.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.ContentType=C
}};
UpdateUserProfileAction=A();
UpdateUserProfileAction.prototype={initialize:function(B,I,O,D,J,L,P,M,C,E,H,K,N,F){var G=new Object();
G.UserKey=B;
G.AboutMe=I;
G.Location=O;
G.Signature=D;
G.DateOfBirth=J;
G.Sex=L;
G.PersonaPrivacyMode=P;
G.CommentsTabVisible=M;
G.PhotosTabVisible=C;
G.MessagesOpenToEveryone=E;
G.IsEmailNotificationsEnabled=H;
G.SelectedStyleId=K;
G.CustomAnswers=N;
G.ExtendedProfile=F;
this.UpdateUserProfileAction=G
}};
UpdateUserBlockedSettingAction=A();
UpdateUserBlockedSettingAction.prototype={initialize:function(D,C){var B=new Object;
B.UserKey=D;
B.IsBlocked=C;
this.UpdateUserBlockedSettingAction=B
}};
SearchAction=A();
SearchAction.prototype={initialize:function(D,C,B,E){var F=new Object();
F.SearchType=D;
F.SearchString=C;
F.NumberPerPage=B;
F.OnPage=E;
this.SearchAction=F
}};
WatchItemPage=A();
WatchItemPage.prototype={initialize:function(E,B,C){var D=new Object();
D.UserKey=E;
D.NumberPerPage=B;
D.OnPage=C;
this.WatchItemPage=D
}};
AddWatchItemAction=A();
AddWatchItemAction.prototype={initialize:function(E,C,F,B){var D=new Object();
D.UserKey=E;
D.WatchTargetKey=C;
D.WatchItemTitle=F;
D.WatchItemUrl=B;
this.AddWatchItemAction=D
}};
DeleteWatchItemAction=A();
DeleteWatchItemAction.prototype={initialize:function(D,B){var C=new Object();
C.UserKey=D;
C.WatchTargetKey=B;
this.DeleteWatchItemAction=C
}};
BlogPostPage=A();
BlogPostPage.prototype={initialize:function(I,C,F,E,B,G,D){var H=new Object();
H.BlogKey=I;
H.NumberPerPage=C;
H.OnPage=F;
H.Sort=E;
H.BlogPostState=B;
if((typeof (G)=="undefined")||(G==null)){G=false
}H.RestrictToOwner=G.toString();
if((typeof (D)=="undefined")||(D==null)){D=false
}H.IncludeFuturePosts=D.toString();
this.BlogPostPage=H
}};
BlogPostsByTagPage=A();
BlogPostsByTagPage.prototype={initialize:function(G,B,C,E,D){var F=new Object();
F.BlogKey=G;
F.Tag=B;
F.NumberPerPage=C;
F.OnPage=E;
F.Sort=D;
this.BlogPostsByTagPage=F
}};
BlogPostArchiveCount=A();
BlogPostArchiveCount.prototype={initialize:function(C){var B=new Object();
B.BlogKey=C;
this.BlogPostArchiveCount=B
}};
BlogPostArchiveContentPage=A();
BlogPostArchiveContentPage.prototype={initialize:function(G,F,B,D,C){var E=new Object();
E.BlogKey=G;
E.Month=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
this.BlogPostArchiveContentPage=E
}};
UserCommentPage=A();
UserCommentPage.prototype={initialize:function(G,C,E,D,B){var F=new Object();
F.UserKey=G;
F.NumberPerPage=C;
F.OnPage=E;
F.Sort=D;
F.CommentsOnly=B;
this.UserCommentPage=F
}};
RecentBlogTag=A();
RecentBlogTag.prototype={initialize:function(C){var B=new Object();
B.BlogKey=C;
this.RecentBlogTag=B
}};
RecentUserPhotoPage=A();
RecentUserPhotoPage.prototype={initialize:function(E,B,C){var D=new Object();
D.UserKey=E;
D.NumberPerPage=B;
D.OnPage=C;
this.RecentUserPhotoPage=D
}};
RecentUserVideoPage=A();
RecentUserVideoPage.prototype={initialize:function(E,B,C){var D=new Object();
D.UserKey=E;
D.NumberPerPage=B;
D.OnPage=C;
this.RecentUserVideoPage=D
}};
RecentPublicGalleryPage=A();
RecentPublicGalleryPage.prototype={initialize:function(E,B,C){var D=new Object();
D.UserKey=E;
D.NumberPerPage=B;
D.OnPage=C;
this.RecentPublicGalleryPage=D
}};
RecentUserActivity=A();
RecentUserActivity.prototype={initialize:function(C){var B=new Object();
B.UserKey=C;
this.RecentUserActivity=B
}};
UserMediaSubmissionsCountPage=A();
UserMediaSubmissionsCountPage.prototype={initialize:function(F,B,C,D){var E=new Object();
E.UserKey=F;
E.MediaType=B;
E.NumberPerPage=C;
E.OnPage=D;
this.UserMediaSubmissionsCountPage=E
}};
RecentForumDiscussionPage=A();
RecentForumDiscussionPage.prototype={initialize:function(E,B,C){var D=new Object();
D.UserKey=E;
D.NumberPerPage=B;
D.OnPage=C;
this.RecentForumDiscussionPage=D
}};
UserGroupForumPage=A();
UserGroupForumPage.prototype={initialize:function(F,B,D,C){var E=new Object();
E.UserKey=F;
E.NumberPerPage=B;
E.OnPage=D;
E.Sort=C;
this.UserGroupForumPage=E
}};
UpdateBlogAction=A();
UpdateBlogAction.prototype={initialize:function(D,H,E,C,G,B){var F=new Object();
F.BlogKey=D;
F.Title=H;
F.Tagline=E;
F.BlogRollEntries=C;
F.BlogType=G;
if((typeof (B)=="undefined"||(B==null))){B="NoChange"
}F.CommentApproval=B;
this.UpdateBlogAction=F
}};
BlogRollEntry=A();
BlogRollEntry.prototype={initialize:function(C,B){var D=new Object();
D.Name=C;
D.Url=B;
this.BlogRollEntry=D
}};
Bookmark=A();
Bookmark.prototype={initialize:function(D,B){var C=new Object();
C.Title=D;
C.Link=B;
this.Bookmark=C
}};
CommunityGroupVisibility=A();
CommunityGroupVisibility.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.CommunityGroupVisibility=C
}};
UpdateBlogPostAction=A();
UpdateBlogPostAction.prototype={initialize:function(E,H,B,D,C,G){var F=new Object();
F.TargetThis=E;
F.Title=H;
F.Body=B;
F.Tags=D;
F.Date=C;
F.Published=G;
this.UpdateBlogPostAction=F
}};
DiscussionKey=A();
DiscussionKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.DiscussionKey=C
}};
CustomItemKey=A();
CustomItemKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.CustomItemKey=C
}};
CustomCollectionKey=A();
CustomCollectionKey.prototype={initialize:function(B){var C=new Object();
C.Key=B;
this.CustomCollectionKey=C
}};
UpdateCustomItemAction=A();
UpdateCustomItemAction.prototype={initialize:function(H,B,G,F,D,C){var E=new Object();
E.CustomItemKey=H;
E.Name=B;
E.MimeType=G;
E.DisplayText=F;
E.Content=D;
if((typeof (C)=="undefined")||(C==null)){C=true
}E.IncludeInRecentActivity=C;
this.UpdateCustomItemAction=E
}};
AddCustomCollectionAction=A();
AddCustomCollectionAction.prototype={initialize:function(B,D){var C=new Object();
C.CustomCollectionKey=B;
C.CustomCollectionName=D;
this.AddCustomCollectionAction=C
}};
InsertIntoCollectionAction=A();
InsertIntoCollectionAction.prototype={initialize:function(C,E,B){var D=new Object();
D.CustomCollectionKey=C;
D.InsertThisKey=E;
D.Position=B;
this.InsertIntoCollectionAction=D
}};
RemoveFromCollectionAction=A();
RemoveFromCollectionAction.prototype={initialize:function(D,C,B){var E=new Object();
E.CustomCollectionKey=D;
E.RemoveThisKey=C;
E.Position=B;
this.RemoveFromCollectionAction=E
}};
CustomCollectionPage=A();
CustomCollectionPage.prototype={initialize:function(B,C,E,D){var F=new Object();
F.CustomCollectionKey=B;
F.NumberPerPage=C;
F.OnPage=E;
F.Sort=D;
this.CustomCollectionPage=F
}};
EditorMessageRequest=A();
EditorMessageRequest.prototype={initialize:function(){this.EditorMessageRequest=new Object()
}};
UserTags=A();
UserTags.prototype={initialize:function(C,D){var B=new Object();
B.UserKey=C;
B.ContentType=D;
this.UserTags=B
}};
GetContentPolicyAction=A();
GetContentPolicyAction.prototype={initialize:function(B,C,E){var D=new Object();
D.TargetKey=B;
D.UserTier=C;
D.ContentPolicyActionType=E;
this.GetContentPolicyAction=D
}};
SetContentPolicyAction=A();
SetContentPolicyAction.prototype={initialize:function(B,C,E,F){var D=new Object();
D.TargetKey=B;
D.UserTier=C;
D.ContentPolicyActionType=E;
D.ContentPolicy=F;
this.SetContentPolicyAction=D
}};
ContentPolicy=A();
ContentPolicy.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.ContentPolicy=C
}};
ContentPolicyActionType=A();
ContentPolicyActionType.prototype={initialize:function(B){var C=new Object();
C.Name=B;
this.ContentPolicyActionType=C
}};
UpdateForumAction=A();
UpdateForumAction.prototype={initialize:function(B,E,C){var D=new Object();
D.ForumKey=B;
D.Title=E;
D.Description=C;
this.UpdateForumAction=D
}};
UpdateForumDiscussionAction=A();
UpdateForumDiscussionAction.prototype={initialize:function(E,H,C,B,I,G,D){var F=new Object();
F.TargetThis=E;
F.Title=H;
F.Body=C;
F.IsQuestion=typeof (B)=="string"?B:(B?"true":"false");
F.IsPoll=typeof (I)=="string"?I:(I?"true":"false");
if(typeof (G)!="undefined"){F.Section=G
}if(typeof (D)!="undefined"){F.Categories=D
}this.UpdateForumDiscussionAction=F
}};
UpdateForumPostAction=A();
UpdateForumPostAction.prototype={initialize:function(D,F,C,B){var E=new Object();
E.TargetThis=D;
E.Title=F;
E.Body=C;
E.IsQuestion=B;
this.UpdateForumPostAction=E
}};
ForumToggleDiscussionStickyAction=A();
ForumToggleDiscussionStickyAction.prototype={initialize:function(B){var C=new Object();
C.DiscussionKey=B;
this.ForumToggleDiscussionStickyAction=C
}};
ForumToggleDiscussionClosedAction=A();
ForumToggleDiscussionClosedAction.prototype={initialize:function(B){var C=new Object();
C.DiscussionKey=B;
this.ForumToggleDiscussionClosedAction=C
}};
ForumDiscussionsPage=A();
ForumDiscussionsPage.prototype={initialize:function(B,C,F,D){var E=new Object();
E.ForumKey=B;
E.NumberPerPage=C;
E.OnPage=F;
E.Sort=D;
this.ForumDiscussionsPage=E
}};
ForumPostsPage=A();
ForumPostsPage.prototype={initialize:function(F,C,G,D,B){var E=new Object();
E.DiscussionKey=F;
E.NumberPerPage=C;
E.OnPage=G;
E.Sort=D;
E.FindPostKey=B;
this.ForumPostsPage=E
}};
ForumCategoriesPage=A();
ForumCategoriesPage.prototype={initialize:function(B,D){var C=new Object();
C.NumberPerPage=B;
C.OnPage=D;
this.ForumCategoriesPage=C
}};
ForumsPage=A();
ForumsPage.prototype={initialize:function(C,B,F,D){var E=new Object();
E.ForumCategoryKey=C;
E.NumberPerPage=B;
E.OnPage=F;
E.Sort=D;
this.ForumsPage=E
}};
ForumSearchAction=A();
ForumSearchAction.prototype={initialize:function(F,C,B,D){var E=new Object();
E.TargetThis=F;
E.SearchString=C;
E.NumberPerPage=B;
E.OnPage=D;
this.ForumSearchAction=E
}};
CommunityGroupPage=A();
CommunityGroupPage.prototype={initialize:function(B,F,C,E){var D=new Object();
D.NumberPerPage=B;
D.OnPage=F;
D.Sort=C;
if((typeof (E)=="undefined")||(E==null)){E=new Section("All")
}D.Section=E;
this.CommunityGroupPage=D
}};
CommunityGroupMembership=A();
CommunityGroupMembership.prototype={initialize:function(B,D){var C=new Object();
C.CommunityGroupKey=B;
C.UserKey=D;
this.CommunityGroupMembership=C
}};
CommunityGroupMembershipPage=A();
CommunityGroupMembershipPage.prototype={initialize:function(D,B,G,C,E){var F=new Object();
F.Key=D;
F.NumberPerPage=B;
F.OnPage=G;
F.Sort=C;
F.MembershipFilter=E;
this.CommunityGroupMembershipPage=F
}};
CommunityGroupRegistrantPage=A();
CommunityGroupRegistrantPage.prototype={initialize:function(D,B,F,C){var E=new Object();
E.CommunityGroupKey=D;
E.NumberPerPage=B;
E.OnPage=F;
E.Sort=C;
this.CommunityGroupRegistrantPage=E
}};
CommunityGroupBannedUserPage=A();
CommunityGroupBannedUserPage.prototype={initialize:function(D,B,F,C){var E=new Object();
E.CommunityGroupKey=D;
E.NumberPerPage=B;
E.OnPage=F;
E.Sort=C;
this.CommunityGroupBannedUserPage=E
}};
CommunityGroupInvitedUserPage=A();
CommunityGroupInvitedUserPage.prototype={initialize:function(D,B,F,C){var E=new Object();
E.CommunityGroupKey=D;
E.NumberPerPage=B;
E.OnPage=F;
E.Sort=C;
this.CommunityGroupInvitedUserPage=E
}};
UpdateCommunityGroupAction=A();
UpdateCommunityGroupAction.prototype={initialize:function(J,G,I,F,B,C,H,D){var E=new Object();
E.CommunityGroupKey=J;
E.Title=G;
E.Description=I;
E.Categories=F;
E.Visibility=B,E.Bookmarks=C;
E.Section=H;
E.PhotoKey=D;
this.UpdateCommunityGroupAction=E
}};
UpdateCommunityGroupBookmarksAction=A();
UpdateCommunityGroupBookmarksAction.prototype={initialize:function(B,C){var D=new Object();
D.CommunityGroupKey=B;
D.Bookmarks=C;
this.UpdateCommunityGroupBookmarksAction=D
}};
UpdateCommunityGroupMembershipAction=A();
UpdateCommunityGroupMembershipAction.prototype={initialize:function(B,G,D,C,F){var E=new Object();
E.CommunityGroupKey=B;
E.UserKey=G;
E.MembershipTier=D;
E.IsBanned=C;
E.BanMessage=F;
this.UpdateCommunityGroupMembershipAction=E
}};
RequestCommunityGroupMembershipAction=A();
RequestCommunityGroupMembershipAction.prototype={initialize:function(B,E,C){var D=new Object();
D.CommunityGroupKey=B;
D.UserKey=E;
D.Message=C;
this.RequestCommunityGroupMembershipAction=D
}};
CommunityGroupSendGroupMessageAction=A();
CommunityGroupSendGroupMessageAction.prototype={initialize:function(C,D,B){var E=new Object();
E.CommunityGroupKey=C;
E.Subject=D;
E.Body=B;
this.CommunityGroupSendGroupMessageAction=E
}};
UpdateCommunityGroupUserPrefsAction=A();
UpdateCommunityGroupUserPrefsAction.prototype={initialize:function(B,F,E,C,G){var D=new Object();
D.CommunityGroupKey=B;
D.UserKey=F;
D.EnableGroupDigestMessages=E;
D.EnableGroupManagerMessages=C;
D.PreferredForumPostSortOrder=G;
this.UpdateCommunityGroupUserPrefsAction=D
}};
CommunityGroupUserPrefs=A();
CommunityGroupUserPrefs.prototype={initialize:function(B,D){var C=new Object();
C.CommunityGroupKey=B;
C.UserKey=D;
this.CommunityGroupUserPrefs=C
}};
EventsPage=A();
EventsPage.prototype={initialize:function(D,B,G,C,H,E){var F=new Object();
F.EventSetKey=D;
F.StartDate=B;
F.EndDate=G;
F.NumberPerPage=C;
F.OnPage=H;
F.Sort=E;
this.EventsPage=F
}};
UpdateEventAction=A();
UpdateEventAction.prototype={initialize:function(I,F,H,G,E,J,B,D,K){var C=new Object();
C.TargetThis=I;
C.Title=F;
C.Description=H;
C.Location=G;
C.BookmarkName=E;
C.BookmarkUrl=J;
C.StartDate=B;
C.EndDate=D;
C.UtcOffset=K;
this.UpdateEventAction=C
}};
RecentMiniFeedActivity=A();
RecentMiniFeedActivity.prototype={initialize:function(B,D,C){var E=new Object();
E.CommunityGroupKey=B;
E.OnPage=D;
E.NumberPerPage=C;
this.RecentMiniFeedActivity=E
}};
CommunityGroupMostActiveMembers=A();
CommunityGroupMostActiveMembers.prototype={initialize:function(B,C,D){var E=new Object();
E.CommunityGroupKey=B;
E.Age=C;
E.MaximumNumberOfMembers=D;
this.CommunityGroupMostActiveMembers=E
}};
CommunityGroupSearchAction=A();
CommunityGroupSearchAction.prototype={initialize:function(B,E,D,C,F){var G=new Object();
G.CommunityGroupKey=B;
G.SearchType=E;
G.SearchString=D;
G.OnPage=F;
G.NumberPerPage=C;
this.CommunityGroupSearchAction=G
}};
RequestDeleteCommunityGroupAction=A();
RequestDeleteCommunityGroupAction.prototype={initialize:function(B,C){var D=new Object();
D.CommunityGroupKey=B;
D.DeleteReason=C;
this.RequestDeleteCommunityGroupAction=D
}};
CommunityGroupRecentForumDiscussions=A();
CommunityGroupRecentForumDiscussions.prototype={initialize:function(B,C,E){var D=new Object();
D.CommunityGroupKey=B;
D.Age=C;
D.MaximumNumberOfDiscussions=E;
this.CommunityGroupRecentForumDiscussions=D
}};
SystemTimeInfo=A();
SystemTimeInfo.prototype={initialize:function(){var B=new Object();
this.SystemTimeInfo=B
}};
PrivateMessageFolderList=A();
PrivateMessageFolderList.prototype={initialize:function(){var B=new Object();
this.PrivateMessageFolderList=B
}};
PrivateMessage=A();
PrivateMessage.prototype={initialize:function(B,C){var D=new Object();
D.FolderID=B;
D.MessageID=C;
this.PrivateMessage=D
}};
PrivateMessagePage=A();
PrivateMessagePage.prototype={initialize:function(B,C,E,D){var F=new Object();
F.FolderID=B;
F.NumberPerPage=C;
F.OnPage=E;
F.MessageReadState=D;
this.PrivateMessagePage=F
}};
PrivateMessageSendAction=A();
PrivateMessageSendAction.prototype={initialize:function(C,B,D){var E=new Object();
E.Subject=C;
E.Body=B;
E.RecipientList=D;
this.PrivateMessageSendAction=E
}};
PrivateMessageMoveMessageAction=A();
PrivateMessageMoveMessageAction.prototype={initialize:function(C,E,B){var D=new Object();
D.SourceFolderID=C;
D.DestinationFolderID=E;
D.MessageIDList=B;
this.PrivateMessageMoveMessageAction=D
}};
PrivateMessageDeleteMessageAction=A();
PrivateMessageDeleteMessageAction.prototype={initialize:function(C,B){var D=new Object();
D.SourceFolderID=C;
D.MessageIDList=B;
this.PrivateMessageDeleteMessageAction=D
}};
PrivateMessageEmptyTrashAction=A();
PrivateMessageEmptyTrashAction.prototype={initialize:function(){var B=new Object();
this.PrivateMessageEmptyTrashAction=B
}};
PrivateMessageCreateFolderAction=A();
PrivateMessageCreateFolderAction.prototype={initialize:function(){var B=new Object();
B.FolderID="Inbox";
this.PrivateMessageCreateFolderAction=B
}};
FirstUnreadPost=A();
FirstUnreadPost.prototype={initialize:function(C,B,D){var E=new Object();
E.DiscussionKey=C;
E.NumberPerPage=B;
E.Sort=D;
this.FirstUnreadPost=E
}};
LatestPost=A();
LatestPost.prototype={initialize:function(C,B,D){var E=new Object();
E.DiscussionKey=C;
E.NumberPerPage=B;
E.Sort=D;
this.LatestPost=E
}};
UpdateDiscussionLastReadAction=A();
UpdateDiscussionLastReadAction.prototype={initialize:function(B,E,C){var D=new Object();
D.DiscussionKey=B;
if(E){D.ForumPostKey=E
}if(C){D.ForceUpdate=true
}else{D.ForceUpdate=false
}this.UpdateDiscussionLastReadAction=D
}};
UpdateForumAllReadAction=A();
UpdateForumAllReadAction.prototype={initialize:function(B){var C=new Object();
C.ForumKey=B;
this.UpdateForumAllReadAction=C
}};
UpdateCategoryAllReadAction=A();
UpdateCategoryAllReadAction.prototype={initialize:function(B){var C=new Object();
C.ForumCategoryKey=B;
this.UpdateCategoryAllReadAction=C
}};
UpdateExternalUserIdAction=A();
UpdateExternalUserIdAction.prototype={initialize:function(C,D,B){var E=new Object();
E.ExternalSiteName=C;
E.ExternalSiteUserId=D;
E.ForUser=B;
this.UpdateExternalUserIdAction=E
}};
UpdateSubscriptionAction=A();
UpdateSubscriptionAction.prototype={initialize:function(C,B){var D=new Object();
D.SubscribeTo=C;
D.Subscribe=B;
this.UpdateSubscriptionAction=D
}};
UpdatePollAction=A();
UpdatePollAction.prototype={initialize:function(C,B,E){var D=new Object();
D.PollOnKey=C;
D.Question=B;
D.Answers=E;
this.UpdatePollAction=D
}};
TogglePollIsClosedAction=A();
TogglePollIsClosedAction.prototype={initialize:function(B){var C=new Object();
C.ToggleThisPoll=B;
this.TogglePollIsClosedAction=C
}};
PostPollAnswerAction=A();
PostPollAnswerAction.prototype={initialize:function(B,D){var C=new Object();
C.PollToAnswer=B;
C.IndexOfAnswer=D;
this.PostPollAnswerAction=C
}};
PollPage=A();
PollPage.prototype={initialize:function(D,B,E,C){var F=new Object();
F.PollOnKey=D;
F.NumberPerPage=B;
F.OnPage=E;
F.Sort=C;
this.PollPage=F
}};
CheckFilteredWords=A();
CheckFilteredWords.prototype={initialize:function(C){var B=new Object();
B.WordDictionary=C;
this.CheckFilteredWords=B
}};
AwardPointsAction=A();
AwardPointsAction.prototype={initialize:function(E,C,B){var D=new Object();
D.UserKey=E;
D.Points=C;
D.CurrencyType=B;
this.AwardPointsAction=D
}};
BadgeFamily=A();
BadgeFamily.prototype={initialize:function(B){var C=new Object();
C.BadgeFamilyKey=B;
this.BadgeFamily=C
}};
BadgeFamilies=A();
BadgeFamilies.prototype={initialize:function(){var B=new Object();
this.BadgeFamilies=B
}};
BadgingEventAction=A();
BadgingEventAction.prototype={initialize:function(E,D,C){var B=new Object();
B.ActivityName=E;
B.ActivityTags=D;
B.UserTags=C;
this.BadgingEventAction=B
}};
GrantBadgeAction=A();
GrantBadgeAction.prototype={initialize:function(E,B,C){var D=new Object();
D.UserKey=E;
D.BadgeFamilyKey=B;
D.BadgeKey=C;
this.GrantBadgeAction=D
}};
Leaderboard=A();
Leaderboard.prototype={initialize:function(B){var C=new Object();
C.LeaderboardKey=B;
this.Leaderboard=C
}};
Leaderboards=A();
Leaderboards.prototype={initialize:function(){var B=new Object();
this.Leaderboards=B
}};
LeaderboardRankingsPage=A();
LeaderboardRankingsPage.prototype={initialize:function(B,D){var C=new Object();
C.LeaderboardKey=B;
C.OnPage=D;
this.LeaderboardRankingsPage=C
}};
RevokeBadgeAction=A();
RevokeBadgeAction.prototype={initialize:function(E,B,C){var D=new Object();
D.UserKey=E;
D.BadgeFamilyKey=B;
D.BadgeKey=C;
this.RevokeBadgeAction=D
}};
PointsAndBadgingRuleValidationAction=A();
PointsAndBadgingRuleValidationAction.prototype={initialize:function(C){var B=new Object();
B.Rules=C;
this.PointsAndBadgingRuleValidationAction=B
}};
AbuseItemPage=A();
AbuseItemPage.prototype={initialize:function(B,C,F,E){var D=new Object();
D.NumberPerPage=B;
D.OnPage=C;
D.Section=F;
D.MaxReportsPerItem=E;
this.AbuseItemPage=D
}};
AbuseItem=A();
AbuseItem.prototype={initialize:function(B){var C=new Object();
C.TargetKey=B;
this.AbuseItem=C
}};
ClearAbuseAction=A();
ClearAbuseAction.prototype={initialize:function(B){var C=new Object();
C.TargetKey=B;
this.ClearAbuseAction=C
}};
SetCommentBlockingStateAction=A();
SetCommentBlockingStateAction.prototype={initialize:function(B,C){var D=new Object();
D.CommentKey=B;
D.CommentBlockingState=C;
this.SetCommentBlockingStateAction=D
}};
CommunityFeedRequest=A();
CommunityFeedRequest.prototype={initialize:function(D,B){var C=new Object();
C.ActivityForTypes=D;
C.Count=B;
this.CommunityFeedRequest=C
}};
UpdateDiscoveryFilterFlagOnContentAction=A();
UpdateDiscoveryFilterFlagOnContentAction.prototype={initialize:function(D,C,B){var E=new Object();
E.DiscoveryFilterFlagExcludeThisContent=D;
E.ExcludeContentFlag=C;
E.SiteList=B;
this.UpdateDiscoveryFilterFlagOnContentAction=E
}};
SendTwitterMessageAction=A();
SendTwitterMessageAction.prototype={initialize:function(D,B,C){var E=new Object();
E.Message=D;
E.Url=B;
E.Template=C;
this.SendTwitterMessageAction=E
}};
UserTwitterStatus=A();
UserTwitterStatus.prototype={initialize:function(C){var B=new Object();
B.UserKey=C;
this.UserTwitterStatus=B
}};
UserTwitterFriends=A();
UserTwitterFriends.prototype={initialize:function(B,C){var D=new Object();
D.NumberPerPage=B;
D.OnPage=C;
this.UserTwitterFriends=D
}};
UserExtendedPrefs=A();
UserExtendedPrefs.prototype={initialize:function(C){var B=new Object();
B.UserKey=C;
this.UserExtendedPrefs=B
}};
FriendFeedRequest=A();
FriendFeedRequest.prototype={initialize:function(C,B,E){var D=new Object();
D.ForUserKey=C;
D.PageNumber=B;
D.IncludeTypes=E;
this.FriendFeedRequest=D
}};
AddFriendFeedReactionRequest=A();
AddFriendFeedReactionRequest.prototype={initialize:function(C,E,B){var D=new Object();
D.ReactionOnKey=C;
D.AuthorKey=E;
D.Body=B;
this.AddFriendFeedReactionRequest=D
}};
UpdateUserExtendedPrefAction=A();
UpdateUserExtendedPrefAction.prototype={initialize:function(B,D){var C=new Object();
C.PrefName=B;
C.PrefValue=D;
this.UpdateUserExtendedPrefAction=C
}};
UpdateUserPathRequest=A();
UpdateUserPathRequest.prototype={initialize:function(D,C){var B=new Object();
B.User=D;
B.Path=C;
this.UpdateUserPathRequest=B
}};
DeleteFriendFeedReactionRequest=A();
DeleteFriendFeedReactionRequest.prototype={initialize:function(B,C){var D=new Object();
D.ReactionOnKey=B;
D.ReactionKey=C;
this.DeleteFriendFeedReactionRequest=D
}};
UsersForPathRequest=A();
UsersForPathRequest.prototype={initialize:function(D,B){var C=new Object();
C.Path=D;
C.IncludeSubPaths=B;
this.UsersForPathRequest=C
}};
SetFriendFeedUserVisibilityRequest=A();
SetFriendFeedUserVisibilityRequest.prototype={initialize:function(E,C,B){var D=new Object();
D.FeedOwnerUserKey=E;
D.ForUserKey=C;
D.Visible=B;
this.SetFriendFeedUserVisibilityRequest=D
}};
HiddenFriendFeedUsersRequest=A();
HiddenFriendFeedUsersRequest.prototype={initialize:function(B){var C=new Object();
C.ForUserKey=B;
this.HiddenFriendFeedUsersRequest=C
}};
PathForUserRequest=A();
PathForUserRequest.prototype={initialize:function(B){var C=Object();
C.User=B;
this.PathForUserRequest=C
}};
CommentRequest=A();
CommentRequest.prototype={initialize:function(B,D){var C=Object();
C.CommentKey=B;
C.LookInModeration=D;
this.CommentRequest=C
}};
SendYahooUpdateMessageAction=A();
SendYahooUpdateMessageAction.prototype={initialize:function(D,B,C){var E=new Object();
E.Message=D;
E.Url=B;
E.Template=C;
this.SendYahooUpdateMessageAction=E
}};
SendLinkedInUpdateMessageAction=A();
SendLinkedInUpdateMessageAction.prototype={initialize:function(D,B,C){var E=new Object();
E.Message=D;
E.Url=B;
E.Template=C;
this.SendLinkedInUpdateMessageAction=E
}};
SendLinkedInNetworkUpdateMessageAction=A();
SendLinkedInNetworkUpdateMessageAction.prototype={initialize:function(D,B,C){var E=new Object();
E.Message=D;
E.Url=B;
E.Template=C;
this.SendLinkedInNetworkUpdateMessageAction=E
}};
UserLinkedInProfile=A();
UserLinkedInProfile.prototype={initialize:function(C){var B=new Object();
B.UserKey=C;
this.UserLinkedInProfile=B
}};
UserLinkedInUniqueId=A();
UserLinkedInUniqueId.prototype={initialize:function(C){var B=new Object();
B.UserKey=C;
this.UserLinkedInUniqueId=B
}};
ForumViewTrackingAction=A();
ForumViewTrackingAction.prototype={initialize:function(B){var C=new Object();
C.DiscussionKey=B;
this.ForumViewTrackingAction=C
}}
})();
var numUploads=1;
var maxUploads=4;
function VerifyTOS(){if(!document.getElementById("plckTermsOfPhotoService").checked){alert("Please agree to the terms of service before submitting.");
return false
}return true
}function AddAnotherPhoto(B,A,C){divNode=document.createElement("div");
divNode.id="PhotoUpload"+ ++numUploads;
divNode.innerHTML="<input type='file' name='image"+numUploads+"' value='Get' size=40/><br/><br/>";
document.getElementById(B).appendChild(divNode);
if(numUploads>maxUploads){document.getElementById(A).style.display="none"
}setTimeout(function(){autofitIframe(C,true)
},100);
return false
}function getCheckedValue(B){var C=B.length;
if(C==undefined){if(B.checked){return B.value
}else{return""
}}for(var A=0;
A<C;
A++){if(B[A].checked){return B[A].value
}}return""
}String.prototype.trim=function(){return(this.replace(/^\s+/,"").replace(/\s+$/,""))
};
function IsEnter(B){var A=B.which;
if(A==null){A=B.keyCode
}if(B&&A==13){return true
}return false
}function TrimEnd(A,B){while((A.length>0)&&(A.lastIndexOf(B)==(A.length-1))){if(A.length>1){A=A.substring(0,A.length-1)
}else{return""
}}return A
}function FixSearchString(B){var A=B.replace(/[\%\&\/\<\>\\\|]+/g,"");
A=A.replace(/[\.]{2,}/g,".");
A=TrimEnd(A,".");
if(A==""){return""
}A=TrimEnd(A," ");
if(A==""){return""
}A=escape(A);
A=A.replace(/\+/g,"%2B");
return A
}var nextGroupID=1;
function autofitIframe(B,A){if(document.getElementById){if(this.document.body.scrollHeight==0||(!A&&this.document.body.scrollWidth==0)){setTimeout(function(){autofitIframe(B,A)
},150);
return 
}window.parent.document.getElementById(B).style.height=this.document.body.scrollHeight+"px";
if(!A){window.parent.document.getElementById(B).style.width=this.document.body.scrollWidth+"px"
}}}function isUrl(A){var B=/(ftp|https?|file):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;
return B.test(A)
}function ValidateLogin(){function A(B){return document.getElementById(B)
}if(A("plckUserName").value==""&&A("plckPassword").value==""){alert("You must provide a UserName and Password");
return false
}if(A("plckUserName").value==""){alert("You must provide a UserName");
return false
}if(A("plckPassword").value==""){alert("You must provide a Password");
return false
}}function onSearchSubmit(A){if($(A+"_Search").value==""){alert("You must provide some query text");
return false
}}function LimitLength(D,A){var E=D.value;
if(!E||E.length==0){return false
}var C=E.match(/\r|\n/g);
if(!C){return false
}var B=C.length;
if(E.length>(A+B)){D.value=E.substring(0,A+B)
}return false
}function mouseX(A){if(A.pageX){return A.pageX
}else{if(A.clientX){return A.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft)
}else{return null
}}}function mouseY(A){if(A.pageY){return A.pageY
}else{if(A.clientY){return A.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)
}else{return null
}}}function HideDiv(A){document.getElementById(A).style.display="none"
}function ShowDivAtMouse(A,B){posx=mouseX(A)-170;
posy=mouseY(A);
if(posx<0){posx=10
}if(posy<0){posy=10
}document.getElementById(B).style.left=posx+"px";
document.getElementById(B).style.top=posy+"px";
document.getElementById(B).style.display="block"
}function ShowReportAbuse(A,B,D){var C=document;
C.getElementById("ReportAbuse_Url").value=B;
C.getElementById("ReportAbuse_Command").value=D;
C.getElementById("ReportAbuse_CommentText").value="";
C.getElementById("ReportAbuse_Reason").selectedIndex=0;
ShowDivAtMouse(A,"ReportAbuse_Menu");
C.getElementById("ReportAbuse_CommentText").focus()
}function ReportAbuse(){var B=document.getElementById("ReportAbuse_Url").value;
var E=document.getElementById("ReportAbuse_Command").value;
var D=document.getElementById("ReportAbuse_CommentText").value;
var C=document.getElementById("ReportAbuse_Reason").value;
document.getElementById("ReportAbuse_Menu").style.display="none";
var A=E+"&plckReason="+gSiteLife.EscapeValue(C)+"&plckURL="+gSiteLife.EscapeValue(B);
if(D){A+="&plckAbuseDetail="+gSiteLife.EscapeValue(D)
}gSiteLife.__Send(A)
}function SiteLifeShowHide(B,A){document.getElementById(B).style.display="none";
document.getElementById(A).style.display="block";
return false
}function DebugShowInnerHTML(D,B){var C=document.getElementById(D);
var A=document.createElement("div");
A.style.position="absolute";
A.style.zIndex="1000";
A.innerHTML="<span style='background-color:red; color:white; cursor:pointer;' onclick='this.parentNode.parentNode.removeChild(this.parentNode);'>[close]</span>";
A.innerHTML+="<div style='background-color:black; color:white;'>"+B+"</div><textarea rows='20' cols='80'>"+C.childNodes[0].childNodes[1].innerHTML+"</textarea>";
C.insertBefore(A,C.childNodes[0])
}function ToggleState(){function B(E){return document.getElementById(E)
}var D=B("plckCommentApprovalEveryOne");
var C=B("plckCommentApprovalNoBody");
var A=B("commentSettings");
if(D.disabled==true){D.disabled=false;
C.disabled=false;
A.className=""
}else{D.disabled=true;
C.disabled=true;
A.className="BlogSettings_Disabled"
}}function getElementsByClassName(G,F){if(!F){F=document.getElementsByTagName("body")[0]
}var A=[];
var E=new RegExp("\\b"+G+"\\b");
var D=F.getElementsByTagName("*");
for(var C=0,B=D.length;
C<B;
C++){if(E.test(D[C].className)){A.push(D[C])
}}return A
}function SiteLifeProxy(A){this.apiKey=null;
this.siteLifeDomainOverride=null;
this.siteLifeServerBaseOverride=null;
this.customerCSSOverride=null;
this.customerForumPagePathOverride="/online-community/forums/index.action";
this.gcid="Widgets1.0";
this.__isExplorer=navigator.userAgent.toLowerCase().indexOf("msie")!=-1;
this.__isSafari=navigator.userAgent.toLowerCase().indexOf("safari")!=-1;
this.__isMac=navigator.platform.toLowerCase().indexOf("mac")!=-1;
this.__isMacIE=this.__isMac&&this.__isExplorer;
this.debug=false;
this.lastHandlerId="";
this.__baseUrl=A;
this.__sendInvokeCount=0;
this.__eventHandlers=new Object()
}SiteLifeProxy.prototype.AddEventHandler=function(B,C){var A=this.__eventHandlers[B];
if(!A){A=new Array();
this.__eventHandlers[B]=A
}A.push(C)
};
SiteLifeProxy.prototype.FireEvent=function(G){var F;
var D;
if(D=this.__eventHandlers[G]){var C=new Array();
for(var E=1;
E<this.FireEvent.arguments.length;
E++){C[E-1]=this.FireEvent.arguments[E]
}for(var B=0;
B<D.length;
B++){F=D[B];
if(F.__Bound){if(D.length==1){return F()
}F()
}if(D.length==1){return F.apply(this,C)
}F.apply(this,C)
}}};
SiteLifeProxy.prototype.ScriptId=function(){return this.__scriptId="_bb_script_"+this.__sendInvokeCount++
};
SiteLifeProxy.prototype.OnError=function(A){alert("OnError: "+A)
};
SiteLifeProxy.prototype.OnDebug=function(A){if(this.debug){alert("Debug: "+A)
}};
SiteLifeProxy.prototype.GetParameter=function(A){var C=A+"=";
var D=document.location.search.substring(1).split("&");
for(var B=0;
B<D.length;
B++){if(D[B].indexOf(C)==0){return D[B].substring(C.length)
}}return null
};
SiteLifeProxy.prototype.GetElement=function(A){this.OnDebug("GetElement "+A);
if(document.getElementById){return document.getElementById(A)
}if(document.all){return document.all[A]
}this.OnError("No support for GetElement() in this browser");
return null
};
SiteLifeProxy.prototype.GetTags=function(A){this.OnDebug("GetTags "+A);
if(document.getElementsByTagName){return document.getElementsByTagName(A)
}if(document.all){return document.tags(A)
}this.OnError("No support for GetTags() in this browser");
return null
};
SiteLifeProxy.prototype.Trim=function(A){return A.replace(/^\s+|\s+$/g,"")
};
SiteLifeProxy.prototype.EscapeValue=function(A){if(A==null){return null
}return encodeURIComponent(A)
};
SiteLifeProxy.prototype.__ArrayValidation=function(A){if((typeof A=="undefined")||(A.length<1)){return false
}return true
};
SiteLifeProxy.prototype.__CheckErrorHandler=function(onError){this.OnDebug("__CheckErrorHandler "+onError);
if((typeof onError=="undefined")||(eval("window."+onError)==null)){return"gSiteLife.OnError"
}return onError
};
SiteLifeProxy.prototype.SetCookie=function SetCookie(B,C){var A=new Date();
A.setTime(A.getTime());
var D=new Date(A.getTime()+126144000000);
document.cookie=B+"="+escape(C)+";expires="+D.toGMTString()+";path=/;domain=aarp.org"
};
SiteLifeProxy.prototype.__GetArgument=function(D,B,C,A){this.OnDebug("__GetArgument "+D+","+B+","+C+","+A);
if(typeof B=="undefined"||B==null||B==""){if(C){this.OnError("Missing required parameter "+D);
this.__isValid=false;
return""
}else{return""
}}if(C&&A){if(!this.__ArrayValidation(B)){this.OnError("Invalid array parameter "+D);
this.__isValid=false;
return""
}}return"&"+D+"="+this.EscapeValue(B)
};
SiteLifeProxy.prototype.__StripAnchorFromUrl=function(B){var A=B.indexOf("#");
return A==-1?B:B.substring(0,A)
};
SiteLifeProxy.prototype.__SafeAppendUrlValue=function(A,B,C){A+=A.indexOf("?")!=-1?"&":"?";
return A+B+"="+C
};
SiteLifeProxy.prototype.__AppendUrlValues=function(A){time=new Date();
A+=this.__GetArgument("plckNoCache",time.getTime(),false,false);
A+=this.__GetArgument("plckApiKey",this.apiKey,true,false);
A+=this.__GetArgument("pckgp",this["pckgp"],false,false);
A+=this.__GetArgument("pckgpp",this["pckgpp"],false,false);
A+=this.__GetArgument("pckvp",this["pckvp"],false,false);
A+=this.__GetArgument("pckvd",this["pckvd"],false,false);
A+=this.__GetArgument("pckvg",this["pckvg"],false,false);
A+=this.__GetArgument("pckps",this["pckps"],false,false);
A+=this.__GetArgument("pckcbu",this["pckcbu"],false,false);
A+=this.__GetArgument("pckdt",this["pckdt"],false,false);
A+=this.__GetArgument("pckcgp",this["pckcgp"],false,false);
A+=this.__GetArgument("pckas",this["pckas"],false,false);
A+=this.__GetArgument("pckli",this["pckli"],false,false);
A+=this.__GetArgument("pcklo",this["pcklo"],false,false);
A+=this.__GetArgument("pckr",this["pckr"],false,false);
A+=this.__GetArgument("pckfp",this["pckfp"],false,false);
A+=this.__GetArgument("pckov",this["pckov"],false,false);
A+=this.__GetArgument("pckpm",this["pckpm"],false,false);
A+=this.__GetArgument("pcksld",this["pcksld"],false,false);
A+=this.__GetArgument("pcksbu",this["pcksbu"],false,false);
A+=this.__GetArgument("pckcss",this["pckcss"],false,false);
A+=this.__GetArgument("pckfpp",this["pckfpp"],false,false);
A+=this.__GetArgument("pckppp",this["pckppp"],false,false);
return A
};
SiteLifeProxy.prototype.ReloadPage=function(H){var G=window.location.search.substring(1);
var B=G.split("&");
var D="";
var F="";
for(var A in H){if(A=="extend"){continue
}if(A=="#"){F="#"+H[A];
continue
}if(D==""){D+="?"
}else{D+="&"
}D+=A+"="+H[A]
}for(var C=0;
C<B.length;
C++){var E=B[C].split("=");
if(E[0]&&E[0].indexOf("plck")!=0&&!H[E[0]]){D+="&"+B[C]
}}if(F!=""){window.location.hash=F
}window.location.search=D
};
function loadScript(B,C){var A=document.createElement("script");
A.type="text/javascript";
A.charset="utf-8";
if(C){A.onload=A.onreadystatechange=function(){if(A.readyState&&A.readyState!="loaded"&&A.readyState!="complete"){return 
}A.onreadystatechange=A.onload=null;
C()
}
}A.src=B;
document.getElementsByTagName("head")[0].appendChild(A)
}function getCurrentUserFromCookie(){var A=document.cookie.split(";");
for(var B=0;
B<A.length;
B++){var D=A[B];
while(D.charAt(0)===" "){D=D.substring(1,D.length)
}var C=D.indexOf("=");
if(C>0){name=D.substring(0,C);
value=D.substring(C+1);
if(name.toLowerCase()=="hd"){value=unescape(value);
value=value.split("|");
return value[0]
}}}return null
}function createSrcUrl(D,A,B,E,C){return srcUrl=D+"/Stats/Tracker.gif?plckUrl="+encodeURIComponent(A)+"&plckUserId="+B+"&plckGcid="+E+"&plckCurrentTime="+C
}SiteLifeProxy.prototype.__InsertTrackerNode=function(D,B,A,F,C){if(document.getElementById("slImgNodeTrckr")===null){var E=document.createElement("img");
E.setAttribute("id","slImgNodeTrckr");
E.setAttribute("src",createSrcUrl(gSiteLife.__baseUrl,B,A,F,C));
if(E.style.setAttribute){E.style.setAttribute("display","none")
}else{E.setAttribute("style","display:none")
}document.getElementsByTagName("body")[0].appendChild(E)
}};
SiteLifeProxy.prototype.__Send=function(A,B,J,G){this.OnDebug("_Send "+A);
var I=location.href;
var E=getCurrentUserFromCookie();
var H=this;
function K(M,O){var L=document.createElement("script");
var N=gSiteLife.__baseUrl;
L.setAttribute("type","text/javascript");
L.setAttribute("charset","utf-8");
L.setAttribute("src",M+(O?"&EVENT_ID="+O:""));
document.getElementsByTagName("head")[0].appendChild(L)
}function D(){var L=new Date();
if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);
H.__InsertTrackerNode(gSiteLife.__baseUrl,I,E,H.gcid,L.getTime())
},false)
}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
H.__InsertTrackerNode(gSiteLife.__baseUrl,I,E,H.gcid,L.getTime())
}});
if(document.documentElement.doScroll&&window==window.top){(function(){try{document.documentElement.doScroll("left")
}catch(M){setTimeout(arguments.callee,0);
return 
}H.__InsertTrackerNode(gSiteLife.__baseUrl,I,E,H.gcid,L.getTime())
})()
}}}}function F(L,O,N){var M=function(){L.apply(O,N)
};
M.__Bound=true;
return M
}var C;
if((typeof J=="string")&&(C=this.__eventHandlers[J])&&(typeof C=="function")&&!C.__Bound){this.__eventHandlers[J]=F(C,this,G)
}A=this.__AppendUrlValues(A);
this.OnDebug("_Send (updated) "+A);
if(document.createElement&&!this.__isMacIE){K(A,J);
if(gSiteLife.ViewTrackingEnabled){D()
}return 
}this.OnError("No support for async in this browser")
};
SiteLifeProxy.prototype.Logout=function(A,C){var B=C?true:false;
this.__Send(this.__baseUrl+"/Utility/Logout?plckRedirectUrl="+escape(window.location.href)+"&plckRest="+B,A);
return false
};
SiteLifeProxy.prototype.AddLoadEvent=function(A){if(window.addEventListener){window.addEventListener("load",A,false)
}else{if(window.attachEvent){window.attachEvent("onload",A)
}else{if(document.getElementById){var B=window.onload;
if(typeof window.onload!="function"){window.onload=A
}else{window.onload=function(){if(B){B()
}A()
}
}}}}};
SiteLifeProxy.prototype.AdInsertHelper=function(){for(var D in gSiteLife.__adsToInsert){if(D=="extend"){continue
}var B=gSiteLife.__adsToInsert[D];
var C=document.getElementById(B);
var A=document.getElementById(D);
if(!C||!A){continue
}C.replaceChild(A,document.getElementById(B+"Child"));
A.style.display="block";
C.style.display="block"
}};
SiteLifeProxy.prototype.InsertAds=function(B,A){gSiteLife.__adsToInsert=new Object();
for(ii=0;
ii<this.InsertAds.arguments.length;
ii+=2){gSiteLife.__adsToInsert[this.InsertAds.arguments[ii]]=this.InsertAds.arguments[ii+1]
}this.AddLoadEvent(gSiteLife.AdInsertHelper)
};
SiteLifeProxy.prototype.TitleTag=function(){var A=document.getElementById("plckTitleTag");
return A?A.innerText||A.textContent:null
};
SiteLifeProxy.prototype.WriteDiv=function(C,B){var A=B?B:"";
document.write('<div id="'+C+'" class="'+A+'"></div>');
return C
};
SiteLifeProxy.prototype.InnerHtmlWrite=function(A,E){var D=document.createElement("div");
try{if(document.location.href.indexOf("debug=true")>-1){D.innerHTML+="<div style='border:1px solid red;'><span style='background-color:red; color:white; position:absolute; cursor:pointer; font-size:8pt;' onclick='DebugShowInnerHTML(\"${plckElementId}\",\"http://sjl01wsitearp01/ver1.0/Proxies/Default.rails\");'>&nbsp;?&nbsp;</span><div>"+E+"</div></div>"
}else{D.innerHTML+=E;
D.style.display="inline"
}var C=document.getElementById(A);
while(C.childNodes.length>=1){C.removeChild(C.childNodes[0])
}C.appendChild(D)
}catch(B){alert(A+" Error "+B.number+": "+B.description)
}};
SiteLifeProxy.prototype.SortTimeStampDescending="TimeStampDescending";
SiteLifeProxy.prototype.SortTimeStampAscending="TimeStampAscending";
SiteLifeProxy.prototype.SortRecommendationsDescending="RecommendationsDescending";
SiteLifeProxy.prototype.SortRecommendationsAscending="RecommendationsAscending";
SiteLifeProxy.prototype.SortRatingDescending="RatingDescending";
SiteLifeProxy.prototype.SortRatingAscending="RatingAscending";
SiteLifeProxy.prototype.SortAlphabeticalAscending="AlphabeticalAscending";
SiteLifeProxy.prototype.SortAlphabeticalDescending="AlphabeticalDescending";
SiteLifeProxy.prototype.KeyTypeExternalResource="ExternalResource";
SiteLifeProxy.prototype.PersonaHeaderRequest=function(B){var A=this.__baseUrl+"/Persona/PersonaHeader?plckElementId=personaHDest&plckUserId="+B;
this.__Send(A,"personaHeaderScript","persona:header",arguments)
};
SiteLifeProxy.prototype.PersonaHeader=function(A){this.WriteDiv("personaHDest","Persona_Main");
this.AddEventHandler("persona:header",function(){gSiteLife.PersonaHeaderInbox();
gSiteLife.ShowBadges()
});
this.PersonaHeaderRequest(A)
};
SiteLifeProxy.prototype.PersonaHeaderInbox=function(){if(!document.getElementById("PrivateMessageInbox")||!window.RequestBatch||!window.PrivateMessageFolderList){var A=document.getElementById("PersonaHeader_PrivateMessageContent");
if(A){A.style.display="none"
}return 
}var B=new RequestBatch();
B.AddToRequest(new PrivateMessageFolderList());
B.BeginRequest(serverUrl,function(G){var F="";
try{if(G&&G.Messages&&G.Messages.length&&G.Messages[0].Message=="ok"){var C=G.Responses[0].PrivateMessageFolderList.FolderList;
for(var D=0;
D<C.length;
D++){var E=C[D];
if(E.FolderID=="Inbox"){F=E.UnreadMessageCount;
break
}}}}catch(H){}var J="Inbox ({0})";
var K=J.indexOf("{0}");
if(J==""||K>=-1){J=J.substring(0,K)+F+J.substring(K+3)
}var I=document.getElementById("PrivateMessageInbox");
I.innerHTML=J;
if(F>0){I.style.fontWeight="bold"
}})
};
SiteLifeProxy.prototype.Persona=function(A){this.WriteDiv("personaDest","Persona_Main");
var B=this.GetParameter("plckPersonaPage");
if(B&&(typeof this[B]=="function")){this[B](A)
}else{this.PersonaHome(A)
}};
SiteLifeProxy.prototype.LoadPersonaPage=function(A,B){var C=new Object();
C.plckPersonaPage=A;
C.plckUserId=B;
C.UID=B;
for(ii=2;
ii<this.LoadPersonaPage.arguments.length;
ii+=2){C[this.LoadPersonaPage.arguments[ii]]=this.LoadPersonaPage.arguments[ii+1]
}this.ReloadPage(C);
return false
};
SiteLifeProxy.prototype.PersonaHome=function(A){var B=this;
this.AddEventHandler("persona:home:complete",function(){B.PopulateGroupsDiv(A,1);
B.ShowLeaderboards();
B.ShowTwitterFeed(A)
});
return this.PersonaSend("PersonaHome","personaDest","personaScript",A,null,"persona:home:complete")
};
SiteLifeProxy.htmlEncode=function(C){var A=C;
var D=document.createElement("div");
var B=document.createTextNode(C);
D.appendChild(B);
A=new String(D.innerHTML);
A=A.replace(/"/g,"&quot;");
return A
};
SiteLifeProxy.prototype.PopulateGroupsDiv=function(A,B){if(window.RequestBatch&&window.CommunityGroupMembershipPage&&window.UserKey){var C=new RequestBatch();
C.AddToRequest(new CommunityGroupMembershipPage(new UserKey(A+""),8,B,"TimeStampAscending","Member"));
C.BeginRequest(AARP.socnet.pluckHost+"/ver1.0/Direct/Process",function(G){if(G.Responses.length>0&&G.Responses[0].CommunityGroupMembershipPage){var K=document.createElement("div");
K.className="PersonaStyle_ItemContainer";
var M=document.getElementById("PersonaStyle_GroupsContainer");
if(M!=null){M.appendChild(K);
var L="http://"+AARP.proxyDomain+"/online-community/groups/index.action";
var J=G.Responses[0].CommunityGroupMembershipPage;
var F='<div class="PersonaStyle_SectionHead">Groups</div>';
F+='<div class="PersonaStyle_GroupList">';
for(var H=0;
H<J.CommunityGroupMemberships.length;
H++){var N=J.CommunityGroupMemberships[H].CommunityGroup;
var I=true;
if(N.CommunityGroupVisibility=="Private"){I=(N.RequestingUsersMembershipTier!="NonMember"&&N.RequestingUsersMembershipTier!="Banned")
}if(I){var E=L.match(/\?/);
if(E!=null){var D=L+"&slGroupKey="+N.CommunityGroupKey.Key
}else{var D=L+"?slGroupKey="+N.CommunityGroupKey.Key
}F+='<a href="'+D+'"><img height="50" width="50" title="'+SiteLifeProxy.htmlEncode(N.Title)+'" src="'+N.AvatarImageUrl+'" /></a>'
}}F+='<p><ul class="PersonaStyle_GroupListPagination">';
if(J.OnPage>1){F+="<li><a href='#PreviousGroup' onclick='gSiteLife.PopulateGroupsDiv(\""+A+'", '+(parseInt(J.OnPage)-1)+");'>&lt;&lt;Previous</a></li>"
}if(J.NumberOfCommunityGroupMemberships>(J.NumberPerPage*J.OnPage)){F+="<li><a href='#NextGroup' onclick='gSiteLife.PopulateGroupsDiv(\""+A+'", '+(parseInt(J.OnPage)+1)+");'>Next&gt&gt;</a></li>"
}F+="</p>";
F+='</ul><div class="PersonaStyle_GroupListClear"></div>';
F+="</div>";
K.innerHTML=F;
while(M.hasChildNodes()){M.removeChild(M.childNodes[0])
}M.appendChild(K)
}}})
}this.FireEvent("persona:home")
};
SiteLifeProxy.prototype.WatchItem=function(D,E,B,C){var A=this.__baseUrl+"/"+D+"/"+E+"?plckWatchKey="+B+"&plckElementId="+C+"&plckWatchUrl="+this.EscapeValue(window.location.href);
this.__Send(A,"AddWatchScript");
return false
};
SiteLifeProxy.prototype.PersonaRemoveWatchItem=function(B,A,C,D){return this.PersonaSend("PersonaRemoveWatchItem",C,"personaScript",B,"plckWatchView="+D+"&plckWatchKey="+A)
};
SiteLifeProxy.prototype.PersonaAddFriend=function(A){return this.PersonaSend("PersonaAddFriend","personaHDest","personaScript",A)
};
SiteLifeProxy.prototype.PersonaConnectionAddFriend=function(A){return this.PersonaSend("PersonaConnectionAddFriend","personaDest","personaScript",A,null,"persona:connections")
};
SiteLifeProxy.prototype.PersonaRemoveFriend=function(C,B,E,F,A,D){if(!A){A="false"
}if(confirm(D)==true){return this.PersonaSend("PersonaRemoveFriend",E,"personaScript",C,"plckFriendView="+F+"&plckFriend="+B+"&plckExpanded="+A)
}return false
};
SiteLifeProxy.prototype.PersonaRemovePendingFriend=function(B,A,D,C){if(confirm(C)==true){return this.PersonaSend("PersonaRemovePendingFriend",D,"personaScript",B,"plckPendingFriend="+A)
}return false
};
SiteLifeProxy.prototype.PersonaAddPendingFriend=function(B,A,C){return this.PersonaSend("PersonaAddPendingFriend",C,"personaScript",B,"plckPendingFriend="+A)
};
SiteLifeProxy.prototype.PersonaMessages=function(B){var A=this.GetParameter("plckCurrentPage")?"plckCurrentPage="+this.GetParameter("plckCurrentPage"):"";
var C=this.GetParameter("plckScrollToAnchor");
if(C){if(A){A+="&"
}A+="plckScrollToAnchor="+C
}if(this.GetParameter("plckMessageSubmitted")){if(A){A+="&"
}A+="plckMessageSubmitted="+this.GetParameter("plckMessageSubmitted")
}return this.PersonaSend("PersonaMessages","personaDest","personaScript",B,A,"persona:messages")
};
SiteLifeProxy.prototype.PersonaComments=function(B){var A=this.GetParameter("plckCurrentPage")?"plckCurrentPage="+this.GetParameter("plckCurrentPage"):"";
return this.PersonaSend("PersonaComments","personaDest","personaScript",B,A,"persona:comments")
};
SiteLifeProxy.prototype.PersonaBlog=function(C){var A=this.GetParameter("plckCurrentPage")?"plckCurrentPage="+this.GetParameter("plckCurrentPage"):"";
if(A){A+="&"
}A+="plckBlogId="+C;
var B=this.__baseUrl+"/PersonaBlog/PersonaBlog?plckElementId=personaDest&plckUserId="+C+"&"+A;
this.__Send(B,"personaScript","persona:blog",arguments);
return false
};
SiteLifeProxy.prototype.PersonaProfile=function(A){return this.PersonaSend("PersonaProfile","personaDest","personaScript",A,null,"persona:profile")
};
SiteLifeProxy.prototype.PersonaWatchListPaginate=function(A,B){return this.PersonaPaginate("WatchList",B,A)
};
SiteLifeProxy.prototype.PersonaFriendsPaginate=function(B,C){var A="plckFullFriendsList=true";
return this.PersonaPaginate("Friends",C,B,A)
};
SiteLifeProxy.prototype.PersonaFriendsExpand=function(B){var A=this.__baseUrl+"/Persona/PersonaFriends?plckFullFriendsList=true&plckFriendsPageNum=0&plckElementId=PersonaFriendsDest&plckUserId="+B;
this.__Send(A,"PersonaFriendsScript");
return false
};
SiteLifeProxy.prototype.PersonaFriendsCollapse=function(B,C){var A=this.__baseUrl+"/Persona/PersonaFriends?plckFullFriendsList=false&plckFriendsPageNum=0&plckElementId=PersonaFriendsDest&plckUserId="+B;
this.__Send(A,"PersonaFriendsScript");
return false
};
SiteLifeProxy.prototype.PersonaPendingFriendsPaginate=function(B,C){var A="plckPendingFriendsPageNum="+C;
return this.PersonaPaginate("Friends",0,B,A)
};
SiteLifeProxy.prototype.PersonaMessagesPreviewPaginate=function(A,B){return this.PersonaPaginate("MessagesPreview",B,A)
};
SiteLifeProxy.prototype.PersonaMessageRemove=function(B,D,A,C){if(confirm(C)==true){return this.PersonaSend("PersonaRemoveMessage","personaDest","PersonaMessagesPageScript",B,"plckCurrentPage="+D+"&plckMessageKey="+A)
}return false
};
SiteLifeProxy.prototype.PersonaSend=function(A,B,E,D,G,F){var C=this.__baseUrl+"/Persona/"+A+"?plckElementId="+B+"&plckUserId="+D;
if(G){C+="&"+G
}this.__Send(C,E,F,arguments);
return false
};
SiteLifeProxy.prototype.PersonaPaginate=function(A,D,C,E){var B=this.__baseUrl+"/Persona/Persona"+A+"?plck"+A+"PageNum="+D+"&plckElementId=Persona"+A+"Dest&plckUserId="+C;
if(E){B+="&"+E
}this.__Send(B,"Persona"+A+"Script");
return false
};
SiteLifeProxy.prototype.PersonaPhotoSend=function(A,B,E,D,G,F){var C=this.__baseUrl+"/PersonaPhoto/"+A+"?plckElementId="+B+"&plckUserId="+D;
if(G){C+="&"+G
}this.__Send(C,E,F,arguments);
return false
};
SiteLifeProxy.prototype.PersonaMostRecent=function(B,C,A){return this.PersonaPhotoSend("PersonaMostRecent",A,"personaScript",B,"plckPhotoID="+C)
};
SiteLifeProxy.prototype.PersonaCommunityGroupsPaginate=function(A,B){return this.PersonaPaginate("CommunityGroups",B,A)
};
SiteLifeProxy.prototype.PersonaCreateGallery=function(A){return this.PersonaPhotoSend("UserGalleryCreate","personaDestPhoto","personaScript",A)
};
SiteLifeProxy.prototype.PersonaEditGallery=function(A,B){return this.PersonaPhotoSend("UserGalleryEdit","userGalleryDest","personaScript",A,"plckGalleryID="+B)
};
SiteLifeProxy.prototype.PersonaUploadToUserGallery=function(B){var A=this.__baseUrl+"/Photo/PhotoUpload?plckElementId=userGalleryDest&plckGalleryID="+B;
this.__Send(A);
return false
};
SiteLifeProxy.prototype.PersonaPhotos=function(A){return this.PersonaPhotoSend("PersonaPhotos","personaDest","personaScript",A,null,"persona:photos")
};
SiteLifeProxy.prototype.PersonaAllPhotos=function(A){return this.PersonaPhotoSend("PersonaAllPhotos","personaDest","personaScript",A)
};
SiteLifeProxy.prototype.PersonaGalleryPhoto=function(B,A){var C=gSiteLife.ReadFindCommentKey(C,"widget:personaGalleryPhoto");
return this.PersonaPhotoSend("PersonaGalleryPhoto","personaDest","personaScript",B,"plckFindCommentKey="+C,"widget:personaGalleryPhoto")
};
SiteLifeProxy.prototype.PersonaMyRecentPhotos=function(B,A,C){return this.PersonaPhotoSend("PersonaMyRecentPhotos",A,"personaScript",B,"plckPageNum="+C)
};
SiteLifeProxy.prototype.PersonaGallery=function(A,C,B){if(!B){B=gSiteLife.GetParameter("plckPageNum")?gSiteLife.GetParameter("plckPageNum"):0
}if(!C){C=gSiteLife.GetParameter("plckGalleryID")
}return this.PersonaPhotoSend("PersonaGallery","personaDest","personaScript",A,"plckGalleryID="+C+"&plckPageNum="+B)
};
SiteLifeProxy.prototype.UserGalleryList=function(B,A,C){return this.PersonaPhotoSend("UserGalleryList",A,"personaScript",B,"plckPageNum="+C)
};
SiteLifeProxy.prototype.PersonaGallerySubmissions=function(B,A,C){return this.PersonaPhotoSend("PersonaGallerySubmissions",A,"personaScript",B,"plckPageNum="+C)
};
SiteLifeProxy.prototype.PersonaGalleryPhoto=function(B,A){var D=gSiteLife.ReadFindCommentKey(D,"widget:personaPhoto");
var C=gSiteLife.GetParameter("plckPhotoID");
return this.PersonaPhotoSend("PersonaGalleryPhoto","personaDest","personaScript",B,"&plckPhotoID="+C+"&plckFindCommentKey="+D,"widget:personaPhoto")
};
SiteLifeProxy.prototype.PersonaRecentGalleryPhoto=function(A){var B=gSiteLife.GetParameter("plckPhotoID");
return this.PersonaPhotoSend("PersonaRecentGalleryPhoto","personaDest","personaScript",A,"&plckPhotoID="+B)
};
SiteLifeProxy.prototype.LoadPersonaGalleryPage=function(A,B){var C=new Object();
C.plckPersonaPage="PersonaGallery";
C.plckUserId=A;
C.UID=A;
C.plckGalleryID=B;
this.ReloadPage(C);
return false
};
SiteLifeProxy.prototype.LoadPersonaPhotoPage=function(A,C){var B=new Object();
B.plckPersonaPage="PersonaGalleryPhoto";
B.plckUserId=A;
B.UID=A;
B.plckPhotoID=C;
this.ReloadPage(B);
return false
};
SiteLifeProxy.prototype.LoadPersonaRecentPhotoPage=function(A,C){var B=new Object();
B.plckPersonaPage="PersonaRecentGalleryPhoto";
B.plckUserId=A;
B.UID=A;
B.plckPhotoID=C;
this.ReloadPage(B);
return false
};
var fbHelpDialogTimeout;
SiteLifeProxy.prototype.ShowFacebookHelpDialog=function(C){var A=0;
var F=C.clientHeight/2;
do{A+=C.offsetLeft;
F+=C.offsetTop
}while(C=C.offsetParent);
var B=document.getElementById("Persona_FacebookHelpDialog");
B.style.position="absolute";
B.style.display="block";
var E=A-B.clientWidth;
var D=F-Math.floor(B.clientHeight/2);
B.style.left=E+"px";
B.style.top=D+"px";
return false
};
SiteLifeProxy.prototype.HideFacebookHelpDialog=function(){var A=document.getElementById("Persona_FacebookHelpDialog");
A.style.display="none"
};
SiteLifeProxy.prototype.CopyRssUrlToClipboard=function(){rssUrl=document.getElementById("rssUrl");
copy(rssUrl);
return false
};
function copy(D){if(D.createTextRange){var A=D.createTextRange();
if(A){A.execCommand("Copy")
}}else{var C="flashcopier";
if(!document.getElementById(C)){var E=document.createElement("div");
E.id=C;
document.body.appendChild(E)
}document.getElementById(C).innerHTML="";
var B='<embed src="'+gSiteLife.__baseUrl+'/Content/swf/clipboard.swf" FlashVars="clipboard='+encodeURIComponent(D.value)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';
document.getElementById(C).innerHTML=B
}}SiteLifeProxy.prototype.UpdateExternalUserId=function(C,B){var A=this.BaseAdParam();
A+="&externalSiteName="+C;
A+="&externalSiteUserId="+B;
return this.PersonaSend("UpdateExternalUserId","personaHDest","personaScript","",A)
};
SiteLifeProxy.prototype.doFacebookConnect=function(){slFB.login(function(A){gSiteLife.UpdateExternalUserId("Facebook",A.uid);
document.getElementById("PersonaHeader_FacebookConnect_InviteButton").style.display="block";
document.getElementById("PersonaHeader_FacebookConnect_ConnectButton").style.display="none";
document.getElementById("facebookConnectButtonInfoId").style.display="none"
})
};
SiteLifeProxy.prototype.checkFacebookConnectStatus=function(D){var A="";
var B=document.getElementById("sl_FacebookUserId");
if(!window.slFB){if(!D){D=0
}if(D<5){D++;
var C=this;
setTimeout(function(){C.checkFacebookConnectStatus(D)
},D*200)
}}else{if(B){A=B.value;
slFB.init(function(){slFB.onLogin(function(){if(A==slFB.currentUserFacebookId()){document.getElementById("PersonaHeader_FacebookConnect_InviteButton").style.display="block";
document.getElementById("PersonaHeader_FacebookConnect_ConnectButton").style.display="none";
document.getElementById("facebookConnectButtonInfoId").style.display="none"
}})
})
}}};
SiteLifeProxy.prototype.ShowLeaderboards=function(){var A=this;
var B=function(F){if(F>10){return 
}if(typeof (F)==="undefined"){F=0
}var D=document.getElementById("PersonaLeaderboards");
if(D){var E=document.getElementById("PersonaLeaderboardsKeyContainer").value;
slGetUserLeaderboardKey=function(){return E
};
window.slLeaderboardsWidgetDiv=document.getElementById("PersonaLeaderboards_Container");
var C=document.createElement("script");
C.type="text/javascript";
C.src=AARP.socnet.pluckHost+"/ver1.0/Persona/LeaderboardParams?plckUserId="+E;
document.getElementsByTagName("head")[0].appendChild(C)
}else{setTimeout(function(){B(F+1)
},100)
}};
B()
};
SiteLifeProxy.prototype.ShowBadges=function(){var A=this;
var B=function(G){try{if(G>10){return 
}if(typeof (G)==="undefined"){G=0
}var C=document.getElementById("PersonaBadges");
if(C){var E=document.getElementById("PersonaBadgesKeyContainer").value;
slGetUserBadgesKey=function(){return E
};
window.slBadgesWidgetDiv=document.getElementById("PersonaBadges_Container");
var F=document.createElement("script");
F.type="text/javascript";
F.src=AARP.socnet.pluckHost+"/ver1.0/Persona/BadgesParams?plckUserId="+E;
document.getElementsByTagName("head")[0].appendChild(F)
}else{setTimeout(function(){B(G+1)
},100)
}}catch(D){alert(D.message)
}};
B()
};
SiteLifeProxy.prototype.PersonaConnections=function(B){var A="";
this.AddEventHandler("persona:connections",this.checkFacebookConnectStatus);
return this.PersonaSend("PersonaConnections","personaDest","personaScript",B,A,"persona:connections")
};
SiteLifeProxy.prototype.UpdateTwitterPrefs=function(C,A,B){return this.PersonaSend("UpdateTwitterPrefs","personaDest","personaScript",C,"?tweetMyComments="+B+"&personaTwitterWidget="+A)
};
SiteLifeProxy.prototype.UpdateYahooPrefs=function(B,A){return this.PersonaSend("UpdateYahooPrefs","personaDest","personaScript",B,"?yahooMyComments="+A)
};
SiteLifeProxy.prototype.UpdateLinkedInPrefs=function(A,B){return this.PersonaSend("UpdateLinkedInPrefs","personaDest","personaScript",A,"?LinkedInMyComments="+B)
};
window.twitterAuthComplete=function(B,A){setTimeout(function(){gSiteLife.twitterLoginWindow.close();
if(window.focus){window.focus()
}gSiteLife.PersonaConnections(A)
},10)
};
SiteLifeProxy.prototype.BeginTwitterAuth=function(A){this.currentUserId=A;
this.twitterLoginWindow=window.open(AARP.socnet.pluckHost+"/ver1.0/Persona/BeginTwitterAuth","twitterLoginWindow","");
return false
};
SiteLifeProxy.prototype.ReplaceUrlsWithLinks=function(B){var A=new RegExp("(https?://[^\\s]*)","g");
return B.replace(A,'<a href="$1">$1</a>')
};
SiteLifeProxy.prototype.ShowTwitterFeed=function(A){var B=new RequestBatch();
B.AddToRequest(new UserExtendedPrefs(new UserKey(A)));
B.BeginRequest(AARP.socnet.pluckHost+"/ver1.0/Direct/Process",function(C){if(C.Responses&&C.Responses[0]&&C.Responses[0].UserExtendedPrefs&&C.Responses[0].UserExtendedPrefs.Prefs&&C.Responses[0].UserExtendedPrefs.Prefs.PersonaTwitterWidget&&C.Responses[0].UserExtendedPrefs.Prefs.PersonaTwitterWidget=="True"){var D=new RequestBatch();
D.AddToRequest(new UserTwitterStatus(new UserKey(A)));
D.BeginRequest(AARP.socnet.pluckHost+"/ver1.0/Direct/Process",function(L){if(L.Responses&&L.Responses[0]&&L.Responses[0].UserTwitterStatus){var G=L.Responses[0].UserTwitterStatus;
var F=gSiteLife.ReplaceUrlsWithLinks(G.Status);
var H=new RegExp("@([^\\s]*)","g");
var I=F.match(H);
if(I!=null){for(var J=0;
J<I.length;
J++){var E=/@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
var N=I[J].match(E);
if(N!=null&&N!=""){I[J]=I[J].replace(E,I[J]);
F=F.replace(E,I[J])
}else{var O=I[J].replace(H,'@<a href="http://www.twitter.com/$1">$1</a>');
F=F.replace(I[J],O)
}}}var K="";
K+='<div class="PersonaStyle_SectionHead">';
K+="	My Latest Tweet";
K+="</div>";
K+="	<table><tbody><tr>";
K+='	<td class="slSocialAvatar"><a href="http://www.twitter.com/'+G.ScreenName+'" target="_blank"><img src="'+G.AvatarUrl+'" /></a></td>';
K+='	<td class="slSocialStatus">'+F+"</td>";
K+="	</tr></tbody></table>";
var M=document.getElementById("PersonaTwitterDest");
if(M){M.innerHTML=K;
M.style.display="block"
}}})
}})
};
SiteLifeProxy.prototype.InviteDialogInit=function(A){gSiteLife.ShowSocialInviteDialog(A)
};
SiteLifeProxy.prototype.ShowSocialInviteDialog=function(inviteUrl){var modalElem=document.getElementById("twitterInviteDialog");
var parentElem=modalElem.parentNode;
var scrollLeftVal=document.documentElement.scrollLeft>document.body.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;
var scrollTopVal=document.documentElement.scrollTop>document.body.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;
var isIE=
/*@cc_on!@*/
false;
var clientWidth=isIE?document.body.clientWidth:document.documentElement.clientWidth;
var clientHeight=isIE?document.body.clientHeight:document.documentElement.clientHeight;
parentElem.style.display="block";
var newLeft=Math.floor(scrollLeftVal+(clientWidth/2)-(modalElem.clientWidth/2));
var newTop=Math.floor(scrollTopVal+(clientHeight/2)-(modalElem.clientHeight/2));
if(newLeft<0){newLeft=0
}if(newTop<0){newTop=0
}else{if(isIE&&newTop>200){newTop=250
}}modalElem.style.left=newLeft+"px";
modalElem.style.top=newTop+"px";
if(isIE){modalElem.scrollIntoView(true)
}if(document.getElementById("slSocialInviteMsg")===null){var textMsg="Come join me on pluck.com. "+inviteUrl;
var charCnt=140-textMsg.length;
var container=document.getElementById("slTextAreaId");
var textAreaTag=document.createElement("textarea");
textAreaTag.className="slSocialFormInputText";
textAreaTag.setAttribute("id","slSocialInviteMsg");
var maxCharCnt=140-inviteUrl.length;
textAreaTag.onkeyup=function(){gSiteLife.TextCounter(this,"count_display",140,textMsg)
};
textAreaTag.maxlength=140;
textAreaTag.innerHTML=textMsg;
container.appendChild(textAreaTag);
var spanContainer=document.getElementById("slTextCounterId");
var spanTextCnt=document.createElement("span");
spanTextCnt.setAttribute("id","count_display");
spanTextCnt.innerHTML=charCnt+" characters remaining";
spanContainer.appendChild(spanTextCnt);
var storeTinyUrl=document.getElementById("slTinyId");
storeTinyUrl.innerHTML=inviteUrl
}};
var selectedUsers=[];
SiteLifeProxy.prototype.ToggleTwitterFriendSelection=function(B){var A=selectedUsers.indexOf(B);
if(A>-1){selectedUsers.splice(A,1);
document.getElementById("friendListCheckbox_"+B).checked=false
}else{selectedUsers.push(B);
document.getElementById("friendListCheckbox_"+B).checked=true
}};
SiteLifeProxy.prototype.HideInviteTwitterDialog=function(){var A=document.getElementById("twitterInviteDialog");
A.parentNode.style.display="none"
};
SiteLifeProxy.prototype.ConnectTwitterFriends=function(){for(var A=0;
A<selectedUsers.length;
A++){gSiteLife.PersonaConnectionAddFriend(selectedUsers[A])
}window.location.reload()
};
SiteLifeProxy.prototype.SendTweetToTwitterFriends=function(B,C){var A=new RequestBatch();
A.AddToRequest(new SendTwitterMessageAction(B,"",""));
A.BeginRequest(AARP.socnet.pluckHost+"/ver1.0/Direct/Process",function(E){if(E.Messages&&E.Messages.length===1&&E.Messages[0].Message==="ok"){var G=document.getElementById("slSocialSuccessId");
var D=document.getElementById("slSocialInviteMsg");
var F=document.getElementById("count_display");
if(G){G.style.display="block";
setTimeout(function(){G.style.display="none";
var I=document.getElementById("slTinyId").innerHTML;
var J="Come join me on pluck.com. "+I;
D.value=J;
var K=140-J.length;
F.innerHTML=K+" characters remaining";
gSiteLife.HideInviteTwitterDialog()
},5000)
}}else{var H=document.getElementById("slSocialErrorId");
if(H){H.style.display="block";
H.innerHTML=E.Messages[0].Message
}}})
};
SiteLifeProxy.prototype.TextCounter=function(B,D,A,F){var C=document.getElementById(D);
if(B.value.length>A){B.value=B.value.substring(0,A);
return false
}var E=A-B.value.length;
C.innerHTML=E+" characters remaining"
};
SiteLifeProxy.prototype.SolicitPhoto=function(C){var A="plcksolicit"+C;
this.WriteDiv(A);
var B=this.__baseUrl+"/Photo/SolicitPhoto?plckElementId="+A+"&plckGalleryID="+C;
this.__Send(B);
return false
};
SiteLifeProxy.prototype.PhotoUpload=function(){var A="plcksubmit";
this.WriteDiv(A);
var C=gSiteLife.GetParameter("plckGalleryID");
var B=this.__baseUrl+"/Photo/PhotoUpload?plckElementId="+A+"&plckGalleryID="+C;
this.__Send(B);
return false
};
SiteLifeProxy.prototype.PublicGallery=function(){var A="plckgallery";
this.WriteDiv(A);
var C=gSiteLife.GetParameter("plckGalleryID");
var D=gSiteLife.GetParameter("plckPageNum");
var B=this.__baseUrl+"/Photo/PublicGallery?plckElementId="+A+"&plckGalleryID="+C+"&plckPageNum="+D;
this.__Send(B);
return false
};
SiteLifeProxy.prototype.GalleryPhoto=function(){var A="plckphoto";
this.WriteDiv(A);
var D=gSiteLife.GetParameter("plckPhotoID");
var C=gSiteLife.ReadFindCommentKey(null,"widget:galleryPhoto");
var B=this.__baseUrl+"/Photo/GalleryPhoto?plckElementId="+A+"&plckPhotoID="+D+"&plckFindCommentKey="+C;
this.__Send(B,null,"widget:galleryPhoto");
return false
};
SiteLifeProxy.prototype.PublicGalleries=function(){var A="plckgalleries";
this.WriteDiv(A);
var C=gSiteLife.GetParameter("plckPageNum")?gSiteLife.GetParameter("plckPageNum"):"0";
var B=this.__baseUrl+"/Photo/PublicGalleries?plckElementId="+A+"&plckPageNum="+C;
this.__Send(B);
return false
};
SiteLifeProxy.prototype.PhotoRecommend=function(A,B,D){var C=this.__baseUrl+"/Photo/Recommend?plckElementId="+B+"&plckTargetid="+A+"&plckIsGallery="+D;
this.__Send(C);
return false
};
SiteLifeProxy.prototype.Comments=function(J,I,H,E,F,B,A,G,D,C){return this.CommentsInternal(J,I,H,E,F,B,A,G,false,false,null,D,C)
};
SiteLifeProxy.prototype.CommentsInput=function(B,A,C){return this.CommentsInternal(B,A,null,"TimeStampDescending",null,null,null,null,true,false,C,false,null)
};
SiteLifeProxy.prototype.CommentsOutput=function(C,B,E,A,D){D=D||"TimeStampDescending";
return this.CommentsInternal(C,B,A,D,null,null,null,null,false,true,null,E,null)
};
SiteLifeProxy.prototype.CommentsRefresh=function(C,B,A,D){if(!B||B==""){throw"Must pass in value for parentKey!"
}return this.CommentsInternal(C,B,A,D,null,null,null,null,false,false,null,true,null)
};
SiteLifeProxy.prototype.CommentsInternal=function(N,L,J,G,H,C,A,I,E,M,B,F,D){var K="Comments_Container";
if(this.numCommentsWidgets){K+=this.numCommentsWidgets++
}else{this.numCommentsWidgets=1
}document.write("<div id='"+K+"'></div>");
return this.GetComments(N,L,A,I,0,J,G,H,C,E,M,B,F,K,D)
};
SiteLifeProxy.prototype.ReadFindCommentKey=function(A,B,C){var D=A||gSiteLife.GetParameter("plckFindCommentKey")||"";
if(D=="none"){D=""
}if(B){if(D!=""){this.AddEventHandler(B,function(){gSiteLife.ScrollToComment(D)
})
}else{if(C&&parseInt(C,10)>0){this.AddEventHandler(B,function(){var E=document.getElementById("Comments_OuterContainer");
if(E){E.scrollIntoView(true)
}})
}}}return D
};
SiteLifeProxy.prototype.GetComments=function(P,N,B,J,K,L,H,I,D,F,O,A,G,M,E){P=P||"ExternalResource";
B=B||gSiteLife.__StripAnchorFromUrl(window.location.href);
B=gSiteLife.EscapeValue(B);
N=N||gSiteLife.__StripAnchorFromUrl(window.location.href);
J=J||gSiteLife.EscapeValue(gSiteLife.Trim(document.title));
K=K||gSiteLife.GetParameter("plckCurrentPage")||0;
L=L||10;
H=H||"TimeStampAscending";
I=I||false;
D=D||"MostRecent";
F=F||false;
O=O||false;
A=gSiteLife.EscapeValue(A)||"";
G=G||false;
E=gSiteLife.ReadFindCommentKey(E,"widget:comments",K);
var C=this.__baseUrl+"/Comment/GetPage.rails?plckTargetKeyType="+P+"&plckTargetKey="+escape(N)+"&plckCurrentPage="+K+"&plckItemsPerPage="+L+"&plckSort="+H+"&plckElementId="+M+"&plckTargetUrl="+B+"&plckTargetTitle="+J+"&plckHideView="+F+"&plckHideInput="+O+"&plckRefreshPage="+G+"&plckRedirectToUrl="+A+"&plckFindCommentKey="+E;
if(I){C=C+"&plckShowTabs=true&plckTab="+D
}this.__Send(C,null,"widget:comments");
return false
};
SiteLifeProxy.prototype.WaitForImages=function(B){var A=document.images
};
SiteLifeProxy.prototype.ScrollToComment=function(A){setTimeout(function(){window.location.hash="#"+A
},300)
};
SiteLifeProxy.prototype.Blog=function(B){this.WriteDiv("blogDest","Persona_Main");
var C=this.GetParameter("plckBlogPage");
if(!B){B=this.GetParameter("plckBlogId")
}if(C&&C!="Blog"&&(typeof this[C]=="function")){return this[C](B)
}else{var A=this.GetParameter("plckCurrentPage")?"plckCurrentPage="+this.GetParameter("plckCurrentPage"):"";
return this.BlogSend("Blog","Blog","blogDest","blogScript",B,A)
}};
SiteLifeProxy.prototype.LoadBlogPage=function(A,B){var C=new Object();
C.plckBlogPage=A;
C.plckBlogId=B;
for(ii=2;
ii<this.LoadBlogPage.arguments.length;
ii+=2){C[this.LoadBlogPage.arguments[ii]]=this.LoadBlogPage.arguments[ii+1]
}this.ReloadPage(C);
return false
};
SiteLifeProxy.prototype.BlogViewEdit=function(A){return this.BlogSend(null,"BlogViewEdit",null,null,A)
};
SiteLifeProxy.prototype.BlogPostCreate=function(A){return this.BlogSend(null,"BlogPostCreate",null,null,A,"plckRedirectUrl="+this.GetParameter("plckRedirectUrl"))
};
SiteLifeProxy.prototype.BlogPendingComments=function(B,A){if(!A){A=0
}return this.BlogSend(null,"BlogPendingComments",null,null,B,"plckCurrentPage="+A)
};
SiteLifeProxy.prototype.BlogSettings=function(A){return this.BlogSend(null,"BlogSettings",null,null,A)
};
SiteLifeProxy.prototype.BlogEditPost=function(F,B,G,C,A,E,D){return this.BlogSend(B,"BlogPostEdit",G,C,F,"plckPostId="+A+"&plckSelection="+E+"&plckDaysBack="+D+"&plckRedirectUrl="+this.EscapeValue(window.location.href))
};
SiteLifeProxy.prototype.BlogRemovePost=function(G,B,H,C,A,F,D,E){if(confirm(E)==true){return this.BlogSend(B,"BlogRemovePost",H,C,G,"plckPostId="+A+"&plckSelection="+F+"&plckDaysBack="+D)
}return false
};
SiteLifeProxy.prototype.BlogViewPost=function(D,A,C,B){if(!A){A=gSiteLife.GetParameter("plckPostId")
}var E=gSiteLife.ReadFindCommentKey(null,"widget:blog");
return this.BlogSend(null,"BlogViewPost",null,null,D,"plckPostId="+A+"&plckSelection="+C+"&plckDaysBack="+B+"&plckCommentSortOrder="+this.GetParameter("plckCommentSortOrder")+"&plckFindCommentKey="+E)
};
SiteLifeProxy.prototype.BlogViewMonth=function(B,C){if(!C){C=gSiteLife.GetParameter("plckMonthId")
}var A="plckMonthId="+C;
A+=this.GetParameter("plckCurrentPage")?"&plckCurrentPage="+this.GetParameter("plckCurrentPage"):"";
return this.BlogSend(null,"BlogViewMonth",null,null,B,A)
};
SiteLifeProxy.prototype.AddBlogWatchItem=function(D,A,B,E,C){return this.BlogSend(A,"AddBlogWatch","plckBlogWatchDiv",B,D,"plckWatchKey="+C+"&plckWatchUrl="+this.EscapeValue(E))
};
SiteLifeProxy.prototype.RemoveBlogWatchItem=function(D,A,B,C){return this.BlogSend(A,"RemoveBlogWatch","plckBlogWatchDiv",B,D,"plckWatchKey="+C)
};
SiteLifeProxy.prototype.BlogViewTag=function(C,A){if(!A){A=gSiteLife.GetParameter("plckTag")
}var B="plckTag="+A;
B+=this.GetParameter("plckCurrentPage")?"&plckCurrentPage="+this.GetParameter("plckCurrentPage"):"";
return this.BlogSend(null,"BlogViewTag",null,null,C,B)
};
SiteLifeProxy.prototype.BlogRefreshViewEditList=function(E,A,F,B,D,C){return this.BlogSend(A,"BlogRefreshViewEditList",F,B,E,"plckSelection="+D+"&plckDaysBack="+C)
};
SiteLifeProxy.prototype.BlogSend=function(A,B,D,F,E,G){if(!A){A=this.GetParameter("plckController")||"Blog"
}if(!D){D=this.GetParameter("plckElementId")||"blogDest"
}if(!F){F=this.GetParameter("plckScript")||"blogScript"
}var C=this.__baseUrl+"/"+A+"/"+B+"?plckElementId="+D+"&plckBlogId="+E+"&"+G;
this.__Send(C,F,"widget:blog");
return false
};
SiteLifeProxy.prototype.Recommend=function(A,D,B){var C=this.__baseUrl+"/"+A+"/Recommend?plckElementId="+B+"&plckItemId="+D;
this.__Send(C);
return false
};
SiteLifeProxy.prototype.BlogSelectPendingComments=function(D,C){var B=document.getElementById(D);
for(i=0;
i<B.elements.length;
i++){var A=B.elements[i];
A.checked=C
}};
SiteLifeProxy.prototype.Forums=function(E,C){if(!C){this.WriteDiv("forumDest","Forum_Main")
}var G=this.GetParameter("plckForumPage");
var B=this.GetParameter("plckForumId");
if(B){B=unescape(B);
var F=B.indexOf("Forum:");
B=B.substring(F).replace(":","_")
}else{var A=this.GetParameter("plckDiscussionId");
if(A){A=unescape(A);
var F=A.indexOf("Forum:");
var D=A.indexOf("Discussion:");
B=A.substring(F,D).replace(":","_")
}}var H=this.GetParameter("plckCategoryCurrentPage");
if(G&&(typeof this[G]=="function")&&G!="ForumCategories"){this[G]()
}else{if(E==null){E=this.GetParameter("plckNumPerPage")
}this.ForumCategories(E,H)
}};
SiteLifeProxy.prototype.SetupCallbacks=function(){var C="";
var B=this.GetParameter("plckShowFirstUnread");
var A=this.GetParameter("plckFindPostKey");
if(B!=null){C+="&plckShowFirstUnread="+B;
this.AddEventHandler("widget:forums",function(){gSiteLife.DiscussionScrollToPost()
})
}if(A!=null&&A!=""){C+="&plckFindPostKey="+A;
this.AddEventHandler("widget:forums",function(){gSiteLife.DiscussionScrollToPost()
})
}var D=this.GetParameter("plckShowLatestPost");
if(D!=null){C+="&plckShowLatestPost="+D;
this.AddEventHandler("widget:forums",function(){gSiteLife.DiscussionScrollToPost()
})
}this.AddEventHandler("widget:forums",function(){gSiteLife.DiscussionScanForUnread();
var E=this;
var F=function(K){if(K>10){return 
}if(typeof (K)==="undefined"){K=0
}var J=document.getElementById("Discussion_Poll_Container");
if(J){var I=document.getElementById("DiscussionKeyContainer").value;
slGetDiscussionPollOnKey=function(){return I
};
window.slPollWidgetDiv=document.getElementById("Discussion_Poll");
var H=document.createElement("script");
H.type="text/javascript";
H.src=AARP.socnet.pluckHost+"/ver1.0/Forums/PollParams?plckDiscussionId="+I;
document.getElementsByTagName("head")[0].appendChild(H)
}else{setTimeout(function(){F(K+1)
},100)
}};
F();
var G=function(N){if(N>25){return 
}if(typeof (N)==="undefined"){N=0
}var I=document.getElementById("Discussion_PAB_1");
if(I){var H=new Array();
for(var L=1;
L<1000;
L++){var M=document.getElementById("Discussion_PAB_userId_"+L);
if(!M){break
}var K=M.innerHTML;
H.push({div:("Discussion_PAB_"+L),userKey:K})
}slGetDiscussionBadgesUserKeys=function(){return H
};
var J=document.createElement("script");
J.type="text/javascript";
J.src=AARP.socnet.pluckHost+"/ver1.0/Forums/BadgesParams";
document.getElementsByTagName("head")[0].appendChild(J)
}else{setTimeout(function(){G(N+1)
},100)
}};
G()
});
this.AddEventHandler("widget:forums",function(){if(document.location.hash){var E=document.location.hash+"";
document.location.hash=E
}});
return C
};
SiteLifeProxy.prototype.ForumCategories=function(B,E){var D=this.GetParameter("plckCurrentPage");
if(D==null){D=0
}var C="";
C="&plckNumPerPage="+B;
C+="&plckCategoryCurrentPage="+E;
var A=this.GetUrlParts("plckCategoryId");
if(A){this.ForumCategory(A)
}else{return this.ForumSend("ForumCategories","forumDest","ForumMain","plckCurrentPage="+D+C)
}};
SiteLifeProxy.prototype.Forum=function(){var A=this.GetParameter("plckForumId");
var E=this.GetParameter("plckDiscussionCreatedSortOrder");
var F=this.GetParameter("plckCategoryCurrentPage");
if(F==null){F=0
}var B=this.GetParameter("plckCurrentPage");
if(B==null){B=0
}var C=this.GetParameter("plckNumPerPage");
var D="";
if(C!=null){D="&plckNumPerPage="+C
}return this.ForumSend("Forum","forumDest","ForumMain","plckForumId="+A+"&plckCurrentPage="+B+"&plckCategoryCurrentPage="+F+D+"&plckDiscussionCreatedSortOrder="+E)
};
SiteLifeProxy.prototype.ForumDiscussion=function(){var D=this.GetParameter("plckDiscussionId");
var B="plckDiscussionId="+D;
var A=this.GetParameter("plckShowLastPage");
if(A){B+="&plckShowLastPage=true"
}var C=this.GetParameter("plckCurrentPage");
if(C==null){C=0
}B+=this.SetupCallbacks();
B+="&plckCurrentPage="+C;
B+="&plckCategoryCurrentPage="+this.GetParameter("plckCategoryCurrentPage");
return this.ForumSend("ForumDiscussion","forumDest","ForumMain",B)
};
SiteLifeProxy.prototype.DiscussionScanForUnread=function(discussionKey){var postDatesContainer=document.getElementById("PostDateInfoContainer");
if(!postDatesContainer){return 
}this.postDates=eval(postDatesContainer.value);
this.latestPost=new Date(document.getElementById("LastReadContainer").value);
this.screenBottom=0;
if(discussionKey){this.discussionKey=discussionKey
}else{if(document.getElementById("DiscussionKeyContainer")){this.discussionKey=document.getElementById("DiscussionKeyContainer").value
}}this.checkForReadInterval=setInterval(function(){gSiteLife.DiscussionCheckForLatestPost()
},1000)
};
SiteLifeProxy.prototype.DiscussionScrollToPost=function(){if(!document.getElementById("Discussion_ScrollToPostKey")){return false
}var C=document.getElementById("Discussion_ScrollToPostKey").value;
var B=document.getElementById(C);
if(!B){return false
}var A=0;
if(B.offsetParent){obj=B;
do{A+=obj.offsetTop
}while(obj=obj.offsetParent);
window.scrollBy(0,A)
}};
SiteLifeProxy.prototype.IsPostOnScreen=function(F,B){var A="readIndicator_"+this.postDates[B].Key;
var E=document.getElementById(A);
if(E){var D=0;
if(E.offsetParent){obj=E;
do{D+=obj.offsetTop
}while(obj=obj.offsetParent)
}var C=D+E.offsetHeight;
if(C<F){return true
}}return false
};
SiteLifeProxy.prototype.DiscussionCheckForLatestPost=function(){var A=0;
if(typeof (window.pageYOffset)!=="undefined"){A=window.pageYOffset
}else{if(typeof (document.documentElement)!=="undefined"&&typeof (document.documentElement.scrollTop)!=="undefined"&&document.documentElement.scrollTop>0){A=document.documentElement.scrollTop
}else{if(typeof (document.body.scrollTop)!=="undefined"&&document.body.scrollTop>0){A=document.body.scrollTop
}}}var C=Math.pow(2,52);
if(window.innerHeight){C=A+window.innerHeight
}else{if(document.documentElement.clientHeight&&document.documentElement.clientHeight!=0){C=A+document.documentElement.clientHeight
}else{if(document.body.clientHeight){C=A+document.body.clientHeight
}}}if(C<=this.screenBottom){return 
}if(!this.postDates||this.postDates.length<=0){clearInterval(this.checkForReadInterval);
return 
}if(this.postDates[(this.postDates.length-1)].Timestamp<=this.latestPost){clearInterval(this.checkForReadInterval);
return 
}this.screenBottom=C;
var B=null;
for(i=0;
i<this.postDates.length;
i++){if(this.IsPostOnScreen(C,i)){if(this.postDates[i].Timestamp>=this.latestPost){B=this.postDates[i].Key;
this.latestPost=this.postDates[i].Timestamp
}}}if(B){this.ForumSetLastRead(this.discussionKey,B)
}};
SiteLifeProxy.prototype.ForumCreateDiscussion=function(){var C="plckRedirectUrl="+this.GetParameter("plckRedirectUrl");
var B=this.GetParameter("plckForumId");
C+="&plckForumId="+B;
var A=this.GetParameter("plckCurrentView");
if(A){C+="&plckCurrentView="+A
}var D=this.GetParameter("plckCurrentPage");
if(D){C+="&plckCurrentPage="+D
}var E=this.GetParameter("plckDiscussionId");
if(E){C+="&plckDiscussionId="+E
}C+="&plckCategoryCurrentPage="+this.GetParameter("plckCategoryCurrentPage");
return this.ForumSend("ForumCreateDiscussion","forumDest","ForumMain",C)
};
SiteLifeProxy.prototype.ForumMain=function(){return this.ForumSend("ForumMain","forumDest","ForumMain")
};
SiteLifeProxy.prototype.ForumCreatePost=function(){var B="plckDiscussionId="+this.GetParameter("plckDiscussionId")+"&plckRedirectUrl="+this.EscapeValue(window.location.href);
var A=this.GetParameter("plckPostId");
if(A){B=B+"&plckPostId="+A
}var C=this.GetParameter("plckIsReply");
if(C){B=B+"&plckIsReply="+C
}var D=this.GetParameter("plckCurrentPage");
if(D){B=B+"&plckCurrentPage="+D
}B+="&plckCategoryCurrentPage="+this.GetParameter("plckCategoryCurrentPage");
return this.ForumSend("ForumCreatePost","forumDest","ForumMain",B)
};
SiteLifeProxy.prototype.ForumEditPost=function(){var C="plckDiscussionId="+this.GetParameter("plckDiscussionId")+"&plckRedirectUrl="+this.EscapeValue(window.location.href);
var A=this.GetParameter("plckPostId");
if(A){C=C+"&plckPostId="+A
}var B=this.GetParameter("plckCurrentPage");
if(!B){B="0"
}C=C+"&plckCurrentPage="+B;
C+="&plckCategoryCurrentPage="+this.GetParameter("plckCategoryCurrentPage");
return this.ForumSend("ForumEditPost","forumDest","ForumMain",C)
};
SiteLifeProxy.prototype.ForumEditProfile=function(){return this.ForumSend("ForumEditProfile","forumDest","ForumMain","plckRedirectUrl="+this.EscapeValue(window.location.href))
};
SiteLifeProxy.prototype.ToggleExpand=function(E,F){if(!this.collapsedCategories){var B=document.cookie&&document.cookie.match(/forumCatState=([^;]+)/);
B=(B?B[1].replace(/^\s+|\s+$/g,""):[]);
this.collapsedCategories=(B.length?unescape(B).split("|"):[])
}var J=document.getElementById(F),I=document.getElementById(E),A=F.split(":")[1],H=this.collapsedCategories,C;
if(J.style.display=="none"){J.style.display="block";
I.src=this.__baseUrl+"/Content/images/forums/minus.gif";
for(var G=0,D=H.length;
G<D;
G++){if((H[G]==A)||(H[G]==="")){H.splice(G,1)
}}}else{J.style.display="none";
H.push(A);
I.src=this.__baseUrl+"/Content/images/forums/plus.gif"
}this.SetCookie("forumCatState",H.join("|"))
};
SiteLifeProxy.prototype.ForumSearch=function(C){var B=document.getElementById("plckSearchText"+C).value;
B=B.replace(/^\s\s*/,"").replace(/\s\s*$/,"");
if(B.length==0){alert("Please enter a search term.")
}else{B=FixSearchString(B);
var A=document.getElementById("plckSearchArea"+C).value;
this.LoadForumPage("ForumSearchPaginate","plckSearchText",B,"plckSearchArea",A,"plckCurrentPage","0")
}return false
};
SiteLifeProxy.prototype.ForumSearchKeyPress=function(A,B){if(IsEnter(A)){return this.ForumSearch(B)
}else{return true
}};
SiteLifeProxy.prototype.ForumSearchPaginate=function(){return this.ForumSend("ForumSearchPaginate","forumDest","ForumMain","plckSearchArea="+this.GetParameter("plckSearchArea")+"&plckSearchText="+this.GetParameter("plckSearchText")+"&plckCurrentPage="+this.GetParameter("plckCurrentPage"))
};
SiteLifeProxy.prototype.ForumSpecificForumSearchKeyPress=function(B,C,A){if(IsEnter(B)){return this.ForumSpecificForumSearch(C,A)
}else{return true
}};
SiteLifeProxy.prototype.ForumSpecificForumSearch=function(C,A){var B=document.getElementById("plckSearchText"+C).value;
B=B.replace(/^\s\s*/,"").replace(/\s\s*$/,"");
if(B.length==0){alert("Please enter a search term.")
}else{B=FixSearchString(B);
this.LoadForumPage("ForumSearchSpecificForumPaginate","plckSearchText",B,"plckForumId",A,"plckCurrentPage","0")
}return false
};
SiteLifeProxy.prototype.ForumSearchSpecificForumPaginate=function(A){return this.ForumSend("ForumSearchSpecificForumPaginate","forumDest","ForumMain","plckForumId="+this.GetParameter("plckForumId")+"&plckSearchText="+this.GetParameter("plckSearchText")+"&plckCurrentPage="+this.GetParameter("plckCurrentPage"))
};
SiteLifeProxy.prototype.LoadForumPage=function(A,C,B){var D=new Object();
D.plckForumPage=A;
for(ii=1;
ii<this.LoadForumPage.arguments.length;
ii+=2){D[this.LoadForumPage.arguments[ii]]=this.LoadForumPage.arguments[ii+1]
}this.ReloadPage(D);
return false
};
SiteLifeProxy.prototype.ForumSend=function(A,B,E,F){var D=this.__baseUrl+"/Forums/"+A+"?plckElementId="+B;
if(F){D+="&"+F
}var C=this.GetParameter("plckPostSort");
if(C!=null){D+="&plckPostSort="+C
}this.__Send(D,E,"widget:forums",arguments);
return false
};
SiteLifeProxy.prototype.ForumDiscussionEdit=function(B,A,C){return this.ForumSend("ForumDiscussionEdit","forumDest","ForumMain","plckDiscussionId="+B+"&plckCurrentView="+A+"&plckCurrentPage="+C+"&plckRedirectUrl="+this.EscapeValue(window.location.href))
};
SiteLifeProxy.prototype.ForumPostEdit=function(B,C,A,D){return this.ForumSend("ForumEditPost","forumDest","ForumMain","plckDiscussionId="+B+"&plckPostId="+C+"&plckCurrentView="+A+"&plckCurrentPage="+D+"&plckRedirectUrl="+this.EscapeValue(window.location.href))
};
SiteLifeProxy.prototype.ForumDiscussionToggleIsSticky=function(B,A,D){var C=this.GetParameter("plckDiscussionCreatedSortOrder");
if(C!=null){return this.ForumSend("ForumDiscussionToggleIsSticky","forumDest","ForumMain","plckDiscussionId="+B+"&plckCurView="+A+"&plckCurrentPage="+D+"&plckDiscussionCreatedSortOrder="+C)
}return this.ForumSend("ForumDiscussionToggleIsSticky","forumDest","ForumMain","plckDiscussionId="+B+"&plckCurView="+A+"&plckCurrentPage="+D)
};
SiteLifeProxy.prototype.ForumDiscussionToggleIsClosed=function(B,A,D){var C=this.GetParameter("plckDiscussionCreatedSortOrder");
if(C!=null){return this.ForumSend("ForumDiscussionToggleIsClosed","forumDest","ForumMain","plckDiscussionId="+B+"&plckCurView="+A+"&plckCurrentPage="+D+"&plckDiscussionCreatedSortOrder="+C)
}return this.ForumSend("ForumDiscussionToggleIsClosed","forumDest","ForumMain","plckDiscussionId="+B+"&plckCurView="+A+"&plckCurrentPage="+D)
};
SiteLifeProxy.prototype.ForumDiscussionUpdateExcludeFromDiscoveryFlag=function(B,A,E,D){var C=this.GetParameter("plckDiscussionCreatedSortOrder");
if(C!=null){return this.ForumSend("ForumDiscussionUpdateExcludeFromDiscoveryFlag","forumDest","ForumMain","plckDiscussionId="+B+"&plckCurView="+A+"&plckCurrentPage="+E+"&plckExcludeFromDiscovery="+D+"&plckDiscussionCreatedSortOrder="+C)
}return this.ForumSend("ForumDiscussionUpdateExcludeFromDiscoveryFlag","forumDest","ForumMain","plckDiscussionId="+B+"&plckCurView="+A+"&plckCurrentPage="+E+"&plckExcludeFromDiscovery="+D)
};
SiteLifeProxy.prototype.ForumDiscussionDelete=function(A,D,C){var B=this.GetParameter("plckDiscussionCreatedSortOrder");
if(confirm(C)==true){if(B!=null){return this.ForumSend("ForumDiscussionDelete","forumDest","ForumMain","plckDiscussionId="+A+"&plckCurrentPage="+D+"&plckDiscussionCreatedSortOrder="+B)
}return this.ForumSend("ForumDiscussionDelete","forumDest","ForumMain","plckDiscussionId="+A+"&plckCurrentPage="+D)
}else{return false
}};
SiteLifeProxy.prototype.MoveDiscussion=function(B,D,A,C){return this.ForumSend("MoveDiscussion","forumDest","ForumMain","discussionKey="+B+"&toForum="+D+"&plckCurView="+A+"&plckCurrentPage="+C)
};
SiteLifeProxy.prototype.ForumEdit=function(A,B){return this.ForumSend("ForumEdit","forumDest","ForumMain","plckForumId="+A+"&plckCurrentPage="+B)
};
SiteLifeProxy.prototype.ForumToggleIsClosed=function(A,B){return this.ForumSend("ForumToggleIsClosed","forumDest","ForumMain","plckForumId="+A+"&plckCurrentPage="+B)
};
SiteLifeProxy.prototype.ForumDelete=function(A,B){if(confirm(B)==true){return this.ForumSend("ForumDelete","forumDest","ForumMain","plckForumId="+A)
}else{return false
}};
SiteLifeProxy.prototype.ForumPostDelete=function(A,C,B){if(confirm(B)==true){return this.ForumSend("ForumPostDelete","forumDest","ForumMain","plckPostId="+A+"&plckCurPage="+C)
}else{return false
}};
SiteLifeProxy.prototype.ForumBlockUser=function(A,B,D,C){return this.ForumSend("ForumBlockUser","forumDest","ForumMain","plckPostId="+A+"&plckUserId="+B+"&plckValue="+D+"&plckCurPage="+C)
};
SiteLifeProxy.prototype.ForumMyDiscussionsPaginate=function(A){return this.ForumSend("ForumMyDiscussionsPaginate","ForumMyDiscussionsDiv","ForumMain","plckMyDiscussionsPage="+A)
};
SiteLifeProxy.prototype.ForumImage=function(){var B="plckRedirectUrl="+this.GetParameter("plckRedirectUrl");
var A=this.GetParameter("plckPhotoId");
B+="&plckPhotoId="+A;
return this.ForumSend("ForumImage","forumDest","ForumMain",B)
};
SiteLifeProxy.prototype.BaseAdParam=function(){var C="plckRedirectUrl="+this.EscapeValue(window.location.href);
var B=this.GetParameter("plckForumId");
C+="&plckForumId="+B;
var A=this.GetParameter("plckCurrentView");
if(A){C+="&plckCurrentView="+A
}var D=this.GetParameter("plckCurrentPage");
if(D){C+="&plckCurrentPage="+D
}return C
};
SiteLifeProxy.prototype.ForumJoinGroup=function(){var A=this.BaseAdParam();
var B=this.GetParameter("plckDiscussionId");
if(B){A+="&plckDiscussionId="+B
}return this.ForumSend("ForumJoinGroup","forumDest","ForumMain",A)
};
SiteLifeProxy.prototype.ForumLeaveGroup=function(){var A=this.BaseAdParam();
var B=this.GetParameter("plckDiscussionId");
if(B){A+="&plckDiscussionId="+B
}return this.ForumSend("ForumLeaveGroup","forumDest","ForumMain",A)
};
SiteLifeProxy.prototype.ForumGroupMemberList=function(){var A=this.BaseAdParam();
return this.ForumSend("ForumGroupMemberList","forumDest","ForumMain",A)
};
SiteLifeProxy.prototype.ForumInviteUser=function(){var A=this.BaseAdParam();
return this.ForumSend("ForumInviteUser","forumDest","ForumMain",A)
};
SiteLifeProxy.prototype.ForumGroupConfirm=function(){var B=this.BaseAdParam();
var A=this.GetParameter("plckConfirmType");
if(A){B+="&plckConfirmType="+A
}return this.ForumSend("ForumGroupConfirm","forumDest","ForumMain",B)
};
SiteLifeProxy.prototype.ForumSendInviteToUser=function(B,A){var D=this.BaseAdParam(),E=B||this.GetParameter("plckUsername"),C=A||this.GetParameter("plckUserEmail");
if(E){D+="&plckUsername="+E
}if(C){D+="&plckUserEmail"+C
}return this.ForumSend("ForumSendInviteToUser","forumDest","ForumMain",D)
};
SiteLifeProxy.prototype.ForumAddEnemy=function(A){var B=this.BaseAdParam();
B+="&enemyKey="+A;
var C=this.GetParameter("plckDiscussionId");
if(C){B+="&plckDiscussionId="+C
}return this.ForumSend("ForumAddEnemy","forumDest","ForumMain",B)
};
SiteLifeProxy.prototype.ForumRemoveEnemy=function(A){var B=this.BaseAdParam();
B+="&enemyKey="+A;
var C=this.GetParameter("plckDiscussionId");
if(C){B+="&plckDiscussionId="+C
}return this.ForumSend("ForumRemoveEnemy","forumDest","ForumMain",B)
};
function slGetElementsByClassName(G,F){if(!F){F=document.getElementsByTagName("body")[0]
}var A=[];
var E=new RegExp("\\b"+G+"\\b");
var D=F.getElementsByTagName("*");
for(var C=0,B=D.length;
C<B;
C++){if(E.test(D[C].className)){A.push(D[C])
}}return A
}function hideAllPostsFromUser(B){var A=slGetElementsByClassName("postVisibilityContainer_"+B,document);
var C=slGetElementsByClassName("postHiddenMessage_"+B,document);
for(i=0;
i<A.length;
i++){A[i].style.display="none";
C[i].style.display="block"
}gSiteLife.ForumAddEnemy(B)
}function showAllPostsFromUser(B){var A=slGetElementsByClassName("postVisibilityContainer_"+B,document);
var C=slGetElementsByClassName("postHiddenMessage_"+B,document);
for(i=0;
i<A.length;
i++){A[i].style.display="block";
C[i].style.display="none"
}gSiteLife.ForumRemoveEnemy(B)
}SiteLifeProxy.prototype.ForumChangeSort=function(E,D){var C=document.location.href;
var B;
var A=new RegExp("([?|&])"+E+"=.*?(&|$)","i");
if(C.match(A)){B=C.replace(A,"$1"+E+"="+D+"$2")
}else{if(C.indexOf("?")>=0){B=C+"&"+E+"="+D
}else{B=C+"?"+E+"="+D
}}document.location.href=B
};
SiteLifeProxy.prototype.ForumSetLastRead=function(A,D){var C=this.BaseAdParam();
C+="&discussionKey="+A;
if(D){C+="&postKey="+D
}var B=this.ForumSend("ForumSetLastRead","forumDest","ForumMain",C);
if(!D){setTimeout("location.reload();",10)
}return B
};
SiteLifeProxy.prototype.ForumSetAllRead=function(A){var C=this.BaseAdParam();
C+="&forumKey="+A;
var B=this.ForumSend("ForumSetAllRead","forumDest","ForumMain",C);
setTimeout("location.reload();",10);
return B
};
SiteLifeProxy.prototype.CategorySetAllRead=function(A){var C=this.BaseAdParam();
C+="&categoryKey="+A;
var B=this.ForumSend("CategorySetAllRead","forumDest","ForumMain",C);
setTimeout("location.reload();",10);
return B
};
SiteLifeProxy.prototype.ForumDiscussionSubscribe=function(A,C){var B=this.__baseUrl+"/Forums/ForumDiscussionSubscribe?plckDiscussionId="+A+"&plckElementId="+C;
this.__Send(B,"ForumDiscussionSubscribe");
return false
};
SiteLifeProxy.prototype.ForumDiscussionUnSubscribe=function(A,C){var B=this.__baseUrl+"/Forums/ForumDiscussionUnSubscribe?plckDiscussionId="+A+"&plckElementId="+C;
this.__Send(B,"ForumDiscussionUnSubscribe");
return false
};
SiteLifeProxy.prototype.ForumSubscribe=function(A,C){var B=this.__baseUrl+"/Forums/ForumSubscribe?plckForumId="+A+"&plckElementId="+C;
this.__Send(B,"ForumSubscribe");
return false
};
SiteLifeProxy.prototype.ForumUnSubscribe=function(A,C){var B=this.__baseUrl+"/Forums/ForumUnSubscribe?plckForumId="+A+"&plckElementId="+C;
this.__Send(B,"ForumUnSubscribe");
return false
};
SiteLifeProxy.prototype.ForumCategory=function(A){this.WriteDiv("forumDest","Forum_Main");
var B;
if(typeof (A)=="undefined"){B=this.GetParameter("plckCategoryId")
}else{B=escape(A)
}return this.ForumSend("ForumCategory","forumDest","ForumMain","plckCategoryId="+B)
};
SiteLifeProxy.prototype.GetUrlParts=function(B){B=B.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");
var A="[\\?&]"+B+"=([^&#]*)";
var D=new RegExp(A);
var C=D.exec(window.location.href);
if(C==null){return""
}else{return C[1]
}};
SiteLifeProxy.prototype.Recommend=function(E,A,C){E=E||"ExternalResource";
A=A||gSiteLife.__StripAnchorFromUrl(window.location.href);
C=C||window.location.href;
A=A;
var B="Recommend"+new Date().getTime();
this.WriteDiv(B,"Recommend");
var D=this.__baseUrl+"/Recommend/Recommend?plckElementId="+B+"&plckTargetKey="+gSiteLife.EscapeValue(A)+"&plckTargetKeyType="+E+"&plckTargetUrl="+gSiteLife.EscapeValue(C);
this.__Send(D);
return false
};
SiteLifeProxy.prototype.PostRecommendation=function(E,A,C,F,B){B=B||window.location.href;
var D=this.__baseUrl+"/Recommend/PostRecommendation?plckElementId="+C+"&plckTargetKey="+gSiteLife.EscapeValue(A)+"&plckTargetKeyType="+E+"&plckTargetUrl="+gSiteLife.EscapeValue(B);
if(F){D+="&plckParentTitle="+gSiteLife.EscapeValue(F)
}this.__Send(D);
return false
};
SiteLifeProxy.prototype.RateItem=function(G,F,C,D,E,A){var B=this.__baseUrl+"/Rating/Rate?plckElementId="+D+"&plckTargetKey="+gSiteLife.EscapeValue(G)+"&plckTargetKeyType="+F+"&plckRating="+C+"&plckTargetUrl="+gSiteLife.EscapeValue(A);
if(E){B+="&plckParentTitle="+E
}this.__Send(B);
return false
};
SiteLifeProxy.prototype.Rating=function(E,D,B){E=E||"ExternalResource";
D=D||gSiteLife.__StripAnchorFromUrl(window.location.href);
B=B||window.location.href;
var A=D+"_plckRateDiv_"+new Date().getTime()+Math.floor(Math.random()*1000);
this.WriteDiv(A,"Rating");
var C=this.__baseUrl+"/Rating/GetRating?plckElementId="+A+"&plckTargetKey="+gSiteLife.EscapeValue(D)+"&plckTargetKeyType="+E+"&plckTargetUrl="+gSiteLife.EscapeValue(B);
this.__Send(C);
return false
};
SiteLifeProxy.prototype.RatingClickStar=function(C,A,E,D,F,B){gSiteLife.RateItem(A,E,C,D,F,B)
};
SiteLifeProxy.prototype.RatingFillStar=function(E,C,F){var B=document.getElementsByName(C+"Stars");
var D=document.getElementById(C+"Rating-label");
var A=parseInt(document.getElementById(C+"Rating-value").value);
if(E<0&&A>=0){E=A
}for(i=1;
i<=B.length;
i++){if(E>0&&i<=E){B[i-1].src=this.__baseUrl+"/Content/images/icons/fullstar.gif"
}else{B[i-1].src=this.__baseUrl+"/Content/images/icons/emptystar.gif"
}}D.innerHTML=F
};
SiteLifeProxy.prototype.Review=function(F,D,A,H,C,E,G){var B="Reviews_Container";
this.WriteDiv(B);
return this.GetReviews(F,D,A,H,C,E,G)
};
SiteLifeProxy.prototype.ReviewClickStar=function(B,A){document.getElementById(A+"Rating-value").value=B
};
SiteLifeProxy.prototype.GetReviews=function(F,D,A,H,B,E,G){F=F||"ExternalResource";
D=gSiteLife.EscapeValue(D)||gSiteLife.EscapeValue(gSiteLife.__StripAnchorFromUrl(window.location.href));
A=gSiteLife.EscapeValue(A)||gSiteLife.EscapeValue(document.title);
H=H||"Uncategorized";
B=B||10;
E=E||"TimeStampAscending";
G=G||0;
var C=this.__baseUrl+"/Review/Reviews?plckElementId=Reviews_Container&plckTargetKey="+D+"&plckTargetKeyType="+F+"&plckReviewedTitle="+A+"&plckReviewCategory="+H+"&plckSort="+E+"&plckParentUrl="+gSiteLife.EscapeValue(gSiteLife.__StripAnchorFromUrl(window.location.href))+"&plckParentTitle="+gSiteLife.EscapeValue(document.title)+"&plckCurrentPage="+G+"&plckPageSize="+B;
this.__Send(C);
return false
};
SiteLifeProxy.prototype.SummaryArticlesMostCommented=function(A){return this.SummaryPanel("SummaryArticlesMostCommented",A)
};
SiteLifeProxy.prototype.SummaryArticlesMostRecommended=function(A){return this.SummaryPanel("SummaryArticlesMostRecommended",A)
};
SiteLifeProxy.prototype.SummaryPhotosRecentPhotosByTag=function(B,A,C){return this.SummaryPanel("SummaryPhotosRecentPhotosByTag",B,A,C)
};
SiteLifeProxy.prototype.SummaryPhotosRecentUserPhotos=function(B,A,C){return this.SummaryPanel("SummaryPhotosRecentUserPhotos",B,A,C)
};
SiteLifeProxy.prototype.SummaryPhotosRecentPhotos=function(B,A,C){return this.SummaryPanel("SummaryPhotosRecentPhotos",B,A,C)
};
SiteLifeProxy.prototype.SummaryPhotosMostRecommendedPhotos=function(A,B){return this.SummaryPanel("SummaryPhotosMostRecommendedPhotos",A,"",B)
};
SiteLifeProxy.prototype.SummaryPhotosMostRecommendedUserPhotos=function(A,B){return this.SummaryPanel("SummaryPhotosMostRecommendedUserPhotos",A,"",B)
};
SiteLifeProxy.prototype.SummaryPhotosMostRecommendedGalleries=function(A){return this.SummaryPanel("SummaryPhotosMostRecommendedGalleries",A)
};
SiteLifeProxy.prototype.SummaryForumsRecentDiscussions=function(E,F,D){var A="Summary_Container"+this.SID;
if(this.numSummaryWidgets){A+=this.numSummaryWidgets++
}else{this.numSummaryWidgets=1
}this.WriteDiv(A,A);
var C="SummaryForumsRecentDiscussions";
var B="";
return this.SummarySend(C,A,A+"Script","plckCount",E,"plckTagFilter",B,"plckFilterBySiteOfOrigin",F,"plckParentIds",D)
};
SiteLifeProxy.prototype.SummaryBlogsRecent=function(B,A){return this.SummaryPanel("SummaryBlogsRecent",B,A)
};
SiteLifeProxy.prototype.SummaryBlogsRecentPostsByTag=function(B,A,C){return this.SummaryPanel("SummaryBlogsRecentPostsByTag",B,A,C)
};
SiteLifeProxy.prototype.SummaryBlogsRecentPosts=function(B,A,C){return this.SummaryPanel("SummaryBlogsRecentPosts",B,A,C)
};
SiteLifeProxy.prototype.SummaryBlogsMostRecommendedPosts=function(B,A,C){return this.SummaryPanel("SummaryBlogsMostRecommendedPosts",B,A,C)
};
SiteLifeProxy.prototype.SummaryPersonaProfileRecent=function(A){return this.SummaryPanel("SummaryPersonaProfileRecent",A)
};
SiteLifeProxy.prototype.SummaryPanel=function(C,D,B,E){var A="Summary_Container"+this.SID;
if(this.numSummaryWidgets){A+=this.numSummaryWidgets++
}else{this.numSummaryWidgets=1
}this.WriteDiv(A,A);
return this.SummarySend(C,A,A+"Script","plckCount",D,"plckTagFilter",B,"plckFilterBySiteOfOrigin",E)
};
SiteLifeProxy.prototype.SummarySend=function(A,B,D){var C=this.__baseUrl+"/Summary/"+A+"?plckElementId="+B;
for(ii=3;
ii<this.SummarySend.arguments.length;
ii+=2){if(this.SummarySend.arguments[ii+1]){C+="&"+this.SummarySend.arguments[ii]+"="+this.SummarySend.arguments[ii+1]
}}this.__Send(C,D);
return false
};
var gSiteLife=new SiteLifeProxy(AARP.socnet.pluckHost+"/ver1.0");
gSiteLife.apiKey="${APIKey}";
gSiteLife.SID="";
gSiteLife.ViewTrackingEnabled=true;
gSiteLife.AddEventHandler("persona:header",function(){setTimeout(function(){loadScript(AARP.socnet.pluckHost+"/ver1.0/Direct/FacebookProxy",function(){gSiteLife.checkFacebookConnectStatus()
})
},100)
});
gSiteLife.AddEventHandler("ExternalResourceLink",function(A){return A
});
if(gSiteLife.GetParameter("plckPersonaPage")&&gSiteLife.GetParameter("plckPersonaPage").indexOf("PersonaBlog")==0){document.write("<link href='"+AARP.socnet.pluckHost+"/ver1.0/blog/BlogRss?plckBlogId="+gSiteLife.GetParameter("UID")+"' title='"+gSiteLife.GetParameter("UID")+" Blog'rel='alternate' type='application/rss+xml' />")
};
