<!--
var pageTags = new Array();

function decreaseFont(theClass) {
  var pageTags = document.getElementsByTagName("*");  
  for (i=0; i < pageTags.length; i++) {  
	if (pageTags[i].className == theClass) {
	  var currentFont = pageTags[i].style.fontSize
	  //alert(currentFont)
	  if (currentFont == "") {
	    pageTags[i].style.fontSize = "11";  
	  }
	  if (currentFont != "") {
		currentFont = parseInt(currentFont)
		//alert(currentFont)
	    pageTags[i].style.fontSize = (currentFont - 1);  
	  }
	  SetCookie("fontsize",currentFont);
	}
  }
}

function increaseFont(theClass) {
  var pageTags = document.getElementsByTagName("*");  
  for (i=0; i < pageTags.length; i++) {  
	if (pageTags[i].className == theClass) {
	  var currentFont = pageTags[i].style.fontSize
	  if (currentFont == "") {
	    pageTags[i].style.fontSize = "13";  
	  }
	  if (currentFont != "") {
		currentFont = parseInt(currentFont)
	    pageTags[i].style.fontSize = (currentFont + 1);  
	  }
	  SetCookie("fontsize",currentFont);
	}
  }
}

function loadCookies() {
  var pageTags = document.getElementsByTagName("*");  
  for (i=0; i < pageTags.length; i++) {  
	if (pageTags[i].className == "horizonPrograms") {
		if (ReadCookie("fontsize") != "") {
	      pageTags[i].style.fontSize = ReadCookie("fontsize");  
		}
		else {
		  pageTags[i].style.fontSize = "12"
		}
	}
  }
}

function ReadCookie(cookieName) {
  var theCookie = "" + document.cookie;
  var ind = theCookie.indexOf(cookieName);
  if (ind==-1 || cookieName == "") return "";
  var ind1 = theCookie.indexOf(";",ind);
  if (ind1 == -1) ind1=theCookie.length; 
  return unescape(theCookie.substring(ind+cookieName.length+1,ind1));
}

function SetCookie(cookieName,cookieValue) {
  document.cookie = cookieName + "=" + escape(cookieValue);
}


function setURL() {
  link = document.onlineServices.os.value;
  javascript: gotoURL(link);
}
function gotoURL(url) {
  window.location = url
}

function hideSelect(section) {
  if (section == 'members') {
    document.physDirs.physDirSelect.style.display = 'none';
  }
  else {
    if (section == 'providers') {
      document.onlineServices.os.style.display = 'none';
    }
  }
}

function showSelect(section) {
  if (section == 'members') {
		//setTimeout("show('members')",500);
		document.physDirs.physDirSelect.style.display = '';
  }
  else {
    if (section == 'providers') {
      document.onlineServices.os.style.display = '';
    }
  }
}

function physDirGo()
{
  if (document.physDirs.physDirSelect.selectedIndex == 4) {
    window.open('http://bcbs.prismisp.com/')
  }
  else {
	  javascript:physDir_special(document.physDirs.physDirSelect.value);
  }
}

function physicianDirectory()
{
	url_name = escape("Provider Directory");
	url_link = escape("/physicianDirectory.asp");
	//alert(section_special + js_section + "_nav_go.asp?name=" + url_name + "&url=" + url_link);
	window.open(url_link,'physdir','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=630,height=575');
}
	
function physDir_special(section)
{
	url_name = "Provider Directory"
	url_link = "/phys_dir2/provider_frameset.asp?stype=" + section 
	
	//alert(section_special + js_section + "_nav_go.asp?name=" + url_name + "&url=" + url_link);
	window.open(url_link,'physdir','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,top=0,left=0,width=630,height=575');
}

//-->