



	HS_Form.prototype=new HS_Object();HS_Form.prototype.constructor=HS_Form;function HS_Form(_1,_2,_3,_4){if(arguments.length>0){this.init(_1,_2,_3,_4);}this.className="HS_Form";}HS_Form.prototype.init=function(_5,_6,_7,_8){var _9="";this.baseInit=HS_Object.prototype.init;this.baseInit(_5);var id="";if(typeof _6!="undefined"&&_6!=null){id=_6;}var _b=null;if(id.length>0){_b=document.getElementById(id);}if(_b!=null){_b.name=_b.id;}this.formName="";this.updateFormName=function(){var _c=_9.lastIndexOf("/");if(_c>=0){this.formName=_9.substring(_c+1);}else{this.formName="";}if(this.formName.length>0&&_b!=null){_b.name=this.formName;}};if(typeof _7!="undefined"&&_7!=null){_9=_7;this.updateFormName();}var _d=null;var _e=new Array();var _f=true;var _10=false;var _11=null;if(typeof _8!="undefined"&&_8!=null){_11=_8;}var _12=new Array();var _13=true;this.enableErrorOutput=function(){_13=true;};this.disableErrorOutput=function(){_13=false;};this.getErrors=function(){return _12;};this.clearErrors=function(){_12=new Array();if(_13){var _14=document.getElementById("hsidHSErrorMessages");if(_14!=null){_14.innerHTML="";}var _15=document.getElementById("hsidHSErrorDialog");if(_15!=null){_15.style.display="none";}}};this.reportError=function(key){if(_13){var str="";if(typeof HS_ErrorDisplayHandler!="undefined"){str=HS_ErrorDisplayHandler(key);}if(str.length>0){var _18=document.getElementById("hsidHSErrorDialog");if(_18!=null){_18.style.display="block";var _19=document.getElementById("hsidHSErrorMessages");if(_19!=null){var _1a=document.createElement("div");_19.appendChild(_1a);_1a.innerHTML=str;}}}}this.log("report error: "+key);_12.push(key);};this.getServiceData=function(_1b){if(_d==null){return null;}if(typeof _1b=="undefined"||_1b==null||_1b.length<=0){return _d;}var _1c=_d[HS_HASHKEY_SUBARRAY+"2"];if(typeof _1c!="undefined"&&_1c!=null&&_1c.length>0){for(var i=0;i<_1c.length;i++){var _1e=_1c[i];if(_1b==_1e["stFieldName"]){return _1e;}}}return null;};this.getDisplayData=function(key){if(_d==null){return "";}var _20="";var _21=_d[HS_HASHKEY_SUBARRAY+"1"];if(typeof _21!="undefined"&&_21!=null&&_21.length>0){_20=_21[0][key];if(typeof _20=="undefined"||_20==null){_20="";}}return _20;};this.getForward=function(_22){if(typeof _22=="undefined"||_22==null||_22.trim().length<=0){return null;}for(var i=0;i<_e.length;i++){var _24=_e[i];if(_24[0].trim()==_22.trim()){return _24[1];}}return null;};this.setForward=function(_25,_26){if(typeof _25=="undefined"||_25==null||_25.trim().length<=0){return;}if(typeof _26=="undefined"||_26==null||_26.trim().length<=0){return;}for(var i=0;i<_e.length;i++){var _28=_e[i];if(_28[0].trim()==_25.trim()){return;}}_e.push(new Array(_25.trim(),_26.trim()));};this.setURL=function(_29){if(typeof _29!="undefined"&&_29!=null){_9=_29;this.updateFormName();}};this.modifyForward=function(_2a,_2b){if(typeof _2a=="undefined"||_2a==null||_2a.trim().length<=0){return;}if(typeof _2b=="undefined"||_2b==null||_2b.trim().length<=0){return;}for(var i=0;i<_e.length;i++){var _2d=_e[i];if(_2d[0].trim()==_2a.trim()){_2d[1]=_2b;return;}}_e.push(new Array(_2a.trim(),_2b.trim()));};this.run=function(_2e,_2f){if(_9.trim().length<=0){return;}_d=null;this.clearErrors();var _30=false;var _31=_9+"?out=arrFormData";if(typeof _2f!="undefined"&&_2f!=null){if(_2f){_30=true;}}if(!_30){var _32="";if(typeof _2e!="undefined"&&_2e!=null){_32=_2e;}if(_32.length<=0){_32=HS_GetQueryString("formid").trim();}if(_32.length>0){this.log("existing formid: "+_32);_f=false;_31+="&formid="+_32;}}_XMLHTTP.request(_31,HS_Form_DataService_Callback,eval(this.name));};this.run2=function(_33,_34,_35){if(_9.trim().length<=0){return;}_d=null;this.clearErrors();var _36=false;var _37=_9+"?out=arrFormData";if(typeof _35!="undefined"&&_35!=null){if(_35){_36=true;}}if(!_36){var _38="";if(typeof _34!="undefined"&&_34!=null){_38=_34;}if(_38.length<=0){_38=HS_GetQueryString("formid").trim();}if(_38.length>0){this.log("existing formid: "+_38);_f=false;_37+="&formid="+_38;}}_XMLHTTP.request2(_33,_37,eval(this.name));};this.buildOutputs=function(){if(_d==null){return;}var _39=_d[HS_HASHKEY_SUBARRAY+"1"];if(typeof _39!="undefined"&&_39!=null&&_39.length>0){for(var key in _39[0]){if(key!="size"){var obj=document.getElementById("hsid"+key);if(obj==null){obj=document.getElementById(key);}if(obj!=null){var _3c=_39[0][key];if(typeof _3c=="undefined"||_3c==null){_3c="";}var _3d=key.substring(0,2);if(_3d=="cy"){_3c=HS_Form_DisplayHandler_Currency(_3c);}else{if(_3d=="da"){_3c=HS_Form_DisplayHandler_Date(_3c);}else{if(_3d=="tm"){_3c=HS_Form_DisplayHandler_Time(_3c);}else{if(_3d=="dt"){_3c=HS_Form_DisplayHandler_DateTime(_3c);}}}}if(obj.tagName.toLowerCase()=="input"&&(obj.type.toLowerCase()=="hidden"||obj.type.toLowerCase()=="text")){obj.value=_3c;}else{obj.innerHTML=_3c;}}else{this.log("no element with id="+key);}}}}this.log("Build Form Outputs");};this.buildInputs=function(){var _3e=0;if(_d==null){return;}if(_b==null){return;}var _3f=_d[HS_HASHKEY_SUBARRAY+"2"];this.log(_3f.length+" inputs");if(typeof _3f!="undefined"&&_3f!=null&&_3f.length>0){for(var i=0;i<_3f.length;i++){var _41=_3f[i];var _42=_41["stFieldName"];var _43=_41["stObjectType"];var _44=_41["obInitialDataObject"];var _45=_41["obRawStringData"];var _46=_41["obValidatDataObject"];var _47=_41["ecFieldErrorValue"];var _48=_41[HS_HASHKEY_SUBARRAY];if(typeof _47!="undefined"&&_47!=null&&_47>0){this.reportError(_42+"::"+_47);}var _49=_46;if(typeof _49=="undefined"||_49==null){_49=_45;if(typeof _49=="undefined"||_49==null){_49=_44;if(typeof _49=="undefined"||_49==null){_49="";}}}if(_43.trim().toLowerCase()=="cy"){if(_49!=null&&_49.length>0){_49=HS_Form_DisplayHandler_Currency(_49);}}if(_43.trim().toLowerCase()=="da"){if(_45!=null){_49=_45;}}this.log("input data: "+_42+" - "+_49);var _4a=eval("document.getElementById( \""+id+"\" )."+_42);if(_4a!=null){if(typeof _48!="undefined"&&_48!=null&&_48.length>0){var _4b=new Array();if(_49!=null){if(IsArray(_49)){_4b=_49;}else{_4b.push(_49);}}if(_4a.tagName.toLowerCase()=="select"){for(var j=0;j<_48.length;j++){var _4d=_48[j];if(typeof _4d!="undefined"&&_4d!=null&&_4d.size()>1){var _4e="";if((_42.match("month")||_42.match("Month"))&&typeof monthMap!="undefined"&&monthMap!=null&&monthMap instanceof Array){_4e=monthMap[_4d["stKey"]];}else{if(typeof valueAndLabelMap!="undefined"&&valueAndLabelMap!=null&&valueAndLabelMap instanceof Array){_4e=valueAndLabelMap[_4d["stKey"]];if(typeof _4e=="undefined"&&_4e==null){_4e=_4d["stKey"].replace(_4d["stKey"].substring(0,1),_4d["stKey"].substring(0,1).toUpperCase());}}else{_4e=_4d["stKey"].replace(_4d["stKey"].substring(0,1),_4d["stKey"].substring(0,1).toUpperCase());}}var obj=document.createElement("option");try{_4a.add(obj);}catch(e){_4a.add(obj,null);}obj.text=_4e;obj.value=_4d["stValue"];if(_4b.length>0){for(var k=0;k<_4b.length;k++){if(_4b[k]==obj.value){obj.selected=true;break;}}}}}}if(_4a.tagName.toLowerCase()=="input"&&(_4a.type.toLowerCase()=="checkbox"||_4a.type.toLowerCase()=="radio")){if(typeof valueOrderMap!="undefined"&&valueOrderMap instanceof Array&&_4a.type.toLowerCase()=="radio"){var _51=new Array();if(valueOrderMap[0]!=_48[0]["stValue"]){_51[0]=_48[1];_51[1]=_48[0];}for(var j=0;j<_51.length;j++){_48[j]=_51[j];}}var _52=_4a.parentNode;var _53=null;if(typeof _52!="undefined"&&_52!=null){_53=_52.parentNode;}if(typeof _52!="undefined"&&_52!=null&&typeof _53!="undefined"&&_53!=null){var _54=_53.getElementsByTagName("td");if(_52.tagName.toLowerCase()=="td"&&typeof _54!="undefined"&&_54!=null){if(typeof numCellsToKeep=="undefined"||numCellsToKeep==null){numCellsToKeep=0;}for(var x=(_54.length-1);x>=numCellsToKeep;x--){_53.removeChild(_54[x]);}}else{_53.removeChild(_52);}for(var j=0;j<_48.length;j++){var _4d=_48[j];if(typeof valueAndLabelMap!="undefined"&&valueAndLabelMap instanceof Array){var _4e=valueAndLabelMap[_4d["stValue"]];}if(typeof _4e=="undefined"||_4e==null){var _4e=_4d["stValue"];}var _56=document.createElement("td");if(typeof labelClass!="undefined"||labelClass!=null){_56.className=labelClass;}var _57=document.createElement("span");_57.setAttribute("id",_4e+_3e);_3e++;_56.appendChild(_57);_57.innerHTML=_4e;var _58=_52.cloneNode(true);_53.appendChild(_58);_53.appendChild(_56);var _59=_42+j;var obj=getElementByName(_58,"input",_42);if(obj!=null&&(obj.type.toLowerCase()=="checkbox"||obj.type.toLowerCase()=="radio")){obj.id=_59;obj.value=_4d["stValue"];if(_4b.length>0){for(var k=0;k<_4b.length;k++){if(_4b[k]==obj.value){obj.checked=true;break;}}}}obj=getElementByName(_58,"div","display");if(obj==null){obj=getElementByName(_58,"span","display");if(obj==null){obj=getElementByName(_58,"a","display");if(obj==null){obj=getElementByName(_58,"label","display");}}}if(obj!=null){var tag=obj.tagName.toLowerCase();if(tag=="label"){try{obj.htmlFor=_59;}catch(e){}}obj.innerHTML=_4d["stKey"];}}}}if(_4a.tagName.toLowerCase()=="input"&&_4a.type.toLowerCase()=="radio"){}}else{if(_4a.tagName.toLowerCase()=="input"||_4a.tagName.toLowerCase()=="textarea"){_4a.value=_49;}if(_4a.tagName.toLowerCase()=="input"&&_4a.type.toLowerCase()=="checkbox"){_4a.value=true;if(_4a.value=="true"&&_49==true){_4a.checked=true;}else{_4a.checked=false;}}}}else{this.error(""+id+" has no child node named "+_42);}}}this.log("Build Form Inputs");};this.build=function(_5b,_5c){if(typeof _5b=="undefined"||_5b==null||_5b.size()<=0){this.log("Error: cannot build form - arrFormData is invalid or empty");if(typeof _5c=="undefined"||_5c==null||_5c){if(typeof HS_Form_Finalize!="undefined"&&HS_Form_Finalize!=null){HS_Form_Finalize(null);}}return;}_d=_5b;if(typeof HS_Form_PreProcess!="undefined"&&HS_Form_PreProcess!=null){HS_Form_PreProcess(_d);}var _5d=_d["ecFormErrorValue"];if(typeof _5d!="undefined"&&_5d!=null&&_5d>0){this.reportError(id+"::"+_5d);}var _5e=_d["ecProcessErrorValue"];if(typeof _5e!="undefined"&&_5e!=null&&_5e>0){this.reportError(id+"::"+_5e);}try{this.buildOutputs();this.buildInputs();}catch(e){}if(typeof _5c=="undefined"||_5c==null||_5c){HS_Form_Finalize(_d);}};this.submit=function(_5f){if(_b==null){this.log("Error: cannot submit form - form object is null");return false;}if(_10){this.log("Error: cannot submit form - form has already been submitted");return false;}if(typeof _5f=="undefined"||_5f==null||!_5f){if(this.getFormID().length<=0){this.log("Error: cannot submit form - no valid formid");return false;}}if(_9.length<=0){this.log("Error: cannot submit form - no target form service");return false;}_10=true;var obj=document.createElement("input");obj.type="hidden";obj.name="formid";obj.value=this.getFormID();_b.appendChild(obj);for(var i=0;i<_e.length;i++){var _62=_e[i];if(_62[0].trim().length>0){obj=document.createElement("input");obj.type="hidden";obj.name=_62[0];obj.value=_62[1];_b.appendChild(obj);}}_b.method="post";_b.action=_9;var _63=true;if(_11!=null){_63=_11();}if(_63){_b.submit();}else{this.log("Error: cannot submit form - onsubmit handler returned false");return;}this.log("Submit Form: "+this.getFormID());};this.submitDirect=function(_64,_65){if(_b==null){return false;}if(_9.length<=0){return false;}_10=true;var _66=(_e==null)?[]:_e;_66.push(["formid",this.getFormID()]);_66.push(["response","direct"]);for(var i=0;i<_66.length;i++){var f=_66[i];if(f[0].trim().length>0){obj=this.getField(f[0]);if(obj==null){obj=document.createElement("input");obj.name=f[0];obj.type="hidden";_b.appendChild(obj);}obj.value=f[1];}}_b.action=_9;var _69=true;if(_11!=null){_69=_11();}if(_69){_XMLHTTP.post(_b,_64,_65);}return true;};this.getFormID=function(){if(_d==null){return "";}var _6a=_d["stFormid"];if(typeof _6a=="undefined"||_6a==null){_6a="";}return _6a;};this.getForm=function(){return _b;};this.updateField=function(_6b,_6c){var _6d=this.getField(_6b);if(_6d!=null){_6d.value=_6c;}};this.getFieldValue=function(_6e){var _6f=this.getField(_6e);if(_6f!=null){return _6f.value;}return null;};this.getField=function(_70){if(_b==null){this.log("Error: cannot get field - form does not exist");return null;}var _71=getElementByName(_b,"input",_70)||getElementByName(_b,"select",_70)||getElementByName(_b,"textarea",_70);return _71;};};HS_Form.prototype.toString=function(){this.baseToString=HS_Object.prototype.toString;return this.baseToString();};function HS_Form_DataService_Callback(_72,_73){if(typeof _73=="undefined"||_73.length<=0){return;}_72=_72.replace("\r\n"," ");var _74=HS_ExtractArrayByName("arrFormData",_72.trim());if(_74!=null){_74=HS_FormatServiceData(_74,null,true,true);}if($$(_73)){_73.build(_74);}}function HS_Form_DisplayHandler_Currency(cy){return cy.toString();}function HS_Form_DisplayHandler_Date(da){return da.toString();}function HS_Form_DisplayHandler_Time(tm){return tm.toString();}function HS_Form_DisplayHandler_DateTime(dt){return dt.toString();}function HS_Form_PreProcess(_79){}function HS_Form_Finalize(_7a){}function HS_Form_SubmitDirectSuccessful(_7b,_7c){if(!_7b){return false;}var _7d=false;try{if(_7c&&_7c.length>0){var _7e=_7b.getForward("forward_success");if(_7e){eval(_7c);if(eval("typeof "+_7e+" != \"undefined\"")){_7d=true;}}}else{_7d=true;}}catch(ex){}return _7d;}
	function onEnter(_1,_2){var _3=(document.layers)?true:false;var _4=0;if(_3){_4=_1.which;}else{_4=_1.keyCode;}if(_4==13){_2.submit();}}function onFormEnter(_5){var _6=(document.layers)?true:false;var _7=0;if(_6){_7=_5.which;}else{_7=_5.keyCode;}if(_7==13){HS_Submit();}}

	function HS_ExtractArrayByName(arrayName, strBuffer) {
	    eval(strBuffer);
	
	    if (eval ('typeof ' + arrayName + ' != \'undefined\'')) {
	        eval('var newArray = ' + arrayName + ';');
	        return newArray;
	    } else {
	        return null;
	    }
	}
	
	hs.error={data:{},displayArea:null,messageArea:null,messageTemplate:null,delimiter:"::",fieldLabelPostfix:"_label",showFieldErrors:false,color:"red",generalErrorName:"General Error",generalErrorsShown:[],permanentErrors:[],initialize:function(_1,_2,_3){if(typeof _1!="undefined"&&_1!=null){hs.error.displayArea=_1;}if(typeof _2!="undefined"&&_2!=null){hs.error.messageArea=_2;}if(typeof _3!="undefined"&&_3!=null){hs.error.messageTemplate=_3;}var _4=["_errorActivateTrader","_errorAddAccount","_errorAddGiveUpCode","_errorAddTrader","_errorAdminLogin","_errorAffirmBlockTrade","_errorCancelBlockTrade","_errorCancelOrder","_errorChangePassword","_errorDeactivateAccount","_errorDeactivateTrader","_errorDeleteGiveUpCode","_errorDeleteWatchlist","_errorEditAccount","_errorEditMail","_errorEditProfile","_errorEditTrader","_errorEditUser","_errorFundsTransfer","_errorLogin","_errorLogout","_errorManageUserPreferences","_errorManageUserRole","_errorModifyOrder","_errorPlaceBlockTrade","_errorPlaceOrder","_errorPreselectAccount","_errorPreselectAccountPermission","_errorPreselectAffirmBlockTrade","_errorPreselectModifyOrder","_errorPreselectStatusBlockTrade","_errorReassignTrader","_errorReferAFriend","_errorReviewBlockTrade","_errorReviewCancelOrder","_errorReviewModifyOrder","_errorReviewPlaceOrder","_errorRecoverPassword","_errorRecoverUserId","_errorElectronicCheck","_errorElectronicCheckReview","_errorOpenaccount","_errorDisclosures","_errorQualifyingQuestions"];var _5=0;for(var i=0;i<_4.length;i++){var _7=_4[i];var _8="typeof "+_7+" != 'undefined' && "+_7+" != null && typeof "+_7+".name != 'undefined' && "+_7+".name != null && "+_7+".name.length > 0";var _9=eval(_8);if(_9){var _a=eval(_4[i]);if(hs.error.load(_a)){_5++;}}}},load:function(_b){if(typeof _b=="undefined"||_b==null){return false;}var _c=_b.name;var _d=_b.data;if(typeof _c=="undefined"||_c==null||_c.length<=0){return false;}if(typeof _d=="undefined"||_d==null){return false;}hs.error.data[_c]=_d;return true;},search:function(_e,_f,_10){var str="";if(typeof _e=="undefined"||_e==null||_e.length<=0){return str;}if(typeof _f=="undefined"||_f==null){return str;}var _12=hs.error.data[_e];if(typeof _12=="undefined"||_12==null){return str;}var _13=_f;if(typeof _10!="undefined"&&_10!=null&&_10.length>0&&_10.toLowerCase()!=_e.toLowerCase()){_13=_10+hs.error.delimiter+_13;}str=_12[_13];if(typeof str=="undefined"||str==null||str.length<=0){str=_12[_f];}if(typeof str=="undefined"||str==null){str="";}return str;},show:function(_14,_15,_16,_17){if(hs.error.displayArea==null){return;}if(hs.error.messageArea==null){return;}if(hs.error.messageTemplate==null){return;}var str=hs.error.search(_14,_15,_16);if(str.length<=0){_Logger.log("ERROR: cannot find error message ("+_14+", "+_15+", "+_16+")","hs.error");hs.error.showDirect("Error "+_15+" has occurred.  Please call/email customer service at 1-877-TO-HEDGE");return;}if(typeof _16!="undefined"&&_16!=null&&_16.length>0){var _19=_16+hs.error.fieldLabelPostfix;var _1a=null;if(typeof _17!="undefined"&&_17!=null){try{_1a=getElementByName(_17,"div",_19);if(_1a==null){_1a=getElementByName(_17,"span",_19);}if(_1a==null){_1a=getElementByName(_17,"a",_19);}if(_1a==null){_1a=getElementByName(_17,"label",_19);}if(_1a==null){_1a=getElementByName(_17,"td",_19);}}catch(e){}}if(_1a==null){_1a=$(_19);}if(_1a!=null){_1a.style.color=hs.error.color;}if(!hs.error.showFieldErrors){for(var i=0;i<hs.error.generalErrorsShown.length;i++){if(hs.error.generalErrorsShown[i]==_14){return;}}var _1c=hs.error.search(_14,hs.error.generalErrorName);str=_1c;hs.error.generalErrorsShown.push(_14);}}hs.error.showDirect(str);},showDirect:function(str,_1e){if(typeof str=="undefined"||str==null||str.length<=0){return;}if(hs.error.displayArea==null){return;}if(hs.error.messageArea==null){return;}if(hs.error.messageTemplate==null){return;}var _1f=_1e;if($$(_1f)&&_1f){for(var i=0;i<hs.error.permanentErrors.length;i++){if(str==hs.error.permanentErrors[i]){return;}}hs.error.permanentErrors.push(str);}var obj=hs.error.messageTemplate.cloneNode(true);if(obj!=null){hs.error.messageArea.appendChild(obj);obj.innerHTML=str;hs.error.displayArea.style.display="block";}},hide:function(_22){hs.error.generalErrorsShown=[];var _23=_22;if($$(_23)&&_23){hs.error.permanentErrors=[];}if(hs.error.permanentErrors.length>0){if(hs.error.messageArea!=null){var _24=[];for(var j=0;j<hs.error.messageArea.childNodes.length;j++){var _26=hs.error.messageArea.childNodes[j];var _27=false;for(var i=0;i<hs.error.permanentErrors.length;i++){var str=hs.error.permanentErrors[i];if(_26.innerHTML==str){_27=true;break;}}if(!_27){_24.push(_26);}}for(var i=0;i<_24.length;i++){hs.error.messageArea.removeChild(_24[i]);}}}else{if(hs.error.messageArea!=null){hs.error.messageArea.innerHTML="";}if(hs.error.displayArea!=null){hs.error.displayArea.style.display="none";}}},bufferfn:function(){}};
	function HS_GoToContactusForm(_1){HS_SetCookie(HS_COOKIE_CONTACTUS,_1);document.location.href="/faq/contactus.html";}function HS_PopUpContactusForm(_2){HS_SetCookie(HS_COOKIE_CONTACTUS,_2);try{if(typeof (window.opener)!="undefined"&&window.opener!=null){var _3=window.self;while(_3!="undefined"&&_3!=null){_3=_3.opener;if(typeof (_3.opener)=="undefined"||_3.opener==null){_3.location.href="/faq/contactus.html";_3.focus();break;}}}else{window.location.href="/faq/contactus.html";}}catch(e){}}
	var _errorLogin={name:"login-form",data:{"General Error":"A general error has ocurred.  Please try again.","userId::513":"Username has to be at least 6 alphanumeric characters.","userId::514":"Username can not be more than 14 alphanumeric characters.","userId::257":"Username is a required field.","userId::258":"Username has be to 6 to 14 alphanumeric characters.","password::513":"Password has to be at least 6 alphanumeric characters.","password::514":"Password can not be more than 14 alphanumeric characters.","password::257":"Password is a required field.","password::258":"Password has to be 6 to 14 alphanumeric characters.","temporaryResetPassword::257":"Temporary Password is a required field.","temporaryResetPassword::258":"Temporary Password has to be 6 to 14 alphanumeric characters.","resetpassword::257":"New Password is a required field.","resetpassword::258":"New Password has to be 6 to 14 alphanumeric characters.","verifyResetPassword::257":"Retype New Password.","verifyResetPassword::258":"Retyped Password has to be 6 to 14 alphanumeric characters.","2049":"All Password fields are required.","2050":"The New Passwords do not match.","4097":"The system was unable to process your request. Please try again.","4098":"We are unable to access your Settlement Account at this time. Please contact <a href=\"#\" onclick=\"HS_GoToContactusForm('General Support Questions');\">Customer Service</a>.","4100":"You have logged in with a temporary password. Your original password has been disabled, so you will need to select a new password to proceed. Passwords are case sensitive and can be 6 to 14 alphanumeric characters. Please set a new password (different from your original password and from your temporary password).","4101":"Unknown Username. Please enter a valid Username.","4102":"Invalid Account Status. Please contact <a href=\"#\" onclick=\"HS_GoToContactusForm('General Support Questions');\">Customer Service</a>.","4105":"Temporary password is not valid.","4106":"Password selected is already used.","4107":"Invalid Password. Please enter a valid Password or click on the Forgot Password link below.","4108":"Invalid characters in password.","4109":"Password is too simple.","4110":"Password is too long.","4111":"Password is too short.","4113":"Invalid Account Status. Please contact <a href=\"#\" onclick=\"HS_GoToContactusForm('General Support Questions');\">Customer Service</a>.","4115":"Invalid Account Status. Please contact <a href=\"#\" onclick=\"HS_GoToContactusForm('General Support Questions');\">Customer Service</a>.","4116":"Invalid Login. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4117":"Invalid Login. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4118":"Invalid Login. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4119":"Invalid Login. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4120":"Account is disabled. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4121":"Account is expired. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4122":"Invalid Login. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4123":"Invalid Login (4123). Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4124":"Invalid Login. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4125":"Password reset failed. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4126":"Account is pending registration. Please contact <a href=\"/abouthedgestreet/contactus.html\">Customer Service</a> for assistance.","4127":"Account has been terminated.","session.SSLProblem":"Your session has ended.  Please log in again.","session.terminatedTimeout":"Either you are not logged in or your session has been terminated due to extended inactivity. Please log in again.","session.securedPage":"You have requested access to a Member-only feature.","session.bounced":"You have been logged-off this session due to a login on another browser or computer. Please login again. If you require additional assistance, please contact <a href=\"#\" onclick=\"HS_GoToContactusForm('General Support Questions');\">Customer Service</a>."}};
	var _loginForm=null;var _resetLoginFormID=null;var _logoutState=HS_GetQueryString("state");function HS_OnPageLoad(){HS_InitializeRuntime(false,true);var _1=null;var _2=HS_GetCookie(HS_COOKIE_TARGETURL);if($$s(_2)){_1=_2;HS_SetCookie(HS_COOKIE_TARGETURL,"");}HS_InitLoginForm(_1);HS_InitError();}function HS_InitLoginForm(_3){if(!$$s(_3)){_3="/";}_loginForm=new HS_Form("_loginForm","loginForm","/hedgelet/service/login-form",HS_ValidateLoginForm);_loginForm.setForward("forward_fail","/login/login.html");_loginForm.setForward("forward_success",_3);_loginForm.setForward("forward_authenticationFail","/login/login.html");_loginForm.setForward("forward_authorizationFail","/login/login.html");_loginForm.setForward("forward_secureAccessFail","/login/login.html");_loginForm.setForward("forward_backendFail","/login/login.html");_loginForm.setForward("forward_formSequenceFail","/login/login.html");_loginForm.setForward("forward_formIDInvalid","/login/login.html");_loginForm.run();_resetLoginFormID=setTimeout("HS_ResetLoginFormID()",_SessionState["nTimeoutInterval"]*1000);}function HS_ResetLoginFormID(){if($$s(_logoutState)||document.location.search==""){document.location.reload();}}function HS_Form_Finalize(_4){var _5=_loginForm.getErrors();var _6=false;if(typeof errorKeys!="undefined"&&typeof errorKeys.LoginError!="undefined"){_5.push("loginForm::"+errorKeys.LoginError);}else{if($$s(_logoutState)){_5.push("loginForm::"+_logoutState);}}if(_5.length>0){_loginForm.clearErrors();for(var i=0;i<_5.length;i++){arr=_5[i].split("::");if(arr[1]==2049||arr[1]==2050||arr[1]==4100||arr[1]==4105||arr[0]=="temporaryResetPassword"||arr[0]=="resetpassword"||arr[0]=="verifyResetPassword"){_6=true;}hs.error.show("login-form",arr[1],arr[0],_loginForm);}}else{_loginForm.clearErrors();}if(_6){HS_ShowElementById("hsidResetPasswordContent");HS_GetElementByID("hsidLoginTitle").innerHTML="<b>Set</b> New Password";}else{HS_ShowElementById("hsidLoginContent");HS_GetElementByID("hsidLoginTitle").innerHTML="<b>Login</b>";document.forms["loginForm"].userId.focus();}}function HS_ValidateLoginForm(){return true;}function HS_InitError(){var _8=HS_GetElementByID("hsidErrorDialog");var _9=null;if(_8!=null){_9=HS_GetElementByID("hsidErrorContent");}var _a=document.createElement("div");_a.className="errortext";hs.error.initialize(_8,_9,_a);hs.error.showFieldErrors=true;hs.error.color="#cc0000";}function HS_SetLoginStartPage(_b){_loginForm.modifyForward("forward_success",_b.value);}
	

