// JavaScript Document
		function hubOver(pixelOffset) {
			var e=document.getElementById("row4");
			e.style.backgroundPosition="0 -" + pixelOffset + "px";
		}
		function hubOff() {
			var e=document.getElementById("row4");
			e.style.backgroundPosition="0 0px";
		}
		function setHomeChannel(channel) {
			turnOffHomeChannel("tours");
			turnOffHomeChannel("testimonials");
			turnOffHomeChannel("team");
			turnOffHomeChannel("cooking");
			turnOffHomeChannel("healing");
			var eDiv=document.getElementById("channel_" + channel);
			var eBtn=document.getElementById("channel_link_" + channel);
			eDiv.style.visibility="visible";
			eDiv.style.display="block";
			eBtn.style.backgroundPosition="0 -36px";
		}
		function turnOffHomeChannel(channel) {
			var e=document.getElementById("channel_" + channel);
			var eBtn=document.getElementById("channel_link_" + channel);
			e.style.visibility="hidden";
			e.style.display="none";
			eBtn.style.backgroundPosition="0 0px";
		}
		function showDeptDetails(curr,total) {
			hideAllDeptDetails(total);
			var e=document.getElementById("btn" + curr + "div");
			e.style.backgroundPosition="350px -38px";
			var e2=document.getElementById("details" + curr);
			e2.style.visibility="visible";
			e2.style.display="block";
			var e3=document.getElementById("btn" + curr + "link");
			e3.style.backgroundPosition="0px -38px";
		}
		function hideAllDeptDetails(total) {
			
			for (i=1;i<total+1;i++)
			{
				var e=document.getElementById("details"+i);
				if (e!=null) {
					e.style.visibility="hidden";
					e.style.display="none";	
					var e2=document.getElementById("btn" + i + "div");
					e2.style.backgroundPosition="350px 0px";
					var e2=document.getElementById("btn" + i + "link");
					e2.style.backgroundPosition="0px 0px";
				}
				
				
			}
		}
		function enlargeFont() {
			document.body.style.fontSize = '120%';
		}
		function reduceFont() {
			document.body.style.fontSize = '80%';
		}
		function resizeText(multiplier) {  

      		if (document.body.style.fontSize == "") {  
        		document.body.style.fontSize = "1.0em";  
      		}  
      		document.body.style.fontSize = parseFloat(document.body.style.fontSize) + (multiplier * 0.2) + "em";  
   		}  
		function WinOpen(urlLoc, wth, ht, WinName)
         {
                theWindow = window.open(urlLoc,WinName,"WIDTH=" + wth + ",HEIGHT=" + ht + ",alwaysRasied=yes,status=no,toolbar=no,directories=no,menubar=no,location=no,scrollbars=yes");
                theWindow.focus();
        }
       
var min=8;
var max=18;
function increaseFontSize()
{
	var p = document.getElementsByTagName('div');
	for(i=0;i<p.length;i++)
	{
		if(p[i].style.fontSize)
		{
 			var s = parseInt(p[i].style.fontSize.replace("px",""));
		}
		else
		{
 			var s = 12;
		}
		if(s!=max)
		{
			s += 1;
		}
		p[i].style.fontSize = s+"px"
	}
	var p = document.getElementsByTagName('span');
	for(i=0;i<p.length;i++)
	{
		if(p[i].style.fontSize)
		{
 			var s = parseInt(p[i].style.fontSize.replace("px",""));
		}
		else
		{
 			var s = 12;
		}
		if(s!=max)
		{
			s += 1;
		}
		p[i].style.fontSize = s+"px"
	}
	var p = document.getElementsByTagName('p');
	for(i=0;i<p.length;i++)
	{
		if(p[i].style.fontSize)
		{
 			var s = parseInt(p[i].style.fontSize.replace("px",""));
		}
		else
		{
 			var s = 12;
		}
		if(s!=max)
		{
			s += 1;
		}
		p[i].style.fontSize = s+"px"
	}
}
function decreaseFontSize() {
	var p = document.getElementsByTagName('div');
	for(i=0;i<p.length;i++)
	{
		if(p[i].style.fontSize)
		{
			var s = parseInt(p[i].style.fontSize.replace("px",""));
		}
		else
		{
			var s = 12;
		}
		if(s!=min)
		{
			s -= 1;
		}
			p[i].style.fontSize = s+"px"
	}
	var p = document.getElementsByTagName('span');
	for(i=0;i<p.length;i++)
	{
		if(p[i].style.fontSize)
		{
			var s = parseInt(p[i].style.fontSize.replace("px",""));
		}
		else
		{
			var s = 12;
		}
		if(s!=min)
		{
			s -= 1;
		}
			p[i].style.fontSize = s+"px"
	}
	var p = document.getElementsByTagName('p');
	for(i=0;i<p.length;i++)
	{
		if(p[i].style.fontSize)
		{
			var s = parseInt(p[i].style.fontSize.replace("px",""));
		}
		else
		{
			var s = 12;
		}
		if(s!=min)
		{
			s -= 1;
		}
			p[i].style.fontSize = s+"px"
	}
}