	function clickclear(thisfield, defaulttext) 
		{
			if (thisfield.value == defaulttext) 
			{
				thisfield.value = "";
			}
		}
		
	function clickrecall(thisfield, defaulttext) 
		{
			if (thisfield.value == "") 
				{
					thisfield.value = defaulttext;
				}
		}

	function bookmark()
		{
			if (document.all)
			{ // For Internet Explorer:
				window.external.AddFavorite("http://www.drsofa.com/","Dr.SofaŽ LLC - The Furniture Surgeon");
			}
			else if (window.sidebar)
			{ // For Firefox:
				window.sidebar.addPanel("Dr.SofaŽ LLC - The Furniture Surgeon", "http://www.drsofa.com/", "");
			}
			else if (window.opera && window.print) 
			{
				window.external.AddFavorite("http://www.drsofa.com/","Dr.SofaŽ LLC - The Furniture Surgeon");
			}
			else 
			{
				alert('not supported');
			}
			
		}
	
	function checkForm0(form)
		{
				var chkMSG = '';				
				if ( form.Zip.value == "" ) 
					{
						chkMSG = "Zip required."; 
						document.getElementById("Zip").focus();
					}
				if ( form.State.value == "" ) 
					{
						chkMSG = "State required."; 
						document.getElementById("State").focus();
					}
				if ( form.City.value == "" ) 
					{
						chkMSG = "City required."; 
						document.getElementById("City").focus();
					}
				if ( form.Address.value == "" ) 
					{
						chkMSG = "Address required."; 
						document.getElementById("Address").focus();
					}
				if ( form.Tel.value == "" ) 
					{
						chkMSG = "Tel required."; 
						document.getElementById("Tel").focus();
					}
				if ( form.email.value == "" ) 
					{
						chkMSG = "Email required."; 
						document.getElementById("email").focus();
					}
				if ( form.LastName.value == "" ) 
					{
						chkMSG = "Last Name required."; 
						document.getElementById("LastName").focus();
					}
				if ( form.FirstName.value == "" ) 
					{
						chkMSG = "First Name required."; 
						document.getElementById("FirstName").focus();
					}
				if ( chkMSG )
				{
					alert(chkMSG);
					return false;
				}
				else
					{
					return true;
					}
		}
		
	function checkForm1(form) 
		{ 
				var chkMSG = '';	
				if ( form.Comments.value == "" )  
					{
						chkMSG = "Comments required."; 
						document.getElementById("Comments").focus();
					}
				if ( form.Tel.value == "" ) 
					{
						chkMSG = "Tel required."; 
						document.getElementById("Tel").focus();
					}
				if ( form.email.value == "" ) 
					{
						chkMSG = "email required."; 
						document.getElementById("email").focus();
					}
				if ( form.LastName.value == "" ) 
					{
						chkMSG = "LastName required."; 
						document.getElementById("LastName").focus();
					}
				if ( form.FirstName.value == "" ) 
					{
						chkMSG = "First Name required."; 
						document.getElementById("FirstName").focus();
					}
				if ( chkMSG )
					{
						alert(chkMSG);
						return false;
					}
				else
					{
					return true;
					}
		
		}
		
		function checkForm2(form)
		{				
				var chkMSG = '';				
				if ( form.Zip.value == "Zip:" )  
					{
						chkMSG = "Zip required."; 
						document.getElementById("SideZip").focus();
					}
				if ( form.State.value == "State:" ) 
					{
						chkMSG = "State required."; 
						document.getElementById("SideState").focus();
					}
				if ( form.City.value == "City:" ) 
					{
						chkMSG = "City required."; 
						document.getElementById("SideCity").focus();
					}
				if ( form.Address.value == "Address:" ) 
					{
						chkMSG = "Address required."; 
						document.getElementById("SideAddress").focus();
					}
				if ( form.Tel.value == "Tel:" ) 
					{
						chkMSG = "Tel required."; 
						document.getElementById("SideTel").focus();
					}
				if ( form.email.value == "Email:" ) 
					{
						chkMSG = "Email required."; 
						document.getElementById("Sideemail").focus();
					}
				if ( form.LastName.value == "Last Name:" ) 
					{
						chkMSG = "Last Name required."; 
						document.getElementById("SideLastName").focus();
					}
				if ( form.FirstName.value == "First Name:" ) 
					{
						chkMSG = "First Name required."; 
						document.getElementById("SideFirstName").focus();
					}
				if ( chkMSG )
				{
					alert(chkMSG);
					return false;
				}
				else
					{
					return true;
					}
		}
