HI.Register={Beta:{}};HI.Register.Beta={hide:function(){},show:function(b){var a=document.getElementById("hi_beta_status");a.style.display="";a.innerHTML=b},submit:function(){document.hi_beta_form.hi_stats.value=window.navigator.userAgent;var p=["hi_name","hi_email","hi_site","hi_password1","hi_password2"],o=0;var l=[60000,8000,400,20,1];var m=true;for(var g=0;g<p.length;g++){var f=document.hi_beta_form[p[g]].value;for(var e=0,d=0;e<f.length;e++){if(f[e]!=" "){d++}}if(f.length==0||d==0){m=false;o+=l[g]}else{if(g==1){var b=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;var r=document.hi_beta_form[p[g]].value;if(!b.test(r)){o+=l[g];m=false}}if(g==2){var h=function(j){var i=/^((http:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,4}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?$/;if(i.test(j)){return true}else{return false}};var q=document.hi_beta_form[p[g]].value;if(!h(q)){o+=l[g];m=false}}}}var a=false;if(document.hi_beta_form.hi_password1.value==document.hi_beta_form.hi_password2.value){var b=/^([^ ]+){3,21}$/;if(b.test(document.hi_beta_form.hi_password1.value)){a=true}}if(!a){o+=1;m=false}if(m){document.getElementById("hi_beta_status").style.display="none";document.hi_beta_form.hi_stats.value=navigator.userAgent;document.hi_beta_form.submit();document.getElementById("button_signup").style.display="none";document.getElementById("hi_loading").style.display=""}else{o=o.toString();_regs=["6","8","4","2","1"];for(var g=0;g<p.length;g++){var n=o.match(_regs[g]);var c=document.hi_beta_form[p[g]];var t=document.getElementById(c.name+"_label");if(n){t.style.background="#ffbfbf";c.onfocus=function(){var i=document.getElementById(this.name+"_label");i.style.background="white"};var s=document.getElementById("hi_beta_status");s.style.display="";s.innerHTML="Please fill in the highlighted fields again<br><br>"}else{t.style.background="none";t.style.borderBottom="0px"}}}}};