// JavaScript Document
function showServices(str)
{
		if(str=="1")
		{
				document.getElementById("homecontetns").innerHTML='<h1>ARCHITECTURE & DESIGN</h1><p><strong>LOOKING FOR A MORE EFFICIENT DESIGN PROCESS?</strong></p><p>Accurate, detailed As-Built plans are a critical starting point for any remodeling project.  They are the foundation of your design process, and will often make the difference between a project that runs smoothly and profitably, or one that is tripped up by errors and delays. <br /><br /><strong>START WITH AS-BUILTS THAT ARE &ldquo;DESIGN-READY&rdquo; AND GUARANTEED ACCURATE</strong></p><p>The two most common methods for obtaining As-Builts are doing them yourself, or using old paper drawings supplied by the client.  Both are inefficient and risky, requiring a significant amount of your time to prepare the drawings and ensure accuracy.  There is a better way.  PPM can provide you with a reliable and consistent service to obtain the As-Built plans you need, done to your exact standards, every time. </p><p>Focus on your strengths, and leave the measuring to PPM.</p><p class="blue"><a href="/services-arc.html" style="text-decoration:none">LEARN MORE</a></p>';
		}
		if(str=="2")
		{
				document.getElementById("homecontetns").innerHTML='<h1>COMMERCIAL REAL ESTATE</h1><p><strong>HOW WELL DO  YOU KNOW YOUR PROPERTIES?</strong></p><p>Surprisingly, despite the high  value of commercial Real Estate in Southern California, many property owners,  managers and brokers don’t have accurate As-Built plans of their properties.&nbsp;Even square footage information is often just  a guess, passed down from owner to owner.</p><p><strong>ACCURATE  AS-BUILT PLANS ARE A VALUABLE ASSET</strong></p><p>Accurate building floor and site  plans have a number of uses for your property, including leasing exhibits,  tenant improvements, space planning, marketing, and squarfe footage  calculations, to name a few.&nbsp; PPM plans  are made with property owners in mind: clean, clear, email-friendly PDF files  that can be easily modified and will never lose quality.</p><p>Let us show you why a PPM As-Built plan is a good value for your commercial property.</p><p class="blue"><a href="/services-com.html" style="text-decoration:none"><strong>LEARN MORE</strong></a></p>';
		}
		
		if(str=="3")
		{
				document.getElementById("homecontetns").innerHTML='<h1>LANDSCAPE DESIGN</h1><p><strong>LOOKING FOR  A MORE EFFICIENT DESIGN PROCESS?</strong></p><p>Accurate, detailed As-Built site  plans are a critical starting point for any landscaping project. &nbsp;They are the foundation of your design  process, and will often make the difference between a project that runs  smoothly and profitably, or one that is tripped up by errors and delays.&nbsp; </p><p><strong>START WITH AS-BUILT  SITE PLANS THAT ARE &ldquo;DESIGN-READY&rdquo;</strong></p><p>The two most common methods for  obtaining site plans are doing them yourself, or using old paper drawings  supplied by the client.&nbsp; Both are  inefficient and risky, requiring a significant amount of your time to prepare  the drawings and ensure accuracy.&nbsp; There  is a better way.&nbsp; PPM can provide you  with a reliable and consistent service to obtain the As-Built site plans you need, done  to your exact standards, every time.&nbsp; </p><p>Focus on your strengths, and leave the measuring to PPM.</p><p class="blue"><a href="/services-land.html" style="text-decoration:none"><strong>LEARN MORE</strong></a></p>';
		}		
}
//////////////// menu function ////////////
function showMenu(str)
{

	if(str=='default') ///// default /////////
	{
			document.write('<h3><a href="sample-plans-arc.html" class="sub-menu">+ARCHITECTURE PLANS</a></h3>');
            document.write('<h3><a href="sample-plans-com.html" class="sub-menu">+COMMERCIAL RE PLANS</a></h3>');
			document.write('<h3><a href="sample-plans-landscap.html" class="sub-menu">+LANDSCAPING PLANS</a></h3>');

	}
	
	if(str=='1') ///// ARCHITECTURE PLANS /////////
	{
			document.write('<h3>ARCHITECTURE PLANS</h3>');
            
			document.write('<strong>-Residential </strong>');
            document.write('<span >- <a href="/sample-plans-arc.html">Bungalow</a></span>');
            document.write('<span >- <a href="/arc-ranch.html">Ranch</a></span>');
			
            document.write('<strong>-Commercial </strong>');
            document.write('<span >- <a href="/arc-retail.html">Retail - Small</a></span>');
            document.write('<span >- <a href="/arc-retail-large.html">Retail - Large  </a></span>');
			document.write('<span >- <a href="/arc-office.html">Office  </a></span>');
			document.write('<span >- <a href="/arc-industrial.html">Industrial</a></span>');
	
            document.write('<h3><a href="sample-plans-com.html" class="sub-menu">+COMMERCIAL RE PLANS</a></h3>');
			document.write('<h3><a href="landscap-residential.html" class="sub-menu">+LANDSCAPING PLANS</a></h3>');

	}

	if(str=='2')
	{
			document.write('<h3> <a href="sample-plans-arc.html" class="sub-menu">+ARCHITECTURE PLANS</a></h3>');
			
            document.write('<h3>COMMERCIAL RE PLANS </h3>');
						
            document.write('<span >- <a href="/strip.html">Retail - Strip Mall</a></span>');
            document.write('<span >- <a href="retail-shop.html">Retail - Shopping Center  </a></span>');
            document.write('<span >- <a href="single.html">Industrial - Single Tenant </a></span>');			
			document.write('<span >- <a href="industrialmulti.html">Industrial - Multi Tenant  </a></span>');			
			document.write('<span >- <a href="officeset.html">Office  </a></span>');			
			document.write('<span >- <a href="multifam.html">Multi-Family  </a></span>');			
			

			document.write('<h3><a href="landscap-residential.html" class="sub-menu">+LANDSCAPING PLANS</a></h3>');


	}
	if(str=='3')
	{
			document.write('<h3><a href="sample-plans-arc.html" class="sub-menu">+ARCHITECTURE PLANS</a></h3>');
			
            document.write('<h3><a href="sample-plans-com.html" class="sub-menu">+COMMERCIAL RE PLANS </a></h3>');
			
			

			document.write('<h3>LANDSCAPING PLANS</h3>');

			document.write('<strong>-Residential </strong>');
            document.write('<span >- <a href="landscap-residential.html">Site Plan</a></span>');
            document.write('<span >- <a href="landscap-residential2.html">Site Plan with Contours</a></span>');
			
            document.write('<strong>-Commercial </strong>');
            document.write('<span >- <a href="landscap-apt.html">Apartment Complex</a></span>');
            document.write('<span >- <a href="land-office.html">Office and Parking Lot </a></span>');
	}
	

	
}

//////////////// end of menu function ////////////
function showImage(str)
{
	document.getElementById("largeimage").src="images/samples/"+str;
	document.getElementById("largeimagelink").href="images/samples/large"+str;
}

///////////// new job form validation check //////

function email_validator(document)
{
   

   if (document.custname.value == "" && document.custname.disabled==false){
      alert("ooops! You have not entered your NAME.");
      document.custname.focus();
      return (false);
   }
   
   if (document.email.value == "" && document.email.disabled==false){
      alert("ooops! You have not entered your EMAIL.");
      document.custname.focus();
      return (false);
   }

   if (document.email.value != document.verifyemail.value && document.email.disabled==false){
      alert("ooops! Your email and verify email do not match.");
      document.email.focus();
      return (false);
   }
   
   if (document.projaddress.value == ""){
      alert("ooops! You have not entered the PROJECT ADDRESS.");
      document.projaddress.focus();
      return (false);
   }
   if (document.projcsz.value == ""){
      alert("ooops! You have not entered the project City, ST and Zip.");
      document.projcsz.focus();
      return (false);
   }
   if (document.projecttype.value == "00"){
      alert("ooops! You have not indicated the PROJECT TYPE.");
      document.projecttype.focus();
      return (false);
   }

   if (document.hdcaptcha.value == ""){
      alert("ooops! You have not indicated the SECURITY CODE.");
      document.projecttype.focus();
      return (false);
   }
   
   
   return true;
}

function disableFields() { 
//  disable unecessary field if previous customer
      document.forms[0].elements[3].disabled = true;   
      document.forms[0].elements[4].disabled = true;   
      document.forms[0].elements[5].disabled = true;   
      document.forms[0].elements[6].disabled = true;   
      document.forms[0].elements[7].disabled = true;   
}
function enableFields() { 
//  enable all fields -  NEW customer
      document.forms[0].elements[3].disabled = false;   
      document.forms[0].elements[4].disabled = false;   
      document.forms[0].elements[5].disabled = false;   
      document.forms[0].elements[6].disabled = false;   
      document.forms[0].elements[7].disabled = false;   
}
