function load() {
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map"));

    map.addControl(new GLargeMapControl());
    map.addControl(new GMapTypeControl());

    map.setCenter(new GLatLng(36.20181079580455, -86.51664733886719), 15);

    var point = new GLatLng(36.20181079580455, -86.51664733886719);
    var marker = createMarker(point,'VetMed Animal Health PLLC<br />105 Industrial Drive Suite 1<br />Mount Juliet, TN 37122')
    map.addOverlay(marker);

  }
}
	
function createMarker(point,html) {
  var marker = new GMarker(point);
  GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml(html);
  });
  return marker;
}

function setSlideText( s, view,  i ){
	
  if( view == 0 ){
    switch( i ){
	  case 1: 
		s.text = 'Front Door of 105 Industrial Drive, Suite 1.  VetMed Animal Health here we come!';
		break;
	  case 2: 
		s.text = 'Lobby Phase 1';
		break;
	  case 3: 
		s.text = 'Lobby Phase 1';
		break;
	  case 4: 
		s.text = 'The coveted building permit arrives!  Dr. Harris gives it a thumbs up!';
		break;
	  case 5: 
		s.text = 'Door into Doctor\'s office from the Lobby';
		break;
	  case 6: 
		s.text = 'In the Doctor\'s office';
		break;
	  case 7: 
		s.text = 'Surgery Room Phase 1';
		break;
	  case 8: 
		s.text = 'X-Ray and Ultrasound Room Phase 1';
		break;
	  case 9: 
		s.text = 'Network Closet Phase 1:  see how tiny ...not for long!';
		break;	
	  case 10:
	    s.text = 'Inside the Surgery Room, Phase 1 ...no, the chairs are NOT staying!';
		break;
	  case 11: 
		s.text = 'Treatment area, Phase 1 ...with some interesting stored items!';
		break;
	  case 12: 
		s.text = 'The new construction site ...we have concrete !';
		break;
	  case 13: 
		s.text = 'More new concrete ...it\'s a big space!';
		break;
	  case 14: 
		s.text = 'More new concrete in the unfinished side.';
		break;
	  case 15: 
		s.text = 'More new concrete ...it\'s a big space!';
		break;
	  case 16: 
		s.text = 'The I.T. Department: Dave and Eric work on our computer and phone systems.';
		break;
	  case 17: 
		s.text = 'Dr. Gables unloading our computer supplies.';
		break;
	  case 18: 
		s.text = 'Phase 2:  Framing the new Exam Rooms';
		break;
	  case 19: 
		s.text = 'Phase 2:  Framing the animal wards';
		break;	
	  case 20:
	    s.text = 'Phase 2:  Dog kennel and runs';
		break;		
	  case 21: 
		s.text = 'Finished walls for the Dog Ward.';
		break;
	  case 22: 
		s.text = 'Phase 2 Lobby- Doorway connecting Lobby to Exam Rooms.';
		break;
	  case 23: 
		s.text = 'Phase 2 Lobby: Doorway to Exam Rooms.';
		break;
	  case 24: 
		s.text = 'Phase 2: New Lobby doorway.';
		break;
	  case 25: 
		s.text = 'Phase 2:  Exam Room frame work jungle!';
		break;
	  case 26: 
		s.text = 'Hallway to Isolation Ward, Phase 2';
		break;
	  case 27: 
		s.text = 'Restroom, Phase 2.';
		break;
	  case 28: 
		s.text = 'Network Closet, Phase 2..much bigger!';
		break;		
       default:
		s.text = "Construction image " + i;
		break;
    }
  
  }
  else if( view == 1 ){
    switch( i ){
	  case 1: 
		s.text = 'Our temporary sign!';
		break;
	  case 2: 
		s.text = 'Reinforced ceiling to hold the surgery light.';
		break;
	//  case 3: 
//		s.text = 'Lobby Phase 1';
	//	break;
	  case 3: 
		s.text = 'Bracing for the light in surgery';
		break;
//	  case 5: 
//		s.text = 'Door into Doctor\'s office from the Lobby';
//		break;
	  case 4: 
		s.text = 'Eric running wire in the ceiling.';
		break;
//	  case 7: 
//		s.text = 'Surgery Room Phase 1';
//		break;
//	  case 8: 
//		s.text = 'X-Ray and Ultrasound Room Phase 1';
//		break;
	  case 5: 
		s.text = 'Running this cable sure is a mess!';
		break;	
	  case 6:
	    s.text = 'Dr. G working in the network closet.';
		break;
	  case 7: 
		s.text = 'Running the network cable to the closet.';
		break;
	  case 8: 
		s.text = 'New doorway into the doctor\'s office.';
		break;
	  case 9: 
		s.text = 'All the cable is run!';
		break;
//	  case 14: 
//		s.text = 'More new concrete in the unfinished side.';
//		break;
//	  case 15: 
//		s.text = 'More new concrete ...it\'s a big space!';
//		break;
	  case 10: 
		s.text = 'Reception desk frame.';
		break;
	  case 11: 
		s.text = 'Reception desk is framed!';
		break;
	  case 12: 
		s.text = 'Lines for central oxygen and scavenger system.';
		break;
	  case 13: 
		s.text = 'Central oxygen wall plate.';
		break;	
	  case 14:
	    s.text = 'Framed hallway to isolation ward.';
		break;		
	  case 15: 
		s.text = 'Finished walls for the Dog Ward.';
		break;
       default:
		s.text = "Construction image " + i;
		break;
    }  
  }
  else if( view == 2 ){
    switch( i ){
	  case 1: 
		s.text = 'Lab/Pharmacy with Drywall and Primer';
		break;
	  case 2: 
		s.text = 'X-Ray table installed';
		break;
	  case 3: 
		s.text = 'Lab/Pharmacy with Cabinets';
		break;
	  case 4: 
		s.text = 'Lab/Pharmacy with Cabinets';
		break;
	  case 5: 
		s.text = 'Lab/Pharmacy with Cabinets';
		break;	
	  case 6:
	    s.text = 'Staff Breakroom';
		break;
	  case 7: 
		s.text = 'Exam Room 1';
		break;
	  case 8: 
		s.text = 'Hallway to Exam Rooms';
		break;
	  case 9: 
		s.text = 'Client Restroom';
		break;
	  case 10: 
		s.text = 'Hallway to Consultation Room';
		break;
	  case 11: 
		s.text = 'Bathtub';
		break;
	  case 12: 
		s.text = 'Bathtub for bathing animals';
		break;
	  case 13: 
		s.text = 'Bathtub for bathing animals';
		break;	
	  case 14:
	    s.text = 'Runs in the dog ward';
		break;		
	  case 15: 
		s.text = 'Hallway to lobby';
		break;
	  case 16: 
		s.text = 'New water fountains in lobby area';
		break;
	  case 17: 
		s.text = 'Reception desk.... A work in progress';
		break;		
	  default:
		s.text = "Construction image " + i;
		break;
    }  
  }
   else if( view == 'tour' ){
    switch( i ){
	  case 1: 
		s.text = 'Reception Desk';
		break;
	  case 2: 
		s.text = 'Reception Desk';
		break;
	  case 3: 
		s.text = 'Reception Area with Seating';
		break;
	  case 4: 
		s.text = 'Lobby:  Seating and refreshments';
		break;
	  case 5: 
		s.text = 'Lobby: Seating';
		break;	
	  case 6:
	    s.text = 'Hallway to Exam Rooms';
		break;
	  case 7: 
		s.text = 'Exam Room 1:  Computer Terminal';
		break;
	  case 8: 
		s.text = 'Exam Room 2: Client seating';
		break;
	  case 9: 
		s.text = 'Exam Room 2: Workstation';
		break;
	  case 10: 
		s.text = 'Lab / Pharmacy: Exam Rooms open into this area';
		break;
	  case 11: 
		s.text = 'Lab / Pharmacy: Exam Rooms open into this area';
		break;
	  case 12: 
		s.text = 'Lab/ Pharmacy';
		break;
	  case 13: 
		s.text = 'Scale in Lab Area';
		break;	
	  case 14:
	    s.text = 'Staff Breakroom';
		break;		
	  case 15: 
		s.text = 'Staff Breakroom';
		break;
	  case 16: 
		s.text = 'Bathing Area';
		break;
	  case 17: 
		s.text = 'Grooming Tub';
		break;		
	  case 18: 
		s.text = 'Runs in Dog Ward';
		break;
	  case 19: 
		s.text = 'Runs in Dog Ward';
		break;
	  case 20: 
		s.text = 'Kennels in Dog Ward';
		break;
	  case 21: 
		s.text = 'Kennels in Cat Ward';
		break;
	  case 22: 
		s.text = 'Laundry Area';
		break;	
	  case 23:
	    s.text = 'Isolation Ward with separate ventilation system';
		break;
	  case 24: 
		s.text = 'Consultation Room';
		break;
	  case 25: 
		s.text = 'Recovery Area for surgery';
		break;
	  case 26: 
		s.text = 'The Bair Hugger circulates warm area through a blanket to help maintain body temperature';
		break;
	  case 27: 
		s.text = 'Fluid warmer in Surgery';
		break;
	  case 28: 
		s.text = 'Surgery Suite ';
		break;
	  case 29: 
		s.text = 'Treadmill for physical therapy';
		break;
	  case 30: 
		s.text = 'Digital (DR) X-Ray System';
		break;	
	  case 31:
	    s.text = 'Digital Ultrasound';
		break;		
	  case 32: 
		s.text = 'Doctor\'s Office';
		break;
	  case 33: 
		s.text = 'Treatment area of in-patient animals with access to dental area, ICU and surgery suite';
		break;
	  case 34: 
		s.text = 'Dental Area with wet table';
		break;	
       default:
		s.text = "Tour image " + i;
		break;
    }  
  } 
  
  
}

function setSlides( which ){
	
  SLIDES = new slideshow("SLIDES");
  src = ''
  
  if( which == 0 ){
	cnt = 28  
	 src =   "images/construction" + which + "/0"
  }
  else if ( which == 1 ){
    cnt = 15
	src =   "images/construction" + which + "/0"
  }
  
  else if ( which == 2 ){
    cnt = 17
	src =   "images/construction" + which + "/0"
  }
  else if( which == 'tour' ){
	  cnt = 34
	 src =   "images/tour/" + "0" 
  }
  
  
  for( i = 1; i <= cnt; i = i + 1){

    s = new slide( );
	  s.src = src + i + ".jpg";
    //s.text = "Construction image " + i;
	setSlideText( s, which, i )
    SLIDES.add_slide(s);

  }
	
	
}

function playShow(){
	
	if (document.images) {
	  SLIDES.image = document.images.SLIDESIMG;
	  SLIDES.textid = "SLIDESTEXT";
	  SLIDES.update();
	  SLIDES.play();
	}
	
}

function checkLocation(){
// redirect user to proper anchor if given one
  var temp = location.hash
  	
  if( !temp || temp == null ){
  }
  else{
    temp = temp.substring( 1 )
    
	temp = 'lpca-' + temp 
	
	setText( temp )
  }

}

function setListColor( item ){
	
	var temp = new Array();
    temp = item.split('-');

	temp1 = 'lpcli-' + temp[1] + '-' + temp[2]

	var nodeObj = document.getElementById(temp1)
	
	nodeObj.style.color = 'rgb( 140,93, 93 )';	
}

function setText( item ){
 
  var temp = new Array();
  temp = item.split('-');
 
  if( !temp[2] || temp[2].length < 1 ){
	temp[2] = '0' 
  }

/*  var img = document.getElementById('top-image')
  
  var randomnumber=Math.floor((Math.random()*15) + 1 ) // 0 - 10 so add 1 to get 1 - 11
  
  img.src = 'images/img_' + randomnumber + '.jpg'
 */
  switch( temp[1] ){
	  case '1': 
		aboutUs();
		break;
	  case '2': 
		information( temp[2] );
		break;
	  case '3': 
		hoursOfOperation();
		break;
	  case '4': 
		location1(); /* didn't like the location as function name */
		break;
	  case '5': 
		missionStatement();
		break;
	  case '6': 
		/*takeATour();*/
		displayShow( 'tour' );
		break;
	  case '7': 
		staff();
		break;
	  case '8': 
		services( temp[2] );
		break;
	  case '9': 
		contactUs();
		break;
	  case '10': 
		news( temp[2] );
		break;
	  case '11':
	    displayShow( '0' );
		break;
	  case '12':
	    displayShow( '1' );
		break;	
	  case '13':
	    displayShow( '2' );	
		break;
		default:
		alert( "no option" );
		break;
  }
	
}


function news( page ){
	
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
//	nodeObj.innerHTML = '<table align="center"><tr><td width="100"><a id="lpca-10-0" onclick="setText( this.id )" href="#10-0">News Home</a></td><td width="50"><a id="lpca-10-1" onclick="setText( this.id )" href="#10-1">Blog</a></td><td width="100"><a id="lpca-10-2" onclick="setText( this.id )" href="#10-2">Newsletter</a></td><td></td></tr></table><div id="vetmedbottom-content-rightpane-newspane" style="padding:10px;"></div>';

	nodeObj.innerHTML = '<table align="center"><tr><td width="100"><a id="lpca-10-0" onclick="setText( this.id )" href="#10-0">News Home</a></td><td width="50"><a href="http://blog.vetmedanimalhealth.com" target="_blank">Blog</a></td><td><A onclick="window.open(\'http://www.aahanet.org/PetsMatter/petsmatter.htm\', \'PetsMatter\', \'scrollbars=yes,resizable=yes,width=700,height=600\'); return false;" href="javascript: void(0)">AAHA PetsMatter Newsletter</A></td></tr></table><div id="vetmedbottom-content-rightpane-newspane" style="padding:10px;"></div>';


	var nodeObj = document.getElementById("vetmedbottom-content-rightpane-newspane")


 switch( page ){
	  case '0': 
		nodeObj.innerHTML = '<p>Select one of the links above to view additional information and news about VetMed Animal Health.';
		break;
      case '1': 
		nodeObj.innerHTML = '<p>Visit our blog at <a href="http://blog.vetmedanimalhealth.com">blog.vetmedanimalhealth.com</a> for frequent updates concerning VetMed Animal Health.';
		break;
	  case '2': 
		nodeObj.innerHTML = "<p><A onclick=\"window.open('http://www.aahanet.org/PetsMatter/petsmatter.htm', 'PetsMatter', 'scrollbars=yes,resizable=yes,width=700,height=600'); return false;\" href=\"javascript: void(0)\">AAHA PetsMatter</A>";
		break;
   	  default:
		alert( "no option" );
		break;
  }
		
}

function information( page ){
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
  nodeObj.innerHTML = '<table align="center"><tr><td width="150"><a id="lpca-2-0" onclick="setText( this.id )" href="#2-0">Information Home</a></td><td width="150"><a id="lpca-2-1" onclick="setText( this.id )" href="#2-1">Pet Health Insurance</a></td><td width="150"><a id="lpca-2-2" onclick="setText( this.id )" href="#2-2">Payment Options</a></td><td width="200"><a id="lpca-2-3" onclick="setText( this.id )" href="#2-3">Frequently Asked Questions</a></td></tr><tr><td><a id="lpca-2-4" onclick="setText( this.id )" href="#2-4">Forms</a></td><td><a id="lpca-2-5" onclick="setText( this.id )" href="#2-5">Affiliations</a></td><td><a id="lpca-2-6" onclick="setText( this.id )" href="#2-6">Links</a></td><td><a id="lpca-2-7" onclick="setText( this.id )" href="#2-7">Testimonials</a></td></tr></table><div id="vetmedbottom-content-rightpane-newspane" style="padding:10px;"></div>';
	
  var nodeObj = document.getElementById("vetmedbottom-content-rightpane-newspane")


   switch( page ){
	  case '0': 
		nodeObj.innerHTML = '<p>Select one of the links above to view additional information about VetMed Animal Health.';
		break;
      case '3': 
		nodeObj.innerHTML = '<p><h4>What is your appointment policy?</h4><p>To allow ample time for all patients and scheduled surgical procedures, we operate primarily by appointment. Emergency cases shall always receive top priority, which is why occasional appointment delay is inevitable. Please realize that we make a sincere attempt to see each client on time. We ask you to please arrive 15 minutes before your scheduled appointment time.  This allows us time to collect information about you and your pet, so that you may be seen on time.  A new client form is available on-line, should you choose to complete it ahead of time.  <p>For your convenience, "drop-off" appointments are available. A "drop off" means you could bring your pet in and leave him/her with us for the day. Usually we will ask you to drop off your pet sometime in the morning so our doctors can examine the patient in between appointments or at the time purposely reserved for admitted patients. Once the doctor is done, we will give you a call to go over the diagnosis and to give you discharge instructions. <p>We make every effort to make our patients feel comfortable during visits.  However, they may be a little uneasy about new people, new surroundings and other pets. This is one of the reasons we ask you to restrain your pet. We recommend that animals be placed on a leash or in pet carriers before entering the waiting room.<br /><br /><p><h4>Do I have to bring my medical records from my previous clinic?</h4><p>We can attempt to fax of your signed consent to your previous clinic.  However, we have had some problems with this in the past with certain clinics.  Our advice is to print out the consent form located <a href="forms/medrelease.pdf">here</a>, fill out all relevant information, and take the form to your previous clinic and request the records in person.';
		break;
	  case '2': 
		nodeObj.innerHTML = '<p>At VetMed Animal Health, we ask that payment be made at the time service is provided.  This allows us to focus on providing the highest quality of care for our patients and the best service for clients.  Acceptable forms of payment include:  cash, local check or credit card.  All checks will be processed by a check validation service. <p>At VetMed Animal Health, we understand that a pet\'s illness is often unexpected.   To assist in these difficult times and situations, we offer a service called Care Credit.  Applying for Care Credit is similar to applying for a credit card, but specifically for your pet\'s health care.  Clients may apply for this option at VetMed Animal Health or online at <a href="http://www.CareCredit.com">www.CareCredit.com</a>.  It takes only a few minutes to complete the application process.  If approved, clients may use the service immediately.  Care credit offers flexibility in payment plans, as well as interest free options.</p>';
		
		break;
	  case '1': 
		nodeObj.innerHTML = '<p>At VetMed Animal Health, we believe in educating our clients in all aspects of veterinary care for their pet.  More and more, people are asking about pet health insurance.  There are several options to be considered.   Most owners view their pets as members of the family and expect the best medical care available.  Serious illness often occurs when least expected.  Owners are often unprepared to handle these situations.  If you plan ahead, pet health insurance may be helpful in preventing financial limitations from dictating the level of care for your pet. <p>Pet health insurance is not like personal medical insurance for humans. The relationship exists between the owner (you) and the pet insurance company and NOT between the insurance company and the veterinary clinic.  This means that you pay the veterinary bill at the time of service, just like before. You  then submit the claim to the insurance company, who issues a reimbursement after the deductible or co-pay is met. This ensures that the pet insurance company does not dictate to the veterinarian which diagnostic tests to perform or treatment options to choose. <p>There are no networks or HMOs to deal with when using pet insurance.  Owners can visit any veterinarian, emergency facility, or specialist they choose.  Typically, insurance companies cover up to eighty percent of the medical bill.  Some insurance companies offer discounts for multiple pets.   Make sure that you plan ahead, as there is typically a waiting period of a few days to weeks before the policy goes into effect.<p>Here are a few options to explore: <ul><li><a href="http://www.mypetinsurance.com/">VPI Pet Insurance</a></li><li><a href="http://www.petsbest.com">Pets Best Insurance</a></li><li><a href="http://www.petcareinsurance.com/">Pet Care Insurance</a></li><li><a href="http://www.purinacare.com/">PurinaCare Insurance</a></li><li><a href="http://www.krogerpersonalfinance.com/insurance/pet.asp">Petfirst Healthcare (Kroger)</a></li><li><a href="http://www.gopetplan.com/">Petplan Pet Insurance</a></li><li><a href="http://www.trupanionpetinsurance.com/">Trupanion</a></li><li><a href="http://www.embracepetinsurance.com">Embrace Pet Insurance</a><ul>';

		break;
	  case '4': 
		nodeObj.innerHTML = '<p>We offer to fax your written request to your previous clinic.  If they refuse and make you come in and you have to pay for the release of your medical records we will discount the amount you had to pay ( for the release of the medical records only ) on your first visit.  Please bring in your medical records and a receipt from your previous clinic.</p><br /><p><ul><li><a href="./forms/newpatient.pdf">New Client Form</a></li><li><a href="./forms/medrelease.pdf">Medical Release Form</a></li><li><a href="https://www.vetmedanimalhealth.com/online/newclient.html">New Client Form Online Submission</li></ul>';
		break;
	  case '5': 
		nodeObj.innerHTML = '<p>Dr. Gables and Dr. Harris believe strongly in giving back to the community and helping it\'s pet population.  This philosophy led them to pursue the following affiliations. <br /><br /><ul><li><a href="http://www.cityofmtjuliet.org/animalcontrol.cfm">Mt Juliet Animal Shelter</a>   This fabulous facility opened in December 2008.  We are proud to provide medical care and support for this operation.</li></ul>';
		break;
	  case '6': 
		nodeObj.innerHTML = '<p><ul><li><a href="http://www.avma.org">American Veterinary Medical Association</a></li><li><a href="http://www.akc.org">American kennel Club</a></li><li><a href="http://www.tvmanet.org">Tennessee Veterinary Medical Assn</a></li><li><a href="http://www.healthypet.com/library.aspx">AAHA Pet Care Library</a></li><li><a href="http://www.avma.org/careforanimals/default.asp">AVMA Care for Animals</a></li><li><a href="http://www.invisiblefence.com">invisible fence</a></li><li><a href="http://www.veterinarypartner.com">general pet questions</a></li><li><a href="http://www.purina.com">Purina pet foods</a></li><li><a href="http://www.petfinder.com">Pet Finder</a></li><li><a href="http://www.vet-stem.com">Vet Stem Regenerative Veterinary Medicine</a></li><li><a href="http://www.aspca.org/pet-care/poison-control">ASPCA Animal Poison Control</a></li><li><a href="http://www.avma.org/care4pets">AVMA Care for Pet</a></li><li><a href="http://www.ffpmsnashville.com">Faithful Friends Pet Memorial Services</a></li><li><a href="http://www.nashvillepetcrematory.com">Nashville Pet Crematory</a></li><li><a href="http://www.darkwooddogtraining.com/">Dark Wood Dog Training</a></li><li><a href="http://www.lifehouse.petfinder.com/">Lifehouse Petfinder</a></li><li><a href="http://anniesphotographyonline.com/">Annie\'s Photography</a></li></ul>';
		break;
	  case '7': 
		nodeObj.innerHTML = '<p>Dr. Nicole Harris is the single best veterinarian I have ever met. She is compassionate about her work, loves the animals and treats owners as she would expect herself to be treated; with respect and sincerity. My husband and I have 3 rescued terriers, 2 of which we knew would be special needs from day one so it’s especially wonderful to have someone who will listen to you and discuss treatment plans.  As a geek I especially love the fact that everything is online. We are so fortunate to have a clinic of this caliber in our own little Mount Juliet.</p><br /><br /><img src="images/clients/eubank.jpg" /><br /><br />- Wendy Eubank<br /><br /><p>After adopting a rambunctious kitten named Tigger, we knew he had to be declawed since he would be a totally inside cat around leather and other fine furniture. Since we love the little cat, we investigated the most humane way for this to be done. Our choice was Dr. Nicole as she appeared sensitive to an animal and its pain. Our decision was the best we could have made. At VetMed, she will be declawing with radiosurgery, a method limiting bleeding and is the advanced method in the market place. Of course pain medications will be given. She is GREAT!!!<br /><br /> <div align="center"><img src="images/clients/tigger.jpg" /></div><br /><br />- Gaynelle & Earl Rawlings<br /><br /><p><img src="images/clients/triumph.jpg" /><br />- Triumph<br /><br /><p>We began using Dr. Gables as our family vet around 2001 when we first moved to the Nashville area.  We have continued to use him even though we now live further away because (besides being a great vet overall) he understands that when your "baby" is desperately ill or has a serious accident and needs help on Sunday afternoon or 10:00 at night or 2:00 in the morning you don\'t want to be talking to a stranger in a time of crisis.  We try not to abuse the privilege, but knowing that someone we trust will be there in an emergency no matter the day or the time brings comfort to our family.  We also appreciate that he takes the time to discuss treatment options so that we can together decide what is best for the individual animal based on the animal\'s health and age, and the cost involved.  While many vets will only advise one treatment plan, which may be the most costly, we appreciate Dr. Gables\' realization that while we all want to do what is best for our animals, finances, especially in this day and time, are not without limits and there are often other treatment plans that will bring about the same results, and his willingness to explore those options is greatly appreciated.  We look forward to soon being able to visit him in his "new digs". <br /> <br /><img src="images/clients/kline.jpg" /> <br /> - David and Janet Kline<br /><br /><p>For the past eight years our rescued Greyhounds have been under the care of Dr. Gables.  He knows that caring for an animal-pet is a family affair relating to both the pet and family.  During this time, Dr. Gables has provided expert and humane care involving surgeries, post-op care, and routine treatments . Dr. Gables has always been available for questions and I have always received a call back.  Without reservations, I can highly recommend Dr. Gables. Not only is he intelligent, experienced, and up to date on vet care, he is compassionate and gentle.  MT. Juliet is fortunate to have him. <br /><br /> - Anne Neville  R.N., BSN <br /><br /><p>When I became a first-time pet owner three years ago, the only person I wanted treating my new maltipoo puppy was Scott Gables.  Dr. Gables carefully walked me through the responsibilities of pet ownership and didn\'t talk down to me as I learned about caring for my new puppy.  My husband and I love the way Rufus is treated when he visits Dr. Gables.  Two years ago when Rufus became ill and dehydrated, he had to be hospitalized overnight for IV fluids.  Although I was worried about my dog, I completely trusted Dr. Gables and knew that Rufus was in good hands. Dr. Gables\' educational credentials, professional experience, kind demeanor, and ethical business practices are second to none.  I wholeheartedly recommend him to anyone looking for veterinary care for your family\'s pets. <br /><br /> - Mitzi Lundy';
		break;		
   	  default:
		alert( "no option" );
		break;
  }
}



function aboutUs(){
	
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
	nodeObj.innerHTML = '<b>VetMed Animal Health</b> is a new small animal veterinary clinic in Mount Juliet, Tennessee.  We are a two doctor practice, staffed by Dr. Scott Gables and Dr. Nicole Harris.  We are locally owned and operated.  Our staff is knowledgeable and friendly.  We look forward to meeting you and serving the needs of both you and your pet!<BR><BR><div align="center"><img src="images/doctor.jpg" /></div><br><br><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VetMed Animal Health is a full service, progressive, small animal practice. It is located just east of Nashville, in Mount Juliet, Tennessee. It was founded in the Spring of 2009 by Dr. Scott Gables and Dr. Nicole Harris. They recognized the need within the rapidly growing and developing community for a progressive practice which could meet current expectations of consumers for diagnostics and medical care. We take pride in our service and care for both clients and patients. Our primary task is to solve patients\' medical issues by maintaining the highest standards in veterinary medicine. We are more than just a veterinary clinic. </p>	<p>&nbsp;&nbsp;&nbsp;&nbsp;VetMed Animal Health offers a team of professionals committed to excellence in animal care. We strive with the utmost honesty, integrity, and compassion to provide our clients and their pets with the leading edge of medicine, in a constant effort to exceed their expectations. We are sensitive to the concern that each client brings to our practice for their pet. Our policy is to treat our clients as we would treat our families and to treat our clients\' pets as if they were our own. At all times our clients and patients will be treated with respect, dignity and compassion. Our friendly, knowledgeable staff will work to meet the clients\' every need.</p><p>&nbsp;&nbsp;&nbsp;&nbsp;VetMed Animal Health provides services such as wellness exams, preventative medicine, geriatric care, medical therapy, general surgery, and dental care. We value the ability to accurately diagnose our patients in a timely manner. Our in-house diagnostic lab, comprehensive referral laboratory services, digital radiography (x-ray), and digital ultrasound allow us to achieve this goal. We also offer emergency on-call services after hours for our own clients.</p><p>&nbsp;&nbsp;&nbsp;&nbsp;As we look to the future of veterinary medicine, our goal is to assist our clients with all the advantages of a full service veterinary facility. We pledge that we will always do our very best to serve you and to provide your pet with the best veterinary medical care possible. We look forward to becoming your veterinarians and bringing you the next level of veterinary care.</p>';
		
}



function hoursOfOperation(){
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
	nodeObj.innerHTML = '<div align="center"><b>Hours of Operation:</b><BR><BR><table><tr><td align="center" style="width: 150px">Monday - Friday</td><td align="center" style="width: 150px">Saturday</td><td align="center" style="width: 150px">Sunday</td></tr><tr><td align="center" >7:00 AM - 7:00 PM</td><td align="center" >8:00 AM - 3:00 PM</td><td align="center" >Closed Sunday</td></tr></table></div><p><p><div align="center"><BR><BR><b>Appointments</b><BR><BR><table><tr><td align="center" style="width: 150px">Monday - Friday</td><td align="center" style="width: 150px">Saturday</td><td align="center" style="width: 150px">Sunday</td></tr><tr><td align="center" >8:00 AM - 6:00 PM</td><td align="center" >8:00 AM - 2:00 PM</td><td align="center" >Closed Sunday</td></tr></table></div></p></p>';
}

function location1(){
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
	nodeObj.innerHTML = '<div align="center"><b>VetMed Animal Health PLLC</b><br />'
	                  + '105 Industrial Drive Suite 1<br />'
					  + 'Mount Juliet, TN 37122 <br>'
					  + '615 553-4156 (Office) <br />'
					  + '615 553-4161 (Fax)    <br /><br />'
					  +  '<p></p><p></p><p><div id="map" style="width:600px;height:400px"></div></p></div><BR><p>Directions from I-40:  Go North on Mt Juliet Road.  After crossing the railroad tracks, turn right onto Industrial Drive.  VetMed Animal Health is on the left, just past the furniture store.</p>';
	load()/* load the google maps class */
}

function missionStatement(){
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
	nodeObj.innerHTML = "VetMed Animal Health is a full service, progressive, small animal practice. It is located just east of Nashville, in Mount Juliet, Tennessee.  It was founded in the Spring of 2009 by Dr. Scott Gables and Dr. Nicole Harris.  They recognized the need within the rapidly growing and developing community for a progressive practice which could meet current expectations of consumers for diagnostics and medical care.  We take pride in our service and care for both clients and patients.  Our primary task is to solve patients' medical issues by maintaining the highest standards in veterinary medicine. We are more than just a veterinary clinic.<p>VetMed Animal Health offers a team of professionals committed to excellence in animal care.  We strive with the utmost honesty, integrity, and compassion to provide our clients and their pets with the leading edge of medicine, in a constant effort to exceed their expectations.  We are sensitive to the concern that each client brings to our practice for their pet.  Our policy is to treat our clients as we would treat our families and to treat our clients' pets as if they were our own.   At all times our clients and patients will be treated with respect, dignity and compassion.  Our friendly, knowledgeable staff will work to meet the clients' every need.<p>VetMed Animal Health provides services such as wellness exams, preventative medicine, geriatric care, hospitalization, medical therapy, general surgery, and dental care.  We value the ability to accurately diagnose our patients in a timely manner.  Our in-house diagnostic lab, comprehensive referral laboratory services, digital radiography (x-ray), and digital ultrasound allow us to achieve this goal.  We also offer emergency on-call services after hours for our own clients.<p>As we look to the future of veterinary medicine, our goal is to assist our clients with all the advantages of a full service veterinary facility.  We pledge that we will always do our very best to serve you and to provide your pet with the best veterinary medical care possible.  We look forward to becoming your veterinarians and bringing you the next level of veterinary care.";
}

function takeATour(){
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
	nodeObj.innerHTML = "This option is under construction.";
}

function staff(){
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
	nodeObj.innerHTML = '<div align="center"><img src="images/staff/scott_pic.jpg"  /></div><BR><p><b>Dr. Scott Gables</b> is a graduate of Auburn University, College of Veterinary Medicine.  He has been practicing in the Mount Juliet area since 2000.  He is married with 3 children.  His other family members are a cat, Lucky, and a dog, Harvey. </p><BR><div align="center"><img src="images/staff/nicole_pic.jpg"  /></div><BR><p><b>Dr. Nicole Harris</b> is a graduate of Auburn University and has been practicing in the Mount Juliet area since 2006.  She  resides in the Mount Juliet area with her husband.  Her 4-legged children are 2 dogs, Odin and Calderon, and 2 cats, Ink and Rhett Butler.</p><br /><div align="center"><img src="images/staff/vicki_pic.jpg"  /></div><br /><p><b>Vicki Whitlock</b> moved to Tennessee 2 years ago.  She has worked in the veterinary field for 11 years.  She started out working in the kennel and is now working as a veterinary technician here at VetMed Animal Health. Vicki just got married on July 18, 2009 and lives at home with her new husband and 3 year old son.  They have 1 dog named Mookie and a hairless cat named Yuri.</p><br /><div align="center"><img src="images/staff/megan_pic.jpg"  /></div><br /><p><b>Megan Moser</b> has worked in the veterinary field for 8 years.  She has 2 children and 6 dogs.  She is a registered dental assistant and will perform dentals at the clinic.</p><br /><br /><div align="center"><img src="images/staff/allison_pic.jpg"  /></div><br /><p><b>Allison Wyrick</b> is our receptionist and has been in the Customer Service industry for almost 20 years.  She has spent 7 of those years in the Veterinary field.  She and her husband have lived in Mount Juliet since 2000 with 2 very spoiled dogs, Trixie and Andi.</p><br /><div align="center"><img src="images/staff/kristin_pic.jpg"  /></div><br /><p><b>Kristin Cothron</b> received a Bachelor\'s degree in biology from Western Michigan University.  She moved to Tennessee from Michigan in 2005. She has worked in the veterinary field since 2000.   She lives in Mount Juliet with her husband and daughter.  She has 2dogs - Chuy and Charly.</p><br /><div align="center"><img src="images/staff/staci_pic.jpg"  /></div><br /><p><b>Staci Fry</b> is new to the veterinary field and is absolutely loving work at VetMed Animal Health.  She is attending Volunteer State Community College to acquire a 4 year veterinary technologist degree.  Staci is a very active volunteer at the Mt. Juliet Animal Shelter.  She lives in Mt. Juliet with her husband and 4 spoiled rotten dogs.</p><br /><div align="center"><img src="images/staff/tracie_pic.jpg"  /></div><br /><p><b>Tracie Jenkins</b> and her husband live on a farm in Lebanon. She has horses, cows, dogs and a cat. She has 6 years experience in the veterinary field. She has been married for 30 years ( Congrats Tracie! ).  She has 3 children and 4 grandchildren.</p><br /><div align="center"></div><br /><p><b>Stephanie Lauer</b> has worked in the veterinary field for 3 years.  She lives on a farm with her family.  They have 3 dogs, 2 cats and 6 horses.  She attend Middle Tennessee State University where she is studying Animal Science and Agribusiness.  She enjoys playing volleyball and barrel racing.</p>';



//<br /><p><b>Jessica Huffman</b> is a 3rd Year vet student and the University of Tennessee.</p>

}

function services( page ){
	
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")

	
 // nodeObj.innerHTML = '<table align="center"><tr><td width="150"><a id="lpca-8-0" onclick="setText( this.id )" href="#8-0">Services Home</a></td><td width="150"><a id="lpca-8-1" onclick="setText( this.id )" href="#8-1">RadioSurgery</a></td></tr></table><div id="vetmedbottom-content-rightpane-newspane" style="padding:5px;"></div>';

  nodeObj.innerHTML = 'VetMed Animal Health provides many different new and existing services to bring state of the art quality of care to your pet.  Below is an example of some of these services<ul id="services" class="services"><li ><a id="lpca-8-1" onclick="setText( this.id )" href="#8-1">Electronic Medical Record</a></li><li><a id="lpca-8-2" onclick="setText( this.id )" href="#8-2">Digital Ultrasound</a></li><li><a id="lpca-8-3" onclick="setText( this.id )" href="#8-3">Blood Pressure Measurement</a></li><li><a id="lpca-8-4" onclick="setText( this.id )" href="#8-4">Digital Radiography</a></li><li><a id="lpca-8-5" onclick="setText( this.id )" href="#8-5">Surgical Services</a></li><li><a id="lpca-8-6" onclick="setText( this.id )" href="#8-6">RadioSurgery</a></li><li><a id="lpca-8-7" onclick="setText( this.id )" href="#8-7">Small Animal Dentistry</a></li><li><a id="lpca-8-8" onclick="setText( this.id )" href="#8-8">In-House Laboratory</a></li><li><a id="lpca-8-9" onclick="setText( this.id )" href="#8-9">Pharmacy</a></li><li><a id="lpca-8-10" onclick="setText( this.id )" href="#8-10">Microchip Placement</a></li><li><a id="lpca-8-11" onclick="setText( this.id )" href="#8-11">Boarding</a></li><li><a id="lpca-8-12" onclick="setText( this.id )" href="#8-12">Bathing</a></li></ul><div id="vetmedbottom-content-rightpane-newspane" style="padding:10px;"></div>';

  var nodeObj = document.getElementById("vetmedbottom-content-rightpane-newspane")


   switch( page ){
	  case '0': 
		//nodeObj.innerHTML = "<p>VetMed Animal Health is proud to bring the next level of veterinary medicine and care to Mount Juliet, Tennessee.  We boast a fully electronic medical record system.  This allows quick access to all aspects of your pet's records.  You may receive a pet report card during each visit concerning your animal's health.  Our full on-site lab, digital x-ray system, digital ultrasound system and anesthesia monitoring system are fully integrated into the medical record as well.  The monitoring system allows us to record your pets entire session during dental cleanings and surgical procedures to ensure the utmost safety.  Our clinic also offers a full pharmacy for medications and preventatives.  As a courtesy to our clients, we will also offer free wireless internet service and refreshments during your visit.";
       nodeObj.innerHTML = ''
		break;
       case '1': 
		nodeObj.innerHTML = "<p>VetMed Animal Health is proud to bring the next level of veterinary medicine and care to Mount Juliet, Tennessee.  We boast a fully electronic medical record system.  This allows quick access to all aspects of your pet's records.  You may receive a pet report card during each visit concerning your animal's health.  Our full on-site lab, digital x-ray system, digital ultrasound system and anesthesia monitoring system are fully integrated into the medical record as well.  The monitoring system allows us to record your pets entire session during dental cleanings and surgical procedures to ensure the utmost safety.";
       
		break;		
      case '2':
	  nodeObj.innerHTML = "This non-invasive technology allows us to capture high quality images of all major abdominal organs, assisting us in the accurate diagnosis of many disease states. Our doctors have the ability to consult with board certified specialists about our ultrasounds. Additionally, echocardiograms (cardiac ultrasounds) can be performed at the clinic.";
	  break;
	  case '3':
	    nodeObj.innerHTML = "Using Doppler technology, we are able to determine blood pressure readings accurately, letting us detect hypertension (high blood pressure) before it can lead to heart or kidney damage and hemorrhage.";
		break;
	  case '4':
	    nodeObj.innerHTML = "The latest advancement in veterinary radiology allows us to take filmless X-rays of your pet. High quality digital images allow our veterinarians to see extremely fine detail in all of the X-rays we take.  A copy of your pets images on cd may be requested, should you require a copy.";
		break;
	  case '5':
	   nodeObj.innerHTML = "Our state of the art surgical suite allows us to provide our patients with the highest standard for surgical care. Procedures range from routine spays and neuters to advanced soft tissue and orthopedic surgeries.  We use the safest anesthetics available as well as highly advanced monitoring equipment for all procedures performed. Our monitoring system allows us monitor ECG (heart rate and rhythm), blood pressure, oxygen (Sp02) and carbon dioxide (EtCO2) levels, and body temperature.  We pride ourselves on our advanced pain management programs that provide excellent pain management for your pet after any surgical procedure.";
	   break;
      case '6': 
		nodeObj.innerHTML = "<p>At VetMed Animal Health, our goal is to provide the best medical care for your pet.  We are pleased to introduce radiowave technology to our surgical protocol. With this technique, we are able to offer your pet shorter post-surgical healing time and less discomfort. <p>Benefits of radiowave surgery <ul id='radiosurgery' class='radiosurgery'><li> Decreases post-operative pain - Radiowave technology seals the nerve endings as it cuts, thus stopping pain.</li><li>Decreases post-operative swelling - Radiowaves emit less heat, therefore minimizing tissue destruction.</li><li>Decreases blood loss - Radiowaves seal blood vessels as they are cut.  It does not burn the tissue.</li><li>Decreases risk of infection</li><li>Faster recovery time - Healing time is faster because of less tissue destruction.</li><li>Radiosurgery is safer than laser assisted surgery.  There are no safety hazards involved with radiowave surgery.</li></ul> How it works: Radiosurgery uses a microfiber tip which energized by radiowaves. These ultra high frequency radiowaves interact with tissue in a specific and precise way. This results in a focused and accurate cutting technique with minimal tissue destruction. Healing in rapid and the recovery process is increased. This technique additionally decreases discomfort and pain post-operatively.   Radiosurgery may be used for: spays, neuters, declawing, growth removals, biopsies and many other surgical procedures.  Please, feel free to contact us with any further questions concerning this new technology.";
		break;
	  case '7':
	   nodeObj.innerHTML = "Increasingly, clients have become aware of the fact that it's just as important to have their pets' teeth examined and cleaned on a regular basis as it is to protect their own teeth and gums. Recognizing that untreated dental disease can be a source of chronic pain for both dogs and cats, we encourage yearly dental check-ups.  Routine dental care can help decrease the risk of heart and kidney disease for your pet.  Our services include routine cleaning, tooth extraction and oral surgery.";
	   break;
	  case '8':
	   nodeObj.innerHTML = "Our on-site laboratory allows us to perform diagnostic lab testing to help us determine the best treatment plan for your pet.  We utilize IDEXX laboratory equipment to perform blood chemistry analysis, complete blood counts (CBC), electrolyte levels.  We also utilize IDEXX for our referral blood testing.  Results are received the very next day.";
	   break;	  
	  case '9':
	   nodeObj.innerHTML = "We maintain a complete up-to-date pharmacy that provides your pet with any necessary medication or prescription diet your pet may require.  We also offer overnight delivery of most medications to your home.";
	   break;	
	  case '10':
	   nodeObj.innerHTML = "Every day a beloved family pet is lost.  Tragically, most never make it back home because their owners didn't identify them.  The microchip is the professional way to identify your pet and is proven safe and effective.  A tiny microchip that contains a personal identification number distinguishes your pet as a special member of your family.  The microchip is so tiny that it fits through a hypodermic needle.  Just like a vaccination, it is injected under the skin of your pet where it remains safely for life.  This inexpensive procedure can be done anytime and can protect any pet in your household.";
	   break;	
	  case '11':
	   nodeObj.innerHTML = "We provide pet boarding as a service to our clients. All boarders receive personal attention from our caring staff. Pets may be dropped off and picked up during regular business hours Monday through Saturday.";
	   break;		   
	  case '12':
	   nodeObj.innerHTML = "Routine and therapeutic bathing services are available.";
	   break;
       default:
		alert( "no option" );
		break;
  }



}

function contactUs(){
	
	var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
	nodeObj.innerHTML = '<h4>Questions?  Comments?  Feel free to contact us at <a href="mailto:info@vetmedanimalhealth.com?subject=Comments regarding VetMed Animal Health">info@vetmedanimalhealth.com</a></h4><br /><br /><div align="left"><b>VetMed Animal Health PLLC</b><br />'
	                  + '105 Industrial Drive Suite 1<br />'
					  + 'Mount Juliet, TN 37122 <br /><br />'
					  + '615 553-4156 (Office) <br />'
					  + '615 553-4161 (Fax)    <br /><br /></div>';
		
}

function displayShow( which ){
  
  setSlides( which );
  //SLIDES.update();
  
  var nodeObj = document.getElementById("vetmedbottom-content-rightpane")
	
  nodeObj.innerHTML = '<P><div align="center"><IMG name="SLIDESIMG" src="images/catanddog.jpg" alt="Slideshow image" /><P><DIV ID="SLIDESTEXT" STYLE="position: relative;">If you can see this, then your browser cannot display the slideshow text.</DIV></div>';
	
  playShow();	
	
}
