//"images/globe7_832px.gif" 
var globeImage = new Array
(
"images/globe2_832px.gif" 
,"images/globe1_832px.gif" 
,"images/globe3_832px.gif" 
,"images/globe4_832px.gif"
,"images/globe5_832px.gif"
,"images/globe6_832px.gif"
);

//preload images
preload_image = new Image; 
for (i=0; i < globeImage.length;i++) {
  preload_image.src=globeImage[i]; 
}


//"Choose the best defense -<p class=captionindent>flu vaccinations available now: $25 - $30" 
var globeCaptions = new Array
(

"When you need the right care,<p class=captionindent>right away, we're here for you" 
,"Our Occupational Medicine services help<p class=captionindent>employers reduce costs & treatment time" 
,"Quality healthcare for all - because you<p class=captionindent>have better things to do than worry" 
,"Improve your health,<p class=captionindent>improve the quality of your life" 
,"Let our hands-on therapy<p class=captionindent>help accelerate your recovery" 
,"Choose from hundreds of<p class=captionindent>specialists - we make it easy" 


);

//"globecaptiontext7" 

var globeCaptionClass = new Array
(

"globecaptiontext2" 
,"globecaptiontext1" 
,"globecaptiontext3" 
,"globecaptiontext4"
,"globecaptiontext5"
,"globecaptiontext6"
);

//"HealthyTips_ColdsFlu_Prevent.html" 
var globeCaptionLinks = new Array
(

"Services_UrgentCare.html" 
,"Services_OccMed.html" 
,"Services.html" 
,"HealthyTips.html" 
,"Services_PhysOccTherapy.html" 
,"Services_SpecialtyCare.html" 
);

//"globecaption-link7"
var globeCaptionLinkClass = new Array
(
 "globecaption-link2" 
,"globecaption-link1" 
,"globecaption-link3" 
,"globecaption-link4" 
,"globecaption-link5" 
,"globecaption-link6" 
);

var seq_num = 0;

function start_rotate() 
{
// Time is in seconds X 1000
setInterval("slideshow()", 7000);
}
function slideshow() 
{
seq_num++;
if (seq_num == globeImage.length) seq_num = 0;
crossfade(document.getElementById('rotating_picture'), globeImage[seq_num], '1', '');
//document.getElementById('rotating_picture').src = globeImage[seq_num]
document.getElementById('rotating_link').href = globeCaptionLinks[seq_num];
document.getElementById('rotating_link').className = globeCaptionLinkClass[seq_num];
document.getElementById('rotating_text').innerHTML = globeCaptions[seq_num];
document.getElementById('rotating_text').className = globeCaptionClass[seq_num]
}


