   var clicked="";
   var gtype=".gif";
   var selstate="_over";
   var htmloc=""
   var loc=htmloc+"images/"
   
   if (typeof(loc)=="undefined" || loc=="") {
      var loc="";

      if (document.body&&document.body.innerHTML) {
         var tt=document.body.innerHTML;
		 var ml=tt.match(/["']([^'"]*)homeopathy_menu.js["']/i);
		 
		 if(ml && ml.length > 1) loc=ml[1];
      }
   }

   document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");
   tr(false);
   writeButton(htmloc+"","index.htm","Home",18,15,"Homepage","",0);
   writeButton(htmloc+"","about.htm","About",18,15,"About Homeopathy Healing","",0);
   writeButton(htmloc+"","qualifications.htm","Qualifications",18,15,"Qualifications","",0);
   writeButton(htmloc+"","clinics.htm","Clinics",18,15,"Clinics","",0);
   writeButton(htmloc+"","testimonials.htm","Testimonials",18,15,"Testimonials","",0);
   writeButton(htmloc+"","faq.htm","FAQ",18,15,"Frequently Asked Questions","",0);
   writeButton(htmloc+"","contact.htm","Contact",18,15,"Contact us","",0);
   writeButton(htmloc+"","links.htm","Links",18,15,"Other resources and links","",0);
   tr(true);
   document.write("</tr></table>");
   loc=htmloc+"images/";
   
   function tr(b) {
      if (b) 
	     document.write("<tr>");
	  else 
	     document.write("</tr>");
   }
	  
   function turn_over(name) {
      if (document.images != null && clicked != name) {
         document[name].src = document[name+"_over"].src;
      }
   }
	  
   function turn_off(name) {
      if (document.images != null && clicked != name) {
         document[name].src = document[name+"_off"].src;
      }
   }
	  
   function reg(gname,name) {
      if (document.images) {
         document[name+"_off"] = new Image();
		 document[name+"_off"].src = loc+"pulse_still"+gtype;
         document[name+"_over"] = new Image();
		 document[name+"_over"].src = loc+"pulse"+gtype;
      }
   }
	  
   function evs(name) {
      return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""
   }
	  
   function writeButton(urld,url,name,w,h,alt,target,hsp) {
      gname=name;
		 
      while(typeof(document[name])!="undefined")
         name+="x";
		 reg(gname,name);
         tr(true);
         document.write("<td class=menutext>");
			
         if(alt!="")
            alt=" alt=\""+alt+"\"";
			   
         if(target!="")
            target=" target=\""+target+"\"";
			
         if(w>0)
            w=" width=\""+w+"\"";
         else 
            w="";
			   
         if(h>0)
            h=" height=\""+h+"\"";
         else 
            h="";
			   
         if(url!="")
            url=" href=\""+urld+url+"\"";
			   
         if(typeof(clx)!="undefined") {
            target="";
			url=" href=\"?"+clx+"\"";
			alt=" alt=\"Click to edit\"";
         }
			
         document.write("<a class=button"+url+evs(name)+target+"><b>"+gname+"</b></a></td>");
			
         if(hsp==-1)
            hsp=" align=\"right\"";
         else if (hsp>0)
            hsp=" hspace=\""+hsp+"\"";
         else 
            hsp="";
			  
         document.write("<td class=menu><img src=\""+loc+"pulse_still"+gtype+"\" name=\""+name+"\""+w+h+alt+hsp+" border=\"0\" /></td>");
         tr(false);
   }