ui accordion with tabs in each section

ui accordion with tabs in each section

Hi, I was able to insert tabs in my first accordion section. But when I try to create another set of tabs in subsequent sections the tabs end up being in list format instead of actual tabs. I tried to give the next tabs set div a new id such as id="tabs2" with no luck.

The second set of tabs is at the end of the accordion in last section. That is the one that is appearing in a list form rather than actual tabs.

Hope someone can help...thanks!!!
Here's the html code:

[code]<div id="wrapper">
     <!-- logo and title-->
<div id="div1"><img src="site-images/logo.png" alt="Logo" border="0" height="88" width="93" /></div>
<div id="div2"><img src="site-images/title1.png" alt="Clínica Veterinaria" border="0" height="41" width="316" /></div>
<div id="div3"><img src="site-images/title2.png" border="0" alt="Olas Altas" height="38" width="171" /></div>
     <!-- end of logo and title-->
           <!-- language and top menu links-->
<div id="div4"><a href="http://www.vetclinicpv.com/spanish/index-sp.html" target="_self"><img src="site-images/spanish-link.png" alt="Spanish version link" border="0" height="30" width="121" /></a></div>
<div id="div5" class="class1"><a href="http://www.vetclinicpv.com">HOME</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.vetclinicpv.com/who-we-are.html" target="_self">WHO WE ARE</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.vetclinicpv.com/adopt-a-pet.html" target="_self">ADOPT A PET</a></div>
<div id="div17"><img src="site-images/menu-top-divider.png" border="0" height="42" width="5" /></div>
<div id="div18"><img src="site-images/menu-top-divider.png" border="0" height="42" width="5" /></div>
           <!-- end of language and top menu links-->
<!-- Main body-->
<div id="div6">
<!-- main menu english left -->
<div id="div_menu_engl">
<a href="http://www.dhtml-menu-builder.com"  style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a>
<script type="text/javascript">
<!--
stm_bm(["menu5a8c",900,"/menu_content/menu2_images","blank.gif",0,"","",0,2,250,0,1000,1,0,0,"","",402653193,0,1,2,"default","hand","file:///C|/Clients/Ana vet/website",1,25],this);
stm_bp("p0",[1,4,0,0,3,0,0,12,100,"progid:DXImageTransform.Microsoft.Blinds(bands=8,direction=DOWN,enabled=0,Duration=0.60)",9,"",-2,50,0,0,"#999999","transparent","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"        Animal Health & Diseases","","",-1,-1,0,"","_self","","","","",0,29,0,"arrow_11[1].gif","arrow_11[1].gif",12,13,0,0,1,"#c6a582",1,"#D6BBA1",1,"paw_background.png","paw_rollover.png",0,0,0,0,"#E6EFF9","#000000","#64350c","#64350c","11pt Tahoma","11pt Tahoma",0,0,"","","","",0,0,0],255,29);
stm_bpx("p1","p0",[1,2,0,0,3,4,0,0,100,"",-2]);
stm_aix("p1i0","p0i0",[0," General Health & Hygiene","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#c6a582",0,"#D6BBA1",0,"","",3,3,0,0,"#E6EFF9","#000000","#64350c","#64350c","10pt Tahoma","10pt Tahoma"]);
stm_aix("p1i1","p1i0",[0," Neutering"]);
stm_aix("p1i2","p1i0",[0," Common afflictions / Cats"]);
stm_aix("p1i3","p1i0",[0," Common afflictions / Dogs "]);
stm_aix("p1i4","p1i0",[0," Diseases / Cats"]);
stm_aix("p1i5","p1i0",[0," Diseases / Dogs"]);
stm_ep();
stm_aix("p0i1","p0i0",[0,"","","",-1,-1,0,"","_self","","","","",0,29,0,"","",0,0,0,0,1,"#c6a582",1,"#D6BBA1",1,"",""],255,3);
stm_aix("p0i2","p0i0",[0,"        Canine Grooming","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0],255,29);
stm_aix("p0i3","p0i1",[],255,3);
stm_aix("p0i4","p0i0",[0,"        Choose the right Breed","","",-1,-1,0,"","_self","","","","",0,0],255,29);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0," Bichon"]);
stm_aix("p2i1","p1i0",[0," Boxer"]);
stm_aix("p2i2","p1i0",[0," Chihuahua"]);
stm_aix("p2i3","p1i0",[0," Cocker Spaniel"]);
stm_aix("p2i4","p1i0",[0," Doberman"]);
stm_aix("p2i5","p1i0",[0," Golden Retreiver "]);
stm_aix("p2i6","p1i0",[0," Jack Russel"]);
stm_aix("p2i7","p1i0",[0," Labrador"]);
stm_aix("p2i8","p1i0",[0," Mastiff"]);
stm_aix("p2i9","p1i0",[0," German Shepherd"]);
stm_aix("p2i10","p1i0",[0," Pitbull"]);
stm_aix("p2i11","p1i0",[0," Poodle"]);
stm_aix("p2i12","p1i0",[0," Rottweiler"]);
stm_aix("p2i13","p1i0",[0," Weimeraner"]);
stm_aix("p2i14","p1i0",[0," Xoloitzcuintle"]);
stm_ep();
stm_ep();
stm_sc(1,["transparent","transparent","","",3,3,0,0,"#FFFFF7","#000000","arrow_04[4].gif","arrow_04[2].gif",7,9,0,"arrow_04[3].gif","arrow_04[1].gif",7,9,0,1,183]);
stm_em();
//-->
</script>
</div>
<!-- end of main menu english left -->
<div class="h1" id="div28">General Health and Hygiene<br />
<br />
<span class="classbody">Taking care of your pet's hygiene and health can be easier than you think, especially if you've had your pet since almost its birth.<br />
<br />
To make your life and your pet's easier, make sure you get your pet accustomed to being manipulated from very early on. Even if your not going to clip its nails at 6 weeks, play & hold its paws to get the animal used to it. When the time comes to trim them, your pet will accept it more easily.<br />
<br />
Patience and rewards always works best. Screaming, hitting and punishment will only stress the animal further and make your next time more difficult or even impossible.<br />
<br />
It should be said that hitting a pet will never bring you positive results. It does absolutely nothing towards gaining the animal's trust, quite the contrary. Some pets can be difficult and a good training class in soft techniques will go a long way to insure a long term happy relationship.</span></div>
<div class="classbody" id="div29">
<div id="accordionContainer" class="demos">
<div id="accordion">
    <h3><a href="#"><strong>Oral Hygiene</strong></a></h3>
    <div>
        <p>Sadly, oral hygiene is one of the most neglected aspect of home animal health care. Bad dental hygiene in dogs and cats can lead to serious discomforts and other related problems. Here's a quick list of the most common problems related to bad dental hygiene:<br />
<br />
- Plaque build-up: Composed of approximately 80% bacteria, food debris and saliva. Over time, minerals are added to the mix and hardens the plaque. At this stage, it is called tartar.<br />
<br />
- Gingevitis: With the accumulation of tartar and plaque between the teeth and gums comes inflammation, irritation and infection of the gums. Once the process has reaches that level, it is difficult to cure and can often only be slowed down.<br />
<br />
- Halitosis (bad breath): As gingevitis progresses, pockets of pus devellop, supporting bones recede, gums are separated from the teeth, causes a lot of pain and leads to abcesses and tooth loss. This stage is called periodontal disease.<br />
* Periodontal disease can have serious consequences as it permits bacteria to enter the blood stream and can lead to lung, heart and kidney problems as well as joint infections.<br />
<br />
- Cavities: While they are not common in dogs, a diet high in carbs can lead to cavities. For cats, there is the possibility of the formation of little holes in the tooth enamel reaching the sensitive core and causing pain and possible tooth loss.<br />
<br />
Keep your animal's mouth healthy:<br />
<br />
- Ask your vet for the best toothpaste to use; DO NOT use human toothpastes as they can cause illness if swallowed<br />
- Use a soft bristled brush of appropriate size according to the size of your pet's mouth.<br />
- Oral hygiene can begin when your pet is 3 to 4 months of age.<br />
- Avoid giving it real bones or cow hooves as they can cause tooth fractures.<br />
- Instead, buy a nylar bone from your vet or favorite pet store.</p>
    </div>
    <h3><a href="#"><strong>Balanced diet, grooming, nail trimming and exercise</strong></a></h3>
<div id="tabs">
    <ul>
        <li><a href="#tabs-1">Feeding</a></li>
        <li><a href="#tabs-2">Grooming</a></li>
        <li><a href="#tabs-3">Nail trimming</a></li>
        <li><a href="#tabs-4">Exercise</a></li>  
    </ul>
    <div id="tabs-1">  
        <p>Cats and dogs have different nutritional requirements. As well, different breeds, sizes or age may require special needs. For example, a pregnant female as well as puppies require a much richer nutrition than say an old lazy pet. Don't be afraid to ask your vet for recommendations on your pet's nutrition; there is more people out there that don't know how to properly feed their animals than you can imagine.<br />
<br />
Avoid table food as much as possible as some ingredients hidden in our food can cause serious harm to your little friend. See list at bottom of page.</p>
    </div>
    <div id="tabs-2">
        <p>This may not seem important at first glance but grooming is a vital part of a healthy skin and coat. Animals in the wild will brush against shrubs or roll on the ground in order to clean themselves. Fine branches do wonders for spreading/removing excess oil on their skin and transfering it to the coat for protection. <br />
<br />
It also serves to remove dead skin cells and hair, activates the skin's blood circulation and revigorates the derma.<br />
<br />
Certain breeds require more frequent brushings to keep their long hair from ending up in impossible tangles and knots.</p>
    </div>
    <div id="tabs-3">
        <p>Your pet's nails can tell a lot about its health. Crooked, dry or cracking nails can be a sign that the animal has a fungal infection or is poorly nourrished.<br />
<br />
Nails that grow too long will cause pain to your pet as he walks, could get caught and break below the quick or worse yet, get pulled out entirely.<br />
<br />
Long term overgrown nails can also lead to arthritis.<br />
<br />
It is not difficult to learn how to properly and safely clip your pet's nails. You can purchase gullotine or scissors type clippers from your vet or favorite pet store. Ask your vet to show you a few times, until you are confident you can handle the task. If in doubt, don't do it! Let your vet take care of it. If you cut your pet's nails too short and cause bleeding too many times, it will become more and more difficult to get them cut as the animal will eventually devellop fear for it.</p>
    </div>
    <div id="tabs-4">
        <p>Just as it is important for us to get regular exercise, the same applies to your furry companion. Make sure it gets to run, play and gets a good workout daily. just like us, a balanced diet and a daily exercise routine will keep your pet healthier longer.<br />
<br />
Boredom doesn't only affect humans, domestic animals and those in captivity do get bored! This can lead to excessive chewing of themsleves or your furniture. Certain species are proned to causing self mutilations when left alone for long periods of time without anything to do. Golden Retriever's come to mind. Other breeds simply require more activity than others by the simple nature of the breed itself. This would be the case of Afghans, Whippets and Weimeraner's as only a few examples. Besides, pets that get regular exercise tend to be calmer and less destructive when inside the home.<br />
<br />
Playing can also be a great way to train your pet. If you notice it has a certain affinity for say, catching balls or frisbees, encourage it and create little challenges for him. Always remember to reward a good deed or even a good catch.</p>
    </div>
</div>
    <h3><a href="#"><strong>Regular health check-ups</strong></a></h3>
    <div>
        <p>Animals in the wild often prey on sick and injured animals and so, your pet's instinct may be to hide its weekness or illness as long as possible. Therefore, you may not know when your pet isn't feeling well and may find out too late or cause it prolongued and unnecessary pain and discomfort.<br />
<br />
Regular check-ups are recommended at least once a year; some take their pet to a vet for a check-up every 6 months.<br />
<br />
<strong>Advantages of regular check-ups:</strong><br />
- Early disease and heartworm detection<br />
- General health and nutrition advice<br />
- Detection of behavior problems<br />
<br />
What will your veterinarian will look for?<br />
The visit begins with questions asked by your vet such as weight gain or loss, diarrhea, change in fecal firmness or color, changes in behavior etc... These help the veterinarian determine if special problems may be considered and checked for.<br />
<br />
Now that he is equipped with the information you have provided, he will perform a physical examination, looking for tell tale signs of problems. He will inspect the eyes, ears, mouth, the coat looking for fleas, ticks, dryness or oilyness and assess if your pet's weight is proportionate and adequate. He will listen to the heart and lungs to detect a problem before it becomes too serious or causes your pet's demise.</p>
    </div>
    <h3><a href="#"><strong>The importance of vaccines</strong></a></h3>
    <div>
        <p>A Vaccine, when given, causes the immune system to respond by producing antibodies and stimulating cell mediated immunity. When your pet is exposed to the disease it has been vaccinated for, its system will respond quickly to destroy the disease causing agent.<br />
<br />
Vaccines require regular boost shots as the effectiveness of the protection declines over time. It is not known exactly how long a vaccine may last. Until further knowledge is available, it is recommended to follow your vet's advice as he has first hand experience in the common diseases found in your area.<br />
<br />
<strong>Recommended dog vaccinations for Puerto Vallarta:</strong>
        <table width="666" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="222" align="left" valign="top">
        <ul>
            <li>Parvovirus</li>
            <li>Canine kennel cough</li>
            <li>Infectious canine hepatitis</li>
        </ul>
      </td>
    <td width="222" align="left" valign="top">
        <ul>
            <li>Giardia</li>
            <li>Rabies</li>
            <li>Canine leptospirosis</li>
        </ul>
    </td>
    <td width="222" align="left" valign="top">
        <ul>
            <li>Canine coronavirus</li>  
        </ul>
    </td>
  </tr>
</table>
<strong>Recommended cat vaccinations for Puerto Vallarta:</strong>
        <table width="666" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="222" align="left" valign="top">
        <ul>
            <li>Feline respiratory disease</li>
            <li>Feline panleukopenia</li>
            <li>Rabies</li>
        </ul>
      </td>
    <td width="222" align="left" valign="top">
        <ul>
            <li>Feline leukemia virus</li>
            <li>Feline infectious peritonitis</li>
        </ul>
    </td>
    <td width="222" align="left" valign="top">
        <ul>
            <li>FIV</li>
            <li>Giardia</li>  
        </ul>
    </td>
  </tr>
</table></p>
    </div>
<h3><a href="#"><strong>Things that can harm your pet</strong></a></h3>
    <div id="tabs">
    <ul>
        <li><a href="#tabs-1">Foods</a></li>
        <li><a href="#tabs-2">Household items</a></li>
        <li><a href="#tabs-3">Plants</a></li>
        <li><a href="#tabs-3">Objects</a></li>
        <li><a href="#tabs-3">Trouble areas</a></li>
    </ul>
    <div id="tabs-1">
        <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p>
    </div>
    <div id="tabs-2">
        <p><strong>Click this tab again to close the content pane.</strong></p>
        <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p>
    </div>
    <div id="tabs-3">
        <p><strong>Click this tab again to close the content pane.</strong></p>
        <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
    </div>
</div>
</div>
</div>
</div>
<div id="div26"><img src="site-images/cat1.jpg" border="0" width="222" height="179" alt="Cat" />
</div>
<div id="div27"><img src="site-images/dogs.jpg" border="0" height="164" width="222" alt="Dogs" />
</div>
<!-- end of main body -->
<!-- footer -->
<div id="div11"><img src="site-images/footer-back2.jpg" border="0" height="45" width="5" alt="footer background" />
    <div id="div12">367 Olas Altas  ~  1st Floor<br />
Emiliano Zapata, C.P. 48380, Jalisco, Mx</div>
    <div id="div13">Tel: (322) 222 4376<br />
Emergencies Cel: (322) 120 6721</div>
  <div id="div14" class="class2"><a href="http://www.vetclinicpv.com/spanish/ubicacion.html" target="_blank">LOCATION</a></div>
  <div id="div15" class="class2"><a href="http://www.vetclinicpv.com/spanish/contacto.html" target="_self">CONTACT</a></div>
    <div id="div16"><img src="site-images/menu-divider.png" border="0"/></div>
  </div>
<!-- end of footer-->
<!-- signature-->
<div id="div25" class="signature">Graphic Web design and photography © 2010 <span class="class1"><a href="http://www.griffingraffix.com" target="_blank">Griffin Graffix</a></span></div>
<!-- end of signature-->
</div>[/code]