﻿/*
*	Heart of Florida Regional Medical Center
*	Copyright © 2009, McMurry Inc.
*	http://www.mcmurry.com
*
*	Home Page Javascript
*
*/
$(function() {
	/*-- Marquee Cycle Functionality --*/
	if($('#marquee-wrap .marquee').length > 1){
		$('#header').append('<div id="marquee-pager">');
		$('#marquee-wrap').cycle({ fx: 'fade', pager: '#marquee-pager', speed: '750', timeout: '7500' });
	}

	/*-- Service Category Accordion --*/
	$('#main_services').accordion({ header: 'h3' });

	/*-- Survey Button --*/
	$('a.colorbox').colorbox({ width: '600px', height: '500px', iframe: true });
});
