

// Dreamweaver Rollover Scripts

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// End of Dreamweaver Rollover Scripts

// Write in Menu

function insertMenu() {
document.write('<div id=\"menudiv\" style=\"height:32px\"><a href=\"index.html\"><img src=\"images/nav-off_01.gif\"  ');
document.write('alt=\"Home\" name=\"home\" border=\"0\" id=\"home\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'home\',\'\',\'images/nav-over_01.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"careers.html\"><img src=\"images/nav-off_02.gif\"  ');
document.write('alt=\"Employment\" name=\"employment\" border=\"0\" id=\"employment\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'employment\',\'\',\'images/nav-over_02.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"footcare.html\"><img src=\"images/nav-off_03.gif\"  ');
document.write('alt=\"Foot Care\" name=\"footcare\" border=\"0\" id=\"footcare\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'footcare\',\'\',\'images/nav-over_03.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"footproblems.html\"><img src=\"images/nav-off_04.gif\"  ');
document.write('alt=\"Foot Problems\" name=\"problems\" border=\"0\" id=\"problems\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'problems\',\'\',\'images/nav-over_04.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"fees.html\"><img src=\"images/nav-off_05.gif\"  ');
document.write('alt=\"Fees\" name=\"fees\" border=\"0\" id=\"fees\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'fees\',\'\',\'images/nav-over_05.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"surgery.html\"><img src=\"images/nav-off_06.gif\"  ');
document.write('alt=\"Surgery\" name=\"surgery\" border=\"0\" id=\"surgery\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'surgery\',\'\',\'images/nav-over_06.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"staff.html\"><img src=\"images/nav-off_07.gif\"  ');
document.write('alt=\"Staff\" name=\"staff\" border=\"0\" id=\"staff\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'staff\',\'\',\'images/nav-over_07.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"contactus.html\"><img src=\"images/nav-off_08.gif\"  ');
document.write('alt=\"Contact us\" name=\"contactus\" border=\"0\" id=\"contactus\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'contactus\',\'\',\'images/nav-over_08.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\" /></a></div>  ');
}

// Slideshow Script starts here

// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 3000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 1;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1] = 'images/thumbs/Andrew.jpg'
Picture[2] = 'images/thumbs/AndrewT.jpg'
Picture[3] = 'images/thumbs/Kimberley.jpg'
Picture[4] = 'images/thumbs/MichaelMc.jpg'
Picture[5] = 'images/thumbs/SeanMc.jpg'
Picture[6] = 'images/thumbs/Dean.jpg'
Picture[7] = 'images/thumbs/Melanie.jpg'
Picture[8] = 'images/thumbs/Caitlyn.jpg'
Picture[9] = 'images/thumbs/Anna.jpg'
Picture[10] = 'images/thumbs/Belinda.jpg'
Picture[11] = 'images/thumbs/David.jpg'
Picture[12] = 'images/thumbs/Elizabeth.jpg'
Picture[13] = 'images/thumbs/Enza.jpg'
Picture[14] = 'images/thumbs/Ines.jpg'
Picture[15] = 'images/thumbs/Lauren.jpg'
Picture[16] = 'images/thumbs/Linda.jpg'
Picture[17] = 'images/thumbs/Lynette.jpg'
Picture[18] = 'images/thumbs/Sarah.jpg'
Picture[19] = 'images/thumbs/Sheen.jpg'
Picture[20] = 'images/thumbs/Sue.jpg'
Picture[21] = 'images/thumbs/Virginnia.jpg'

// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "Dr_Andrew_Kingsford";
Caption[2]  = "Andrew_Thompson";
Caption[3]  = "Kimberley_Scott";
Caption[4]  = "Michael_McCarrick";
Caption[5]  = "Sean_McNicholas";
Caption[6]  = "Dean_Samaras";
Caption[7]  = "Melanie_Feduniw";
Caption[8]  = "Caitlyn_Strachan";
Caption[9] = "Anna_Wright";
Caption[10] = "Belinda_Duffus";
Caption[11] = "David_Ciccarelli";
Caption[12] = "Liz_Kosey";
Caption[13] = "Enza_Colosimo";
Caption[14] = "Ines_Durand";
Caption[15] = "Lauren_Smith";
Caption[16] = "Linda_Broadley";
Caption[17] = "Lynette_Potter";
Caption[18] = "Sarah_Putt";
Caption[19] = "Sheen_Matthews";
Caption[20] = "Sue_Richards";
Caption[21] = "Virginnia_Kingsford";


// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;
var running=false;
var paused=false;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
running=true;

if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= '<a href="' + Caption[jss] +'.html">' + Caption[jss] + '</a>';
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
function pause()
   {
      if(running==true)
      {
         if(paused==false)
         {
            paused=true;
            document.getElementById("pause").value="Resume";
            clearTimeout(tss);
            document.getElementById('number').innerHTML="Paused";
         }
         else
         {
            runSlideShow()
            paused=false;
            document.getElementById("pause").value="Pause";
         }
      }
   }

