tagged.namespace("util.string");tagged.util.string={quoteRegEx:null,isEmpty:function(a){return(a==null||a.match(/^\s*$/)!=null)},escapeQuotes:function(a){if(!tagged.util.string.quoteRegEx){tagged.util.string.quoteRegEx=new RegExp();tagged.util.string.quoteRegEx.compile("('|\")","g")}return a.replace(tagged.util.string.quoteRegEx,"\\$1")},breakString:function(f,c){if(!f){return""}var f=f.replace(/\n/g," ");var e=f.split(" ");if(navigator.appName=="Netscape"){var g="<wbr/>"}else{var g="&shy;"}for(var d=0;d<e.length;d++){if(e[d].length>c){var b=e[d].length;var h=b/c;var j=new Array;for(var k=0;k<h;k++){var a=e[d].substring(k*c,(k+1)*c)+g;j.push(a)}e[d]=j.join("")}}return(e.join(" "))},tinyMceIsEmpty:function(a){if(!a){return true}return !YAHOO.lang.trim(a.replace(/<p>|<\/p>|<br>|&nbsp;/g,""))},subParams:function(a,b){if((typeof b!="object")||(a==null)){return""}return a.replace(/\%?\{(\w+)\}/g,function(d,c,e){if(typeof(b[c])!="undefined"&&b[c]!=null){return b[c]}})},summary:function(a,b){if(!b||a.length<=b){return a}return a.substring(0,b-3).replace(/\.+$/,"")+"..."}};TAGGED.namespace("api");TAGGED.api={format:"json",_login_regex_match:/"error":{"code":11,.*}/,_captcha_regex_match:/"stat":"security"/,errorResponse:{stat:"fail",error:{code:-1}},errorResponseBC:'({stat: "fail", error: {code: -1}})',queue:[],_deferQueueTime:300,defer:[],_deferTimer:null,_trackedRequests:{},_requestsLUT:{},dequeue:function(){var a=this.queue;this.queue=[];if(a.length){this.call(a)}},deferDequeue:function(){if((this.queue.length+this.defer.length)<=1){this.startDefer({result:this._deferQueueTime});return}this.queue=this.queue.concat(this.defer);this.defer=[];this.dequeue()},handleDefer:function(){this.stopDefer();if(!this.defer.length||this.defer[this.defer.length-1].callback!="TAGGED.api.startDefer"){this.defer.push({method:"tagged.util.echoIt",data:this._deferQueueTime,callback:"TAGGED.api.startDefer"})}this.deferDequeue()},startDefer:function(a){var b=0;if(a){if(a.stat=="fail"){return}if(a.result){b=a.result}else{b=a}}if(YAHOO.lang.isString(b)){b=parseInt(b)}if(!YAHOO.lang.isNumber(b)){b=0}if(b>0){this.stopDefer();this._deferTimer=window.setTimeout("TAGGED.api.handleDefer()",1000*b)}else{this.handleDefer()}},stopDefer:function(){if(!this._deferTimer){return}window.clearTimeout(this._deferTimer);this._deferTimer=null},call:function(k,g){if(this.queue.length&&!g&&YAHOO.lang.isObject(k)){if(YAHOO.lang.isArray(k)){for(var d=0,h=k.length;d<h;++d){this.queue.push(k[d])}}else{this.queue.push(k)}this.dequeue();return}var a="\n";var e={application_id:"user",format:this.format};if(this.getQueryStringParameter("no_cache")||this.getQueryStringParameter("clear_cache")){e.no_cache="1"}var j=this.getQueryStringParameter("loc");if(!j){j=this.getQueryStringParameter("locale")}if(j){e.locale=j}if(k.constructor==Array){var c=tagged.clone(k);for(var d=0,f=k.length;d<f;++d){if(k[d].constructor==String){a+=k[d]+"\n"}else{if(typeof(k[d].callback)=="object"){delete k[d].callback}a+=TAGGED.api.createQueryString(k[d],true)+"\n"}}}else{if(k.constructor==String){var c=k;a+=k+"\n"}else{var c={};YAHOO.lang.augmentObject(c,k);if(typeof(k.callback)=="object"){delete k.callback}a+=TAGGED.api.createQueryString(k,true)+"\n"}}e.session_token=YAHOO.util.Cookie.get("S");TAGGED.api.callback.argument=g;var b=YAHOO.util.Connect.asyncRequest("POST","/api/?"+TAGGED.api.createQueryString(e),TAGGED.api.callback,a);if(tagged.performance){tagged.performance.addXHR(b,a)}this.pushRequestLUT(b.tId,c);return b},callback:{success:function(a){if(!a||!a.responseText){if(tagged.performance){tagged.performance.updateXHRQueue()}TAGGED.api.evalResponse(a,true)}if(tagged.performance){tagged.performance.removeXHR(a)}if(a.responseText.search(TAGGED.api._login_regex_match)>=0){window.location="/index.html?r="+encodeURIComponent(window.location)}else{if(tagged.diagnostics){tagged.diagnostics.findApiData(a.responseText)}if(a.argument){a.argument()}TAGGED.api.evalResponse(a)}},failure:function(a){if(tagged.performance){tagged.performance.updateXHRQueue()}TAGGED.api.evalResponse(a,true)}},recall:function(a,b){if(b==null||b==""){b="default"}if(TAGGED.api._trackedRequests[b]!=null){YAHOO.util.Connect.abort(TAGGED.api._trackedRequests[b]);TAGGED.api._trackedRequests[b]=null}TAGGED.api._trackedRequests[b]=TAGGED.api.call(a)},nullResponseHandler:function(){},createQueryString:function(b,a){var c="";if(a){b.api_signature="";if(TAGGED.guid){b.track=TAGGED.guid}if(b.method){c+="method="+encodeURIComponent(b.method)+"&";delete b.method}else{alert(TAGGED.api.strings.errorMethodMissing);return""}}for(i in b){c+=encodeURIComponent(i)+"="+encodeURIComponent(b[i])+"&"}if(c.length){return c.substr(0,c.length-1)}return c},pushRequestLUT:function(e,c){var d=function(h){var f=h.indexOf("callback=")+9;var g=h.slice(f,h.indexOf("&",f));return{callback:g}};if(YAHOO.lang.isArray(c)){this._requestsLUT[e]=[];for(var b=0,a=c.length;b<a;++b){if(YAHOO.lang.isString(c[b])){this._requestsLUT[e].push(d(c[b]))}else{this._requestsLUT[e].push(c[b])}}}else{if(YAHOO.lang.isString(c)){this._requestsLUT[e]=[d(c)]}else{this._requestsLUT[e]=[c]}}},popRequestLUT:function(b){var a=this._requestsLUT[b];delete this._requestsLUT[b];return a},evalResponse:function(o,isError){var requestCalls=this.popRequestLUT(o.tId);if(!requestCalls||!requestCalls.length){return}if(!isError){try{if(!o.responseText){isError=true}else{if(this.format=="jsonp"){eval(o.responseText);return}else{var requestData=eval(o.responseText);if(requestCalls.length!=requestData.length){isError=true}}}}catch(e){isError=true;alert(TAGGED.api.strings.errorGeneral)}}for(var i=0;i<requestCalls.length;i++){var _request=requestCalls[i];if(typeof(requestCalls[i].callback)=="string"){if(isError){eval(_request.callback+TAGGED.api.errorResponseBC)}else{try{if(requestData[i].search(TAGGED.api._captcha_regex_match)>-1){var data=eval("("+requestData[i]+")");tagged.security.captcha.trigger(data,_request)}else{eval(_request.callback+"("+requestData[i]+")")}}catch(e){eval(_request.callback+TAGGED.api.errorResponseBC)}}}else{if(isError){_request.callback.fn.apply(_request.callback.scope,[TAGGED.api.errorResponse,_request.callback.args])}else{try{var data=eval("("+requestData[i]+")");if(data.stat=="security"){tagged.security.captcha.trigger(data,_request)}else{_request.callback.fn.apply(_request.callback.scope,[data,_request.callback.args])}}catch(e){if(_request.callback){_request.callback.fn.apply(_request.callback.scope,[TAGGED.api.errorResponse,_request.callback.args])}}}}}}};if(tagged.exists("H")){TAGGED.api.getQueryStringParameter=H.getQueryStringParameter}else{TAGGED.api.getQueryStringParameter=function(f,c){var d,b,a,h,g,e;c=c||window.location.href;a=c.indexOf("?");h=a>=0?c.substr(a+1):c;a=h.lastIndexOf("#");h=a>=0?h.substr(0,a):h;g=h.split("&");for(d=0,b=g.length;d<b;d++){e=g[d].split("=");if(e.length>=2){if(e[0]===f){return unescape(e[1])}}}return null}}E.onDOMReady(function(){TAGGED.api.startDefer({result:1})});tagged.namespace("regpath.regpage");D=YAHOO.util.Dom;E=YAHOO.util.Event;C=YAHOO.util.Cookie;tagged.regpath.regpage={cityDataSource:"",passed_captcha:null,pollEnabled:false,isRegOnIndex:false,init:function(){tagged.regpath.regpage.prefillValues();tagged.regpath.regpage.removeShowingTip();tagged.regpath.regpage.setConditionalRegformProperties();tagged.regpath.regpage.attachEventListeners();tagged.regpath.regpage.initCityAutocomplete();tagged.regpath.regpage.setUpFields(null,1);tagged.regpath.regpage.reloadCaptcha()},prefillValues:function(){if(name=C.get("regName")){D.get("first_name").value=name}if(lastName=C.get("regLastName")){D.get("last_name").value=lastName}if(gender=C.get("regFemaleGender")){D.get(gender).checked=true}if(day=C.get("regBirthDay",Number)){D.get("birth_day").value=day}if(month=C.get("regBirthMonth",Number)){D.get("birth_month").value=month}if(year=C.get("regBirthYear",Number)){D.get("birth_year").value=year}if(city=C.get("regCity")){D.get("city").value=city}if(email=C.get("regEmail")){D.get("email").value=email}if(zip=C.get("regZipCode")){D.get("zipCode").value=zip}if(country=C.get("regCountry")){D.get("country").value=country;tagged.regpath.regpage.globals.prefillCountry=country}if(C.get("regTermsOfService",Number)==1){D.get("termsOfService").checked=true}tagged.regpath.regpage.removeCookies()},handleUnload:function(){if(!tagged.regpath.regpage.pollEnabled){return}var a=250;var c=600;var b="bounce_poll.html";var d=window.open(b,"bounce_poll","height="+a+",width="+c+",menubar=0,toolbar=0,status=0,location=0,scrollbars=0,resizable=0");if(d){d.focus()}},createTooltip:function(h,b){if(b.length==2){var g=document.getElementById(b[0]);var d=b[1];tagged.regpath.regpage.removeShowingTip(null);if(!g){return}var f=document.createElement("span");var c=document.createElement("p");var a=g.parentNode;toolTipMessage=tagged.strings.regpage[d];effectiveToolTipMessage=toolTipMessage.replace(/<.{1,10}>/g,"");effectiveToolTipMessage=effectiveToolTipMessage.replace(/&#[0-9]*;/g,"");if(effectiveToolTipMessage.length<80){f.className="regPageTooltipsTiny"}else{if(effectiveToolTipMessage.length<120){f.className="regPageTooltipsSmall"}else{if(effectiveToolTipMessage.length<182){f.className="regPageTooltipsMedium"}else{if(effectiveToolTipMessage.length<260){f.className="regPageTooltipsLarge"}else{f.className="regPageTooltipsLarger"}}}}f.setAttribute("id","regPageTooltip");if(g.id=="cityExt"&&tagged.regpath.regpage.isRegOnIndex){D.addClass(f,"cityTooltip")}f.appendChild(c);c.innerHTML=toolTipMessage;a.insertBefore(f,a.lastChild.nextSibling)}},removeShowingTip:function(b){var a=document.getElementById("regPageTooltip");if(a){a.parentNode.removeChild(a)}},onFieldFocused:function(b,a){D.removeClass(a,"defaultInput");D.addClass(a,"selectedInput")},onFieldBlur:function(b,a){D.addClass(a,"defaultInput");D.removeClass(a,"selectedInput")},initCityAutocomplete:function(){var c="/proxy/l.php";var a=["results","placeName"];var b=document.getElementById("country");tagged.regpath.regpage.cityDataSource=new YAHOO.widget.DS_XHR(c,a);tagged.regpath.regpage.cityDataSource.scriptQueryParam="str";tagged.regpath.regpage.cityDataSource.resultFormat="1 2";tagged.regpath.regpage.cityDataSource.scriptQueryAppend="cc_iso="+(b?b.value:"US");var d=new YAHOO.widget.AutoComplete("city","cities",tagged.regpath.regpage.cityDataSource);d.useIFrame=true;d.formatResult=tagged.regpath.regpage.formatResult},changeCountryTypeahead:function(a){if(tagged.regpath.regpage.cityDataSource){tagged.regpath.regpage.cityDataSource.scriptQueryAppend="cc_iso="+a}var b=new YAHOO.widget.AutoComplete("city","cities",tagged.regpath.regpage.cityDataSource);b.useIFrame=true;b.formatResult=tagged.regpath.regpage.formatResult},formatResult:function(e,f,d){var b=document.getElementById("country").value;var a=e[1]["placeName"];if(b=="CA"||b=="AU"||b=="GB"){a+=", "+e[1]["placeAdm1"]}var c=new RegExp("("+f+")","ig");return a.replace(c,"<strong>$1</strong>")},setUpFields:function(b,a){var c=tagged.regpath.regpage.globals.prefillCountry;if(a){document.getElementById("country").value=c}else{c=document.getElementById("country").value}if(c=="US"){D.addClass("cityWrapper","hide_me");D.removeClass("zipWrapper","hide_me");if(a){D.addClass("countryWrapper","hide_me");D.addClass("country","hide_me")}}else{D.addClass("zipWrapper","hide_me");D.removeClass("cityWrapper","hide_me");D.removeClass("countryWrapper","hide_me")}tagged.regpath.regpage.changeCountryTypeahead(c);if(a&&!tagged.regpath.regpage.isRegOnIndex){tagged.regpath.regpage.focusField()}},showExtraFields:function(c,a){var b=document.getElementById("nextButtonWrapper");if(b){b.style.marginTop=c?30:10}},onLocaleChange:function(a,b){newLoc=document.getElementById("locale").value;if(newLoc==b){return}else{if(tagged.data.enabledList[newLoc]){C.set("regName",D.get("first_name").value);C.set("regLastName",D.get("last_name").value);C.set("regFemaleGender",(D.get("female").checked?"female":"male"));C.set("regBirthDay",D.get("birth_day").value);C.set("regBirthMonth",D.get("birth_month").value);C.set("regBirthYear",D.get("birth_year").value);C.set("regCountry",D.get("country").value);C.set("regCity",D.get("city").value);C.set("regEmail",D.get("email").value);C.set("regZipCode",D.get("zipCode").value);C.set("regTermsOfService",D.get("termsOfService").checked?1:0);tagged.refreshPage(document.getElementById("locale").value)}}},focusField:function(){var c="first_name";for(var b=tagged.regpath.regpage.errors.length-1;b>=0;b--){var a;switch(tagged.regpath.regpage.errors[b]){case"1020":case"1230":a="firstNameLabel";c="first_name";break;case"1021":case"1214":a="lastNameLabel";c="last_name";break;case"1023":a="countryLabel";c="country";break;case"1024":case"1201":case"1221":a="zipcodeLabel";c="zipCode";break;case"1025":case"1209":a="cityLabel";c="city";break;case"1026":case"1211":case"1216":case"1217":case"1222":case"1223":case"1224":case"1225":a="emailAddressLabel";c="email";break;case"1027":case"1227":case"1228":a="passwordLabel";c="password";break;case"1029":c="birth_month";case"1030":c="birth_day";case"1031":c="birth_year";a="birthDateLabel";break;case"1206":case"1010":a="verificaitonCodeLabel";c="validation_code";break;case"1032":c="termsOfService";break}D.addClass(a,"red_text")}var d=document.getElementById(c);if(d){d.focus()}},isAChild:function(){var a=tagged.regpath.regpage.getAgeFromRegForm();return a<13},submitCaptchaCode:function(c){E.preventDefault(c);var b=E.getTarget(c);tagged.regpath.regpage.disableButton(b);var a={method:"tagged.security.verifyRecaptcha",callback:"tagged.regpath.regpage.setVerifyCaptcha",challenge:Recaptcha.get_challenge(),response:Recaptcha.get_response(),event:"register"};TAGGED.api.call(a)},setVerifyCaptcha:function(d){var c=d.result;if(c.error&&c.error==true){alert(c.message)}else{if(!c.valid){var b="";var a=document.getElementById("locale").value;b+='<li id="error_1013">'+tagged.strings.regpage.messages[1013]+"</li>";D.get("error_msg").innerHTML='<ul id="error_list">'+b+"</ul>";D.replaceClass("error_msg","hide_me","block");Recaptcha.reload();tagged.regpath.regpage.showCaptchaStep()}else{document.forms.reg_form.submit()}}},disableButton:function(a){button=D.get(a);D.replaceClass(button,"greenBtnBig","greyBtnBig");button.disabled=true},enableButton:function(a){button=D.get(a);D.replaceClass(button,"greyBtnBig","greenBtnBig");button.disabled=false},submitIndexPageForm:function(b){E.preventDefault(b);tagged.regpath.regpage.clearErrorMessages();tagged.regpath.regpage.disableButton("submitBtnAlt1");var a={method:"tagged.reg.regPreCheck",callback:"tagged.regpath.regpage.setCheckErrors",locale:document.getElementById("locale").value,firstName:D.get("first_name").value,lastName:D.get("last_name").value,gender:(D.get("female").checked?"F":"M"),birthDay:D.get("birth_day").value,birthMonth:D.get("birth_month").value,birthYear:D.get("birth_year").value,country:(D.get("country").value==""?tagged.regpath.regpage.globals.prefillCountry:D.get("country").value),city:D.get("city").value,email:D.get("email").value,password:D.get("password").value,zipCode:D.get("zipCode").value,termsOfService:D.get("termsOfService").checked};TAGGED.api.call(a)},setCheckErrors:function(f){if(!f||!f.result){alert(tagged.strings.regpage.messages["1301"]);tagged.regpath.regpage.enableButton("submitBtnAlt1");tagged.regpath.regpage.focusField();return false}var c=f.result;if(c.error&&c.error==true){var e=c.errors;tagged.regpath.regpage.errors=e;D.replaceClass("error_msg","hide_me","block");var b="";var a=document.getElementById("locale").value;for(var d in e){b+='<li id="error_'+e[d]+'">'+tagged.strings.regpage.messages[e[d]]+"</li>"}D.get("error_msg").innerHTML='<ul id="error_list">'+b+"</ul>";tagged.regpath.regpage.focusField();tagged.regpath.regpage.enableButton("submitBtnAlt1")}else{(c.is_invited)?document.forms.reg_form.submit():tagged.regpath.regpage.showCaptchaStep()}},showCaptchaStep:function(){tagged.regpath.regpage.enableButton("captchaPageButton");D.removeClass("second_step","hide_me");D.addClass("first_step","hide_me");Recaptcha.focus_response_field()},reloadCaptcha:function(){if(D.get("captchaDiv")){var b=D.get("locale").value;var a=b.substr(0,2);RecaptchaOptions.lang=a;RecaptchaOptions.callback=function(){E.addListener("recaptcha_response_field","focus",tagged.regpath.regpage.createTooltip,new Array("captchaCodeTooltipBox",tagged.regpath.regpage.isRegOnIndex?"captchaPageTooltip":"codeTooltip"))};Recaptcha.create(RecaptchaOptions.public_key,"captchaDiv",RecaptchaOptions)}},attachEventListeners:function(){E.addListener("first_name","focus",tagged.regpath.regpage.onFieldFocused,"first_name");E.addListener("first_name","focus",tagged.regpath.regpage.createTooltip,new Array("first_name","firstNameTooltip"));E.addListener("first_name","blur",tagged.regpath.regpage.onFieldBlur,"first_name");E.addListener("last_name","focus",tagged.regpath.regpage.onFieldFocused,"last_name");E.addListener("last_name","focus",tagged.regpath.regpage.createTooltip,new Array("last_name","lastNameTooltip"));E.addListener("last_name","blur",tagged.regpath.regpage.onFieldBlur,"last_name");E.addListener("city","focus",tagged.regpath.regpage.createTooltip,new Array("cityExt","cityTooltip"));E.addListener("city","focus",tagged.regpath.regpage.onFieldFocused,"city");E.addListener("city","blur",tagged.regpath.regpage.onFieldBlur,"city");E.addListener("zipCode","focus",tagged.regpath.regpage.createTooltip,new Array("zipCode","zipcodeTooltip"));E.addListener("zipCode","focus",tagged.regpath.regpage.onFieldFocused,"zipCode");E.addListener("zipCode","blur",tagged.regpath.regpage.onFieldBlur,"zipCode");E.addListener("email","focus",tagged.regpath.regpage.createTooltip,new Array("email","emailTooltip"));E.addListener("email","focus",tagged.regpath.regpage.onFieldFocused,"email");E.addListener("email","blur",tagged.regpath.regpage.onFieldBlur,"email");E.addListener("old_email","focus",tagged.regpath.regpage.createTooltip,new Array("old_email","oldEmailTooltip"));E.addListener("old_email","focus",tagged.regpath.regpage.onFieldFocused,"old_email");E.addListener("old_email","blur",tagged.regpath.regpage.onFieldBlur,"old_email");E.addListener("password","focus",tagged.regpath.regpage.createTooltip,new Array("password","passwordTooltip"));E.addListener("password","focus",tagged.regpath.regpage.onFieldFocused,"password");E.addListener("password","blur",tagged.regpath.regpage.onFieldBlur,"password");E.addListener("female","focus",tagged.regpath.regpage.createTooltip,new Array("gender_wrapper","genderTooltip"));E.addListener("male","focus",tagged.regpath.regpage.createTooltip,new Array("gender_wrapper","genderTooltip"));E.addListener("birth_month","focus",tagged.regpath.regpage.createTooltip,new Array("date_input","birthDayTooltip"));E.addListener("birth_day","focus",tagged.regpath.regpage.createTooltip,new Array("date_input","birthDayTooltip"));E.addListener("birth_year","focus",tagged.regpath.regpage.createTooltip,new Array("date_input","birthDayTooltip"));E.addListener("birth_day","change",tagged.regpath.regpage.setUpFields,0);E.addListener("birth_year","change",tagged.regpath.regpage.setUpFields,0);E.addListener("birth_month","change",tagged.regpath.regpage.setUpFields,0);E.addListener("country","change",tagged.regpath.regpage.setUpFields,0);E.addListener("country","focus",tagged.regpath.regpage.createTooltip,new Array("country","countryTooltip"));E.addListener("locale","change",tagged.regpath.regpage.setUpFields,0);E.addListener("locale","change",tagged.regpath.regpage.onLocaleChange,0);E.addListener("locale","focus",tagged.regpath.regpage.createTooltip,new Array("locale","languageTooltip"));E.addListener("termsOfService","focus",tagged.regpath.regpage.removeShowingTip);E.addListener("offersTxt","mouseout",tagged.regpath.regpage.removeShowingTip);E.addListener("offersTxt","mouseover",tagged.regpath.regpage.createTooltip,new Array("privacyPolicyMainLabel","offersTooltip"));if(tagged.regpath.regpage.pollEnabled){E.addListener("submitBtnAlt1","click",function(){tagged.regpath.regpage.pollEnabled=false});E.addListener(window,"beforeunload",tagged.regpath.regpage.handleUnload)}if(tagged.regpath.regpage.isRegOnIndex){E.addListener("captchaPageButton","click",tagged.regpath.regpage.submitCaptchaCode);E.addListener("login_frame","focus",tagged.regpath.regpage.removeShowingTip);E.addListener("submitBtnAlt1","click",tagged.regpath.regpage.submitIndexPageForm)}},setConditionalRegformProperties:function(){if(tagged.regpath.regpage.isRegOnIndex){document.getElementById("selectbox_wrap").innerHTML="";D.addClass("submitBtnAlt1","greenBtnBig")}},clearErrorMessages:function(){tagged.regpath.regpage.errors=[];D.get("error_msg").innerHTML="";D.replaceClass("error_msg","block","hide_me");var a=["firstNameLabel","lastNameLabel","countryLabel","zipcodeLabel","cityLabel","emailAddressLabel","passwordLabel","birthDateLabel"];for(var b in a){D.removeClass(a[b],"red_text")}},ageSelected:function(){var a=D.get("birth_day").value;var b=D.get("birth_month").value;var c=D.get("birth_year").value;if(a>0&&b>0&&c>0){return true}return false},removeCookies:function(){C.remove("regName");C.remove("regLastName");C.remove("regFemaleGender");C.remove("regBirthDay");C.remove("regBirthMonth");C.remove("regBirthYear");C.remove("regCity");C.remove("regEmail");C.remove("regZipCode");C.remove("regCountry");C.remove("regTermsOfService")}};tagged.loadStringsDirect({"TAGGED.api.strings":{errorMethodMissing:"An error occurred. Please refresh the page and try again. Method is missing.",errorGeneral:"An error occurred. Please refresh the page and try again."}});tagged.loadStringsDirect({"tagged.strings.regpage":{firstNameTooltip:"Welcome to Tagged! Enter your first name to get started.",lastNameTooltip:"No need to worry or even lie. We do not display your last name on your profile page.",genderTooltip:"Do we really need to explain this one?",birthDayTooltip:"We'll send your friends a hint when it's your birthday so they can remember to buy you lots of presents!",countryTooltip:"Select your country from the drop down list.",languageTooltip:"Select your language from the drop down list.",cityTooltip:"Just start typing the city you live in. Then choose the correct one from the drop down list that appears.",zipcodeTooltip:"Gimme 5 digits please!",emailTooltip:"We'll email you about new friends!  You'll also receive our email newsletters, account updates and special offers targeted to your interests, sent to you by Tagged.",oldEmailTooltip:"Ever changed your email?  Make sure people can find you, with your permission, using Return Path's free service. Your email addresses will only be shared if you complete this field.",passwordTooltip:"It's gotta be 6 characters.<br/>FYI - it's also cAsE sEnSiTiVe.",codeTooltip:"<strong>Enter the letters from the box above</strong><br/>This helps Tagged prevent automated registrations.",captchaPageTooltip:"<strong>Enter the text in the box above</strong><br/>This tells us that you are a real person, not a robot :)",tosTooltip:"Check this and hit Join Free!",offersTooltip:"Receive valuable offers and fun surveys on the latest movies, video games, fashion, entertainment, and more!",messages:{"1000":"Registration Failed!","1010":"Incorrect confirmation code - please try again.","1011":"Another confirmation email has been sent to %s.<br/>Make sure you also look in your junk/spam folders.","1013":"That does not match the text in the box - please try again.","1020":"First Name entered was invalid.","1021":"Last Name entered was invalid.","1022":"Gender entered was invalid.","1023":"You haven't selected your country from the list.","1024":"Zip code entered was invalid.","1025":"City entered was invalid.","1026":"Email address provided was invalid.","1027":"Password entered was invalid.","1028":"Please enter the code shown below.","1029":"You haven't selected your birth Day from the list.","1030":"You haven't selected your birth Month from the list.","1031":"You haven't selected your birth Year from the list.","1032":"You must agree to our terms of service to register.","1033":"An error has occured. Please try again.","1050":"You do not have any contacts in the address book you are trying to import. Please try another provider.","1051":"There was error when importing your contacts.","1052":"There was an error connecting to %s Incorrect email address/password combination - please try again.","1053":"Incorrect email address/password combination - please try again.","1054":"Please enter a username and password.","1100":"Please select a valid file.","1101":"Could not upload this image!","1102":"Please select a file from the Library.","1103":"Please click 'Browse' to find an image to upload.","1104":"Image is too large. Maximum allowed filesize is 5K.","1105":"Image format is not supported. Only supported image formats are allowed to be uploaded.","1106":"File too small.","1201":"Please enter a valid 5 digit Zip Code","1202":"You must select gender","1203":"This display name is too long. Please limit it to 35 characters or less.","1204":"This display name is not permitted. Please try a different display name.","1205":"Please enter verification code.","1206":"Please enter the correct code in the verification box.","1207":"Please pick a city from the list.","1208":"Please enter your city name.","1209":"Please enter a valid city name greater than 2 characters.","1210":"This is a required field.","1211":"Invalid email address.","1212":"Invalid AIM screen name.","1213":"Passwords must match.","1214":"Invalid first/last name.","1215":"Invalid address.","1216":"This email address is already taken.","1217":"You've entered an invalid email address.","1218":"You've entered an invalid AIM screen name.","1219":"The passwords you've entered do not match.","1220":"Please enter your birthdate.","1221":"You've entered an invalid postal address.","1222":"Email address is blocked.","1223":"Email address is not valid.","1224":"Another user has already registered with that email address.","1225":"Another user has already registered with that email address.","1226":"You've entered an invalid %s","1227":"Your password must contain at least 6 characters.","1228":"Your password cannot contain more than 200 characters.","1229":"You must accept the Tagged Terms of Service.","1230":"The first name you entered is not permitted. Please try a different name.","1231":"Invalid birthdate.","1301":"Uh oh! An error has occurred. Please try submitting again."}}});