function validate_quote(){var theMessage="Please complete the following: \n-----------------------------------\n";var noErrors=theMessage;if(document.quoteForm.firstName.value==""){theMessage=theMessage+"\n --> Your FirstName";}if(document.quoteForm.lastName.value==""){theMessage=theMessage+"\n --> Your LastName";}if(!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.quoteForm.email.value)){theMessage=theMessage+"\n --> Enter a valid e-mail address";}if(document.quoteForm.phone.value==""){theMessage=theMessage+"\n --> Your Telephone Number";}if(document.quoteForm.address_line_1.value==""){theMessage=theMessage+"\n --> Your Address";}if(document.quoteForm.city.value==""){theMessage=theMessage+"\n --> Your City/Town";}var listCheck=document.quoteForm.country.selectedIndex;if(document.quoteForm.country.options[listCheck].value=="0"){theMessage=theMessage+"\n --> Your Country";}if(document.quoteForm.postcode.value==""){theMessage=theMessage+"\n --> Your Postcode";}var radioCheck=false;for(i=0;i<document.quoteForm.Quote_type.length;i++){if(document.quoteForm.Quote_type[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 1. You are quoting for";}var radioCheck=false;for(i=0;i<document.quoteForm.Do_you_need_domain_name_registration.length;i++){if(document.quoteForm.Do_you_need_domain_name_registration[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 3. Do you need domain name registration?";}var radioCheck=false;for(i=0;i<document.quoteForm.Do_you_need_website_hosting.length;i++){if(document.quoteForm.Do_you_need_website_hosting[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 4. Do you need website hosting?";}var radioCheck=false;for(i=0;i<document.quoteForm.I_am_interested_in.length;i++){if(document.quoteForm.I_am_interested_in[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 5. Please select webdesign package that you are interested in";}var radioCheck=false;for(i=0;i<document.quoteForm.Would_you_like_to_be_able_to_update_content_on_your_website.length;i++){if(document.quoteForm.Would_you_like_to_be_able_to_update_content_on_your_website[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 7. Would you like to be able to update content on your website?";}var radioCheck=false;for(i=0;i<document.quoteForm.Have_you_prepared_all_the_content_for_the_website.length;i++){if(document.quoteForm.Have_you_prepared_all_the_content_for_the_website[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 8. Have you prepared all the content for the website?";}if(document.quoteForm.The_nature_of_your_business_and_the_type_of_your_website_need.value==""){theMessage=theMessage+"\n --> 9. Please describe the nature of your business and the type of your website need ";}var radioCheck=false;for(i=0;i<document.quoteForm.Do_you_need_logo_design_for_your_website.length;i++){if(document.quoteForm.Do_you_need_logo_design_for_your_website[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 11. Do you need logo design for your website?";}var radioCheck=false;for(i=0;i<document.quoteForm.Do_you_need_banner_for_your_website.length;i++){if(document.quoteForm.Do_you_need_banner_for_your_website[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 12. Do you need banner for your website?";}var listCheck=document.quoteForm.Budget_for_website_in_pounds_sterling.selectedIndex;if(document.quoteForm.Budget_for_website_in_pounds_sterling.options[listCheck].value=="0"){theMessage=theMessage+"\n --> 13. What is the budget for your website?  ";}if(document.quoteForm.What_would_you_like_the_website_to_achieve.value==""){theMessage=theMessage+"\n --> 14. What would you like the website to achieve?";}var listCheck=document.quoteForm.When_would_you_like_to_start_the_project.selectedIndex;if(document.quoteForm.When_would_you_like_to_start_the_project.options[listCheck].value=="0"){theMessage=theMessage+"\n --> 15. When would you like to start the project? ";}var listCheck=document.quoteForm.Where_did_you_hear_about_us.selectedIndex;if(document.quoteForm.Where_did_you_hear_about_us.options[listCheck].value=="0"){theMessage=theMessage+"\n --> 16. Where did you hear about us? ";}if(theMessage==noErrors){return true;}else{alert(theMessage);return false;}}