/* http://www.valleymorningstar.com/common/tools/load.php?js=common_sitelife-json,common_sitelife-prototype,common_sitelife-pork-iframe,common_sitelife-requestbatch,common_sitelife-requesttypes */ var JSON=function(){var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},s={"boolean":function(x){return String(x)},number:function(x){return isFinite(x)?String(x):"null"},string:function(x){if(/["\\\x00-\x1f]/.test(x)){x=x.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c}c=b.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})}return'"'+x+'"'},object:function(x){if(x){var a=[],b,f,i,l,v;if(x instanceof Array){a[0]="[";l=x.length;for(i=0;i="0"&&ch<="9"){n+=ch;next()}if(ch=="."){n+=".";while(next()&&ch>="0"&&ch<="9"){n+=ch}}if(ch=="e"||ch=="E"){n+="e";next();if(ch=="-"||ch=="+"){n+=ch;next()}while(ch>="0"&&ch<="9"){n+=ch;next()}}v=+n;if(!isFinite(v)){}else{return v}}function word(){switch(ch){case"t":if(next()=="r"&&next()=="u"&&next()=="e"){next();return true}break;case"f":if(next()=="a"&&next()=="l"&&next()=="s"&&next()=="e"){next();return false}break;case"n":if(next()=="u"&&next()=="l"&&next()=="l"){next();return null}break}error("Syntax error")}function value(){white();switch(ch){case"{":return object();case"[":return array();case'"':return string();case"-":return number();default:return ch>="0"&&ch<="9"?number():word()}}return value()}}}();var Prototype={Version:"1.5.0_rc1",ScriptFragment:"(?:)((\n|\r|.)*?)(?:<\/script>)",emptyFunction:function(){},K:function(A){return A}};var Class={create:function(){return function(){this.initialize.apply(this,arguments)}}};var Abstract=new Object();Object.extend=function(A,C){for(var B in C){A[B]=C[B]}return A};Object.extend(Object,{inspect:function(A){try{if(A==undefined){return"undefined"}if(A==null){return"null"}return A.inspect?A.inspect():A.toString()}catch(B){if(B instanceof RangeError){return"..."}throw B}},keys:function(A){var B=[];for(var C in A){B.push(C)}return B},values:function(B){var A=[];for(var C in B){A.push(B[C])}return A},clone:function(A){return Object.extend({},A)}});Function.prototype.bind=function(){var A=this,C=$A(arguments),B=C.shift();return function(){return A.apply(B,C.concat($A(arguments)))}};Function.prototype.bindAsEventListener=function(C){var A=this,B=$A(arguments),C=B.shift();return function(D){return A.apply(C,[(D||window.event)].concat(B).concat($A(arguments)))}};Object.extend(Number.prototype,{toColorPart:function(){var A=this.toString(16);if(this<16){return"0"+A}return A},succ:function(){return this+1},times:function(A){$R(0,this,true).each(A);return this}});var Try={these:function(){var C;for(var B=0;B0){if(B=D.match(E)){A+=D.slice(0,B.index);A+=(C(B)||"").toString();D=D.slice(B.index+B[0].length)}else{A+=D,D=""}}return A},sub:function(C,A,B){A=this.gsub.prepareReplacement(A);B=B===undefined?1:B;return this.gsub(C,function(D){if(--B<0){return D[0]}return A(D)})},scan:function(B,A){this.gsub(B,A);return this},truncate:function(B,A){B=B||30;A=A===undefined?"...":A;return this.length>B?this.slice(0,B-A.length)+A:this},strip:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"")},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,"img"),"")},extractScripts:function(){var B=new RegExp(Prototype.ScriptFragment,"img");var A=new RegExp(Prototype.ScriptFragment,"im");return(this.match(B)||[]).map(function(C){return(C.match(A)||["",""])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)})},escapeHTML:function(){var B=document.createElement("div");var A=document.createTextNode(this);B.appendChild(A);return B.innerHTML},unescapeHTML:function(){var A=document.createElement("div");A.innerHTML=this.stripTags();return A.childNodes[0]?A.childNodes[0].nodeValue:""},toQueryParams:function(){var A=this.match(/^\??(.*)$/)[1].split("&");return A.inject({},function(E,B){var D=B.split("=");var C=D[1]?decodeURIComponent(D[1]):undefined;E[decodeURIComponent(D[0])]=C;return E})},toArray:function(){return this.split("")},camelize:function(){var D=this.split("-");if(D.length==1){return D[0]}var B=this.indexOf("-")==0?D[0].charAt(0).toUpperCase()+D[0].substring(1):D[0];for(var C=1,A=D.length;C=A){A=D}});return A},min:function(B){var A;this.each(function(D,C){D=(B||Prototype.K)(D,C);if(A==undefined||DB?1:0}).pluck("value")},toArray:function(){return this.collect(Prototype.K)},zip:function(){var B=Prototype.K,A=$A(arguments);if(typeof A.last()=="function"){B=A.pop()}var C=[this].concat(A).map($A);return this.map(function(E,D){return B(C.pluck(D))})},inspect:function(){return"#"}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray});var $A=Array.from=function(C){if(!C){return[]}if(C.toArray){return C.toArray()}else{var B=[];for(var A=0;A1?this:this[0]},uniq:function(){return this.inject([],function(B,A){return B.include(A)?B:B.concat([A])})},inspect:function(){return"["+this.map(Object.inspect).join(", ")+"]"}});var Hash={_each:function(B){for(var A in this){var C=this[A];if(typeof C=="function"){continue}var D=[A,C];D.key=A;D.value=C;B(D)}},keys:function(){return this.pluck("key")},values:function(){return this.pluck("value")},merge:function(A){return $H(A).inject($H(this),function(B,C){B[C.key]=C.value;return B})},toQueryString:function(){return this.map(function(A){return A.map(encodeURIComponent).join("=")}).join("&")},inspect:function(){return"#"}};function $H(A){var B=Object.extend({},A||{});Object.extend(B,Enumerable);Object.extend(B,Hash);return B}ObjectRange=Class.create();Object.extend(ObjectRange.prototype,Enumerable);Object.extend(ObjectRange.prototype,{initialize:function(C,A,B){this.start=C;this.end=A;this.exclusive=B},_each:function(A){var B=this.start;while(this.include(B)){A(B);B=B.succ()}},include:function(A){if(A=200&&this.transport.status<300)},responseIsFailure:function(){return !this.responseIsSuccess()}};Ajax.Request=Class.create();Ajax.Request.Events=["Uninitialized","Loading","Loaded","Interactive","Complete"];Ajax.Request.prototype=Object.extend(new Ajax.Base(),{initialize:function(B,A){this.transport=Ajax.getTransport();this.setOptions(A);this.request(B)},request:function(B){var C=this.options.parameters||"";if(C.length>0){C+="&_="}if(this.options.method!="get"&&this.options.method!="post"){C+=(C.length>0?"&":"")+"_method="+this.options.method;this.options.method="post"}try{this.url=B;if(this.options.method=="get"&&C.length>0){this.url+=(this.url.match(/\?/)?"&":"?")+C}Ajax.Responders.dispatch("onCreate",this,this.transport);this.transport.open(this.options.method,this.url,this.options.asynchronous);if(this.options.asynchronous){setTimeout(function(){this.respondToReadyState(1)}.bind(this),10)}this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();var A=this.options.postBody?this.options.postBody:C;this.transport.send(this.options.method=="post"?A:null);if(!this.options.asynchronous&&this.transport.overrideMimeType){this.onStateChange()}}catch(D){this.dispatchException(D)}},setRequestHeaders:function(){var B=["X-Requested-With","XMLHttpRequest","X-Prototype-Version",Prototype.Version,"Accept","text/javascript, text/html, application/xml, text/xml, */*"];if(this.options.method=="post"){B.push("Content-type",this.options.contentType);if(this.transport.overrideMimeType){B.push("Connection","close")}}if(this.options.requestHeaders){B.push.apply(B,this.options.requestHeaders)}for(var A=0;A"},recursivelyCollect:function(A,C){A=$(A);var B=[];while(A=A[C]){if(A.nodeType==1){B.push(Element.extend(A))}}return B},ancestors:function(A){return $(A).recursivelyCollect("parentNode")},descendants:function(A){A=$(A);return $A(A.getElementsByTagName("*"))},previousSiblings:function(A){return $(A).recursivelyCollect("previousSibling")},nextSiblings:function(A){return $(A).recursivelyCollect("nextSibling")},siblings:function(A){A=$(A);return A.previousSiblings().reverse().concat(A.nextSiblings())},match:function(B,A){B=$(B);if(typeof A=="string"){A=new Selector(A)}return A.match(B)},up:function(B,C,A){return Selector.findElement($(B).ancestors(),C,A)},down:function(B,C,A){return Selector.findElement($(B).descendants(),C,A)},previous:function(B,C,A){return Selector.findElement($(B).previousSiblings(),C,A)},next:function(B,C,A){return Selector.findElement($(B).nextSiblings(),C,A)},getElementsBySelector:function(){var A=$A(arguments),B=$(A.shift());return Selector.findChildElements(B,A)},getElementsByClassName:function(A,B){A=$(A);return document.getElementsByClassName(B,A)},getHeight:function(A){A=$(A);return A.offsetHeight},classNames:function(A){return new Element.ClassNames(A)},hasClassName:function(A,B){if(!(A=$(A))){return }return Element.classNames(A).include(B)},addClassName:function(A,B){if(!(A=$(A))){return }Element.classNames(A).add(B);return A},removeClassName:function(A,B){if(!(A=$(A))){return }Element.classNames(A).remove(B);return A},observe:function(){Event.observe.apply(Event,arguments);return $A(arguments).first()},stopObserving:function(){Event.stopObserving.apply(Event,arguments);return $A(arguments).first()},cleanWhitespace:function(B){B=$(B);var C=B.firstChild;while(C){var A=C.nextSibling;if(C.nodeType==3&&!/\S/.test(C.nodeValue)){B.removeChild(C)}C=A}return B},empty:function(A){return $(A).innerHTML.match(/^\s*$/)},childOf:function(B,A){B=$(B),A=$(A);while(B=B.parentNode){if(B==A){return true}}return false},scrollTo:function(B){B=$(B);var A=B.x?B.x:B.offsetLeft,C=B.y?B.y:B.offsetTop;window.scrollTo(A,C);return B},getStyle:function(B,C){B=$(B);var D=B.style[C.camelize()];if(!D){if(document.defaultView&&document.defaultView.getComputedStyle){var A=document.defaultView.getComputedStyle(B,null);D=A?A.getPropertyValue(C):null}else{if(B.currentStyle){D=B.currentStyle[C.camelize()]}}}if(window.opera&&["left","top","right","bottom"].include(C)){if(Element.getStyle(B,"position")=="static"){D="auto"}}return D=="auto"?null:D},setStyle:function(B,C){B=$(B);for(var A in C){B.style[A.camelize()]=C[A]}return B},getDimensions:function(B){B=$(B);if(Element.getStyle(B,"display")!="none"){return{width:B.offsetWidth,height:B.offsetHeight}}var A=B.style;var E=A.visibility;var C=A.position;A.visibility="hidden";A.position="absolute";A.display="";var F=B.clientWidth;var D=B.clientHeight;A.display="none";A.position=C;A.visibility=E;return{width:F,height:D}},makePositioned:function(A){A=$(A);var B=Element.getStyle(A,"position");if(B=="static"||!B){A._madePositioned=true;A.style.position="relative";if(window.opera){A.style.top=0;A.style.left=0}}return A},undoPositioned:function(A){A=$(A);if(A._madePositioned){A._madePositioned=undefined;A.style.position=A.style.top=A.style.left=A.style.bottom=A.style.right=""}return A},makeClipping:function(A){A=$(A);if(A._overflow){return }A._overflow=A.style.overflow||"auto";if((Element.getStyle(A,"overflow")||"visible")!="hidden"){A.style.overflow="hidden"}return A},undoClipping:function(A){A=$(A);if(!A._overflow){return }A.style.overflow=A._overflow=="auto"?"":A._overflow;A._overflow=null;return A}};if(document.all){Element.Methods.update=function(C,B){C=$(C);var A=C.tagName.toUpperCase();if(["THEAD","TBODY","TR","TD"].indexOf(A)>-1){var D=document.createElement("div");switch(A){case"THEAD":case"TBODY":D.innerHTML=""+B.stripScripts()+"
";depth=2;break;case"TR":D.innerHTML=""+B.stripScripts()+"
";depth=3;break;case"TD":D.innerHTML="
"+B.stripScripts()+"
";depth=4}$A(C.childNodes).each(function(E){C.removeChild(E)});depth.times(function(){D=D.firstChild});$A(D.childNodes).each(function(E){C.appendChild(E)})}else{C.innerHTML=B.stripScripts()}setTimeout(function(){B.evalScripts()},10);return C}}Object.extend(Element,Element.Methods);var _nativeExtensions=false;if(!window.HTMLElement&&/Konqueror|Safari|KHTML/.test(navigator.userAgent)){["","Form","Input","TextArea","Select"].each(function(B){var A=window["HTML"+B+"Element"]={};A.prototype=document.createElement(B?B.toLowerCase():"div").__proto__})}Element.addMethods=function(A){Object.extend(Element.Methods,A||{});function B(E,C){var D=Element.extend.cache;for(var G in E){var F=E[G];C[G]=D.findOrStore(F)}}if(typeof HTMLElement!="undefined"){B(Element.Methods,HTMLElement.prototype);B(Form.Methods,HTMLFormElement.prototype);[HTMLInputElement,HTMLTextAreaElement,HTMLSelectElement].each(function(C){B(Form.Element.Methods,C.prototype)});_nativeExtensions=true}};var Toggle=new Object();Toggle.display=Element.toggle;Abstract.Insertion=function(A){this.adjacency=A};Abstract.Insertion.prototype={initialize:function(B,C){this.element=$(B);this.content=C.stripScripts();if(this.adjacency&&this.element.insertAdjacentHTML){try{this.element.insertAdjacentHTML(this.adjacency,this.content)}catch(D){var A=this.element.tagName.toLowerCase();if(A=="tbody"||A=="tr"){this.insertContent(this.contentFromAnonymousTable())}else{throw D}}}else{this.range=this.element.ownerDocument.createRange();if(this.initializeRange){this.initializeRange()}this.insertContent([this.range.createContextualFragment(this.content)])}setTimeout(function(){C.evalScripts()},10)},contentFromAnonymousTable:function(){var A=document.createElement("div");A.innerHTML=""+this.content+"
";return $A(A.childNodes[0].childNodes[0].childNodes)}};var Insertion=new Object();Insertion.Before=Class.create();Insertion.Before.prototype=Object.extend(new Abstract.Insertion("beforeBegin"),{initializeRange:function(){this.range.setStartBefore(this.element)},insertContent:function(A){A.each((function(B){this.element.parentNode.insertBefore(B,this.element)}).bind(this))}});Insertion.Top=Class.create();Insertion.Top.prototype=Object.extend(new Abstract.Insertion("afterBegin"),{initializeRange:function(){this.range.selectNodeContents(this.element);this.range.collapse(true)},insertContent:function(A){A.reverse(false).each((function(B){this.element.insertBefore(B,this.element.firstChild)}).bind(this))}});Insertion.Bottom=Class.create();Insertion.Bottom.prototype=Object.extend(new Abstract.Insertion("beforeEnd"),{initializeRange:function(){this.range.selectNodeContents(this.element);this.range.collapse(this.element)},insertContent:function(A){A.each((function(B){this.element.appendChild(B)}).bind(this))}});Insertion.After=Class.create();Insertion.After.prototype=Object.extend(new Abstract.Insertion("afterEnd"),{initializeRange:function(){this.range.setStartAfter(this.element)},insertContent:function(A){A.each((function(B){this.element.parentNode.insertBefore(B,this.element.nextSibling)}).bind(this))}});Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(A){this.element=$(A)},_each:function(A){this.element.className.split(/\s+/).select(function(B){return B.length>0})._each(A)},set:function(A){this.element.className=A},add:function(A){if(this.include(A)){return }this.set(this.toArray().concat(A).join(" "))},remove:function(A){if(!this.include(A)){return }this.set(this.select(function(B){return B!=A}).join(" "))},toString:function(){return this.toArray().join(" ")}};Object.extend(Element.ClassNames.prototype,Enumerable);var Selector=Class.create();Selector.prototype={initialize:function(A){this.params={classNames:[]};this.expression=A.toString().strip();this.parseExpression();this.compileMatcher()},parseExpression:function(){function G(H){throw"Parse error in selector: "+H}if(this.expression==""){G("empty expression")}var F=this.params,E=this.expression,B,A,D,C;while(B=E.match(/^(.*)\[([a-z0-9_:-]+?)(?:([~\|!]?=)(?:"([^"]*)"|([^\]\s]*)))?\]$/i)){F.attributes=F.attributes||[];F.attributes.push({name:B[2],operator:B[3],value:B[4]||B[5]||""});E=B[1]}if(E=="*"){return this.params.wildcard=true}while(B=E.match(/^([^a-z0-9_-])?([a-z0-9_-]+)(.*)/i)){A=B[1],D=B[2],C=B[3];switch(A){case"#":F.id=D;break;case".":F.classNames.push(D);break;case"":case undefined:F.tagName=D.toUpperCase();break;default:G(E.inspect())}E=C}if(E.length>0){G(E.inspect())}},buildMatchExpression:function(){var D=this.params,C=[],B;if(D.wildcard){C.push("true")}if(B=D.id){C.push("element.id == "+B.inspect())}if(B=D.tagName){C.push("element.tagName.toUpperCase() == "+B.inspect())}if((B=D.classNames).length>0){for(var A=0;A=0){B=C.options[A];D=B.value||B.text}return[C.name,D]},selectMany:function(C){var D=[];for(var B=0;B=this.offset[1]&&C=this.offset[0]&&A=this.offset[1]&&this.ycomp=this.offset[0]&&this.xcomp-1)||window.opera)&&/\/Direct\/Process$/.test(D.action)&&D.elements&&(D.elements.length==1)){var A=D.action+"?jsonRequest="+escape(D.elements[0].value),F=this.transport.contentWindow||this.transport.contentDocument;if(A.length<80000){if(F.document){F=F.document}try{F.location.replace(A);return }catch(E){}}}D.target="frame_"+this.uniqueId;D.setAttribute("target","frame_"+this.uniqueId);D.submit()},onStateChange:function(){this.transport=$("frame_"+this.uniqueId);try{var doc=this.transport.contentDocument.document.body.innerHTML;this.transport.contentDocument.document.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(function(){this.onComplete(this.transport)}.bind(this),10)}if(this.update){setTimeout(function(){this.update.innerHTML=this.transport.responseText}.bind(this),10)}if(this.updateMultiple){setTimeout(function(){try{var hasscript=false;eval("var inputObject = "+this.transport.responseText);for(var i in inputObject){if(i=="script"){hasscript=true}else{if(elm=$(i)){elm.innerHTML=inputObject[i]}else{}}}if(hasscript){eval(inputObject.script)}}catch(e){}}.bind(this),10)}},getTransport:function(){var A=document.createElement("DIV"),B;A.style.position="absolute";A.style.top="0";A.style.marginLeft="-10000px";if(navigator.userAgent.indexOf("MSIE")>0&&navigator.userAgent.indexOf("Opera")==-1){A.innerHTML=''}else{B=document.createElement("iframe");B.setAttribute("name","frame_"+this.uniqueId);B.setAttribute("id","frame_"+this.uniqueId);B.addEventListener("load",function(){this.onStateChange()}.bind(this),false);A.appendChild(B)}document.body.appendChild(A);return B}};RequestBatch=Class.create();var counter=0;var pendingRequests=0;function DirectAccessErrorHandler(B,A){}RequestBatch.prototype={initialize:function(){this.UniqueId=counter++;this.Requests=new Array()},AddToRequest:function(A){this.Requests[this.Requests.length]=A},BeginRequest:function(A,D){pendingRequests++;var B=JSON.stringify(this);var C=generateForm(this.UniqueId,A,B);new iframe(C,{onComplete:function(E){processResponse(D,E)}},this.UniqueId);this.UniqueId=counter++}};function generateForm(K,E,A){var D=document.createElement("form");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<15000){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"}}document.body.appendChild(D);return D}function processResponse(E,C){pendingRequests--;try{var B=unescape(C.responseText);var A=JSON.parse(B);try{E(A.ResponseBatch)}catch(D){DirectAccessErrorHandler("exception during client callback",D)}}catch(D){DirectAccessErrorHandler("exception during processResponse",D)}}function getPendingRequestCount(){return pendingRequests}UserKey=Class.create();UserKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.UserKey=B}};CommentKey=Class.create();CommentKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.CommentKey=B}};ArticleKey=Class.create();ArticleKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.ArticleKey=B}};PersonaMessageKey=Class.create();PersonaMessageKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.PersonaMessageKey=B}};ReviewKey=Class.create();ReviewKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.ReviewKey=B}};GalleryKey=Class.create();GalleryKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.GalleryKey=B}};PhotoKey=Class.create();PhotoKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.PhotoKey=B}};VideoKey=Class.create();VideoKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.VideoKey=B}};CommentPage=Class.create();CommentPage.prototype={initialize:function(E,A,C,B){var D=new Object();D.ArticleKey=E;D.NumberPerPage=A;D.OnPage=C;D.Sort=B;this.CommentPage=D}};PersonaMessagePage=Class.create();PersonaMessagePage.prototype={initialize:function(E,A,C,B){var D=new Object();D.UserKey=E;D.NumberPerPage=A;D.OnPage=C;D.Sort=B;this.PersonaMessagePage=D}};ReviewPage=Class.create();ReviewPage.prototype={initialize:function(E,A,C,B){var D=new Object();D.ArticleKey=E;D.NumberPerPage=A;D.OnPage=C;D.Sort=B;this.ReviewPage=D}};MediaType=Class.create();MediaType.prototype={initialize:function(A){var B=new Object();B.Name=A;this.MediaType=B}};PublicGalleryPage=Class.create();PublicGalleryPage.prototype={initialize:function(B,C,A){var D=new Object();D.NumberPerPage=B;D.OnPage=C;D.MediaType=A;this.PublicGalleryPage=D}};UserGalleryPage=Class.create();UserGalleryPage.prototype={initialize:function(E,B,C,A){var D=new Object();D.UserKey=E;D.NumberPerPage=B;D.OnPage=C;D.MediaType=A;this.UserGalleryPage=D}};PhotoPage=Class.create();PhotoPage.prototype={initialize:function(D,A,B){var C=new Object();C.GalleryKey=D;C.NumberPerPage=A;C.OnPage=B;this.PhotoPage=C}};VideoPage=Class.create();VideoPage.prototype={initialize:function(D,A,B){var C=new Object();C.GalleryKey=D;C.NumberPerPage=A;C.OnPage=B;this.VideoPage=C}};CommentAction=Class.create();CommentAction.prototype={initialize:function(B,E,A,D){var C=new Object();C.CommentOnKey=B;C.OnPageUrl=E;C.OnPageTitle=A;C.CommentBody=D;this.CommentAction=C}};ReviewAction=Class.create();ReviewAction.prototype={initialize:function(G,A,H,F,B,I,C,E){var D=new Object();D.ReviewOnKey=G;D.OnPageUrl=A;D.OnPageTitle=H;D.ReviewTitle=F;D.ReviewRating=B;D.ReviewBody=I;D.ReviewPros=C;D.ReviewCons=E;this.ReviewAction=D}};RecommendAction=Class.create();RecommendAction.prototype={initialize:function(B){var A=new Object();A.RecommendThisKey=B;this.RecommendAction=A}};RateAction=Class.create();RateAction.prototype={initialize:function(A,B){var C=new Object();C.RateThisKey=A;C.Rating=B;this.RateAction=C}};DeleteContentAction=Class.create();DeleteContentAction.prototype={initialize:function(B){var A=new Object();A.DeleteThisContent=B;this.DeleteContentAction=A}};EmailContentAction=Class.create();EmailContentAction.prototype={initialize:function(D,B,A){var C=new Object();C.ToAddress=D;C.Subject=B;C.Body=A;this.EmailContentAction=C}};ReportAbuseAction=Class.create();ReportAbuseAction.prototype={initialize:function(B,D,C){var A=new Object();A.ReportThisKey=B;A.AbuseReason=D;A.AbuseDescription=C;this.ReportAbuseAction=A}};Category=Class.create();Category.prototype={initialize:function(A){var B=new Object();B.Name=A;this.Category=B}};Section=Class.create();Section.prototype={initialize:function(A){var B=new Object();B.Name=A;this.Section=B}};UpdateArticleAction=Class.create();UpdateArticleAction.prototype={initialize:function(E,F,B,D,A){var C=new Object();C.UpdateArticle=E;C.OnPageUrl=F;C.OnPageTitle=B;C.Section=D;C.Categories=A;this.UpdateArticleAction=C}};UpdateGalleryAction=Class.create();UpdateGalleryAction.prototype={initialize:function(D,B,H,E,G,I,F,A){var C=new Object();C.UpdateGallery=D;C.GalleryType=B;C.MediaType=H;C.Title=E;C.Description=G;C.Tags=I;C.Section=F;C.GalleryPromo=A;this.UpdateGalleryAction=C}};UpdatePhotoAction=Class.create();UpdatePhotoAction.prototype={initialize:function(E,F,B,A,D){var C=new Object();C.UpdatePhoto=E;C.Title=F;C.Description=B;C.Tags=A;C.Section=D;this.UpdatePhotoAction=C}};UpdateVideoAction=Class.create();UpdateVideoAction.prototype={initialize:function(A,F,C,B,E){var D=new Object();D.UpdateVideo=A;D.Title=F;D.Description=C;D.Tags=B;D.Section=E;this.UpdateVideoAction=D}};GalleryType=Class.create();GalleryType.prototype={initialize:function(A){var B=new Object();B.Name=A;this.GalleryType=B}};GalleryPromo=Class.create();GalleryPromo.prototype={initialize:function(D,B,A){var C=new Object();C.Title=D;C.Body=B;C.PhotoKey=A}};UserTier=Class.create();UserTier.prototype={initialize:function(A){var B=new Object();B.Name=A;this.UserTier=B}};Activity=Class.create();Activity.prototype={initialize:function(A){var B=new Object();B.Name=A;this.Activity=B}};DiscoverArticlesAction=Class.create();DiscoverArticlesAction.prototype={initialize:function(E,D,B,G,A,C){var F=new Object();F.SearchSections=E;F.SearchCategories=D;F.LimitToContributors=B;F.Activity=G;F.Age=A;F.MaximumNumberOfDiscoveries=C;this.DiscoverArticlesAction=F}};AddFriendAction=Class.create();AddFriendAction.prototype={initialize:function(B){var A=new Object();A.FriendUserKey=B;this.AddFriendAction=A}};AddPersonaMessageAction=Class.create();AddPersonaMessageAction.prototype={initialize:function(C,A){var B=new Object();B.ToUserKey=C;B.Body=A;this.AddPersonaMessageAction=B}};RemovePersonaMessageAction=Class.create();RemovePersonaMessageAction.prototype={initialize:function(B){var A=new Object();A.PersonaMessageKey=B;this.RemovePersonaMessageAction=A}};ApproveFriendAction=Class.create();ApproveFriendAction.prototype={initialize:function(C,A){var B=new Object();B.FriendUserKey=C;B.IsApproved=A;this.ApproveFriendAction=B}};RemoveFriendAction=Class.create();RemoveFriendAction.prototype={initialize:function(B){var A=new Object();A.FriendUserKey=B;this.RemoveFriendAction=A}};FriendPage=Class.create();FriendPage.prototype={initialize:function(E,A,C,B){var D=new Object();D.UserKey=E;D.NumberPerPage=A;D.OnPage=C;D.IsPendingList=B;this.FriendPage=D}};IsFriend=Class.create();IsFriend.prototype={initialize:function(C,B){var A=new Object();A.FriendUserKey=C;A.UserKey=B;this.IsFriend=A}};DiscoverContentAction=Class.create();DiscoverContentAction.prototype={initialize:function(E,D,B,G,H,A,C){var F=new Object();F.SearchSections=E;F.SearchCategories=D;F.LimitToContributors=B;F.Activity=G;F.ContentType=H;F.Age=A;F.MaximumNumberOfDiscoveries=C;this.DiscoverContentAction=F}};ContentType=Class.create();ContentType.prototype={initialize:function(A){var B=new Object();B.Name=A;this.ContentType=B}};UpdateUserProfileAction=Class.create();UpdateUserProfileAction.prototype={initialize:function(A,H,N,C,I,K,O,L,B,D,G,J,M,E){var F=new Object();F.UserKey=A;F.AboutMe=H;F.Location=N;F.Signature=C;F.DateOfBirth=I;F.Sex=K;F.PersonaPrivacyMode=O;F.CommentsTabVisible=L;F.PhotosTabVisible=B;F.MessagesOpenToEveryone=D;F.IsEmailNotificationsEnabled=G;F.SelectedStyleId=J;F.CustomAnswers=M;F.ExtendedProfile=E;this.UpdateUserProfileAction=F}};SearchAction=Class.create();SearchAction.prototype={initialize:function(C,B,A,D){var E=new Object();E.SearchType=C;E.SearchString=B;E.NumberPerPage=A;E.OnPage=D;this.SearchAction=E}};WatchItemPage=Class.create();WatchItemPage.prototype={initialize:function(D,A,B){var C=new Object();C.UserKey=D;C.NumberPerPage=A;C.OnPage=B;this.WatchItemPage=C}};AddWatchItemAction=Class.create();AddWatchItemAction.prototype={initialize:function(D,B,E,A){var C=new Object();C.UserKey=D;C.WatchTargetKey=B;C.WatchItemTitle=E;C.WatchItemUrl=A;this.AddWatchItemAction=C}};DeleteWatchItemAction=Class.create();DeleteWatchItemAction.prototype={initialize:function(C,A){var B=new Object();B.UserKey=C;B.WatchTargetKey=A;this.DeleteWatchItemAction=B}};BlogKey=Class.create();BlogKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.BlogKey=B}};BlogPostKey=Class.create();BlogPostKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.BlogPostKey=B}};BlogPostPage=Class.create();BlogPostPage.prototype={initialize:function(E,A,C,B){var D=new Object();D.BlogKey=E;D.NumberPerPage=A;D.OnPage=C;D.Sort=B;this.BlogPostPage=D}};BlogPostArchiveCount=Class.create();BlogPostArchiveCount.prototype={initialize:function(B){var A=new Object();A.BlogKey=B;this.BlogPostArchiveCount=A}};BlogPostArchiveContentPage=Class.create();BlogPostArchiveContentPage.prototype={initialize:function(F,E,A,C,B){var D=new Object();D.BlogKey=F;D.Month=E;D.NumberPerPage=A;D.OnPage=C;D.Sort=B;this.BlogPostArchiveContentPage=D}};UserCommentPage=Class.create();UserCommentPage.prototype={initialize:function(E,A,C,B){var D=new Object();D.UserKey=E;D.NumberPerPage=A;D.OnPage=C;D.Sort=B;this.UserCommentPage=D}};RecentBlogTag=Class.create();RecentBlogTag.prototype={initialize:function(B){var A=new Object();A.BlogKey=B;this.RecentBlogTag=A}};RecentUserPhotoPage=Class.create();RecentUserPhotoPage.prototype={initialize:function(D,A,B){var C=new Object();C.UserKey=D;C.NumberPerPage=A;C.OnPage=B;this.RecentUserPhotoPage=C}};RecentUserVideoPage=Class.create();RecentUserVideoPage.prototype={initialize:function(D,A,B){var C=new Object();C.UserKey=D;C.NumberPerPage=A;C.OnPage=B;this.RecentUserVideoPage=C}};RecentPublicGalleryPage=Class.create();RecentPublicGalleryPage.prototype={initialize:function(D,A,B){var C=new Object();C.UserKey=D;C.NumberPerPage=A;C.OnPage=B;this.RecentPublicGalleryPage=C}};RecentUserActivity=Class.create();RecentUserActivity.prototype={initialize:function(B){var A=new Object();A.UserKey=B;this.RecentUserActivity=A}};RecentForumDiscussionPage=Class.create();RecentForumDiscussionPage.prototype={initialize:function(D,A,B){var C=new Object();C.UserKey=D;C.NumberPerPage=A;C.OnPage=B;this.RecentForumDiscussionPage=C}};UserGroupForumPage=Class.create();UserGroupForumPage.prototype={initialize:function(E,A,C,B){var D=new Object();D.UserKey=E;D.NumberPerPage=A;D.OnPage=C;D.Sort=B;this.UserGroupForumPage=D}};BlogRollEntry=Class.create();BlogRollEntry.prototype={initialize:function(B,A){var C=new Object();C.Name=B;C.Url=A;this.BlogRollEntry=C}};UpdateBlogAction=Class.create();UpdateBlogAction.prototype={initialize:function(B,E,C,A){var D=new Object();D.BlogKey=B;D.Title=E;D.Tagline=C;D.BlogRollEntries=A;this.UpdateBlogAction=D}};DiscussionKey=Class.create();DiscussionKey.prototype={initialize:function(A){var B=new Object();B.Key=A;this.DiscussionKey=B}};