function rw_wvccSubmit(e){var e=(window.event)?window.event:e;var eUser="tplank";var eCc="lmanz";var eSymbol="@";var eDomain="wvccinc.com";var eSubject=encodeURI("CUSTOMER SATISFACTION SURVEY.");var eBody=rw_wvccSurveyValidate();eBody=encodeURI(eBody);var eHref=(e.type.indexOf("over") != -1)?'mailto:'+eUser+eSymbol+eDomain+'?cc='+eCc+eSymbol+eDomain+'&subject='+eSubject+'&body='+eBody:'#';this.href=eHref;return true;}function rw_wvccReset(){if(confirm("Westview-Cunningham - Information Request Form\n\nYou have selected to delete and reset all information that you have entered into this form.\n\nPress 'OK' to delete all selections and information.\nPress 'Cancel' to keep your existing selections and information."))wvcc_Survey.reset();return true;}function rw_wvccSurveyValidate(){var bodyString="[ CONTACT INFO ]";for(var x=0;x<wvcc_Survey.elements.length;x++){if (wvcc_Survey.elements[x].type=="text" && wvcc_Survey.elements[x].name.indexOf("wvccSurvey_") != -1 ){var name=wvcc_Survey.elements[x].name;name=name.substring(name.indexOf("_")+1);bodyString+="\n\r"+name+" : "+wvcc_Survey.elements[x].value;}}bodyString+="\n\r\n\r[ ADDITIONAL COMMENTS ]\n\r";bodyString+="\n\r\n\r\n\r======= PLEASE DO NOT CHANGE ANY DATA BELOW THIS LINE =======\n\r\n\r[ RESULTS ]";for(var x=0;x<wvcc_Survey.elements.length;x++){if(wvcc_Survey.elements[x].type=="submit"||wvcc_Survey.elements[x].type=="reset"||wvcc_Survey.elements[x].name.indexOf("wvccSurvey_") != -1) continue;if(wvcc_Survey.elements[x].type=="radio"){if(wvcc_Survey.elements[x].checked) bodyString+="\n\r"+wvcc_Survey.elements[x].name+" : "+wvcc_Survey.elements[x].title;}else{bodyString+="\n\r"+wvcc_Survey.elements[x].name+" : "+wvcc_Survey.elements[x].value;}}bodyString+="\n\r[ END RESULTS ]";return bodyString;}function setup(){var obj=document.getElementById("eInfo");obj.onmouseover=obj.onmouseout=rw_wvccSubmit;var obj=document.getElementById("eReset");obj.onclick=rw_wvccReset;return void(0);}window.onload=setup;

