//client stuff

function addTextSizer()
{
	var imgPath = '/imgs/icons/';
	var theHref = 'href="#"';
	$("#VisitorType").after("<div id=\"TextSizer\" class=\"ClearFix\"><div>" +
			"<h2>Text Size</h2>" +
			"<ul>" +
				"<li>" +
					"<a class=\"Normal\"" + theHref + "><img src=\"" + imgPath + "small_font.gif\" alt=\"Small Font Size\" /></a>" +
				"</li>" +
				"<li>" +
					"<a class=\"Large\"" + theHref + "><img src=\"" + imgPath + "medium_font.gif\" alt=\"Medium Font Size\" /></a>" +
				"</li>" +
				"<li>" +
					"<a class=\"X-Large\"" + theHref + "><img src=\"" + imgPath + "large_font.gif\" alt=\"Large Font Size\" /></a>" +
				"</li>" +
			"</ul>" +
		"</div></div>");
	$("a.Normal").click(function() { setFontSize('normal'); return false; });
	$("a.Large").click(function() { setFontSize('large'); return false; });
	$("a.X-Large").click(function() { setFontSize('x-large'); return false; });
}
$(document).ready(function() { addTextSizer(); });

$(function() {
    $(".ServicesAlpha ul li:even").addClass("Odd");
    $(".ServicesAlpha ul li:odd").addClass("Even");
});


//Multimedia Module
$(function() {   
   $("a[href^='http://prohealthcare.cachefly.net/Video-Files/Video-Launch-Files/']")
   .each(function()
   { 
      this.href = this.href.replace(/^http:\/\/prohealthcare\.cachefly\.net\/Video-Files\/Video-Launch-Files\//, 
         "javascript:createPlayer('http://prohealthcare.cachefly.net/Video-Files/Video-Launch-Files/");
   });
});  
$(function() {   
   $("a[href$='.flv']")
   .each(function()
   { 
      this.href = this.href.replace(/\.flv/, 
         ".flv', '', false, true)");
   });
});  