


function clearText(thefield){
 
if (thefield.defaultValue==thefield.value)
 
thefield.value = ""
 
}


function validateContact() {

var theMessage = "Please complete the following: \n-----------------------------------\n";
var noErrors = theMessage

// make sure field is not blank
if (document.form1.name.value=="") {
theMessage = theMessage + "\n --> Your name";
}

// validate an e-mail address
if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.form1.email.value)){
theMessage = theMessage + "\n --> Enter a valid e-mail address";
}

if (document.form1.inquiry.value=="") {
theMessage = theMessage + "\n --> Reason for inquiry";
}

if (document.form1.comments.value=="") {
theMessage = theMessage + "\n --> Your comments or question";
}


// If no errors, submit the form
if (theMessage == noErrors) {
return true;

} else {

// If errors were found, show alert message
alert(theMessage);
return false;
}
}

function validateRetail() {

var theMessage = "Please complete the following: \n-----------------------------------\n";
var noErrors = theMessage

// make sure field is not blank
if (document.form2.storename.value=="") {
theMessage = theMessage + "\n --> Please enter the store name";
}



if (document.form2.address.value=="") {
theMessage = theMessage + "\n --> Please enter the store's address";
}

if (document.form2.city.value=="") {
theMessage = theMessage + "\n --> Please enter the store's city";
}

if (document.form2.state.value=="") {
theMessage = theMessage + "\n --> Please enter the store's state";
}

if (document.form2.referrername.value=="") {
theMessage = theMessage + "\n --> Please enter your name";
}


// validate an e-mail address
if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.form2.referreremail.value)){
theMessage = theMessage + "\n --> please enter your email address";
}

// If no errors, submit the form
if (theMessage == noErrors) {
return true;

} else {

// If errors were found, show alert message
alert(theMessage);
return false;
}
}
function mrNatural(){
	document.getElementById('storemap').innerHTML = '<h2>Mr. Natural</h2><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=1901+E.+Cesar+Chavez+Austin,+tx&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=1901+E+Cesar+Chavez+St,+Austin,+Travis,+Texas+78702&amp;ll=30.257659,-97.722831&amp;spn=0.003707,0.012875&amp;z=16&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=1901+E.+Cesar+Chavez+Austin,+tx&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=1901+E+Cesar+Chavez+St,+Austin,+Travis,+Texas+78702&amp;ll=30.257659,-97.722831&amp;spn=0.003707,0.012875&amp;z=16&amp;iwloc=A" style="font-size:13px;color:#33221c;text-align:left" target="_blank">Printable Map</a></small>';
}
function theCollective(){
	document.getElementById('storemap').innerHTML = '<h2>The Collective</h2><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=411+river+road+wimberley+tx&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=411+River+Rd,+Wimberley,+Hays,+Texas+78676&amp;ll=30.005341,-98.096409&amp;spn=0.029731,0.042915&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=411+river+road+wimberley+tx&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=411+River+Rd,+Wimberley,+Hays,+Texas+78676&amp;ll=30.005341,-98.096409&amp;spn=0.029731,0.042915&amp;z=14&amp;iwloc=A" style="font-size:13px;color:#33221c;text-align:left" target="_blank">Printable Map</a></small>';
}
function groomShop(){
	document.getElementById('storemap').innerHTML = '<h2>The Best Li&rsquo;l Groom Shop in Texas</h2><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=409+Hazelwood+St,+Leander,+TX+78641&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=409+Hazelwood+St,+Leander,+Williamson,+Texas+78641&amp;z=16&amp;ll=30.571047,-97.845052&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=409+Hazelwood+St,+Leander,+TX+78641&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=409+Hazelwood+St,+Leander,+Williamson,+Texas+78641&amp;z=16&amp;ll=30.571047,-97.845052" style="font-size:13px;color:#33221c;text-align:left" target="_blank">Printable Map</a></small>'
}
function sassyPea(){
	document.getElementById('storemap').innerHTML = '<h2>The Sassy Pea Market</h2><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=10820+East+Crystal+Falls+Pkwy+Leander+TX&amp;sll=37.0625,-95.677068&amp;sspn=34.724817,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=10820+E+Crystal+Falls+Pkwy,+Leander,+Williamson,+Texas+78641&amp;z=16&amp;ll=30.565243,-97.818323&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=10820+East+Crystal+Falls+Pkwy+Leander+TX&amp;sll=37.0625,-95.677068&amp;sspn=34.724817,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=10820+E+Crystal+Falls+Pkwy,+Leander,+Williamson,+Texas+78641&amp;z=16&amp;ll=30.565243,-97.818323" style="font-size:13px;color:#33221c;text-align:left" target="_blank">Printable Map</a></small>'
}
function funkyLotus(){
	document.getElementById('storemap').innerHTML = '<h2>Funky Lotus</h2><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=2302+Gruene+Lake+Drive,+Suite+A+New+Braunfels,+TX+78130&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=Gruene+Lake+Dr,+New+Braunfels,+Comal,+Texas+78130&amp;z=16&amp;ll=29.729821,-98.101219&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=2302+Gruene+Lake+Drive,+Suite+A+New+Braunfels,+TX+78130&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=Gruene+Lake+Dr,+New+Braunfels,+Comal,+Texas+78130&amp;z=16&amp;ll=29.729821,-98.101219" style="font-size:13px;color:#33221c;text-align:left" target="_blank">Printable Map</a></small>'
}
function Gaddys(){
	document.getElementById('storemap').innerHTML = '<h2>Gaddy\'s Feed Hardware and Garden Center</h2><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=gaddy\'s+pflugerville&amp;hl=en&amp;ie=UTF8&amp;hq=gaddy\'s&amp;hnear=Pflugerville,+TX&amp;ll=30.450671,-97.607174&amp;spn=0.017389,0.038581&amp;z=14&amp;iwloc=A&amp;cid=2239655709197100320&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?q=gaddy\'s+pflugerville&amp;hl=en&amp;ie=UTF8&amp;hq=gaddy\'s&amp;hnear=Pflugerville,+TX&amp;ll=30.450671,-97.607174&amp;spn=0.017389,0.038581&amp;z=14&amp;iwloc=A&amp;cid=2239655709197100320&amp;source=embed" style="font-size:13px;color:#33221c;text-align:left" target="_blank">Printable Map</a></small>'
}
function AmericanCowgirl(){
	document.getElementById('storemap').innerHTML = '<h2>American Cowgirl</h2><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=300+S.+Main+St.+Burnet+Texas&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=300+S+Main+St,+Burnet,+Texas+78611&amp;z=16&amp;ll=30.756475,-98.227309&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=300+S.+Main+St.+Burnet+Texas&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=300+S+Main+St,+Burnet,+Texas+78611&amp;z=16&amp;ll=30.756475,-98.227309" style="font-size:13px;color:#33221c;text-align:left" target="_blank">Printable Map</a></small>'
}
function LeapofFaith(){
	document.getElementById('storemap').innerHTML = '<h2>A Leap of Faith Creative Gifts</h2><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=700+Bessemer+Ave+LLano+tx&amp;sll=30.756475,-98.227309&amp;sspn=0.008667,0.01929&amp;ie=UTF8&amp;hq=&amp;hnear=700+Bessemer+Ave,+Llano,+Texas+78643&amp;z=16&amp;ll=30.757503,-98.675367&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=700+Bessemer+Ave+LLano+tx&amp;sll=30.756475,-98.227309&amp;sspn=0.008667,0.01929&amp;ie=UTF8&amp;hq=&amp;hnear=700+Bessemer+Ave,+Llano,+Texas+78643&amp;z=16&amp;ll=30.757503,-98.675367" style="font-size:13px;color:#33221c;text-align:left" target="_blank">Printable Map</a></small>'
}



   