function validate_quoteM(){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";}if(document.quoteForm.Your_website_address.value==""){theMessage=theMessage+"\n --> 1. Your website address";}if(document.quoteForm.Nature_of_the_business_and_the_type_of_website_promotion_need==""){theMessage=theMessage+"\n --> 3. Please describe the nature of your business and the type of your website promotion need";}var listCheck=document.quoteForm.How_long_has_the_website_been_online.selectedIndex;if(document.quoteForm.How_long_has_the_website_been_online.options[listCheck].value=="0"){theMessage=theMessage+"\n --> 4. How long has the website been online?";}if(document.quoteForm.Who_built_your_website.value==""){theMessage=theMessage+"\n --> 5. Who built your website?";}var radioCheck=false;for(i=0;i<document.quoteForm.Has_it_been_registered_with_the_search_engines.length;i++){if(document.quoteForm.Has_it_been_registered_with_the_search_engines[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 6. Has it been registered with the search engines?";}var radioCheck=false;for(i=0;i<document.quoteForm.Has_your_website_ever_been_optimised.length;i++){if(document.quoteForm.Has_your_website_ever_been_optimised[i].checked)radioCheck=true;}if(!radioCheck){theMessage=theMessage+"\n --> 7. Has it ever been optimised?";}var listCheck=document.quoteForm.Specify_SEO_target_number.selectedIndex;if(document.quoteForm.Specify_SEO_target_number.options[listCheck].value=="0"){theMessage=theMessage+"\n --> 8. Please specify SEO target number";}var listCheck=document.quoteForm.Your_monthly_budget_in_pounds_sterling.selectedIndex;if(document.quoteForm.Your_monthly_budget_in_pounds_sterling.options[listCheck].value=="0"){theMessage=theMessage+"\n --> 11. What is your monthly budget for website marketing?";}if(document.quoteForm.What_would_you_like_the_website_to_achieve.value==""){theMessage=theMessage+"\n --> 12. What would you like the website marketing 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 --> 13. 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 --> 14. Where did you hear about us? ";}if(theMessage==noErrors){return true;}else{alert(theMessage);return false;}}