var signupcodegreen=false;document.write('<input type="hidden" name="ie5" value="false">');document.write('<input type="hidden" name="ie4" value="false">');document.write('<input type="hidden" name="notIE" value="true">');var isNav4=false,isIE4=false,isIE5=false;if(parseInt(navigator.appVersion.charAt(0))>=4){isNav4=(navigator.appName=="Netscape")?true:false;if(navigator.appName.indexOf("Microsoft")!=-1){isIE4=true;document.trialform.notIE.value="false";if(navigator.appVersion.indexOf("5.")!=-1){isIE5=true}if(navigator.appVersion.indexOf("6.")!=-1){isIE5=true}}else{isIE4=false;isIE5=false}if(navigator.platform.indexOf("Win")!=-1){if(isIE4){document.trialform.ie4.value="true"}if(isIE5){document.trialform.ie5.value="true"}}else{document.trialform.notIE.value="true"}}document.cookie="hack=1";if(document.cookie.indexOf("hack")<0){alert("You do not have cookies enabled. You must have cookies enabled to login or create sites.  \n\nCookies are not used to collect personal information or to track your movements on the site.")}if(isNav4==false&&isIE4==false){alert("To use the  editing environment, you need at least Netscape 4.X or greater, or Microsoft Internet Explorer 4.X or greater")}var sitenameerr=false;var vala="a".charCodeAt(0);var valz="z".charCodeAt(0);var val0="0".charCodeAt(0);var val9="9".charCodeAt(0);function checkpass(){if(signupcodegreen){return }var B=document.trialform.password.value;try{if(B.length>=3){if(btnpass==false){document.getElementById("signupflag2").src="/i/t/w/design/btn_signupform_check.png"}btnpass=true}else{if(btnpass==true){document.getElementById("signupflag2").src="/i/t/w/design/btn_signupform_2.png"}btnpass=false}}catch(A){}}var btnemail=false;var btnpass=false;function checkemail(){if(signupcodegreen){return }var B=document.trialform.EMAIL_ADDR.value;var C=B.lastIndexOf(".");var A=B.indexOf("@");if(B.length>=3&&A>0&&C>A&&C<B.length-1){if(btnemail==false){document.getElementById("signupflag3").src="/i/t/w/design/btn_signupform_check.png"}btnemail=true}else{if(btnemail==true){document.getElementById("signupflag3").src="/i/t/w/design/btn_signupform_3.png"}btnemail=false}}function checksitename(){var A=true;var C=document.trialform.SITENAME.value;C=C.toLowerCase();for(x=0;x<C.length;x++){var D=C.charCodeAt(x);if(!(D>=vala&&D<=valz)&&!(D>=val0&&D<=val9)){document.getElementById("errsitename").style.display="block";sitenameerr=true;A=false;try{if(!signupcodegreen){document.getElementById("signupflag1").src="/i/t/w/design/btn_signupform_1.png"}}catch(B){}break}}if(A==true&&sitenameerr==true){sitenameerr=false;document.getElementById("errsitename").style.display="none"}try{if(!signupcodegreen&&C.length>=3&&sitenameerr==false){document.getElementById("signupflag1").src="/i/t/w/design/btn_signupform_check.png"}else{document.getElementById("signupflag1").src="/i/t/w/design/btn_signupform_1.png"}}catch(B){}}function dosubmit(){checksitename();if(sitenameerr==true){alert("Check your account name.  The account name can only contain numbers and letters");return }if(signupcodegreen){p0=document.trialform.password.value;p1=document.trialform.passwordconfirm.value;if(p0!=p1){alert("Check your passwords.  Your password and password confirmation do not match.");document.getElementById("errpassword").style.display="block";return }}else{document.trialform.passwordconfirm.value=document.trialform.password.value}var A=document.trialform.EMAIL_ADDR.value;if(A.length==0){alert("To create your trial account you need to enter your email address.");return }if(signuptype!="short"){A=document.trialform.FIRSTNAME.value;if(A.length==0){alert("To create your trial account you need to enter your first name.");return }A=document.trialform.LASTNAME.value;if(A.length==0){alert("To create your trial account you need to enter your last name.");return }var A=document.trialform.S_ADDRESS.value;if(A.length>0){document.trialform.ADDRESS1.value=A}A=document.trialform.S_PHONE.value;if(A.length>0){document.trialform.PHONE.value=A}A=document.trialform.S_CITY.value;if(A.length>0){document.trialform.CITY.value=A}A=document.trialform.S_STATE.value;if(A.length>0){document.trialform.STATE.value=A}A=document.trialform.S_ZIP.value;if(A.length>0){document.trialform.ZIP.value=A}A=document.trialform.S_SITETITLE.value;if(A.length>0){document.trialform.SITETITLE.value=A}else{document.trialform.SITETITLE.value=document.trialform.SITENAME.value}}document.getElementById("createBtn").style.display="none";document.getElementById("createBtnWorking").style.display="block";document.trialform.submit();return false}function viewterms(){window.open(siteurl+"inc/license","newwin","scrollbars=yes,resizable=yes,menubar=no,titlebar=no,status=no,toolbar=no,width=650,height=540")};
