<!-- GET DATE
dayName = new Array("", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday")
monName = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
now = new Date
//  GET DATE -->



<!-- DISPLAY DATE
   function displayDate () {
   var strDay;
       if ((now.getDate() == 1) || (now.getDate() != 11) && (now.getDate() % 10 == 1)) 		// Correction for 11th and 1st/21st/31st
 	  strDay = "st ";
       else if ((now.getDate() == 2) || (now.getDate() != 12) && (now.getDate() % 10 == 2)) 	// Correction for 12th and 2nd/22nd/32nd
 	  strDay = "nd ";
       else if ((now.getDate() == 3) || (now.getDate() != 13) && (now.getDate() % 10 == 3)) 	// Correction for 13th and 3rd/23rd/33rd
 	  strDay = "rd ";
       else
 	  strDay = "th ";
       document.write(
       dayName[now.getDay()]
       +
       " "
       +
       now.getDate()
       +
       strDay
       +
       " "
       +
       monName[now.getMonth()]
       +
       " "
       +
       now.getFullYear()
       )
   }
// DISPLAY DATE -->








<!-- PRELOAD IMAGES
   if (document.images)
   {   
   var indexpic2= new Image();
   indexpic2.src="images/indexpic2.jpg"; 
   
   var indexpic3= new Image();
   indexpic3.src="images/indexpic3.jpg"; 
   
   var muscularsystem= new Image();
   muscularsystem.src="images/muscularsystem.jpg";  
   
   var map1= new Image();
   map1.src="images/map1.jpg";
   
   var map2= new Image();
   map2.src="images/map2.jpg";

   var map3= new Image();
   map3.src="images/map3.jpg";

   var map4= new Image();
   map4.src="images/map4.jpg";
   
   var penny= new Image();
   penny.src="images/penny.jpg";   
   
   var anne= new Image();
   anne.src="images/anne.jpg";
   
   var charlie= new Image();
   charlie.src="images/charlie.jpg";

   var joan= new Image();
   joan.src="images/joan.jpg";

   var kay= new Image();
   kay.src="images/kay.jpg"; 
   
   var michael2= new Image();
   michael2.src="images/michael2.jpg";
   
   var elsworth= new Image();
   elsworth.src="images/elsworth.jpg";
   
   var john= new Image();
   john.src="images/john.jpg";
   
   var sam= new Image();
   sam.src="images/sam.jpg";
   
   var sarah= new Image();
   sarah.src="images/sarah.jpg";
   
   var christie= new Image();
   christie.src="images/christie.jpg";   
   
   var massage= new Image();
   massage.src="images/massage.jpg"; 
   
   var jointpain= new Image();
   jointpain.src="images/jointpain.jpg"
   
   var arthritis= new Image();
   arthritis.src="images/arthritis.jpg"
   
   var asthma= new Image();
   asthma.src="images/asthma.jpg"
   
   var periods= new Image();
   periods.src="images/periods.jpg"
   
   var stomach= new Image();
   stomach.src="images/stomach.jpg"
   
   var pregnancy= new Image();
   pregnancy.src="images/pregnancy.jpg"
   
   var children= new Image();
   children.src="images/children.jpg"
   
   var babies= new Image();
   babies.src="images/babies.jpg"   
   }   
//  PRELOAD IMAGES -->   
   




<!-- PRELOAD ROLLOVERS
   if (document.images)
   {   
   var success1_init= new Image();
   success1_init.src="images/button_go.gif";

   var success1_new= new Image();
   success1_new.src="images/button_go_over.gif";
   
   var success2_init= new Image();
   success2_init.src="images/button_go.gif";

   var success2_new= new Image();
   success2_new.src="images/button_go_over.gif";
   
   var success3_init= new Image();
   success3_init.src="images/button_go.gif";

   var success3_new= new Image();
   success3_new.src="images/button_go_over.gif";
   
   var success4_init= new Image();
   success4_init.src="images/button_go.gif";

   var success4_new= new Image();
   success4_new.src="images/button_go_over.gif";
   
   var success5_init= new Image();
   success5_init.src="images/button_go.gif";

   var success5_new= new Image();
   success5_new.src="images/button_go_over.gif";   
   
   var back_init= new Image();
   back_init.src="images/button_back.gif";

   var back_new= new Image();
   back_new.src="images/button_back_over.gif";     
  
   var zoomin_init= new Image();
   zoomin_init.src="images/button_zoomin.gif";

   var zoomin_new= new Image();
   zoomin_new.src="images/button_zoomin_over.gif"; 
   
   var zoomout_init= new Image();
   zoomout_init.src="images/button_zoomout.gif";

   var zoomout_new= new Image();
   zoomout_new.src="images/button_zoomout_over.gif";    
  
   }
//  PRELOAD ROLLOVERS -->




<!-- ROLLOVER FUNCTIONS
   function change_it(the_name)
   {
   if (document.images)
   {
   document.images[the_name].src= eval(the_name + "_new.src");
   }
   }

   function change_back(the_name)
   {
   if (document.images)
   {
   document.images[the_name].src= eval(the_name + "_init.src");
   }
   }
//  ROLLOVER FUNCTIONS -->








<!-- CUSTOMISE STATUS BAR ON MOUSEOVER
function changestatus(txt) { 
self.status = txt 
} 

function statusback() { 
self.status = "Winchmore Clinic of Osteopathy - Official Website" 
}
//  CUSTOMISE STATUS BAR ON MOUSEOVER -->








<!-- INDEX SLIDESHOW

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/indexpic.jpg'
Pic[1] = 'images/indexpic2.jpg'
Pic[2] = 'images/indexpic3.jpg'


// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}

//  INDEX SLIDESHOW -->
