var charexp=/./;var numexp=/^\d*$/;var textnumexp=/[a-z0-9]*/i;var textexp=/[a-z]*/i;var phoneexp=/^[0-9 +()][0-9 +()-.]{6,}/;var phoneminimum=/\D*\d\D*\d\D*\d\D*\d\D*\d\D*\d\D*/g;var memberexp=/^\d{3}$/;var zipexp=/^\d{5}$|^\d{5}[\-\s]?\d{4}$/;var emailexp=/^[a-z_0-9][a-z_0-9\.\-\!\'&]+@[a-z_0-9\.\-\!]+\.[a-z]{1,4}$/i;var moneyexp=/^\d*$|^\d*\.\d{2}$/;var passwordexp=/^[a-z0-9]{6,12}$/i;var alamyrefexp=/^A[A-F0-9]{5}$/i;var dateexp=/^([0-2][0-9]|[3][0-1])[\/]([0][0-9]|[1][0-2])[\/][0-9]{4}$/;var vatexp=/^\d{9}$/;var contentId=null;function SelectComboValue(c,e){var b;var d;var a;if(c){a=c.options;for(b=0;b<a.length;b++){d=a[b];if(d.value==e){d.selected=true}}}}function gotoNext(){if(document.getElementById("ctl00_ContentPlaceHolder1_rdNewCust").checked==false&&document.getElementById("ctl00_ContentPlaceHolder1_rdNewCont").checked==false){alert("Please tell us why you are registering");document.getElementById("ctl00_ContentPlaceHolder1_rdNewCust").focus();return false}else{if(document.getElementById("ctl00_ContentPlaceHolder1_rdNewCust").checked){window.location="buyer-signup.aspx"}else{window.location="contributor-signup.aspx"}return true}}function IscheckedContributorOption(){if(document.getElementById("ctl00_ContentPlaceHolder1_rdNewCust").checked==false&&document.getElementById("ctl00_ContentPlaceHolder1_rdNewCont").checked==false){alert("Please tell us why you are registering");document.getElementById("ctl00_ContentPlaceHolder1_rdNewCust").focus();return false}else{return true}}function funsameascontactaddress(){if(document.getElementById("ctl00_ContentPlaceHolder1_agreement3").checked==true){var b;document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtAddr1").value=document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtAddr1").value;document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtAddr2").value=document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtAddr2").value;document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtTown").value=document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtTown").value;if(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry")[document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").selectedIndex].value=="us"){SelectComboValue(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_drpCountry"),"us");changecountrycont("us");var a=document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_DrpDownStateCtrl1_DropDownList1");setcontentControlId("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_");initializeState("us",a.id);SelectComboValue(a,document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_DrpDownStateCtrl1_DropDownList1")[document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_DrpDownStateCtrl1_DropDownList1").selectedIndex].value);setStateValue(a)}else{if(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry")[document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").selectedIndex].value=="ca"){SelectComboValue(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_drpCountry"),"ca");changecountrycont("ca");var a=document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_DrpDownStateCtrl1_DropDownList1");setcontentControlId("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_");initializeState("ca",a.id);SelectComboValue(a,document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_DrpDownStateCtrl1_DropDownList1")[document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_DrpDownStateCtrl1_DropDownList1").selectedIndex].value);setStateValue(a)}else{b=document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry")[document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").selectedIndex].value;changecountrycont("");SelectComboValue(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_drpCountry"),b);document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtstate").value=document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtstate").value}}document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtPostcode").value=document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtPostcode").value}return true}function compareStrings(a,c,b){if(a.value!=c.value){alert(b);a.focus();return false}else{return true}}var errorMsg=new String();function validateForm(b){errorMsg="";anyErrors=0;findBlankField("username","input","loginForm");findBlankField("password","input","loginForm");findBlankField("email","input","loginForm");if(anyErrors){var a=YAHOO.util.Dom.getElementsByClassName("errorMsgCont","div","loginForm");YAHOO.util.Dom.setStyle(a,"display","block");a[0].innerHTML=errorMsg;YAHOO.util.Event.preventDefault(b);return false}var c=YAHOO.util.Dom.getElementsByClassName("terms","input","loginForm");if(c.checked==false){alert("checked")}}function findBlankField(a,c,b){if(a.value.length==0){errorMsg+="<span>"+b+"</span> <br>";YAHOO.util.Dom.addClass(a,"error_section");anyErrors+=1}else{YAHOO.util.Dom.removeClass(a,"error_section")}}function validateContributorForm(b){errorMsg="";anyErrors=0;findBlankField(document.getElementById("ctl00_ContentPlaceHolder1_UcYourName1_txtFirstname"),"input","First name filed required");if(anyErrors){var a=document.getElementById("alamyErrorPanel");YAHOO.util.Dom.setStyle(a,"display","block");a[0].innerHTML=errorMsg;YAHOO.util.Event.preventDefault(b);return false}}function findBlankField1(b,c,e){var d=YAHOO.util.Dom.getElementsByClassName(b,c,e);for(i=0;i<d.length;i++){if(d[i].value==""){var a=YAHOO.util.Dom.getPreviousSibling(d[i],"label");errorMsg+="<span>"+a.innerHTML+" Filed is Required</span> <br>";YAHOO.util.Dom.addClass(d[i],"errorTextbox");anyErrors+=1}else{YAHOO.util.Dom.removeClass(d[i],"errorTextbox")}}}function validateCustRegister(){errorMsg="";anyErrors=0;basicCustomerValidation();isRequiredFiled("checkbox",document.getElementById("chkTerms"),"NULL","ctl00_ContentPlaceHolder1_lblTerms");if(anyErrors>0){var a=document.getElementById("ctl00_ContentPlaceHolder1_alamyErrorPanel");YAHOO.util.Dom.setStyle(a,"display","block");errorMsg="<h2 class='errorTitle'>Some details have not been completed or have been completed incorrectly.</h2><h2>Please check the page and amend as appropriate before clicking  &ldquo;Next&rdquo;</h2>";a.innerHTML=errorMsg;document.getElementById("progress_bar").focus();location.href="#progress_bar";return false}}function ValidateCustomerRegistration(){errorMsg="";anyErrors=0;basicCustomerValidation();isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry"),"xx","ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblCountry");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtAddr1"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblAddr1");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtTown"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblTown");if((document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").value=="us")||(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").value=="ca")){isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_DrpDownStateCtrl1_DropDownList1"),"xx","ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblstate")}else{isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtstate"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblstate")}isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtPostcode"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblPostcode");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtContactPhone"),phoneexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblContactPhone");isRequiredFiled("checkbox",document.getElementById("chkTerms"),"NULL","ctl00_ContentPlaceHolder1_lblTerms");if(anyErrors>0){var a=document.getElementById("ctl00_ContentPlaceHolder1_alamyErrorPanel");YAHOO.util.Dom.setStyle(a,"display","block");errorMsg="<h2 class='errorTitle'>Some details have not been completed or have been completed incorrectly.</h2><h2>Please check the page and amend as appropriate before clicking  &ldquo;Register&rdquo;</h2>";a.innerHTML=errorMsg;a.focus();location.href="#hdr";return false}}function ValidateContributorRegistration(a){errorMsg="";anyErrors=0;if(a!=1){basicCustomerValidation()}isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_txtCompany2"),textexp,"lblCompany2");isRequiredFiled("checkbox",document.getElementById("ctl00_ContentPlaceHolder1_chkAgreement"),"NULL","lblAgreement");isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry"),"xx","ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblCountry");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtAddr1"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblAddr1");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtTown"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblTown");if((document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").value=="us")||(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").value=="ca")){isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_DrpDownStateCtrl1_DropDownList1"),"xx","ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblstate")}else{isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtstate"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblstate")}isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtPostcode"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblPostcode");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtContactPhone"),phoneexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblContactPhone");if(isChecked(document.getElementById("ctl00_ContentPlaceHolder1_UcCurrency1_RdDollar"))==false&&isChecked(document.getElementById("ctl00_ContentPlaceHolder1_UcCurrency1_RdPound"))==false&&isChecked(document.getElementById("ctl00_ContentPlaceHolder1_UcCurrency1_RdEuro"))==false&&isChecked(document.getElementById("ctl00_ContentPlaceHolder1_UcCurrency1_RdOthers"))==false){DisplaychkRadioErr("ctl00_ContentPlaceHolder1_UcCurrency1_lblCurrency",true)}else{DisplaychkRadioErr("ctl00_ContentPlaceHolder1_UcCurrency1_lblCurrency",false)}if(isChecked(document.getElementById("ctl00_ContentPlaceHolder1_UcCurrency1_RdOthers"))){isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCurrency1_drpCurrency"),"xx","ctl00_ContentPlaceHolder1_UcCurrency1_lblCurrency")}isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_txtCheckpayee"),textexp,"lblCheckpayee");isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_drpCountry"),"xx","ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_lblCountry");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtAddr1"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_lblAddr1");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtTown"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_lblTown");if((document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_drpCountry").value=="us")||(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_drpCountry").value=="ca")){isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_DrpDownStateCtrl1_DropDownList1"),"xx","ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_lblstate")}else{isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtstate"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_lblstate")}isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_txtPostcode"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_lblPostcode");if(isChecked(document.getElementById("ctl00_ContentPlaceHolder1_RdVATYes"))){isRequiredFiled("vatbox",document.getElementById("ctl00_ContentPlaceHolder1_txtVATbox"),vatexp,"ctl00_ContentPlaceHolder1_lblVATbox")}isRequiredFiled("checkbox",document.getElementById("ctl00_ContentPlaceHolder1_chkConfirm"),"NULL","lblConfirm");isRequiredFiled("checkbox",document.getElementById("chkTerms"),"NULL","ctl00_ContentPlaceHolder1_lblTerms");if(anyErrors>0){displayErrorPanel();return false}return true}function ValidatecontactDetails(){errorMsg="";anyErrors=0;isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry"),"xx","ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblCountry");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtAddr1"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblAddr1");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtTown"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblTown");if((document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").value=="us")||(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_drpCountry").value=="ca")){isSelected(document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_DrpDownStateCtrl1_DropDownList1"),"xx","ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblstate")}else{isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtstate"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblstate")}isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtPostcode"),textexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblPostcode");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_txtContactPhone"),phoneexp,"ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_lblContactPhone");if(anyErrors>0){var a=document.getElementById("ctl00_ContentPlaceHolder1_alamyErrorPanel");YAHOO.util.Dom.setStyle(a,"display","block");errorMsg="<h2 class='errorTitle'>Some details have not been completed or have been completed incorrectly.</h2><h2>Please check the page and amend as appropriate before clicking  &ldquo;Next&rdquo;</h2>";a.innerHTML=errorMsg;document.getElementById("progress_bar").focus();location.href="#progress_bar";return false}}function displayErrorPanel(){var a=document.getElementById("ctl00_ContentPlaceHolder1_alamyErrorPanel");YAHOO.util.Dom.setStyle(a,"display","block");errorMsg="<h2 class='errorTitle'>Some details have not been completed or have been completed incorrectly.</h2><h2>Please check the page and amend as appropriate before clicking  &ldquo;Register&rdquo;</h2>";a.innerHTML=errorMsg;a.focus();location.href="#hdr"}function DisplayMandatory(a){if(a=="2"){document.getElementById("lblMandatory").innerHTML="*"}else{document.getElementById("lblMandatory").innerHTML=""}}function setOthercurrency(a){if(document.getElementById("ctl00_ContentPlaceHolder1_UcCurrency1_rowOthercurrency")!=null){document.getElementById("ctl00_ContentPlaceHolder1_UcCurrency1_rowOthercurrency").style.display=a}return true}function setStateStyle(b,a){if(document.getElementById(b)!=null){document.getElementById(b).style.display=a}return true}function setcontentControlId(a){contentId=a}function getContentId(){return contentId}function changecountry(b){var c,d,a;if(b=="1"||b=="2"||b=="5"||b=="4"){a="ctl00_ContentPlaceHolder1_UcCompanyandContactdetails1_"}else{if(b=="3"){a="ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_"}}setcontentControlId(a);c=document.getElementById(a+"drpCountry");if(c!=null){if(c.value=="us"||c.value=="ca"){initializeState(c.value);setStateStyle(a+"txtstate","none")}else{setStateStyle(getStatedrpID(),"none");setStateStyle(a+"txtstate","")}}}function SetVATbox(a){if(a=="on"){var b=navigator.appName;if(b=="Netscape"){document.getElementById("VATsection").style.display="table-row"}else{document.getElementById("VATsection").style.display="block"}}else{document.getElementById("ctl00_ContentPlaceHolder1_txtVATbox").value="";document.getElementById("ctl00_ContentPlaceHolder1_lblVATbox").className="none";document.getElementById("VATsection").style.display="none"}}function changecountrycont(d){var b,c,a;a="ctl00_ContentPlaceHolder1_UcCompanyandContactdetails2_";drpState=document.getElementById(a+"DrpDownStateCtrl1_DropDownList1");if(drpState!=null){if(d=="us"||d=="ca"){setStateStyle(drpState.id,"");setStateStyle(a+"txtstate","none")}else{setStateStyle(drpState.id,"none");setStateStyle(a+"txtstate","")}}return true}function gotopage(a){window.location=a}function basicCustomerValidation(){var a=false;var b=false;isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcYourName1_txtFirstname"),textexp,"lblFirstname");isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcYourName1_txtSurname"),textexp,"lblSurname");if(isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtEmail"),emailexp,"lblEmail")){var d=isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtConfirmEmail"),emailexp,"lblConfirmEmail");if(d){compareTwoField(document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtEmail"),document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtConfirmEmail"),"lblConfirmEmail")}}else{isStyleNeedToChange("lblConfirmEmail")}if(isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtPassword"),passwordexp,"lblPassword")){var c=chkMaxandMinLength("Both",document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtPassword"),6,12,"lblPassword");if(c){var d=isRequiredFiled("textbox",document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtConfirmPassword"),passwordexp,"lblConfirmPassword");if(d){compareTwoField(document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtPassword"),document.getElementById("ctl00_ContentPlaceHolder1_UcYourlogindetails1_txtConfirmPassword"),"lblConfirmPassword")}}else{isStyleNeedToChange("lblConfirmPassword")}}else{isStyleNeedToChange("lblConfirmPassword")}}function validate(){var d=/^[a-z_0-9][a-z_0-9\.\-\!\'&]+@[a-z_0-9\.\-\!]+\.[a-z]{1,4}$/i;var c=/^[a-z0-9]{6,12}$/i;var b=document.getElementById("txtEmail");var a=document.getElementById("txtPwd");isStyleNeedToChange("lblEmail");if(b.value.length==0){dispClientMsg("Please enter the email");changeToErrorStyle("lblEmail");b.focus();return false}else{if(!d.test(b.value)){dispClientMsg("Email is not in correct format");b.focus();return false}}if(document.getElementById("rdretCust").checked){isStyleNeedToChange("lblPassword");if(a.value.length==0){dispClientMsg("Please enter the password");changeToErrorStyle("lblPassword");a.focus();return false}else{if(!c.test(a.value)){dispClientMsg("Password is not in correct format");changeToErrorStyle("lblPassword");a.focus();return false}}}document.cookie="email="+escape(document.getElementById("txtEmail").value)+";path=/;domain=.alamy.com;";return true}function changeToErrorStyle(a){document.getElementById(a).className="ErrorLabel"}function dispClientMsg(b){var a;if(document.getElementById("error_sectionSC")!=null){document.getElementById("error_sectionSC").style.display="none"}document.getElementById("error_section_client").style.display="";document.getElementById("msg_client").innerHTML="";document.getElementById("msg_client").innerHTML=b};