YAHOO.util.Connect={_msxml_progid:["Microsoft.XMLHTTP","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP"],_http_headers:{},_has_http_headers:false,_use_default_post_header:true,_default_post_header:"application/x-www-form-urlencoded; charset=UTF-8",_default_form_header:"application/x-www-form-urlencoded",_use_default_xhr_header:true,_default_xhr_header:"XMLHttpRequest",_has_default_headers:true,_default_headers:{},_isFormSubmit:false,_isFileUpload:false,_formNode:null,_sFormData:null,_poll:{},_timeOut:{},_polling_interval:50,_transaction_id:0,_submitElementValue:null,_hasSubmitListener:(function(){if(YAHOO.util.Event){YAHOO.util.Event.addListener(document,"click",function(B){var A=YAHOO.util.Event.getTarget(B);if(A.nodeName.toLowerCase()=="input"&&(A.type&&A.type.toLowerCase()=="submit")){YAHOO.util.Connect._submitElementValue=encodeURIComponent(A.name)+"="+encodeURIComponent(A.value);}});return true;}return false;})(),startEvent:new YAHOO.util.CustomEvent("start"),completeEvent:new YAHOO.util.CustomEvent("complete"),successEvent:new YAHOO.util.CustomEvent("success"),failureEvent:new YAHOO.util.CustomEvent("failure"),uploadEvent:new YAHOO.util.CustomEvent("upload"),abortEvent:new YAHOO.util.CustomEvent("abort"),_customEvents:{onStart:["startEvent","start"],onComplete:["completeEvent","complete"],onSuccess:["successEvent","success"],onFailure:["failureEvent","failure"],onUpload:["uploadEvent","upload"],onAbort:["abortEvent","abort"]},setProgId:function(A){this._msxml_progid.unshift(A);},setDefaultPostHeader:function(A){if(typeof A=="string"){this._default_post_header=A;}else{if(typeof A=="boolean"){this._use_default_post_header=A;}}},setDefaultXhrHeader:function(A){if(typeof A=="string"){this._default_xhr_header=A;}else{this._use_default_xhr_header=A;}},setPollingInterval:function(A){if(typeof A=="number"&&isFinite(A)){this._polling_interval=A;}},createXhrObject:function(H){var G,A;try{A=new XMLHttpRequest();G={conn:A,tId:H};}catch(F){for(var B=0;B<this._msxml_progid.length;++B){try{A=new ActiveXObject(this._msxml_progid[B]);G={conn:A,tId:H};break;}catch(F){}}}finally{return G;}},getConnectionObject:function(A){var F;var G=this._transaction_id;try{if(!A){F=this.createXhrObject(G);}else{F={};F.tId=G;F.isUpload=true;}if(F){this._transaction_id++;}}catch(B){}finally{return F;}},asyncRequest:function(H,F,G,A){var I=(this._isFileUpload)?this.getConnectionObject(true):this.getConnectionObject();var B=(G&&G.argument)?G.argument:null;if(!I){return null;}else{if(G&&G.customevents){this.initCustomEvents(I,G);}if(this._isFormSubmit){if(this._isFileUpload){this.uploadFile(I,G,F,A);return I;}if(H.toUpperCase()=="GET"){if(this._sFormData.length!==0){F+=((F.indexOf("?")==-1)?"?":"&")+this._sFormData;}}else{if(H.toUpperCase()=="POST"){A=A?this._sFormData+"&"+A:this._sFormData;}}}if(H.toUpperCase()=="GET"&&(G&&G.cache===false)){F+=((F.indexOf("?")==-1)?"?":"&")+"rnd="+new Date().valueOf().toString();}I.conn.open(H,F,true);if(this._use_default_xhr_header){if(!this._default_headers["X-Requested-With"]){this.initHeader("X-Requested-With",this._default_xhr_header,true);}}if((H.toUpperCase()=="POST"&&this._use_default_post_header)&&this._isFormSubmit===false){this.initHeader("Content-Type",this._default_post_header);}if(this._has_default_headers||this._has_http_headers){this.setHeader(I);}this.handleReadyState(I,G);I.conn.send(A||"");if(this._isFormSubmit===true){this.resetFormState();}this.startEvent.fire(I,B);if(I.startEvent){I.startEvent.fire(I,B);}return I;}},initCustomEvents:function(B,A){for(var F in A.customevents){if(this._customEvents[F][0]){B[this._customEvents[F][0]]=new YAHOO.util.CustomEvent(this._customEvents[F][1],(A.scope)?A.scope:null);B[this._customEvents[F][0]].subscribe(A.customevents[F]);}}},handleReadyState:function(G,B){var F=this;var A=(B&&B.argument)?B.argument:null;if(B&&B.timeout){this._timeOut[G.tId]=window.setTimeout(function(){F.abort(G,B,true);},B.timeout);}this._poll[G.tId]=window.setInterval(function(){if(G.conn&&G.conn.readyState===4){window.clearInterval(F._poll[G.tId]);delete F._poll[G.tId];if(B&&B.timeout){window.clearTimeout(F._timeOut[G.tId]);delete F._timeOut[G.tId];}F.completeEvent.fire(G,A);if(G.completeEvent){G.completeEvent.fire(G,A);}F.handleTransactionResponse(G,B);}},this._polling_interval);},handleTransactionResponse:function(J,I,A){var F,G;var B=(I&&I.argument)?I.argument:null;try{if(J.conn.status!==undefined&&J.conn.status!==0){F=J.conn.status;}else{F=13030;}}catch(H){F=13030;}if(F>=200&&F<300||F===1223){G=this.createResponseObject(J,B);if(I&&I.success){if(!I.scope){I.success(G);}else{I.success.apply(I.scope,[G]);}}this.successEvent.fire(G);if(J.successEvent){J.successEvent.fire(G);}}else{switch(F){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:G=this.createExceptionObject(J.tId,B,(A?A:false));if(I&&I.failure){if(!I.scope){I.failure(G);}else{I.failure.apply(I.scope,[G]);}}break;default:G=this.createResponseObject(J,B);if(I&&I.failure){if(!I.scope){I.failure(G);}else{I.failure.apply(I.scope,[G]);}}}this.failureEvent.fire(G);if(J.failureEvent){J.failureEvent.fire(G);}}this.releaseObject(J);G=null;},createResponseObject:function(A,J){var H={};var L={};try{var I=A.conn.getAllResponseHeaders();var F=I.split("\n");for(var G=0;G<F.length;G++){var B=F[G].indexOf(":");if(B!=-1){L[F[G].substring(0,B)]=F[G].substring(B+2);}}}catch(K){}H.tId=A.tId;H.status=(A.conn.status==1223)?204:A.conn.status;H.statusText=(A.conn.status==1223)?"No Content":A.conn.statusText;H.getResponseHeader=L;H.getAllResponseHeaders=I;H.responseText=A.conn.responseText;H.responseXML=A.conn.responseXML;if(J){H.argument=J;}return H;},createExceptionObject:function(K,G,A){var I=0;var J="communication failure";var B=-1;var F="transaction aborted";var H={};H.tId=K;if(A){H.status=B;H.statusText=F;}else{H.status=I;H.statusText=J;}if(G){H.argument=G;}return H;},initHeader:function(B,G,F){var A=(F)?this._default_headers:this._http_headers;A[B]=G;if(F){this._has_default_headers=true;}else{this._has_http_headers=true;}},setHeader:function(A){if(this._has_default_headers){for(var B in this._default_headers){if(YAHOO.lang.hasOwnProperty(this._default_headers,B)){A.conn.setRequestHeader(B,this._default_headers[B]);}}}if(this._has_http_headers){for(var B in this._http_headers){if(YAHOO.lang.hasOwnProperty(this._http_headers,B)){A.conn.setRequestHeader(B,this._http_headers[B]);}}delete this._http_headers;this._http_headers={};this._has_http_headers=false;}},resetDefaultHeaders:function(){delete this._default_headers;this._default_headers={};this._has_default_headers=false;},setForm:function(N,F,J){this.resetFormState();var M;if(typeof N=="string"){M=(document.getElementById(N)||document.forms[N]);}else{if(typeof N=="object"){M=N;}else{return ;}}if(F){var K=this.createFrame((window.location.href.toLowerCase().indexOf("https")===0||J)?true:false);this._isFormSubmit=true;this._isFileUpload=true;this._formNode=M;return ;}var G,L,B,O;var A=false;for(var I=0;I<M.elements.length;I++){G=M.elements[I];O=G.disabled;L=G.name;B=G.value;if(!O&&L){switch(G.type){case"select-one":case"select-multiple":for(var H=0;H<G.options.length;H++){if(G.options[H].selected){if(window.ActiveXObject){this._sFormData+=encodeURIComponent(L)+"="+encodeURIComponent(G.options[H].attributes.value.specified?G.options[H].value:G.options[H].text)+"&";}else{this._sFormData+=encodeURIComponent(L)+"="+encodeURIComponent(G.options[H].hasAttribute("value")?G.options[H].value:G.options[H].text)+"&";}}}break;case"radio":case"checkbox":if(G.checked){this._sFormData+=encodeURIComponent(L)+"="+encodeURIComponent(B)+"&";}break;case"file":case undefined:case"reset":case"button":break;case"submit":if(A===false){if(this._hasSubmitListener&&this._submitElementValue){this._sFormData+=this._submitElementValue+"&";}else{this._sFormData+=encodeURIComponent(L)+"="+encodeURIComponent(B)+"&";}A=true;}break;default:this._sFormData+=encodeURIComponent(L)+"="+encodeURIComponent(B)+"&";}}}this._isFormSubmit=true;this._sFormData=this._sFormData.substr(0,this._sFormData.length-1);this.initHeader("Content-Type",this._default_form_header);return this._sFormData;},resetFormState:function(){this._isFormSubmit=false;this._isFileUpload=false;this._formNode=null;this._sFormData="";},createFrame:function(B){var A="yuiIO"+this._transaction_id;var F;if(window.ActiveXObject){F=document.createElement('<iframe id="'+A+'" name="'+A+'" />');if(typeof B=="boolean"){F.src="javascript:false";}}else{F=document.createElement("iframe");F.id=A;F.name=A;}F.style.position="absolute";F.style.top="-1000px";F.style.left="-1000px";document.body.appendChild(F);},appendPostData:function(A){var F=[];var B=A.split("&");for(var G=0;G<B.length;G++){var H=B[G].indexOf("=");if(H!=-1){F[G]=document.createElement("input");F[G].type="hidden";F[G].name=B[G].substring(0,H);F[G].value=B[G].substring(H+1);this._formNode.appendChild(F[G]);}}return F;},uploadFile:function(G,O,H,F){var Q=this;var B="yuiIO"+G.tId;var K="multipart/form-data";var N=document.getElementById(B);var M=(O&&O.argument)?O.argument:null;var L={action:this._formNode.getAttribute("action"),method:this._formNode.getAttribute("method"),target:this._formNode.getAttribute("target")};this._formNode.setAttribute("action",H);this._formNode.setAttribute("method","POST");this._formNode.setAttribute("target",B);if(YAHOO.env.ua.ie){this._formNode.setAttribute("encoding",K);}else{this._formNode.setAttribute("enctype",K);}if(F){var P=this.appendPostData(F);}this._formNode.submit();this.startEvent.fire(G,M);if(G.startEvent){G.startEvent.fire(G,M);}if(O&&O.timeout){this._timeOut[G.tId]=window.setTimeout(function(){Q.abort(G,O,true);},O.timeout);}if(P&&P.length>0){for(var J=0;J<P.length;J++){this._formNode.removeChild(P[J]);}}for(var A in L){if(YAHOO.lang.hasOwnProperty(L,A)){if(L[A]){this._formNode.setAttribute(A,L[A]);}else{this._formNode.removeAttribute(A);}}}this.resetFormState();var I=function(){if(O&&O.timeout){window.clearTimeout(Q._timeOut[G.tId]);delete Q._timeOut[G.tId];}Q.completeEvent.fire(G,M);if(G.completeEvent){G.completeEvent.fire(G,M);}var T={};T.tId=G.tId;T.argument=O.argument;try{T.responseText=N.contentWindow.document.body?N.contentWindow.document.body.innerHTML:N.contentWindow.document.documentElement.textContent;T.responseXML=N.contentWindow.document.XMLDocument?N.contentWindow.document.XMLDocument:N.contentWindow.document;}catch(S){}if(O&&O.upload){if(!O.scope){O.upload(T);}else{O.upload.apply(O.scope,[T]);}}Q.uploadEvent.fire(T);if(G.uploadEvent){G.uploadEvent.fire(T);}YAHOO.util.Event.removeListener(N,"load",I);setTimeout(function(){document.body.removeChild(N);Q.releaseObject(G);},100);};YAHOO.util.Event.addListener(N,"load",I);},abort:function(I,H,G){var F;var B=(H&&H.argument)?H.argument:null;if(I&&I.conn){if(this.isCallInProgress(I)){I.conn.abort();window.clearInterval(this._poll[I.tId]);delete this._poll[I.tId];if(G){window.clearTimeout(this._timeOut[I.tId]);delete this._timeOut[I.tId];}F=true;}}else{if(I&&I.isUpload===true){var A="yuiIO"+I.tId;var J=document.getElementById(A);if(J){YAHOO.util.Event.removeListener(J,"load");document.body.removeChild(J);if(G){window.clearTimeout(this._timeOut[I.tId]);delete this._timeOut[I.tId];}F=true;}}else{F=false;}}if(F===true){this.abortEvent.fire(I,B);if(I.abortEvent){I.abortEvent.fire(I,B);}this.handleTransactionResponse(I,H,true);}return F;},isCallInProgress:function(B){if(B&&B.conn){return B.conn.readyState!==4&&B.conn.readyState!==0;}else{if(B&&B.isUpload===true){var A="yuiIO"+B.tId;return document.getElementById(A)?true:false;}else{return false;}}},releaseObject:function(A){if(A&&A.conn){A.conn=null;A=null;}}};YAHOO.register("connection",YAHOO.util.Connect,{version:"2.5.2",build:"1076"});var Y=YAHOO;var E=Y.util.Event;var R=Y.util.Region;var D=Y.util.Dom;var C=Y.util.Connect;var addEvent=E.addListener;var addListener=E.addListener;Array.prototype.inArray=function(B){var A;for(A=0;A<this.length;A++){if(this[A]===B){return true;}}return false;};function show(A){D.setStyle(A,"display","block");}function hide(A){D.setStyle(A,"display","none");}function getElementsByClass(B,F,L){var K=[];if(F===null){F=document;}if(F.getElementsByClassName){return F.getElementsByClassName(B);}if(L===null){L="*";}var H=F.getElementsByTagName(L);var J=H.length;var A=new RegExp("(^|\\s)"+B+"(\\s|$)");var I=0;var G=0;for(I=0;I<J;I++){if(A.test(H[I].className)){K[G]=H[I];G++;}}return K;}HuffPoUtil={show:function(A){D.setStyle(A,"display","block");},hide:function(A){D.setStyle(A,"display","none");}};ImageLoader={imageLoaderClass:"unloaded-image",lookAhead:300,foldCheck:function(){if(arguments&&arguments.length==1){this._classImageEls=YAHOO.util.Dom.getElementsByClassName(this.imageLoaderClass,"IMG",arguments[0]);}else{this._classImageEls=YAHOO.util.Dom.getElementsByClassName(this.imageLoaderClass,"IMG");}for(var B=0,A=this._classImageEls.length;B<A;B++){if(this.elementInView(this._classImageEls[B])){this.fetchImage(this._classImageEls[B]);}}},fetchAll:function(A){D.batch(A,function(B,F){F.fetchImage(B);},ImageLoader);},elementInView:function(G){var H=(document.compatMode!="CSS1Compat")?document.body.scrollTop:document.documentElement.scrollTop;if((E.isSafari&&navigator.userAgent.match(/Version\/([\d.]+) /)&&navigator.userAgent.match(/Version\/([\d.]+) /).pop()>=3.1+"")||(navigator.userAgent.match(/AppleWebKit\/([\d.]+) /)&&(navigator.userAgent.match(/AppleWebKit\/([\d.]+) /).pop()>=525.13+""))){H=document.body.scrollTop;}var A=YAHOO.util.Dom.getViewportHeight();var F=H+A+this.lookAhead;var B=YAHOO.util.Dom.getXY(G);return(B[1]<F);},fetchImage:function(A){if(A&&A.longDesc){YAHOO.util.Dom.removeClass(A,this.imageLoaderClass);A.src=A.longDesc;}},init:function(){E.addListener(window,"scroll",ImageLoader.foldCheck,{},ImageLoader);E.addListener(window,"resize",ImageLoader.foldCheck,{},ImageLoader);if(E.onDOMReady){ImageLoader.foldCheck.call(ImageLoader);}else{E.onDOMReady(ImageLoader.foldCheck,{},ImageLoader);}}};HuffPoUtil.ImageLoader=ImageLoader;var Y=YAHOO;var E=Y.util.Event;var R=Y.util.Region;var D=Y.util.Dom;var C=Y.util.Connect;var Fat={make_hex:function(F,B,A){F=F.toString(16);if(F.length==1){F="0"+F;}B=B.toString(16);if(B.length==1){B="0"+B;}A=A.toString(16);if(A.length==1){A="0"+A;}return"#"+F+B+A;},fade_all:function(){var A=document.getElementsByTagName("*");for(var B=0;B<A.length;B++){var G=A[B];var F=/fade-?(\w{3,6})?/.exec(G.className);if(F){if(!F[1]){F[1]="";}if(G.id){Fat.fade_element(G.id,null,null,"#"+F[1]);}}}},fade_element:function(M,B,J,O,F){if(!B){B=30;}if(!J){J=3000;}if(!O||O=="#"){O="#FFFF33";}if(!F){F=this.get_bgcolor(M);}var A=Math.round(B*(J/1000));var S=J/A;var W=S;var I=0;if(O.length<7){O+=O.substr(1,3);}if(F.length<7){F+=F.substr(1,3);}var N=parseInt(O.substr(1,2),16);var T=parseInt(O.substr(3,2),16);var G=parseInt(O.substr(5,2),16);var H=parseInt(F.substr(1,2),16);var L=parseInt(F.substr(3,2),16);var U=parseInt(F.substr(5,2),16);var K,Q,V,P;while(I<A){K=Math.floor(N*((A-I)/A)+H*(I/A));Q=Math.floor(T*((A-I)/A)+L*(I/A));V=Math.floor(G*((A-I)/A)+U*(I/A));P=this.make_hex(K,Q,V);setTimeout("Fat.set_bgcolor('"+M+"','"+P+"')",W);I++;W=S*I;}setTimeout("Fat.set_bgcolor('"+M+"','"+F+"')",W);},set_bgcolor:function(F,B){var A=document.getElementById(F);A.style.backgroundColor=B;},get_bgcolor:function(G){var B=document.getElementById(G);while(B){var F;if(window.getComputedStyle){F=window.getComputedStyle(B,null).getPropertyValue("background-color");}if(B.currentStyle){F=B.currentStyle.backgroundColor;}if((F!==""&&F!="transparent")||B.tagName=="BODY"){break;}B=B.parentNode;}if(F===undefined||F===""||F=="transparent"){F="#FFFFFF";}var A=F.match(/rgb\s*\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/);if(A){F=this.make_hex(parseInt(A[1]),parseInt(A[2]),parseInt(A[3]));}return F;}};var ReplyBoxCallbacks={success:function(G){var H=G.responseText.split(":::");var F=H[0];var A=Math.floor(H[1])+0;var B=$("reply_ajax_for_"+A);B.innerHTML=F;}};var RootBoxCallbacks={success:function(G){var H=G.responseText.split(":::");var F=H[0];var A=Math.floor(H[1])+0;var B=$("ajax_post_form_for_root");B.innerHTML=F;}};var previewComment=function(){comment_body=$("comment_preview_inner");comment_author=$("preview_name");body_text=$("root_comment_text").value;re=/<\S[^>]*>/g;body_text=body_text.replace(re,"");comment_body.innerHTML=body_text.replace(/\r|\n/g,"<br />");HuffPoUtil.show("comment_preview");HuffPoUtil.hide("comment_meta");};var previewCommentForReply=function(A){comment_body=$("comment_preview_inner_"+A);comment_author=$("preview_name_"+A);body_text=$("comment_text_"+A).value;re=/<\S[^>]*>/g;body_text=body_text.replace(re,"");comment_body.innerHTML=body_text.replace(/\r|\n/g,"<br />");HuffPoUtil.show("comment_preview_"+A);HuffPoUtil.hide("comment_meta_"+A);};var current_comment_parent=null;var current_reply_parent=null;var last_response=null;var replies_loading=false;var update_comments_obj=null;var update_comments_entry_id=null;var update_comments_all_parents=null;var update_comments_end_parent=null;var update_comments_target=null;var update_comments_loaded=[];var update_comments_loading=[];var update_comments_last_loading=null;var scrollInt;var scrTime,scrSt,scrDist,scrDur,scrInt;function easeInOut(B,A,G,F){return G/2*(1-Math.cos(Math.PI*B/F))+A;}function scrollPage(){scrTime+=scrInt;if(scrTime<scrDur){window.scrollTo(0,easeInOut(scrTime,scrSt,scrDist,scrDur));}else{window.scrollTo(0,scrSt+scrDist);clearInterval(scrollInt);}}function scrollToAnchor(B){var A,F,G;if(!document.getElementById){return ;}A=document.getElementsByTagName("div");for(F=0;F<A.length;F++){if(A[F].id==B){G=A[F];F=A.length;}}if(window.scrollY){scrSt=window.scrollY;}else{if(document.documentElement.scrollTop){scrSt=document.documentElement.scrollTop;}else{scrSt=document.body.scrollTop;}}scrDist=G.offsetTop-scrSt;scrDur=100;scrTime=0;scrInt=10;clearInterval(scrollInt);scrollInt=setInterval(scrollPage,scrInt);}function showtoplogindiv(){if($("advertisement300_hidden")&&$("advertisement300_hidden")){$("advertisement300").style.display="none";$("advertisement300_hidden").style.display="block";}document.getElementById("login-Lightbox").style.display="block";setTimeout(function(){document.getElementById("top-login-username").focus();},500);scrollToAnchor("login-Lightbox");}var FanSystem={linkClass:"becomefan_link",becomeIdPrefix:"becomefan",updatedIdPrefix:"becomefanupdated",updatedText:"You&#8217;re now a fan of ",blogid:0,cmtId:0,link:"",becomeFan:function(G,B,F){if(!G){return true;}if(F){this.link=F;}var A=YAHOO.util.Connect.asyncRequest("GET","/users/becomeFan.php?of="+G+"&ajax=1",this);this.cmtId=B;return false;},success:function(B){if(B.responseText===""){return false;}var F=B.responseText.split(":::");if(F[0]=="updated"){var A=F[1];if(!A){return false;}return this.updateLinks(A);}else{if(F[0]=="already"){return this.already(this.cmtId);}}},failure:function(A){},updateLink:function(A){if(!this.link){return false;}this.link.href="javascript:void(0)";this.link.onclick=function(){return true;};this.link.className=this.linkClass+"_updated";this.link.innerHTML=this.link.innerHTML.replace(/I(\S)*m a fan of/,this.updatedText);this.showdivFan(A);return true;},updateLinks:function(H){if(this.link){return this.updateLink(this.cmtId);}var F=D.getElementsByClassName(this.linkClass,"a");if(!F.length){return false;}for(var G=0,A=F.length;G<A;G++){var B=F[G].id.split("_");if($("of_username_"+B[1]+"_"+B[2])){var I=$("of_username_"+B[1]+"_"+B[2]).innerHTML;}else{continue;}F[G].href="javascript:FanSystem.showdivFan('"+B[2]+"')";F[G].onclick=function(){return true;};if(this.blogid==2){F[G].href="javascript:void(0)";F[G].innerHTML=I;}else{F[G].innerHTML=this.updatedText+I;}F[G].className=this.linkClass+"_updated";}this.showdivFan(this.cmtId);return true;},showdivFan:function(A){if($("fan-Lightbox-"+A)){$("fan-Lightbox-"+A).style.display="block";}},hidedivFan:function(A){if($("fan-Lightbox-"+A)){$("fan-Lightbox-"+A).style.display="none";}},loginAndBecome:function(A){if($("top_return_to")){$("top_return_to").value="/users/becomeFan.php?of="+A+"&ajax=0";}showtoplogindiv();},already:function(A){if($("fan-Lightbox-"+A)){$("fan-Lightbox-"+A).innerHTML=$("fan-Lightbox-"+A).innerHTML.replace("Thank you","Already a Fan");$("fan-Lightbox-"+A).innerHTML=$("fan-Lightbox-"+A).innerHTML.replace(/You(\S)*re now a Fan of/,this.updatedText);$("fan-Lightbox-"+A).style.display="block";}this.updateLink(A);},click:function(G,A,B,F){if(F){if(F.className===this.linkClass+"_updated"){return this.already(A);}this.link=F;}else{this.link="";}this.blogid=B;if(getCookie("_236_user")){FanSystem.becomeFan(G,A);}else{FanSystem.loginAndBecome(G);}},checkAlready:function(){if(!getCookie("_236_user")){return false;}var K=D.getElementsByClassName("span_fan_username","span");if(K&&K.length>0){var A=getCookie("_236_user");var M=getCookie("_236_blogger_fullname");if(M){M=M.replace("+"," ");}for(i=0,ll=K.length;i<ll;i++){var L=K[i].id.split("_");var G=L[3];var J=L[2];if($("of_username_"+J+"_"+G)){var B=$("of_username_"+J+"_"+G).innerHTML;if(B==A||B==M){D.setStyle(this.becomeIdPrefix+"_"+J+"_"+G,"display","none");D.setStyle("fan_sep_"+J+"_"+G,"display","none");}}}}var H=Math.random();var F=getCookie("_236_user");var I=YAHOO.util.Connect.asyncRequest("GET","/users/getFanOfUsers.php?u="+F+"&h="+H,this.alreadyCallback);},alreadyCallback:{success:function(A){if(A.responseText===""||A.responseText=="0"){return ;}ids=A.responseText.split(":");for(i=0,iln=ids.length;i<iln;i++){updClass=FanSystem.updatedIdPrefix+"_"+ids[i];links=D.getElementsByClassName(updClass,"a");if(!links||!links.length){continue;}for(j=0,jln=links.length;j<jln;j++){splits=links[j].id.split("_");cmt_id=splits[2];D.setStyle(FanSystem.becomeIdPrefix+"_"+ids[i]+"_"+cmt_id,"display","none");D.setStyle(links[j].id,"display","inline");}}},failure:function(){}}};var RepliesPager={load:function(B,A){if(!$("comment_children_"+A)){return false;}if($("comment_spinner_replies")&&$("comment_children_body_"+A)){$("comment_children_body_"+A).innerHTML=$("comment_spinner_replies").innerHTML;}h=Math.round(Math.random()*1000);var F=YAHOO.util.Connect.asyncRequest("GET","/include/comment_childrens_html.php?page="+B+"&parent_id="+A+"&hash="+h,this);},success:function(A){if(A.responseText===""){return ;}splits=A.responseText.split(":::");html=splits[0];parent_id=splits[1];el=$("comment_children_"+parent_id);if(!el||typeof el=="undefined"){return false;}el.style.display="block";if(splits[2]&&splits[2]=="new"){Fat.fade_element("comment_children_"+parent_id);}el.innerHTML=html;FanSystem.checkAlready();},failure:function(){}};var Comments={maxWords:350,collapseComment:function(A){if($("cmt_txt_wrap_"+A)){if($("cmt_txt_wrap_"+A).style.display!="none"){$("cmt_txt_wrap_"+A).style.display="none";}else{this.expandComment(A);}}},expandComment:function(A){if($("cmt_txt_wrap_"+A)){if($("cmt_txt_wrap_"+A).style.display!="block"){$("cmt_txt_wrap_"+A).style.display="block";}else{this.collapseComment(A);}}},lengthOkay:function(A){over=0;this.trimmed=$(A).value;if(this.trimmed.match(/\S/)){this.trimmed=this.trimmed.replace(/^[\s._\-*+&?\/\\]+/,"");this.trimmed=this.trimmed.replace(/[\s._\-*+&?\/\\]$/,"");}this.chunkedText=this.trimmed.split(/[\s._\-*+&?\/\\]+/);if(this.chunkedText.length>this.maxWords){return(this.chunkedText.length-this.maxWords);}else{if(this.trimmed===""||!$(A).value||$(A).value===""){return -1;}else{return 0;}}},alertEmpty:function(){alert("Your comment is empty. Please type a comment, then click POST again.");},alertTooLong:function(A){alert("Your comment is too long by "+A+" "+(A==1?"word":"words")+". The maximum length is "+this.maxWords+" words. Please edit your comment and click POST again.");},replyClick:function(A,B,G){reply_form_div=$("reply_form_"+A);if(!reply_form_div||typeof reply_form_div=="undefined"){return false;}if(reply_form_div.style.display=="block"){reply_form_div.style.display="none";return true;}if($("comment_spinner_replies")){reply_form_div.innerHTML=$("comment_spinner_replies").innerHTML;reply_form_div.style.display="block";}var F=YAHOO.util.Connect.asyncRequest("POST","/comment/commentForm.php?comment_id="+A+"&entry_id="+B+"&level="+G,this.replyClickCallback);return true;},replyClickCallback:{success:function(A){if(A.responseText===""){return ;}splits=A.responseText.split(":::");cmt_id=splits[1];reply_html=splits[0];reply_form_div=$("reply_form_"+cmt_id);if(!reply_form_div||typeof reply_form_div=="undefined"){return ;}reply_form_div.innerHTML=reply_html;reply_form_div.style.display="block";if(getCookie("_236_user")){$("q_reply_form_"+cmt_id+"").style.display="block";$("q_login_form_"+cmt_id+"").style.display="none";}$("comment_author_"+cmt_id+"").innerHTML=getCookie("_236_user");$("loggin_as_"+cmt_id+"").innerHTML=getCookie("_236_user");},failure:function(){}},addComment:function(){update_comments_entry_id=null;var A=this.lengthOkay("root_comment_text");if(A===0){$("post_button_new").disabled=true;HuffPoUtil.hide("post_button_new");if($("post_spinner_new")){$("post_spinner_new").style.display="inline";}YAHOO.util.Connect.setForm("comments_form_new");var B=YAHOO.util.Connect.asyncRequest("POST","/comment/postComment.php",this.addCommentCallback);}else{if(A>0){this.alertTooLong(A);}else{if(A<0){this.alertEmpty();}}}},addCommentCallback:{success:function(F){if(F.responseText===""||F.responseText===0){return ;}if(F.responseText=="___failure___"){this.failure();return ;}splits=F.responseText.split(":::");new_html=splits[0];is_new=splits[1]=="new"?true:false;cmt_id=splits[2];cmt_entry_id=splits[3];var B="";if(splits[4]){B=splits[4];}if(is_new){var A=$("comments_inner");if($("root_comment_text")){$("root_comment_text").value="";}Fat.fade_element("comment_"+cmt_id);if(B&&B==1){document.getElementById("lastComment").innerHTML=cmt_id;}A.innerHTML=new_html+A.innerHTML;if(update_comments_entry_id===null||update_comments_entry_id===""||!update_comments_entry_id){Comments.scrollToComment(cmt_id);}document.getElementById("replyFlag").innerHTML="0";HuffPoUtil.hide("comment_preview");if($("post_button_new")){$("post_button_new").style.display="inline";}if($("post_button_new")){$("post_button_new").disabled=false;}if($("post_spinner_new")){$("post_spinner_new").style.display="none";}}},failure:function(){alert("Sorry, problems... Please try later");}},addCommentMy:function(F,B){var A=Math.random();update_comments_entry_id=F;},addCommentAsReply:function(B,A,H){var F=this.lengthOkay("comment_text_"+B);if(F===0){$("post_button_"+B).disabled=true;HuffPoUtil.hide("post_button_"+B);D.setStyle("post_spinner_"+B,"display","inline");YAHOO.util.Connect.setForm("comments_form_"+B);var G=YAHOO.util.Connect.asyncRequest("POST","/comment/postComment.php",this.addCommentAsReplyCallback);}else{if(F>0){this.alertTooLong(F);}else{if(F<0){this.alertEmpty();}}}},addCommentAsReplyCallback:{success:function(A){if(A.responseText===""){return ;}splits=A.responseText.split(":::");if(splits[0]!="reply"){return ;}parent_id=splits[1];if($("reply_form_"+parent_id)){$("reply_form_"+parent_id).style.display="none";}RepliesPager.load("last",parent_id);},failure:function(){}},scrollToComment:function(A){scrollToAnchor("comment_"+A);},scrollToParent:function(A){this.scrollToComment(A);Fat.fade_element("comment_"+A,30,1000);},success:function(H){if(H.responseText===""||H.responseText===0){return ;}splits=H.responseText.split(":::");new_html=splits[0];is_new=splits[1]=="new"?true:false;if(!is_new){var A=Math.floor(splits[1])+0;}cmt_id=splits[2];cmt_entry_id=splits[3];var F="";if(splits[4]){F=splits[4];}var B;if(!is_new){B=$("comment_children_"+A);if((B===null||typeof B=="undefined"||B.innerHTML==="")&&!update_comments_loading.inArray(cmt_id)){update_comments_obj=H;update_comments_end_parent=A;update_comments_loading.push(cmt_id);update_comments_last_loading=cmt_id;var G=YAHOO.util.Connect.asyncRequest("GET","/comment/getAllParents.php?entry_id="+update_comments_entry_id+"&last_parent="+A,loadAllParents);return ;}else{if((B===null||typeof B=="undefined")&&(!update_comments_loaded.inArray(cmt_id))){return ;}else{if((B===null||typeof B=="undefined")){return ;}}}if(update_comments_obj!==null&&typeof update_comments_obj!="undefined"){if(update_comments_obj.responseText==H.responseText){update_comments_obj=null;}}if($("post_button_"+A)){$("post_button_"+A).disabled=false;}if($("comment_text_"+A)){$("comment_text_"+A).value="";}if($("post_button_"+A)){D.setStyle("post_button_"+A,"display","inline");}D.setStyle("post_spinner_"+A,"display","none");HuffPoUtil.hide("reply_"+A);HuffPoUtil.hide("comment_preview_"+A);if($("reply_ajax_for_"+A)){$("reply_ajax_for_"+A).innerHTML="";}Fat.fade_element("comment_children_"+A);}else{B=$("comments_inner");if($("post_button_new")){$("post_button_new").disabled=false;}if($("root_comment_text")){$("root_comment_text").value="";}if($("post_button_new")){D.setStyle("post_button_new","display","inline");}if($("post_spinner_new")){D.setStyle("post_spinner_new","display","none");}Fat.fade_element("comment_"+cmt_id);}if(is_new){if(F&&F==1){document.getElementById("lastComment").innerHTML=cmt_id;}B.innerHTML=new_html+B.innerHTML;}else{if(F&&F==1){document.getElementById("lastComment").innerHTML=cmt_id;}if(update_comments_last_loading!=cmt_id){B.innerHTML=B.innerHTML+new_html;}}HuffPoUtil.show("new_comment_alert");$("new_comment_alert").innerHTML="<a href='#' onclick='Comments.scrollToComment("+cmt_id+"); return false;'>New comments on this entry</a>";setTimeout(function(){HuffPoUtil.hide("new_comment_alert");},10000);if(update_comments_entry_id===null||update_comments_entry_id===""||!update_comments_entry_id){this.scrollToComment(cmt_id);}document.getElementById("replyFlag").innerHTML="0";HuffPoUtil.hide("comment_preview");},displayReplyBox:function(A,B,F){el=$("reply_ajax_for_"+A);if(el.innerHTML!==""){el.innerHTML="";return false;}el.innerHTML='<br /><p><img src="/images/v/spinner.gif" alt="loading" /> Loading...</p>';var G=YAHOO.util.Connect.asyncRequest("GET","/comment/commentForm.php?entry_id="+B+"&comment_id="+A+"&level="+F,ReplyBoxCallbacks);return false;},displayPostBox:function(A){el=$("ajax_post_form_for_root");el.innerHTML='<br /><p><img src="/images/v/spinner.gif" alt="loading" /> Loading...</p>';var B=YAHOO.util.Connect.asyncRequest("GET","/comment/rootCommentForm.php?entry_id="+A,RootBoxCallbacks);return false;}};var allChildrensRequestHandler={success:function(A){$("comment_children_"+update_comments_target).style.paddingLeft="0px";$("comment_children_"+update_comments_target).innerHTML=A.responseText;if(update_comments_obj!==null){setTimeout(function(){update_comments_loaded.push(update_comments_last_loading);Comments.success(update_comments_obj);},500);}},failure:function(A){$("comment_children_"+update_comments_obj).innerHTML="Sorry, we couldn't load comments for some reason. Try reloading the page.";}};var toggleAllChildrens=function(F,G,A){spinnerHtml=$("comment_spinner_replies").innerHTML;$("comment_children_"+F).innerHTML=spinnerHtml;$("comment_children_"+F).style.paddingLeft=G*22+"px";HuffPoUtil.show("comment_children_"+F);HuffPoUtil.hide("show_view_reply_link_"+F);D.setStyle("hide_view_reply_link_"+F,"display","inline");var B=YAHOO.util.Connect.asyncRequest("GET","/include/just_threaded_comments_html.php?update=1&entry_id="+update_comments_entry_id+"&level="+G+"&comment_parent="+F+"&end_level="+A+"&new_comment_id="+update_comments_last_loading+"&all_parents="+update_comments_all_parents,allChildrensRequestHandler);};var loadAllParents={success:function(A){if(A.responseText===""||A.responseText===0){return ;}update_comments_all_parents=A.responseText;pids=A.responseText.split(";");pln=pids.length;if(pln===0){return ;}end_level=pids[pln-1].split(":")[1];for(i=0;i<pln;i++){curp=pids[i].split(":");cur_pid=curp[0];cur_level=curp[1];div_ch=$("comment_children_"+cur_pid);if(div_ch!==null&&typeof div_ch!="undefined"&&div_ch.innerHTML===""){update_comments_target=cur_pid;toggleAllChildrens(cur_pid,cur_level,end_level);return true;}}return false;},failure:function(A){}};var childrensRequestHandler={success:function(A){$("comment_children_"+current_comment_parent).style.paddingLeft="0px";$("comment_children_"+current_comment_parent).innerHTML=A.responseText;if(replies_loading&&current_reply_parent){Comments.addCommentAsReply(current_reply_parent);replies_loading=false;current_reply_parent=null;}},failure:function(A){$("comment_children_"+current_comment_parent).innerHTML="Sorry, we couldn't load comments for some reason. Try reloading the page.";}};var toggleChildrens=function(F,B,G){current_comment_parent=F;childs=$("comment_children_"+F);if(typeof childs=="undefined"){return false;}if(childs.style.display=="none"){spinnerHtml=$("comment_spinner_replies").innerHTML;$("comment_children_"+F).innerHTML=spinnerHtml;$("comment_children_"+F).style.paddingLeft=G*22+"px";HuffPoUtil.show("comment_children_"+F);HuffPoUtil.hide("show_view_reply_link_"+F);D.setStyle("hide_view_reply_link_"+F,"display","inline");var A=YAHOO.util.Connect.asyncRequest("GET","/include/just_threaded_comments_html.php?entry_id="+B+"&level="+G+"&comment_parent="+F,childrensRequestHandler);}else{if(childs.style.display=="block"){$("comment_children_"+F).innerHTML="";HuffPoUtil.hide("comment_children_"+F);HuffPoUtil.hide("hide_view_reply_link_"+F);$("show_view_reply_link_"+F).style.display="inline";}}return true;};var CommentsFlagging={asGood:function(B,F,A){this.process(B,F,A,"best");if($("flag1-Lightbox-"+B)){$("flag1-Lightbox-"+B).style.display="block";}return false;},asAbusive:function(B,F,A){this.process(B,F,A,"abuse");if($("flag2-Lightbox-"+B)){$("flag2-Lightbox-"+B).style.display="block";}return false;},process:function(H,I,F,G){var B=null;if(G=="best"){B=this.callbackGood;}else{B=this.callbackAbusive;}var A=YAHOO.util.Connect.asyncRequest("GET","/include/flagComment.php?type="+G+"&blog_id="+F+"&cmt_id="+H+"&entry_id="+I,B);},callback:{success:function(B,A){if(B.responseText===""){return ;}splits=B.responseText.split(":::");cmt_id=splits[1]?splits[1]:"0";flag_link=$("cmt_flag_"+A+"_btn_"+cmt_id);if(flag_link){flag_link.style.cursor="default";flag_link.onclick=function(){return false;};}}},callbackGood:{success:function(A){CommentsFlagging.callback.success(A,"good");},failure:function(){}},callbackAbusive:{success:function(A){CommentsFlagging.callback.success(A,"abusive");},failure:function(){}}};var CommentsOrder={spinnerHTML:'<div id="comment_spinner"><p><img src="/images/spinner.gif" alt="spinner" />Loading comments&hellip;</p></div>',change:function(){YAHOO.util.Connect.setForm("cmt_order_form");var A=YAHOO.util.Connect.asyncRequest("POST","/include/just_comments_html.php",this);if($("comments")){$("comments").innerHTML=this.spinnerHTML;}return true;},success:function(A){if($("comments")){$("comments").innerHTML=A.responseText;}},failure:function(){if($("comments")){$("comments").innerHTML="Sorry, we couldn't load comments for some reason. Try reloading the page.";}}};var CommentFinder=function(A,B){this.timeout=B;this.intervalID=null;this.objName=A;this.runUpdate=function(){if(!$("comment_finder_content")){return false;}this.intervalID=setInterval(this.objName+".update();",this.timeout);return true;};this.update=function(){var F=YAHOO.util.Connect.asyncRequest("GET","/include/comment_finder_updater.php?update_comment_finder=1",this);};this.success=function(F){if(F.responseText===""){return ;}if($("comment_finder_content")){$("comment_finder_content").innerHTML=F.responseText;}};this.failure=function(){};};var ApprovedPoller=function(A,B){this.objName=A;this.interval=60000;this.timeout=60000;this.first=true;this.intervalID=null;this.entry_id=B;this.user=getCookie("236_user")?true:false;this.runUpdate=function(){if(!this.entry_id||!this.user){return false;}if(this.first){setTimeout(this.objName+".runUpdate();",this.timeout);this.first=false;}else{this.intervalID=setInterval(this.objName+".update();",this.interval);this.update();}return true;};this.update=function(){h=Math.random();var F=YAHOO.util.Connect.asyncRequest("GET","/comment/checkNewApprovedComments.php?entry_id="+this.entry_id+"&hash="+h,this,null);};this.success=function(F){if(F.responseText=="0"){return ;}cmt_ids=F.responseText.split(":::");for(i=0,len=cmt_ids.length-1;i<len;i++){this.approve(cmt_ids[i]);}if(cmt_ids[cmt_ids.length-1].indexOf("p_")!=-1){pending_cnt=cmt_ids[cmt_ids.length-1].substring(2);if($("pending_comments_cnt")){$("pending_comments_cnt").innerHTML=pending_cnt;}if($("pending_comments")){Fat.fade_element("pending_comments");}}};this.failure=function(){if(this.intervalID!==null){clearInterval(this.intervalID);}};this.approve=function(F){comment_el=$("comment_"+F);if(!comment_el||typeof comment_el=="undefined"){return false;}approve_el=$("not_approved_comment_"+F);if(!approve_el||typeof approve_el=="undefined"||approve_el.style.display=="none"){return false;}approve_el.style.display="none";Fat.fade_element(comment_el.id);};};function hidedivFlagGreen(A){document.getElementById("flag1-Lightbox-"+A).style.display="none";}function hidedivFlagRed(A){document.getElementById("flag2-Lightbox-"+A).style.display="none";}function showdivLogin(){setTimeout(function(){$("comment-login-username").focus();},500);document.getElementById("comment-login-Lightbox").style.display="block";}function hidedivLogin(){document.getElementById("comment-login-Lightbox").style.display="none";}function bottomPostClick(){scrollToAnchor("ajax_post_form_for_root");if($("root_comment_text")){setTimeout(function(){$("root_comment_text").focus();},500);}}window.spu_sliced=false;function slice_import_part(){if(window.spu_sliced){$("spu_listForm").style.display="none";$("spu_slide_button_img").src="/images/button-down_v2.gif";window.spu_sliced=false;}else{$("spu_listForm").style.display="block";$("spu_slide_button_img").src="/images/button-up_v2.gif";window.spu_sliced=true;}}function spu_toggleIM(){im1=$("spu_imim");email_tab1=$("spu_email_tab");email_imp1=$("spu_email_imp");email_sh1=$("spu_email_sh");bookmark1=$("spu_bookmark");li_im1=$("spu_li_im");li_email1=$("spu_li_email");li_bookmark1=$("spu_li_bookmark");im1.style.display="block";email_tab1.style.display="none";email_imp1.style.display="none";email_sh1.style.display="none";bookmark1.style.display="none";li_im1.className="active";li_email1.className="";li_bookmark1.className="";$("spu_emailsList").style.display="none";$("spu_emailsList").src="/loading.html";$("spu_logginMsg").innerHTML="";}function spu_toggleEmail(){im1=$("spu_imim");email_tab1=$("spu_email_tab");email_imp1=$("spu_email_imp");email_sh1=$("spu_email_sh");bookmark1=$("spu_bookmark");li_im1=$("spu_li_im");li_email1=$("spu_li_email");li_bookmark1=$("spu_li_bookmark");im1.style.display="none";email_tab1.style.display="block";email_imp1.style.display="block";email_sh1.style.display="block";bookmark1.style.display="none";li_im1.className="";li_email1.className="active";li_bookmark1.className="";$("spu_emailsList").style.display="none";$("spu_emailsList").src="/loading.html";$("spu_logginMsg").innerHTML="";}function spu_toggleBookmark(){im1=$("spu_imim");email_tab1=$("spu_email_tab");email_imp1=$("spu_email_imp");email_sh1=$("spu_email_sh");bookmark1=$("spu_bookmark");li_im1=$("spu_li_im");li_email1=$("spu_li_email");li_bookmark1=$("spu_li_bookmark");im1.style.display="none";email_tab1.style.display="none";email_imp1.style.display="none";email_sh1.style.display="none";bookmark1.style.display="block";li_im1.className="";li_email1.className="";li_bookmark1.className="active";$("spu_emailsList").style.display="none";$("spu_emailsList").src="/loading.html";$("spu_logginMsg").innerHTML="";}function prepare_sending(){if($("mess_msn").checked){$("spu_share_link").href="msnim:chat?contact="+$("spu_s2af_screenname").value+"&message="+encodeURI($("spu_im_message").value);return false;}else{if($("mess_aol").checked){$("spu_share_link").href="aim:GoIm?screenname="+$("spu_s2af_screenname").value+"&message="+encodeURI($("spu_im_message").value);return false;}else{if($("mess_yahoo").checked){$("spu_share_link").href="ymsgr:sendIM?"+$("spu_s2af_screenname").value+"&m="+encodeURI($("spu_im_message").value);return false;}}}}function show_print_preview_sp(){var A=share_link;A=A.replace(/#/,"");if(A.indexOf("?")!=-1){A+="&print=1";}else{A+="?print=1";}window.open(A);}function show_print_preview(){var A=window.location.href;A=A.replace(/#/,"");if(A.indexOf("?")!=-1){A+="&print=1";}else{A+="?print=1";}window.open(A);}function doOnScroll(){if($("spu").style.display=="block"){var A=$("spu");A.style.left=Math.round((D.getViewportWidth()-A.offsetWidth)/2)+D.getDocumentScrollLeft()+"px";A.style.top=Math.round((D.getViewportHeight()-A.offsetHeight)/2)+D.getDocumentScrollTop()+"px";}}var spu_emList;var spu_addEml;var spu_protect;function spu_init(){spu_emList=document.getElementById("spu_emailsList");spu_addEml=document.getElementById("spu_additionalEmails");spu_protect=document.getElementById("protector");spu_protect.onclick=function(){share_hide();return false;};document.getElementById("spu_loginButton").onclick=function(){$("spu_emailForm").style.display="none";$("spu_email_tab").style.height="10px";$("spu_loading").style.display="block";var B=$("spu_listForm");var F="";var A="";for(i=0;i<B.elements.length;i++){F=F+A+escape(B.elements[i].name)+"="+escape(B.elements[i].value);A="&";document.cookie=B.elements[i].name+"="+escape(B.elements[i].value);}$("spu_emailsList").style.display="block";$("spu_emailsList").src="/import_ab.php?spu=spu&randomnum="+Math.round(Math.random()*1000000000)+"&"+F;return false;};}function init_ads(){var A;A="/site=236.com/area=<?=$Ad_Area?>/aamsz=300x250/pageid="+aamPageId+"/random="+aamRndNum;YAHOO.util.Dom.getElementsByClassName("share-iframe","iframe",$("spu"),function(B){B.contentDocument.write('<script language="javascript" type="text/javascript" src="'+adServer+"/jserver"+A+'"><\\/script>');});}function spu_noResults(A){spu_emList.style.display="none";spu_centerPosition("spu_loginDiv",A);}function spu_centerPosition(F,B){var A=document.getElementById(F);A.style.display="block";document.getElementById("spu_logginMsg").innerHTML=(B)?B:"";}function spu_newAddress(G){var F=document.createElement("div");F.className="share-table";F.style.textAlign="left";F.style.paddingLeft="22px";var B=document.createElement("span");B.style.width="90px";B.appendChild(document.createTextNode("Friend's Email"));F.appendChild(B);var H=document.createElement("input");H.name="email['"+G+"']";H.id="email['"+G+"']";H.size=21;H.maxLength=100;H.style.border="3px solid #D3D4D6";H.style.padding="3px 4px";H.style.marginLeft="8px";H.style.marginRight="5px";H.style.color="#2B4462";H.style.display="inline";if(G&&(G!="[object MouseEvent]")){H.value=G;}F.appendChild(H);var A=document.createElement("img");A.src="/images/arrowC.gif";A.onclick=spu_removeFriend;F.appendChild(A);spu_addEml.appendChild(F);return false;}function spu_removeFriend(A){evnt=(!A)?window.event.srcElement:A.target;spu_addEml.removeChild(evnt.parentNode);return false;}function spu_rmvAll(){while(spu_addEml.firstChild){spu_addEml.removeChild(spu_addEml.firstChild);}document.getElementById("firstEml").value="";return false;}